Add new `cl-struct' and `eieio' pcase patterns.
[emacs.git] / lisp / ChangeLog
blob8670e450e283fb33b2009f6069bf9d2fe7bb9023
1 2015-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3         Add new `cl-struct' and `eieio' pcase patterns.
4         * emacs-lisp/cl-macs.el (cl-struct): New pcase pattern.
5         * emacs-lisp/eieio.el (eieio-pcase-slot-index-table)
6         (eieio-pcase-slot-index-from-index-table): New functions.
7         (eieio): New pcase pattern.
8         * emacs-lisp/pcase.el (pcase--make-docstring): New function.
9         (pcase): Use it to build the docstring.
10         (pcase-defmacro): Make sure the macro is lazy-loaded.
11         (\`): Move its docstring from `pcase'.
13 2015-03-23  Glenn Morris  <rgm@gnu.org>
15         * emacs-lisp/authors.el (authors-aliases)
16         (authors-obsolete-files-regexps): Additions.
18 2015-03-23  Jan Djärv  <jan.h.d@swipnet.se>
20         * simple.el (deactivate-mark): Only modify PRIMARY if we own
21         PRIMARY (Bug#18939).
23 2015-03-23  Martin Rudalics  <rudalics@gmx.at>
25         * emacs-lisp/debug.el (debug): Don't try using "previous" window
26         when its not live or on an invisible frame (Bug#17170).
28 2015-03-23  Dmitry Gutov  <dgutov@yandex.ru>
30         * json.el (json-decode-char0): Delete this alias as well.
31         (json-read-escaped-char): Don't call it (bug#20154).
33 2015-03-23  Daniel Colascione  <dancol@dancol.org>
35         * emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p): New function.
36         (lisp--el-match-keyword): Use it.
38 2015-03-23  Daiki Ueno  <ueno@gnu.org>
40         * subr.el (start-process): New function, ported from the C
41         implementation.
43 2015-03-23  Daniel Colascione  <dancol@dancol.org>
45         Automatically adjust process window sizes.
47         * window.el (window-adjust-process-window-size-function): New
48         customizable variable.
49         (window-adjust-process-window-size)
50         (window-adjust-process-window-size-smallest)
51         (window-adjust-process-window-size-largest)
52         (window--process-window-list, window--adjust-process-windows):
53         New functions.
54         (window-configuration-change-hook): Add
55         `window--adjust-process-windows'.
56         * term.el (term-mode): Observe result of
57         `window-adjust-process-window-size-function'.
58         (term-check-size): Delete.
60 2015-03-22  Jackson Ray Hamilton  <jackson@jacksonrayhamilton.com>
62         * textmodes/sgml-mode.el (sgml-attribute-offset): New defcustom.
63         (sgml-calculate-indent): Use `sgml-attribute-offset' for attribute
64         indentation (bug#20161).
66 2015-03-22  Dmitry Gutov  <dgutov@yandex.ru>
68         * json.el (json-encode-char0): Delete this alias.
69         (json-encode-string): Rewrite to improve performance (bug#20154).
70         (json-encode-char): Fold into `json-encode-string'.
72 2015-03-22  Artur Malabarba  <bruce.connor.am@gmail.com>
74         * menu-bar.el (menu-bar-update-buffers): Count displayed buffers
75         for `buffers-menu-max-size', not total buffers.
77 2015-03-21  Titus von der Malsburg  <malsburg@posteo.de>
79         * window.el (window-font-width, window-font-height)
80         (window-max-chars-per-line): New functions.
82         * simple.el (default-font-height): Doc fix.
83         (default-font-width): New function.
85 2015-03-21  Tassilo Horn  <tsdh@gnu.org>
87         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): Also
88         recognize (cl-)defmethod with (setf method) name.
90 2015-03-20  Tassilo Horn  <tsdh@gnu.org>
92         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): Fix
93         false positive in function name font-locking.
94         (lisp-cl-font-lock-keywords-1): Ditto.
96 2015-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
98         * emacs-lisp/cl-macs.el (cl-defsubst): Ignore false-positive
99         occurrences of args via &cl-defs (bug#20149).
101 2015-03-20  Alan Mackenzie  <acm@muc.de>
103         Fix debbugs#20146
105         * font-lock.el (font-lock-extend-jit-lock-region-after-change):
106         Return the calculated values, as per spec.
108 2015-03-20  Dmitry Gutov  <dgutov@yandex.ru>
110         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `at_exit'
111         and `callcc' to the "methods with required arguments" section,
112         they need a block argument.  Remove a `throw' duplicate.
114 2015-03-19  Vibhav Pant  <vibhavp@gmail.com>
116         * progmodes/cperl-mode.el (cperl-electric-backspace):
117         Call delete-backward-space interactively instead of delete-char.
119 2015-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
121         * emacs-lisp/pcase.el (pcase-lambda): Rewrite.
123         * emacs-lisp/eieio.el (object-slots): Return slot names as before
124         (bug#20141).
126 2015-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
128         EIEIO: Change class's representation to unify instance and class slots
129         * emacs-lisp/eieio-core.el (eieio--class): Change field names and order
130         to match those of cl--class; use cl--slot for both instance slots and
131         class slots.
132         (eieio--object-num-slots): Use cl-struct-slot-info.
133         (eieio--object-class): Rename from eieio--object-class-object.
134         (eieio--object-class-name): Remove.
135         (eieio-defclass-internal): Adjust to new slot representation.
136         Store doc in class rather than in `variable-documentation'.
137         (eieio--perform-slot-validation-for-default): Change API to take
138         a slot object.
139         (eieio--slot-override): New function.
140         (eieio--add-new-slot): Rewrite.
141         (eieio-copy-parents-into-subclass): Rewrite.
142         (eieio--validate-slot-value, eieio--validate-class-slot-value)
143         (eieio-oref-default, eieio-oset-default)
144         (eieio--class-slot-name-index, eieio-set-defaults): Adjust to new
145         slot representation.
146         (eieio--c3-merge-lists): Simplify.
147         (eieio--class/struct-parents): New function.
148         (eieio--class-precedence-bfs): Use it.
150         * emacs-lisp/eieio.el (with-slots): Use macroexp-let2.
151         (object-class-fast): Change recommend replacement.
152         (eieio-object-class): Rewrite.
153         (slot-exists-p): Adjust to new slot representation.
154         (initialize-instance): Adjust to new slot representation.
155         (object-write): Adjust to new slot representation.
157         * emacs-lisp/eieio-opt.el (eieio--help-print-slot): New function
158         extracted from eieio-help-class-slots.
159         (eieio-help-class-slots): Use it.  Adjust to new slot representation.
161         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
162         Declare to silence warnings.
163         (data-debug-insert-object-button): Avoid `object-slots'.
164         (data-debug/eieio-insert-slots): Adjust to new slot representation.
166         * emacs-lisp/eieio-custom.el (eieio-object-value-create)
167         (eieio-object-value-get): Adjust to new slot representation.
169         * emacs-lisp/eieio-compat.el
170         (eieio--generic-static-symbol-specializers):
171         Extract from eieio--generic-static-symbol-generalizer.
172         (eieio--generic-static-symbol-generalizer): Use it.
174         * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
175         Manually map initargs to slot names.
176         (eieio-persistent-validate/fix-slot-value): Adjust to new
177         slot representation.
179         * emacs-lisp/cl-preloaded.el (cl--class): Fix type of `parents'.
181 2015-03-19  Vibhav Pant  <vibhavp@gmail.com>
183         * leim/quail/hangul.el (hangul-delete-backward-char)
184         (hangul-to-hanja-conversion):
185         * progmodes/cperl-mode.el (cperl-electric-keyword)
186         (cperl-electric-backspace): Use delete-char instead of
187         delete-backward-char, fixes compilation warnings.
189 2015-03-18  Michael Albinus  <michael.albinus@gmx.de>
191         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
192         Mark apostrophs with ?/ instead of \037.  (Bug#20117)
194 2015-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
196         Add classes as run-time descriptors of cl-structs.
197         * emacs-lisp/cl-preloaded.el (cl--struct-get-class): New function.
198         (cl--make-slot-desc): New constructor.
199         (cl--plist-remove, cl--struct-register-child): New functions.
200         (cl-struct-define): Rewrite.
201         (cl-structure-class, cl-structure-object, cl-slot-descriptor)
202         (cl--class): New structs.
203         (cl--struct-default-parent): Initialize it here.
204         * emacs-lisp/cl-macs.el (cl--find-class): New macro.
205         (cl-defsubst, cl--defsubst-expand, cl--sublis): Move before first use.
206         (cl--struct-default-parent): New var.
207         (cl-defstruct): Adjust to new representation of classes; add
208         default parent.  In accessors, signal `wrong-type-argument' rather than
209         a generic error.
210         (cl-struct-sequence-type, cl-struct-slot-info)
211         (cl-struct-slot-offset): Rewrite.
212         * emacs-lisp/cl-generic.el (cl--generic-struct-specializers)
213         (cl-generic-generalizers): Rewrite.
215         * emacs-lisp/macroexp.el (macroexp--debug-eager): New var.
216         (internal-macroexpand-for-load): Use it.
218         * emacs-lisp/debug.el (debug--implement-debug-on-entry):
219         Bind inhibit-debug-on-entry here...
220         (debug): Instead of here.
222 2015-03-18  Dima Kogan  <dima@secretsauce.net>
224         Have gud-display-line not display source buffer in gud window.
225         * progmodes/gud.el (gud-display-line): Make display-buffer
226         not reuse selected window.  (Bug#17675, Bug#19901, Bug#20034)
228 2015-03-17  Tassilo Horn  <tsdh@gnu.org>
230         * emacs-lisp/byte-run.el (macro-declarations-alist):
231         New declaration no-font-lock-keyword.
232         (defmacro): Flush font-lock in existing elisp buffers.
234         * emacs-lisp/lisp-mode.el (lisp--el-update-after-load)
235         (lisp--el-update-macro-regexp, lisp--el-macro-regexp):
236         Delete functions and defconst.
237         (lisp--el-match-keyword): Rename from lisp--el-match-macro.
238         (lisp--el-font-lock-flush-elisp-buffers): New function.
239         (lisp-mode-variables): Remove code for updating
240         lisp--el-macro-regexp, and add
241         lisp--el-font-lock-flush-elisp-buffers to after-load-functions.
243 2015-03-17  Simen Heggestøyl  <simenheg@gmail.com>
245         * textmodes/css-mode.el (css--font-lock-keywords):
246         Discriminate between pseudo-classes and pseudo-elements.
247         (css-pseudo-ids): Remove.
248         (css-pseudo-class-ids, css-pseudo-element-ids): New variables.
249         (css--complete-property): New function for completing CSS properties.
250         (css--complete-pseudo-element-or-class): New function
251         completing CSS pseudo-elements and pseudo-classes.
252         (css--complete-at-rule): New function for completing CSS at-rules.
253         (css-completion-at-point): New function.
254         (css-mode): Add support for completion.
255         (css-extract-keyword-list, css-extract-parse-val-grammar)
256         (css-extract-props-and-vals): Remove function in favor of manual
257         extraction.
258         (css-at-ids): Update list of CSS at-rule ids.
259         (css-property-ids): Update list of CSS properties.
261 2015-03-17  Bozhidar Batsov  <bozhidar@batsov.com>
263         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Font-lock
264         more Kernel methods.
266 2015-03-17  Michael Albinus  <michael.albinus@gmx.de>
268         * net/tramp-sh.el (tramp-maybe-send-script): Avoid leading tabs in
269         shell scripts.  (Bug#20118)
271 2015-03-17  Eli Zaretskii  <eliz@gnu.org>
273         * mouse.el (mouse-appearance-menu): If w32-use-w32-font-dialog is
274         nil, construct a menu of fixed fonts.  This resurrects a feature
275         lost in Emacs 23.
277         * w32-vars.el (w32-use-w32-font-dialog): Add a ':set' function to
278         reset mouse-appearance-menu-map, so the font dialog is recomputed
279         the next time the menu is requested.
280         (w32-fixed-font-alist): Fix to use correct names of Courier fonts.
282 2015-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
284         * emacs-lisp/cl-macs.el (cl--transform-lambda): Refine last change
285         (bug#20125).
287 2015-03-17  Michael Albinus  <michael.albinus@gmx.de>
289         * net/tramp-sh.el (tramp-ssh-controlmaster-options): Change test
290         for ControlPath in order to avoid DNS timeouts.  (Bug#20015)
292 2015-03-16  Alan Mackenzie  <acm@muc.de>
294         Edebug: Allow "S" to work during trace mode.  Fixes debbugs #20074.
295         Also display the overlay arrow in go and go-nonstop modes.
297         * emacs-lisp/edebug.el (edebug--display-1): Move the
298         `input-pending' test to after trace mode's `sit-for'.
299         (edebug--recursive-edit): Insert "(sit-for 0)" after
300         "(edebug-overlay-arrow)".
302 2015-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
304         * emacs-lisp/cl-macs.el (cl--transform-lambda): Rework to avoid
305         cl--do-arglist in more cases; add comments to explain what's going on.
306         (cl--do-&aux): New function extracted from cl--do-arglist.
307         (cl--do-arglist): Use it.
309         * emacs-lisp/cl-generic.el: Add Version: header, for ELPA purposes.
311         * obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg.
312         * isearchb.el (isearchb-iswitchb): Adjust accordingly.
313         * ido.el (ido-read-buffer): Add `predicate' argument.
314         * misearch.el (unload-function-defs-list): Declare before use.
316 2015-03-16  Vibhav Pant  <vibhavp@gmail.com>
318         * net/browse-url.el (browse-url-browser-function): Add "Conkeror".
319         (browse-url-conkeror-program, browse-url-conkeror-arguments)
320         (browse-url-conkeror-new-window-is-buffer): New defcustoms.
321         (browse-url-default-browser): Check for `browse-url-conkeror'
322         and call `browse-url-conkeror-program'.
323         (browse-url-conkeror): New command.
324         (bug#19863)
326 2015-03-16  Vibhav Pant  <vibhavp@gmail.com>
328         * eshell/esh-mode.el (eshell/clear): New function.
330 2015-03-16  Alan Mackenzie  <acm@muc.de>
332         Make Edebug work with Follow Mode.
334         * emacs-lisp/edebug.el (edebug--display-1): Remove call to
335         edebug-adjust-window.
336         (edebug--recursive-edit): Don't bind pre/post-command-hooks to nil
337         over the recursive edit.
338         (edebug-adjust-window): Remove.
340 2015-03-15  Michael Albinus  <michael.albinus@gmx.de>
342         * net/tramp-adb.el:
343         * net/tramp-gvfs.el:
344         * net/tramp-sh.el:
345         * net/tramp-smb.el: Set tramp-autoload cookie for all defcustoms.
347         * net/tramp.el (tramp-ssh-controlmaster-options)
348         (tramp-use-ssh-controlmaster-options): Move them to tramp-sh.el.
349         (tramp-default-method): Do not check for
350         `tramp-ssh-controlmaster-options'.
352         * net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
353         New defcustom, moved from tramp.el.
354         (tramp-ssh-controlmaster-options): New defvar, moved from tramp.el
355         but with a nil initial value.
356         (tramp-ssh-controlmaster-options): New defun.
357         (tramp-do-copy-or-rename-file-out-of-band)
358         (tramp-maybe-open-connection): Use it.  (Bug#20015)
360 2015-03-15  Tassilo Horn  <tsdh@gnu.org>
362         * emacs-lisp/lisp-mode.el (lisp--el-macro-regexp): New defconst.
363         (lisp--el-update-macro-regexp, lisp--el-update-after-load)
364         (lisp--el-match-macro): New functions.
365         (lisp-mode-variables): Update lisp--el-macro-regexp and add
366         lisp--el-update-after-load to after-load-functions.
368 2015-03-15  Daniel Colascione  <dancol@dancol.org>
370         * emacs-lisp/cl-indent.el
371         (lisp-indent-backquote-substitution-mode): New user option.
372         (common-lisp-indent-function-1, common-lisp-loop-part-indentation)
373         (common-lisp-indent-function): Support normally indenting
374         backquote substitutions.
375         (extended-loop-p): Rename to `lisp-extended-loop-p'.
377 2015-03-14  Michael R. Mauger  <michael@mauger.com>
379         * progmodes/sql.el: Version 3.5
380         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts.
381         (sql-interactive-remove-continuation-prompt): Fix regression. (Bug#6686)
383 2015-03-14  Daniel Colascione  <dancol@dancol.org>
385         * widget.el (define-widget): Check that documentation is a string
386         or nil; prevent wailing and gnashing of teeth when users forget to
387         pass a docstring and wonder why their properties don't work.
389         * startup.el (command-line): Process "--no-x-resources".
391 2015-03-13  Kevin Ryde  <user42_kevin@yahoo.com.au>
393         info-look fixes for Texinfo 5
394         * info-look.el (c-mode, bison-mode, makefile-mode)
395         (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
396         (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode):
397         Match `foo' and 'foo' and ‘foo’ for @item and similar.
398         (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
399         suffix regexp.
401 2015-03-12  Juri Linkov  <juri@linkov.net>
403         * simple.el (next-line-or-history-element)
404         (previous-line-or-history-element): Remember the goal column of
405         possibly multi-line input, and restore it afterwards.  (Bug#19824)
407 2015-03-12  Rasmus Pank Roulund  <emacs@pank.eu>
409         * ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist
410         files (bug#19335).
412 2015-03-12  Eli Zaretskii  <eliz@gnu.org>
414         * international/fontset.el (script-representative-chars): Add a
415         representative character for 'vai'.
417 2015-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
419         * international/quail.el (quail-input-method):
420         Use with-silent-modifications.
422         * simple.el (goto-history-element): Don't burp on t history.
424 2015-03-10  Paul Eggert  <eggert@cs.ucla.edu>
426         Prefer "initialize" to "initialise"
427         * progmodes/js.el (js-indent-first-init):
428         Rename from js-indent-first-initialiser, to avoid worrying about
429         American vs British spelling.  All uses changed.
431 2015-03-10  Glenn Morris  <rgm@gnu.org>
433         * progmodes/js.el (js-indent-first-initialiser):
434         Fix doc, type, version.
436 2015-03-10  Jackson Ray Hamilton  <jackson@jacksonrayhamilton.com>
438         * progmodes/js.el (js-indent-first-initialiser): New option.
439         (js--maybe-goto-declaration-keyword-end): New function.
440         (js--proper-indentation): Use js--maybe-goto-declaration-keyword-end.
442 2015-03-10  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
444         * net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes
445         from RFC2798 Section 9.1.1.  (Bug#8983)
447 2015-03-09  Nicolas Petton <nicolas@petton.fr>
449         * emacs-lisp/seq.el (seq-into): New function.
450         Bump seq.el version to 1.3.
452 2015-03-09  Dmitry Gutov  <dgutov@yandex.ru>
454         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider
455         `=' a part of symbol when followed by `>'.  (Bug#18644)
456         (ruby-syntax-before-regexp-re): Detect regexps after `!'.
457         (Bug#19285)
459 2015-03-09  Eli Zaretskii  <eliz@gnu.org>
461         * dired.el (dired-delete-file): Doc fix.  (Bug#20021)
463 2015-03-06  Sergio Durigan Junior  <sergiodj@sergiodj.net>
464             Thomas Fitzsimmons  <fitzsim@fitzsim.org>
466         * net/eudcb-bbdb.el (eudc-bbdb-field): New function.
467         (eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field.
468         (eudc-bbdb-format-record-as-result): Likewise.
470 2015-03-08  Dmitry Gutov  <dgutov@yandex.ru>
472         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
473         Use `font-lock-constant-face' for nil, true and false.
474         Highlight `self' as a keyword.  (Bug#17733)
476 2015-03-08  Nobuyoshi Nakada  <nobu@ruby-lang.org>
478         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
479         Expect beginning of regexp also after open brace or vertical bar.
480         (Bug#20026)
482 2015-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>
484         * battery.el (battery-echo-area-format): Simplify default.
485         (battery-linux-sysfs): Standardize on energy&power.  Accept ADP1
486         for AC adapter.
488         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
489         unfold `closure's since byte-compile-unfold-lambda doesn't know how to
490         do it.
492 2015-03-06  Oscar Fuentes  <ofv@wanadoo.es>
494         * net/browse-url.el (browse-url-firefox): Remove outdated
495         MS-Windows limitations.
497 2015-03-06  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
499         * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
500         obsolete.
501         (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
502         Don't clean up postal addresses if ldap-ignore-attribute-codings
503         is set.  Combine mail addresses into one field. (Bug#17720)
504         (eudc-ldap-simple-query-internal):
505         Call eudc-ldap-cleanup-record-filtering-addresses instead of
506         eudc-ldap-cleanup-record-simple.
507         (eudc-ldap-get-field-list): Likewise.
509 2015-03-05  Ivan Shmakov  <ivan@siamics.net>
511         * net/eww.el (eww-html-p): New function (bug#20009).
512         (eww-render): Use it.
514 2015-03-05  Artur Malabarba  <bruce.connor.am@gmail.com>
516         * desktop.el (desktop-buffer-info): Write docstring.
517         (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
518         unquote lamda.
520         * emacs-lisp/package.el (package-refresh-contents): Update doc.
522 2015-03-05  Dmitry Gutov  <dgutov@yandex.ru>
524         * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
526 2015-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
528         Replace *-function vars with generic functions in cl-generic.
529         * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
530         (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
531         (cl--generic-t-generalizer): New const.
532         (cl--generic-make-method): Rename from `cl--generic-method-make'.
533         (cl--generic-make): Change calling convention.
534         (cl--generic): Add `options' field.
535         (cl-generic-function-options): New function.
536         (cl-defgeneric): Rewrite handling of options.  Add support for :method
537         options and allow the use of a default body.
538         (cl-generic-define): Save options in the corresponding new field.
539         (cl-defmethod): Fix ordering of qualifiers.
540         (cl-generic-define-method): Use cl-generic-generalizers.
541         (cl--generic-get-dispatcher): Change calling convention, and change
542         calling convention of the returned function as well so as to take the
543         list of methods separately from the generic function object, so that it
544         can receive the original generic function object.
545         (cl--generic-make-next-function): New function, extracted from
546         cl--generic-make-function.
547         (cl--generic-make-function): Use it.
548         (cl-generic-method-combination-function): Remove.
549         (cl--generic-cyclic-definition): New error.
550         (cl-generic-call-method): Take a generic function object rather than
551         its name.
552         (cl-method-qualifiers): New alias.
553         (cl--generic-build-combined-method): Use cl-generic-combine-methods,
554         don't segregate by qualifiers here any more.
555         (cl--generic-standard-method-combination): Segregate by qualifiers
556         here instead.  Add support for the `:extra' qualifier.
557         (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
558         (cl-generic-generalizers, cl-generic-combine-methods):
559         New generic functions.
560         (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
561         Use the new "default method in defgeneric" functionality, change
562         calling convention to receive a generic function object.
563         (cl--generic-head-used): New var.
564         (cl--generic-head-generalizer, cl--generic-eql-generalizer)
565         (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
566         New consts.
567         * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
568         (eieio--generic-subclass-generalizer): New consts.
569         (cl-generic-generalizers): New methods.
570         * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
571         (eieio--generic-static-object-generalizer): New consts.
572         (cl-generic-generalizers) <(head eieio--static)>: New method.
573         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
574         Unfold closures like lambdas.
576 2015-03-04  Filipp Gunbin  <fgunbin@fastmail.fm>
578         * autorevert.el (auto-revert-notify-add-watch):
579         Fix handler installation.  (Bug#20000)
581 2015-03-04  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
583         * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
584         (eww-same-page-p,eww-set-character-encoding): Fix docstring.
585         (eww): Do not end error messages with a period.
587 2015-03-04  Zhongwei Yao  <ashi08104@gmail.com>
589         * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
590         New user option.
591         (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
592         names starting with a space.
593         (tramp-methods): Add `tramp-default-port' for "adb".
594         (tramp-adb-parse-device-names): Add traces.  Return device names
595         with port, if present.
596         (tramp-adb-handle-directory-files-and-attributes): Quote all
597         remote file names.
598         (tramp-adb-get-device): New defun.
599         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
600         Use it.
601         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
602         variables.  Remove checks for listed devices.
604 2015-03-04  Michael Albinus  <michael.albinus@gmx.de>
606         * net/tramp.el (tramp): Add :link property.
607         (tramp-login-prompt-regexp): Allow also "user", as required by
608         Fritz!Box telnet.
609         (tramp-autoload-file-name-handler): Use "/".
610         (tramp-handle-unhandled-file-name-directory): Return nil when
611         required by the spec.
613         * net/tramp-cache.el (tramp-dump-connection-properties):
614         Use `with-temp-file'.
616         * net/tramp-sh.el (tramp-perl-file-attributes)
617         (tramp-perl-directory-files-and-attributes): Escape apostrophes in
618         file names.
619         (tramp-do-file-attributes-with-stat): Quote file name.
620         (tramp-sh-handle-directory-files-and-attributes): Fall back to
621         `tramp-handle-directory-files-and-attributes' in case of problems.
622         (tramp-do-directory-files-and-attributes-with-stat)
623         (tramp-sh-handle-file-name-all-completions)
624         (tramp-sh-handle-delete-directory)
625         (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
626         Normalize use of "cd".
627         (tramp-do-directory-files-and-attributes-with-stat): Use the
628         `quoting-style' arg of `ls' if possible.  Make it also working for
629         file names with apostrophes.
630         (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
631         in proper order.
632         (tramp-do-copy-or-rename-file-via-buffer)
633         (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
634         (tramp-get-remote-locale): Accept also \r in output.
635         (tramp-get-ls-command-with-quoting-style): New defun.
636         (tramp-get-inline-coding): Set `default-directory' to a local
637         directory.  Sporadically, `call-process-region' does not handle a
638         remote default directory properly.
640         * net/trampver.el: Update release number.
642 2015-03-03  Agustín Martín Domingo  <agustin6martin@gmail.com>
644         * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
645         .dat files for aspell dicts are also searched for in location
646         described by `ispell-aspell-dict-dir', matching aspell's dict-dir
647         variable.
649 2015-03-03  Agustín Martín Domingo  <agustin6martin@gmail.com>
651         * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
652         (ispell-hunspell-fill-dictionary-entry)
653         (ispell-find-hunspell-dictionaries)
654         (ispell-set-spellchecker-params): New generic name for
655         `ispell-hunspell-dictionary-equivs-alist'.
656         (ispell-aspell-add-aliases): Also use
657         `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
658         standard dict names.
660 2015-03-03  Glenn Morris  <rgm@gnu.org>
662         * net/browse-url.el (browse-url-firefox-startup-arguments):
663         Make obsolete.
664         (browse-url-firefox): Doc fix.  Remove -remote, which no longer
665         exists in Firefox 36.  (Bug#19921)
666         (browse-url-firefox-sentinel): Remove function.
668 2015-03-03  Eli Zaretskii  <eliz@gnu.org>
670         * frame.el (blink-cursor-timer-function): Don't increment
671         blink-cursor-blinks-done counter when a menu is active on a w32
672         frame.  (Bug#19925)
674 2015-03-03  Juri Linkov  <juri@linkov.net>
676         * comint.el (comint-line-beginning-position): Revert searching for
677         the prompt when comint-use-prompt-regexp is non-nil because it
678         doesn't distinguish input from output.  Check the field property
679         `output' for the case when comint-use-prompt-regexp is nil.
680         (Bug#19710)
682 2015-03-03  Jérémy Compostella  <jeremy.compostella@gmail.com>
684         * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
685         with PAGER=cat.  (Bug#19870)
687 2015-03-03  Glenn Morris  <rgm@gnu.org>
689         * textmodes/flyspell.el (flyspell-duplicate-distance):
690         Bump :version.
692 2015-03-03  Eli Zaretskii  <eliz@gnu.org>
694         * textmodes/text-mode.el (text-mode-syntax-table): Make some
695         punctuation character behave as word-constituent, for more
696         compatibility with Unicode.
698         * simple.el (transient-mark-mode): Doc fix.  (Bug#19841)
700 2015-03-03  Agustín Martín Domingo  <agustin6martin@gmail.com>
702         Improve string search in `flyspell-word-search-*`. (Bug#16800)
703         * textmodes/flyspell.el (flyspell-duplicate-distance):
704         Limit default search distance for duplicated words to 40000.
705         (flyspell-word-search-backward, flyspell-word-search-forward):
706         Search as full word with defined casechars, not as substring.
708 2015-03-03  Juri Linkov  <juri@linkov.net>
710         Better support for the case of typing RET on the prompt in comint.
711         * comint.el (comint-get-old-input-default): Go to the field end
712         when comint-use-prompt-regexp is nil.
713         (comint-line-beginning-position): Check if point is already
714         on the prompt before searching for the prompt when
715         comint-use-prompt-regexp is non-nil.  (Bug#19710)
717 2015-03-03  Eli Zaretskii  <eliz@gnu.org>
719         * frame.el (frame-notice-user-settings): Refresh the value of
720         frame parameters after calling tty-handle-reverse-video.
721         Call face-set-after-frame-default with the actual parameters, to avoid
722         resetting colors back to unspecified.
723         (set-background-color, set-foreground-color): Pass the foreground
724         and background colors to face-set-after-frame-default.  (Bug#19802)
726 2015-03-03  Wolfgang Jenkner  <wjenkner@inode.at>
728         * net/network-stream.el (network-stream-open-tls): Respect the
729         :end-of-capability setting.
731 2015-03-03  Juri Linkov  <juri@linkov.net>
733         Revert the previous change of comint-line-beginning-position callers,
734         and modify comint-line-beginning-position instead.
736         * comint.el (comint-history-isearch-search)
737         (comint-history-isearch-message, comint-history-isearch-wrap):
738         Use comint-line-beginning-position instead of field-beginning.
739         (comint-send-input): Use either end-of-line or field-end
740         depending on comint-use-prompt-regexp.
741         (comint-line-beginning-position): Search backward
742         for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
743         Use field-beginning instead of line-beginning-position
744         if comint-use-prompt-regexp is nil.  (Bug#19710)
746 2015-03-03  Robert Pluim  <rpluim@gmail.com>  (tiny change)
748         * calendar/todo-mode.el (todo-item-done): When done items are
749         hidden, restore point to its location prior to invoking this
750         command.  (Bug#19727)
752 2015-03-03  Eli Zaretskii  <eliz@gnu.org>
754         * textmodes/artist.el (artist-ellipse-compute-fill-info):
755         Use mapcar, not mapc, to create the other half of fill-info.
756         (Bug#19763)
758 2015-03-03  Nicolas Petton  <nicolas@petton.fr>
760         * emacs-lisp/authors.el (authors-ignored-files)
761         (authors-renamed-files-alist): Additions.
763 2015-03-03  Michael Albinus  <michael.albinus@gmx.de>
765         * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
766         tempfile for ControlPath.  (Bug#19702)
768 2015-03-03  Michael Albinus  <michael.albinus@gmx.de>
770         * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
771         ControlPath if possible.  (Bug#19702)
773 2015-03-03  Glenn Morris  <rgm@gnu.org>
775         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
776         (authors-valid-file-names, authors-renamed-files-alist): Additions.
778 2015-03-03  Alan Mackenzie  <acm@muc.de>
780         CC Mode: Stop Font Lock forcing fontification from BOL.  (Bug#19669)
781         * progmodes/cc-mode.el (c-font-lock-init):
782         Set font-lock-extend-region-functions to nil.
784 2015-03-03  Daniel Colascione  <dancol@dancol.org>
786         * emacs-lisp/generator.el: Make globals conform to elisp
787         style throughout.  Use more efficient font-lock patterns.
788         (cps-inhibit-atomic-optimization): Rename from
789         `cps-disable-atomic-optimization'.
790         (cps--gensym): New macro; replaces `cl-gensym' throughout.
791         (cps-generate-evaluator): Move the `iter-yield' local macro
792         definition here
793         (iter-defun, iter-lambda): from here.
795         (iter-defun): Use `macroexp-parse-body'.
797 2015-03-03  Daniel Colascione  <dancol@dancol.org>
799 2015-03-03  Stefan Monnier  <monnier@iro.umontreal.ca>
801         * progmodes/gud.el: Use lexical-binding (bug#19966).
803         * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
805 2015-03-03  Daniel Colascione  <dancol@dancol.org>
807         * emacs-lisp/generator.el: Make globals conform to elisp
808         style throughout.  Use more efficient font-lock patterns.
809         (cps-inhibit-atomic-optimization): Rename from
810         `cps-disable-atomic-optimization'.
811         (cps--gensym): New macro; replaces `cl-gensym' throughout.
812         (cps-generate-evaluator): Move the `iter-yield' local macro
813         definition here...
814         (iter-defun, iter-lambda): ...from here.
816 2015-03-03  Artur Malabarba  <bruce.connor.am@gmail.com>
818         * emacs-lisp/package.el (package-autoremove): Fix if logic.
820 2015-03-03  Martin Rudalics  <rudalics@gmx.at>
822         * window.el (window--dump-frame): For pixel height return total
823         number of frame's lines.
825 2015-03-03  Daniel Colascione  <dancol@dancol.org>
827         * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
829         * emacs-lisp/generator.el (iter-defun): Correctly propagate
830         docstrings and declarations to underlying function.
832 2015-03-02  Daniel Colascione  <dancol@dancol.org>
834         * emacs-lisp/generator.el: New file.
836         * vc/vc.el (vc-responsible-backend): Add autoload cookie for
837         `vc-responsible-backend'.
839 2015-03-01  Michael Albinus  <michael.albinus@gmx.de>
841         * vc/vc-hooks.el (vc-state, vc-working-revision):
842         Use `vc-responsible-backend' in order to support unregistered files.
844         * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
846         * vc/vc-rcs.el (vc-rcs-fetch-master-state):
847         * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
848         master name.
850         * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
852 2015-03-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
854         * net/shr.el (shr-insert): Remove soft hyphens.
855         (shr-insert): Also remove soft hypens from non-folded text.
857 2015-02-28  Eli Zaretskii  <eliz@gnu.org>
859         * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
860         when the charset is only given by the HTML <head>, and allow to
861         specify the encoding with "C-x RET c".
863 2015-02-27  Mark Laws  <mdl@60hz.org>
865         Support daemon mode on MS-Windows (bug#19688)
866         * server.el (server-process-filter): Force GUI frames on
867         MS-Windows in daemon mode, even if a TTY frame was requested.
869         * frameset.el (frameset-keep-original-display-p): Don't assume
870         windows-nt cannot be in daemon mode.
872         * frame.el (window-system-for-display): Don't assume windows-nt
873         cannot be in daemon mode.
875 2015-02-26  Ivan Shmakov  <ivan@siamics.net>
877         * faces.el (face-list-p): Split from face-at-point.
878         (face-at-point): Use it.
879         * facemenu.el (facemenu-add-face): Likewise.  (Bug#19912)
881 2015-02-26  Oscar Fuentes  <ofv@wanadoo.es>
883         * vc/vc.el (vc-annotate-switches): New defcustom.
884         * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
885         (vc-bzr-annotate-command): Use vc-switches.
886         * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
887         (vc-cvs-annotate-command): Use vc-switches.
888         * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
889         (vc-git-annotate-command): Use vc-switches.
890         * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
891         (vc-hg-annotate-command): Use vc-switches.
892         * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
893         (vc-mtn-annotate-command): Use vc-switches.
894         * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
895         (vc-svn-annotate-command): Use vc-switches.
897 2015-02-26  Alan Mackenzie  <acm@muc.de>
899         Handle "#" operator properly inside macro.  Fix coding bug.
901         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
902         On finding a "#" which looks like the start of a macro, check it
903         isn't already inside a macro.
905         * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
906         "safe" position into the list of them when this is beyond our
907         current position.
909 2015-02-26  Martin Rudalics  <rudalics@gmx.at>
911         * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
912         the menu frame is dead.  (Bug#19728)
914 2015-02-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
916         python.el: Handle tabs in python-indent-dedent-line.
917         * progmodes/python.el (python-indent-dedent-line): Fixes for
918         indentation with tabs.  Thanks to <dale@codefu.org> (Bug#19730).
920 2015-02-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
922         * progmodes/python.el (python-indent-context): Respect user
923         indentation after comment.
925 2015-02-26  Tassilo Horn  <tsdh@gnu.org>
927         * textmodes/reftex-vars.el (featurep): Conditionalize value of
928         reftex-label-regexps in order to stay compatible with XEmacs 21.5
929         which has no explicitly numbered groups in regexps (bug#19714).
931 2015-02-26  Daiki Ueno  <ueno@gnu.org>
933         * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
934         integer before comparison.
936 2015-02-25  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
938         * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
940 2015-02-25  Oleh Krehel  <ohwoeowho@gmail.com>
942         * emacs-lisp/check-declare.el (check-declare-warn):
943         Use compilation-style warnings.
944         (check-declare-files): Make sure that
945         `check-declare-warning-buffer' is in `compilation-mode'.
947 2015-02-25  Oleh Krehel  <ohwoeowho@gmail.com>
949         * emacs-lisp/check-declare.el (check-declare-ext-errors):
950         New defcustom.
951         (check-declare): New defgroup.
952         (check-declare-verify): When `check-declare-ext-errors' is
953         non-nil, warn about an unfound function, instead of saying
954         "skipping external file".
956 2015-02-25  Tassilo Horn  <tsdh@gnu.org>
958         * textmodes/reftex-vars.el (reftex-include-file-commands):
959         Call reftex-set-dirty on changes.
961 2015-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
963         * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
964         * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
965         save-excursion.
967 2015-02-24  Glenn Morris  <rgm@gnu.org>
969         * mail/rmailsum.el (rmail-summary-previous-all)
970         (rmail-summary-previous-msg): Simplify.
972 2015-02-25  Artur Malabarba  <bruce.connor.am@gmail.com>
974         * simple.el (region-active-p): Fix doc to say non-nil.
976 2015-02-24  Samer Masterson  <nosefrog@gmail.com>
978         * eshell/em-hist.el (eshell-hist-parse-word-designator):
979         Return args joined with " ".
980         * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
981         (eshell-hist-parse-modifier): Pass mod a list instead of a string
982         (bug#18960).
984 2015-02-24  Karl Fogel  <kfogel@red-bean.com>  (tiny change)
986         * comint.el (comint-mode-map): Fix obvious typo.
988 2015-02-24  Johan Claesson  <johanclaesson@bredband.net>  (tiny change)
990         * filecache.el (file-cache-filter-regexps):
991         Add lock files.  (Bug#19516)
993 2015-02-24  Glenn Morris  <rgm@gnu.org>
995         * mail/rmailsum.el (rmail-summary-next-all)
996         (rmail-summary-previous-all, rmail-summary-next-msg):
997         Fix handling of optional argument.  (Bug#19916)
999         * progmodes/f90.el (f90-beginning-of-subprogram)
1000         (f90-end-of-subprogram, f90-match-end):
1001         Handle continued strings where the continuation does not start
1002         with "&" and happens to match our regexp.  (Bug#19809)
1004 2015-02-24  Bozhidar Batsov  <bozhidar@batsov.com>
1006         * comint.el (comint-clear-buffer): New command.
1007         (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
1009 2015-02-23  Pete Williamson  <petewil0@googlemail.com>  (tiny change)
1011         Use ${EXEEXT} more uniformly in makefiles
1012         * Makefile.in (EMACS): Append ${EXEEXT}.
1014 2015-02-23  Sam Steingold  <sds@gnu.org>
1016         * files.el (recover-session): Handle `auto-save-list-file-prefix'
1017         being a directory (empty non-directory part).
1019 2015-02-23  Magnus Henoch  <magnus.henoch@gmail.com>
1021         * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
1022         instead of sasl-scram-sha-1, as the former is the name that can be
1023         required.
1025         * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
1026         (sasl-scram-sha-1-client-final-message)
1027         (sasl-scram-sha-1-authenticate-server): Move to end of file.
1029 2015-02-23  Paul Eggert  <eggert@cs.ucla.edu>
1031         * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
1032         (Bug#19826)
1034 2015-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1036         * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
1037         and :documentation.  Change return value format accordingly.
1038         * emacs-lisp/cl-generic.el (cl--generic-lambda):
1039         * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
1040         * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
1042 2015-02-23  Dmitry Gutov  <dgutov@yandex.ru>
1044         Introduce `xref-etags-mode'.
1045         * progmodes/xref.el (xref-etags-mode--saved): New variable.
1046         (xref-etags-mode): New minor mode.  (Bug#19466)
1048 2015-02-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1050         * dom.el (dom-previous-sibling): New function.
1052 2015-02-21  Paul Eggert  <eggert@cs.ucla.edu>
1054         * bindings.el (ctl-x-map): There is no 'C-;'.
1055         For now, make do with 'M-;'; this allows 'make bootstrap' to work.
1056         Perhaps some other binding should be chosen.  (Bug#19826)
1058 2015-02-21  Artur Malabarba  <bruce.connor.am@gmail.com>
1060         * bindings.el (ctl-x-map): Fix `comment-line' binding.  (Bug#19826)
1062 2015-02-21  Michael Albinus  <michael.albinus@gmx.de>
1064         * autorevert.el (auto-revert-notify-add-watch)
1065         (auto-revert-notify-handler, auto-revert-buffers): Handle also
1066         buffers without an associated file, like dired buffers.  (Bug#16112)
1068 2015-02-21  Dima Kogan  <dima@secretsauce.net>
1070         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1071         (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
1072         wrappers.  Call (auto-revert-buffers) consequently in order to
1073         install handlers.
1075 2015-02-21  Wilson Snyder  <wsnyder@wsnyder.org>
1077         Sync with upstream verilog-mode revision 0d6420b.
1078         * progmodes/verilog-mode.el (verilog-mode-version): Update.
1079         (vector-skip-list): Remove.
1080         (verilog-auto-inst-port, verilog-auto-inst-port-list)
1081         (verilog-auto-inst, verilog-auto-inst-param):
1082         Use arguments rather than vector-skip.
1083         (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
1084         modport if signal attachment is itself a modport.
1085         Reported by Matthew Lovell.
1087 2015-02-21  Reto Zimmermann  <reto@gnu.org>
1089         Sync with upstream vhdl mode v3.37.1.  Add VHDL'08 support.
1090         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
1091         (vhdl-doc-release-notes): Update.
1092         (vhdl-standard): Add VHDL'08 option.
1093         (vhdl-sensitivity-list-all): New option.
1094         (vhdl-directive-keywords): Add psl.
1095         (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
1096         (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
1097         (vhdl-imenu-generic-expression): Add context, directive.
1098         (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
1099         (vhdl-template-map-init): Add vhdl-template-context.
1100         (vhdl-mode-syntax-table): Support VHDL'08 block comments.
1101         (vhdl-create-mode-menu): Add some entries.
1102         (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
1103         (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
1104         New constants.
1105         (vhdl-directives): New variable.
1106         (vhdl-words-init, vhdl-template-process)
1107         (vhdl-template-replace-header-keywords): Support VHDL'08.
1108         (vhdl-abbrev-list-init): Add vhdl-directives.
1109         (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
1110         (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
1111         (vhdl-lineup-comment): Handle block comments and directives.
1112         (vhdl-beginning-of-directive, vhdl-template-context)
1113         (vhdl-template-context-hook): New functions.
1114         (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
1115         (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
1116         (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
1117         (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
1118         (vhdl-scan-context-clause): Add context.
1120 2015-02-20  Glenn Morris  <rgm@gnu.org>
1122         * calendar/solar.el (solar-sunrise-sunset-string):
1123         Shorten message a little.
1124         (sunrise-sunset): Use message rather than a window.  (Bug#19859)
1126         * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
1127         (f90-font-lock-keywords-2): Some F2008 additions.
1129 2015-02-19  Dima Kogan  <dima@secretsauce.net>
1131         * autorevert.el (auto-revert-buffers-counter)
1132         (auto-revert-buffers-counter-lockedout): New variables.
1133         (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
1134         (auto-revert-notify-handler): Apply `auto-revert-handler' if not
1135         suppressed by lockout.  (Bug#18958)
1137 2015-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1139         * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
1140         returns classes, not class names (bug#19891).
1142         * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
1144         * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
1146 2015-02-18  Kelly Dean  <kelly@prtime.org>
1148         * register.el (jump-to-register):
1149         * emacs-lisp/lisp.el (check-parens):
1150         Push mark before goto-char so user doesn't lose his previous place.
1152 2015-02-18  Kelly Dean  <kelly@prtime.org>
1154         * rect.el (rectangle-mark-mode):
1155         Suppress superfluous "Mark set" message from push-mark.
1157 2015-02-18  Kelly Dean  <kelly@prtime.org>
1159         * help-mode.el (help-go-back, help-go-forward, help-follow):
1160         * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
1161         * winner.el (winner-redo):
1162         * windmove.el (windmove-do-window-select):
1163         * register.el (jump-to-register, increment-register, insert-register)
1164         (append-to-register, prepend-to-register):
1165         * files.el (find-alternate-file, abort-if-file-too-large, write-file)
1166         (set-visited-file-name):
1167         * emacs-lisp/lisp.el (kill-backward-up-list):
1168         Use user-error instead of error.  (Bug#14480)
1170 2015-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1172         * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
1173         assumptions about window ordering.
1175 2015-02-16  Kelly Dean  <kelly@prtime.org>
1177         * files.el (insert-file-contents-literally): Fix docstring typo.
1179 2015-02-16  Kelly Dean  <kelly@prtime.org>
1181         * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
1182         arguments correctly. (Bug#19685)
1183         (define-minor-mode): Clarify docstring.
1184         Clarify mode switch messages for minor modes.  (Bug#19690)
1186 2015-02-16  Kelly Dean  <kelly@prtime.org>
1188         * emacs-lisp/package-x.el (package-upload-buffer-internal):
1189         Create valid tar files.  (Bug#19536)
1191 2015-02-16  Kelly Dean  <kelly@prtime.org>
1193         * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
1194         (Bug#19059)
1196 2015-02-16  Kelly Dean  <kelly@prtime.org>
1198         * help-mode.el (help-do-xref): Prevent duplicated display of Info
1199         buffer, and prevent interference with existing buffer.  (Bug#13190)
1201 2015-02-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1203         python.el: Do not deactivate mark on shell fontification.  (Bug#19871)
1205         * progmodes/python.el (python-shell-font-lock-post-command-hook):
1206         Do not deactivate mark on fontification.
1208 2015-02-16  Ivan Shmakov  <ivan@siamics.net>
1210         * net/eww.el: Fix desktop support.  (Bug#19226)
1211         (eww-mode): Add autoload cookie.
1212         (eww-restore-desktop): Use inhibit-read-only.
1214         * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
1215         add-hook works correctly even if the file is not yet loaded.
1217 2015-02-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1219         * emacs-lisp/eieio.el (defclass): Use make-instance rather than
1220         eieio-constructor.
1221         (set-slot-value): Mark as obsolete.
1222         (eieio-object-class-name): Improve call to eieio-class-name.
1223         (eieio-slot-descriptor-name, eieio-class-slots): New functions.
1224         (object-slots): Use it.  Declare obsolete.
1225         (eieio-constructor): Merge it with `make-instance'.
1226         (initialize-instance): Use `dolist'.
1227         (eieio-override-prin1, eieio-edebug-prin1-to-string):
1228         Use eieio--class-print-name.
1230         * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
1231         (eieio-class-name): Make it do what the docstring claims.
1232         (eieio-defclass-internal): Simplify since `prots' isn't used any more.
1233         (eieio--slot-name-index): Simplify accordingly.
1234         (eieio-barf-if-slot-unbound): Pass the class object rather than its
1235         name to `slot-unbound'.
1237         * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
1238         than on eieio-constructor.
1240 2015-02-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1242         * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
1243         * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
1244         about relationship between `type', `named', and `slots'.
1245         * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
1246         value of `cl-struct-type' property.
1248 2015-02-15  Jérémy Compostella  <jeremy.compostella@gmail.com>
1250         * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
1251         with PAGER=cat.  (Bug#19870)
1253 2015-02-14  Artur Malabarba  <bruce.connor.am@gmail.com>
1255         * emacs-lisp/package.el (package-read-all-archive-contents):
1256         Don't build the compatibility table.
1257         (package-refresh-contents, package-initialize): Do build the
1258         compatibility table.
1259         (package--build-compatibility-table): New function.
1260         (describe-package-1): Describe why a package is incompatible.
1262 2015-02-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1264         * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
1265         of the parent.
1266         (cl--assertion-failed): New function.
1267         (cl-assertion-failed): Move in from cl-lib.el.
1269         * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
1270         as children of its parents.
1271         (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
1272         (cl-typep): Reimplement using define-inline.
1273         (cl-assert): Use cl--assertion-failed.
1274         (cl-struct-slot-value): Use define-inline.
1276         * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
1278         * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
1279         (flyspell-generic-check-word-p): Mark as obsolete.
1281 2015-02-13  Artur Malabarba  <bruce.connor.am@gmail.com>
1283         * emacs-lisp/package.el (package--compatibility-table): New var.
1284         (package--add-to-compatibility-table): New function.
1285         (package-read-all-archive-contents): Populate compatibility table.
1286         (package--incompatible-p): Also look in dependencies.
1287         (describe-package-1): Fix "incompat" handling.
1289 2015-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
1291         * net/rfc2104.el: Moved here from lisp/gnus.
1293 2015-02-13  Magnus Henoch  <magnus.henoch@gmail.com>
1295         * net/sasl-scram-rfc.el: New file.
1297         * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
1298         Add SCRAM-SHA-1 first.
1299         (sasl-mechanism-alist): Remove SCRAM-MD5 entry.  Add SCRAM-SHA-1
1300         entry (bug#17636).
1302 2015-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
1304         * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
1305         <ul>.
1307 2015-02-12  Oleh Krehel  <ohwoeowho@gmail.com>
1309         * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
1310         (gdb-inferior-filter): Don't pop up the buried output buffer when
1311         `gdb-display-io-nopopup' is non-nil.
1313 2015-02-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1315         python.el: Allow killing shell buffer if process is dead.  (Bug#19823)
1317         * progmodes/python.el (python-shell-font-lock-kill-buffer):
1318         Don't require a running process.
1319         (python-shell-font-lock-post-command-hook): Fontify only if the
1320         shell process is running.
1322 2015-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1324         * hi-lock.el (hi-lock-unface-buffer): Don't call
1325         font-lock-remove-keywords if not needed (bug#19796).
1327 2015-02-11  Artur Malabarba  <bruce.connor.am@gmail.com>
1329         * emacs-lisp/package.el (package-install): Invert the second
1330         argument, for better backwards compatibility.
1331         (package-install-button-action, package-reinstall)
1332         (package-menu-execute): Account for the change.
1334 2015-02-11  Nicolas Petton  <nicolas@petton.fr>
1336         * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
1337         version of seq-reverse that works on sequences in Emacs 24.
1338         Bump seq.el version to 1.2.
1340 2015-02-11  Artur Malabarba  <bruce.connor.am@gmail.com>
1342         * emacs-lisp/package.el (package--incompatible-p): New function.
1343         Return non-nil if PKG has no chance of being installable.
1344         (package--emacs-version-list): New variable.
1345         (describe-package-1, package-desc-status)
1346         (package-menu--print-info, package-menu--status-predicate):
1347         Account for the "incompat" status.
1349 2015-02-11  Martin Rudalics  <rudalics@gmx.at>
1351         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1352         Rename frame parameter `maximized' to `fullscreen-restore'.
1353         Restore fullwidth/-height after fullboth state.  Update doc-strings.
1355 2015-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
1357         * net/shr.el (shr-insert): Make sure the space inserted has the
1358         right font (for width).
1359         (shr-fill-line): Preserve background colours when indenting/folding.
1360         (shr-ensure-paragraph): Don't insert a new paragraph as the first
1361         item in a <li>.
1363 2015-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
1365         * net/shr.el (shr-use-fonts): New variable.
1366         (shr-fill-text): Rename from "fold".
1367         (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
1368         New functions.
1369         (shr-insert): Just insert, don't fill the text.  Filling is now
1370         done afterwards per display unit.
1371         (shr-fill-lines, shr-fill-line): New functions to fill text on a
1372         per-unit base.
1373         (shr-find-fill-point): Take a "beginning" parameter.
1374         (shr-indent): Indent using the :width display parameter when using
1375         fonts.
1376         (shr-parse-style): Ignore "inherit" values, since we already do that.
1377         (shr-tag-img): Remove the insertion states.
1378         (shr-tag-blockquote): New-style filling.
1379         (shr-tag-dd): Ditto.
1380         (shr-tag-li): Ditto.
1381         (shr-mark-fill): New function to mark lines that need filling.
1382         (shr-tag-h1): Use a larger font.
1383         (shr-tag-table-1): Get the natural and suggested widths in one
1384         rendering.
1385         (shr-tag-table): Create the "fixed" version of the table only once
1386         so that we can cache data in the table.
1387         (shr-insert-table): Get colspan calculations right by having
1388         zero-width columns after colspan ones.
1389         (shr-expand-alignments): New function to make :align-to specs work
1390         right when rendered in one buffer and displayed in another one.
1391         (shr-insert-table-ruler): Use :align-to to get the widths right.
1392         (shr-make-table): Cache more.
1393         (shr-make-table-1): Use the new <td> data layout.
1394         (shr-pixel-buffer-width): New function.
1395         (shr-render-td): Add a caching layer.
1396         (shr-dom-max-natural-width): New function.
1397         (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
1398         (shr-tag-tt): New function.
1399         (shr-tag-hr): Compute the right length when using fonts.
1400         (shr-table-widths): Off-by-one error in width computation.
1401         (shr-expand-newlines): Remove dead code.
1402         (shr-insert-table): Extend background colors to the end of the column.
1403         (shr-insert-table): Only copy the background, not underline and
1404         the like.
1405         (shr-face-background): New function.
1407 2015-02-10  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1409         python.el: Improved shell font lock respecting markers.  (Bug#19650)
1411         * progmodes/python.el
1412         (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
1413         (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
1414         (python-shell-font-lock-post-command-hook): Fontify by copying text
1415         properties from fontified buffer to shell, keeping markers unchanged.
1416         (python-shell-font-lock-turn-off): Fix typo.
1417         (python-util-text-properties-replace-name): Delete function.
1419 2015-02-09  Nicolas Petton  <nicolas@petton.fr>
1421         * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
1422         return sequence elements in correct order.
1424 2015-02-09  Simen Heggestøyl  <simenheg@gmail.com>  (tiny change)
1426         * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
1428 2015-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1430         * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
1432         * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
1433         case where the default value would be re-interpreted as a form!
1435 2015-02-09  Christopher Genovese  <genovese@cmu.edu>  (tiny change)
1437         * help-fns.el (help-fns--signature): Keep doc for keymap.
1439 2015-02-09  Kelly Dean  <kelly@prtime.org>
1441         * desktop.el: Save mark-ring less verbosely.
1442         (desktop-var-serdes-funs): New var.
1443         (desktop-buffer-info, desktop-create-buffer): Use it.
1444         (desktop-file-version): Update to 208.
1446 2015-02-09  Leo Liu  <sdl.web@gmail.com>
1448         * emacs-lisp/pcase.el (pcase-lambda): New Macro.  (Bug#19814)
1450         * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
1452         * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
1454 2015-02-08  Paul Eggert  <eggert@cs.ucla.edu>
1456         Port to platforms lacking test -a and -o
1457         * Makefile.in (compile-clean):
1458         * net/tramp-sh.el (tramp-find-executable):
1459         Prefer '&&' and '||' to 'test -a' and 'test -o'.
1461 2015-02-08  Artur Malabarba  <bruce.connor.am@gmail.com>
1463         * newcomment.el (comment-line): Fix missing paren.
1465 2015-02-08  Ulrich Müller  <ulm@gentoo.org>
1467         * play/gamegrid.el: Update comment to reflect that the
1468         'update-game-score' helper program is now setgid by default.
1470 2015-02-08  David Kastrup  <dak@gnu.org>
1472         * subr.el (apply-partially): Use lexical binding here.
1474 2015-02-08  Artur Malabarba  <bruce.connor.am@gmail.com>
1476         * newcomment.el (comment-line): New command.
1478         * bindings.el (ctl-x-map): Bind to `C-x C-;'.
1480 2015-02-08  Oleh Krehel  <ohwoeowho@gmail.com>
1482         * outline.el (outline-show-entry): Fix one invisible char for the
1483         file's last outline.  (Bug#19493)
1485 2015-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1487         * subr.el (indirect-function): Change advertised calling convention.
1489 2015-02-08  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1491         python.el: Fix completion-at-point.  (Bug#19667)
1493         * progmodes/python.el
1494         (python-shell-completion-native-get-completions): Force process buffer.
1495         (python-shell-completion-at-point): Handle case where call is not
1496         in a shell buffer.
1498 2015-02-08  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1500         python.el: Fix shell font-lock multiline input.  (Bug#19744)
1502         * progmodes/python.el
1503         (python-shell-font-lock-post-command-hook): Handle multiline input.
1505 2015-02-08  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1507         python.el: Make shell font-lock respect markers.  (Bug#19650)
1509         * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1510         Use `erase-buffer`.
1511         (python-shell-font-lock-comint-output-filter-function):
1512         Handle newlines.
1513         (python-shell-font-lock-post-command-hook): Respect markers on
1514         text fontification.
1516 2015-02-07  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1518         python.el: Keep eldoc visible while typing args.  (Bug#19637)
1519         * progmodes/python.el (python-eldoc--get-symbol-at-point):
1520         New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1521         (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1523 2015-02-07  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1525         Fix hideshow integration.  (Bug#19761)
1526         * progmodes/python.el
1527         (python-hideshow-forward-sexp-function): New function based on
1528         Carlos Pita <carlosjosepita@gmail.com> patch.
1529         (python-mode): Make `hs-special-modes-alist` use it and initialize
1530         the end regexp with the empty string to avoid skipping parens.
1532 2015-02-07  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1534         * progmodes/python.el (python-check-custom-command): Do not use
1535         defvar-local for compat with Emacs<24.3.
1537 2015-02-07  Martin Rudalics  <rudalics@gmx.at>
1539         * frame.el (frame-notice-user-settings):
1540         Update `frame-size-history'.
1541         (make-frame): Update `frame-size-history'.
1542         Call `frame-after-make-frame'.
1543         * faces.el (face-set-after-frame-default): Remove call to
1544         frame-can-run-window-configuration-change-hook.
1546 2015-02-06  Dmitry Gutov  <dgutov@yandex.ru>
1548         * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1549         `vc-cvs-command' (bug#19732).
1551 2015-02-06  Nicolas Petton  <nicolas@petton.fr>
1553         * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1554         New functions.
1555         * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1556         (seq--drop-list, seq--take-list, seq--take-while-list):
1557         Better docstring.
1559 2015-02-06  Artur Malabarba  <bruce.connor.am@gmail.com>
1561         * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1562         `image-kill-buffer' instead.
1564 2015-02-06  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1566         * net/ldap.el (ldap-search-internal): Fix docstring.
1568 2015-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
1570         * subr.el (define-error): The error conditions may be constant
1571         lists, so use `append' to concatenate them.
1573 2015-02-06  Wolfgang Jenkner  <wjenkner@inode.at>
1575         * net/network-stream.el (network-stream-open-tls): Respect the
1576         :end-of-capability setting.
1578 2015-02-05  Artur Malabarba  <bruce.connor.am@gmail.com>
1580         * emacs-lisp/package.el (package--sort-by-dependence):
1581         New function.  Return PACKAGE-LIST sorted by dependencies.
1582         (package-menu-execute): Use it to delete packages in order.
1583         (package--sort-deps-in-alist): New function.
1584         (package-menu-mark-install): Can mark dependencies.
1585         (package--newest-p): New function.
1586         (package-delete): Don't deselect when deleting an older version of
1587         an upgraded package.
1589         * emacs-lisp/package.el: Add missing (require 'subr-x)
1591 2015-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1593         * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1594         hyphenated (bug#19263).
1596         * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1597         of variable interpolation (bug#19751).
1599 2015-02-05  Era Eriksson  <era+emacs@iki.fi>
1601         * json.el (json-end-of-file): New error (bug#19768).
1602         (json-pop, json-read): Use it.
1604 2015-02-05  Kelly Dean  <kelly@prtime.org>
1606         * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1607         `describe-variable'.
1609         * help-fns.el (describe-function-or-variable): New function.
1611         * help.el (help-map): Bind `describe-function-or-variable' to o.
1612         (help-for-help-internal): Document o key.
1614 2015-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1616         * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1617         special (:documentation ...) feature.
1618         * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1619         (eieio-make-child-predicate): Same.
1620         (eieio-copy-parents-into-subclass): Remove unused arg.
1621         (eieio-defclass-internal): Adjust call accordingly and remove redundant
1622         `pname' var.
1623         (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1624         callers accordingly.
1626         * emacs-lisp/cconv.el (cconv--convert-function):
1627         Add `docstring' argument.
1628         (cconv-convert): Use it to handle the new (:documentation ...) form.
1629         (cconv-analyze-form): Handle the new (:documentation ...) form.
1631         * emacs-lisp/bytecomp.el:
1632         (byte-compile-initial-macro-environment): Use macroexp-progn.
1633         (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1634         (byte-compile-file-form-defvar-function): Rename from
1635         byte-compile-file-form-define-abbrev-table.
1636         (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1637         (byte-compile): Use byte-compile-top-level rather than
1638         byte-compile-lambda so we can compile non-values.
1639         (byte-compile-form): Add warnings for failed uses of lexical vars via
1640         quoted symbols.
1641         (byte-compile-unfold-bcf): Improve message for failed inlining.
1642         (byte-compile-make-closure): Handle new format of internal-make-closure
1643         for dynamically-generated docstrings.
1645         * delsel.el: Deprecate the `kill' option.  Use lexical-binding.
1646         (open-line): Delete like all other commands, instead of killing.
1647         (delete-active-region): Don't define any return any value.
1649         * progmodes/python.el: Try to preserve compatibility with Emacs-24.
1650         (python-mode): Don't assume eldoc-documentation-function has a non-nil
1651         default.
1653 2015-02-04  Sam Steingold  <sds@gnu.org>
1655         * progmodes/python.el (python-indent-calculate-indentation):
1656         Avoid the error when computing top-level indentation.
1658 2015-02-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1660         * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
1662         * textmodes/flyspell.el: Use lexical-binding and cl-lib.
1663         (mail-mode-flyspell-verify): Fix last change.
1664         (flyspell-external-point-words, flyspell-large-region):
1665         Avoid add-to-list on local vars.
1667 2015-02-04  Tassilo Horn  <tsdh@gnu.org>
1669         * emacs-lisp/package.el (package-installed-p): Fix typo causing
1670         void-variable error.
1672 2015-02-04  Artur Malabarba  <bruce.connor.am@gmail.com>
1674         * image-mode.el (image-kill-buffer): New command.
1675         (image-mode-map): Bind it to k.
1677         * emacs-lisp/package.el (package-delete): Remove package from
1678         `package-selected-packages' even if it can't be deleted.
1679         (package-installed-p): Accept package-desc objects.
1680         (package-install): Can be used to mark dependencies as
1681         selected. When given a package-desc object which is already
1682         installed, the package is not downloaded again, but it is marked
1683         as selected (if it wasn't already).
1684         (package-reinstall): Accept package-desc objects.
1686 2015-02-03  Artur Malabarba  <bruce.connor.am@gmail.com>
1688         * emacs-lisp/package.el (package-delete): Document NOSAVE.
1689         (package--get-deps): delete-dups when ONLY is nil.
1690         (package-autoremove): Warn the user if `package-selected-packages'
1691         is empty.
1693         (package--user-selected-p): New function.
1694         (package-delete, package-install, package-install-from-buffer):
1695         Use it
1696         (package-selected-packages): Mention it.
1698         (package-initialize): Don't populate `package-selected-packages'.
1699         (package-install-user-selected-packages, package-autoremove):
1700         Special handling for empty `package-selected-packages'.
1701         (package-install): Fix when PKG is a package-desc.
1703         (package-desc-status): Add "dependency" status to the Package
1704         Menu.
1705         (package-menu--status-predicate, package-menu--print-info)
1706         (package-menu-mark-delete, package-menu--find-upgrades)
1707         (package-menu--status-predicate, describe-package-1): Use it
1709         (package--removable-packages): New function.
1710         (package-autoremove): Use it.
1711         (package-menu-execute): Offer to remove unneeded packages.
1713         (package--read-pkg-desc, package-tar-file-info): Fix reference to
1714         tar-desc.
1716 2015-02-03  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1718         * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
1719         (package-delete): New NOSAVE argument.
1721 2015-02-03  Michael Albinus  <michael.albinus@gmx.de>
1723         * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
1724         (tramp-open-shell, tramp-maybe-open-connection): Set also
1725         HISTFILESIZE and HISTSIZE when needed.  (Bug#19731)
1727 2015-02-02  Artur Malabarba  <bruce.connor.am@gmail.com>
1729         * emacs-lisp/package.el (package--find-non-dependencies):
1730         New function.
1731         (package-initialize): Use it to populate `package-selected-packages'.
1732         (package-menu-execute): Clean unnecessary `and'.
1733         (package--get-deps): Fix returning duplicates.
1735 2015-02-02  Michael Albinus  <michael.albinus@gmx.de>
1737         * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
1738         Use it as default.
1739         (tramp-open-shell, tramp-maybe-open-connection): Support it.
1740         (Bug#19731)
1742 2015-02-02  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1744         * emacs-lisp/package.el (package-delete): Remove package from
1745         package-selected-packages.
1746         (package-autoremove): Remove unneeded variable.
1748 2015-02-01  Artur Malabarba  <bruce.connor.am@gmail.com>
1750         * emacs-lisp/package.el (package-selected-packages): Fix :type
1751         (package-install): Rename ARG to MARK-SELECTED.
1752         (package--get-deps): Fix for indirect dependencies.
1753         (package-used-elsewhere-p): Rename to
1754         (package--used-elsewhere-p): New function.
1755         (package-reinstall, package-user-selected-packages-install)
1756         (package-autoremove): Use sharp-quote.
1757         (package-user-selected-packages-install): Reindent and rename to
1758         (package-install-user-selected-packages): New function.
1760 2015-02-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1762         * emacs-lisp/package.el: Don't allow deleting dependencies.
1764         (package-used-elsewhere-p): New function.
1765         (package-delete): Use it, return now an error when trying to
1766         delete a package used as dependency by another package.
1768         Add a reinstall package command.
1769         (package-reinstall): New function.
1771         Add a package-autoremove command.
1772         (package-selected-packages): New user var.
1773         (package-install): Add an optional arg to notify interactive use.
1774         Fix docstring. Save installed package to
1775         packages-installed-directly.
1776         (package-install-from-buffer): Same.
1777         (package-user-selected-packages-install): Allow installing all
1778         packages in packages-installed-directly at once.
1779         (package--get-deps): New function.
1780         (package-autoremove): New function.
1781         (package-install-button-action): Call package-install with
1782         interactive arg.
1783         (package-menu-execute): Same but only for only for not installed
1784         packages.
1786 2015-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1788         * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
1789         and eieio-make-child-predicate.
1790         (eieio-class-parents): Use eieio--class-object.
1791         (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
1792         (slot-exists-p): Use find-class.
1794         * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
1795         Use find-lisp-object-file-name, help-fns-short-filename and new calling
1796         convention for eieio-class-def.
1797         (eieio-build-class-list): Remove function, unused.
1798         (eieio-method-def): Remove button type, unused.
1799         (eieio-class-def): Inherit from help-function-def.
1800         (eieio--defclass-regexp): New constant.
1801         (find-function-regexp-alist): Use it.
1802         (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
1803         (eieio-help-find-method-definition, eieio-help-find-class-definition):
1804         Remove functions.
1806         * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
1807         Use cl-check-type everywhere instead.
1808         (eieio-class-object): Remove, use find-class instead when needed.
1809         (class-p): Don't inline.
1810         (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
1811         such as eieio classes, as objects.  Don't inline.
1812         (object-p): Mark as obsolete.
1813         (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
1814         (eieio--generic-tagcode): Avoid `class-p'.
1815         (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
1816         (eieio-defclass-internal): Use current-load-list rather than
1817         `class-location'.
1819         * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
1821 2015-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1823         * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
1824         since it may be "equivalent" in some sense, yet different (bug#19734).
1826 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
1828         * outline.el (outline-font-lock-face): Add docstring.
1829         (outline-invisible-p): Improve docstring.
1830         (outline-invent-heading): Add docstring.
1831         (outline-promote): Improve docstring.
1832         (outline-demote): Improve docstring.
1833         (outline-head-from-level): Improve docstring.
1834         (outline-end-of-heading): Add docstring.
1835         (outline-next-visible-heading): Improve docstring.
1836         (outline-previous-visible-heading): Improve docstring.
1837         (outline-hide-region-body): Improve docstring.
1838         (outline-flag-subtree): Add docstring.
1839         (outline-end-of-subtree): Add docstring.
1840         (outline-headers-as-kill): Improve docstring.
1842 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
1844         * outline.el (outline-hide-entry): Rename from `hide-entry'.
1845         (hide-entry): Declare as obsolete.
1846         (outline-show-entry): Rename from `show-entry'.
1847         (show-entry): Declare as obsolete.
1848         (outline-hide-body): Rename from `hide-body'.
1849         (hide-body): Declare as obsolete.
1850         (outline-hide-region-body): Rename from `hide-region-body'.
1851         (hide-region-body): Declare as obsolete.
1852         (outline-show-all): Rename from `show-all'.
1853         (show-all): Declare as obsolete.
1854         (outline-hide-subtree): Rename from `hide-subtree'.
1855         (hide-subtree): Declare as obsolete.
1856         (outline-hide-leaves): Rename from `hide-leaves'.
1857         (hide-leaves): Declare as obsolete.
1858         (outline-show-subtree): Rename from `show-subtree'.
1859         (show-subtree): Declare as obsolete.
1860         (outline-hide-sublevels): Rename from `hide-sublevels'.
1861         (hide-sublevels): Declare as obsolete.
1862         (outline-hide-other): Rename from `hide-other'.
1863         (hide-other): Declare as obsolete.
1864         (outline-show-children): Rename from `show-children'.
1865         (show-children): Declare as obsolete.
1866         (outline-show-branches): Rename from `show-branches'.
1867         (show-branches): Declare as obsolete.
1869 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
1871         * outline.el (outline-mode): Clean up docstring.
1872         (font-lock-warning-face): Remove obsolete declaration.
1873         (outline-font-lock-face): Remove obsolete comment.
1875 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
1877         * custom.el (defface): Set `indent' to 1.
1879 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
1881         * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
1883 2015-01-30  Michal Nazarewicz  <mina86@mina86.com>
1885         * files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
1886         is set, but user has just been asked whether they really want to
1887         kill Emacs (for example with a ‘Modified buffers exist; exit
1888         anyway?’ prompt), do not ask them for another confirmation.
1890 2015-01-29  Jay Belanger  <jay.p.belanger@gmail.com>
1892         * calc/calc-units.el (calc-convert-exact-units): New function.
1893         (calc-convert-units): Check for missing units.
1894         (math-consistent-units-p): Strengthen the test for consistent units.
1896         * calc/calc-ext.el (calc-init-extensions):  Autoload
1897         `calc-convert-exact-units' and assign it a keybinding.
1899         * calc/calc-help (calc-u-prefix-help): Add help for the
1900         "un" keybinding.
1902 2015-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1904         * emacs-lisp/cl.el (cl--function-convert): Simplify.
1906 2015-01-28  Tassilo Horn  <tsdh@gnu.org>
1908         * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
1909         punctuation syntax since to allow bibtex fields with values such
1910         as {Test 1) and 2)} (bug#19205, bug#19707).
1911         (reftex--prepare-syntax-tables): New function.
1912         (reftex-mode): Use it.
1914 2015-01-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1916         python.el: New non-global state dependent indentation engine.
1917         (Bug#18319, Bug#19595)
1918         * progmodes/python.el (python-syntax-comment-or-string-p):
1919         Accept PPSS as argument.
1920         (python-syntax-closing-paren-p): New function.
1921         (python-indent-current-level)
1922         (python-indent-levels): Mark obsolete.
1923         (python-indent-context): Return more context cases.
1924         (python-indent--calculate-indentation)
1925         (python-indent--calculate-levels): New functions.
1926         (python-indent-calculate-levels): Use them.
1927         (python-indent-calculate-indentation, python-indent-line):
1928         (python-indent-line-function): Rewritten to use new API.
1929         (python-indent-dedent-line): Simplify logic.
1930         (python-indent-dedent-line-backspace): Use `unless`.
1931         (python-indent-toggle-levels): Delete function.
1933 2015-01-28  Daniel Koning  <dk@danielkoning.com>  (tiny change)
1935         * subr.el (posnp): Correct docstring of `posnp'.
1936         (posn-col-row): Make it work with all mouse position objects.
1937         * textmodes/artist.el (artist-mouse-draw-continously):
1938         Cancel timers if an error occurs during continuous drawing.  (Bug#6130)
1940 2015-01-28  Eli Zaretskii  <eliz@gnu.org>
1942         * button.el (button-activate, push-button): Doc fix.  (Bug#19628)
1944 2015-01-28  Michael Albinus  <michael.albinus@gmx.de>
1946         * filenotify.el (file-notify-descriptors, file-notify-handle-event):
1947         Adapt docstring.
1948         (file-notify--descriptor): New defun.
1949         (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
1950         Adapt docstring.  Handle multiple values for
1951         `file-notify-descriptors' entries.  (Bug#18880)
1953         * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
1954         `file-notify-descriptors', the implementation has been changed.
1956 2015-01-28  Eli Zaretskii  <eliz@gnu.org>
1958         * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
1959         On MS-Windows, bind coding-system-for-read to the console output
1960         codepage.  (Bug#19458)
1962 2015-01-28  Dmitry Gutov  <dgutov@yandex.ru>
1964         Unbreak `mouse-action' property in text buttons.
1965         * button.el (push-button): Fix regression from 2012-12-06.
1967 2015-01-28  Glenn Morris  <rgm@gnu.org>
1969         * progmodes/sh-script.el (sh-mode): Doc fix.
1970         (sh-basic-indent-line): Handle electric newline.  (Bug#18756)
1972 2015-01-28  Paul Eggert  <eggert@cs.ucla.edu>
1974         Fix dired quoting bug with "Hit`N`Hide".
1975         * files.el (shell-quote-wildcard-pattern): Also quote "`".  (Bug#19498)
1977 2015-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1979         Tighten up the tagcode used for eieio and cl-struct objects.
1980         * loadup.el: Load cl-preloaded.
1981         * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
1982         slot of the tag symbol to :quick-object-witness-check.
1983         (eieio-object-p): Use :quick-object-witness-check.
1984         (eieio--generic-tagcode): Use cl--generic-struct-tag.
1985         * emacs-lisp/cl-preloaded.el: New file.
1986         * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
1987         (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
1988         (cl--make-usage-args): Strip away &aux args.
1989         (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
1990         (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
1991         (cl-defstruct): Use `declare' and cl-struct-define.
1992         * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
1993         (cl--generic-struct-tagcode): Use it to tighten the tagcode.
1995 2015-01-27  Katsumi Yamaoka  <yamaoka@jpl.org>
1997         * emacs-lisp/cl.el (cl--function-convert):
1998         Merge cache that cl--labels-convert adds (bug#19699).
2000 2015-01-27  Ivan Shmakov  <ivan@siamics.net>
2002         * tar-mode.el: Allow for adding new archive members.  (Bug#19274)
2003         (tar-new-regular-file-header, tar--pad-to, tar--put-at)
2004         (tar-header-serialize): New functions.
2005         (tar-current-position): Split from tar-current-descriptor.
2006         (tar-current-descriptor): Use it.
2007         (tar-new-entry): New command.
2008         (tar-mode-map): Bind it.
2010 2015-01-27  Sam Steingold  <sds@gnu.org>
2012         * progmodes/python.el (python-check-custom-command): Buffer local
2013         because it usually includes the buffer name.
2014         (python-check-command): Set to epylint when pyflakes is not available.
2016 2015-01-27  Artur Malabarba  <bruce.connor.am@gmail.com>
2018         * isearch.el (isearch-process-search-char): Add docstring.
2020 2015-01-27  Oleh Krehel  <ohwoeowho@gmail.com>
2022         * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
2024 2015-01-27  Katsumi Yamaoka  <yamaoka@jpl.org>
2026         * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
2027         for the case cl-flet or cl-labels form is wrapped with lexical-let
2028         (bug#19613).
2030 2015-01-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2032         * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
2033         (cl--generic): The method-table is now a (list-of cl--generic-method).
2034         (cl--generic-member-method): New function.
2035         (cl-generic-define-method): Use it.
2036         (cl--generic-build-combined-method, cl--generic-cache-miss):
2037         Adapt to new method-table.
2038         (cl--generic-no-next-method-function): Add `method' argument.
2039         (cl-generic-call-method): Adapt to new method representation.
2040         (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
2041         (cl-find-method, cl-method-qualifiers): New functions.
2042         (cl--generic-method-info): Adapt to new method representation.
2043         Return a string for the qualifiers.
2044         (cl--generic-describe):
2045         * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
2046         (eieio-all-generic-functions, eieio-method-documentation):
2047         Adjust to new method representation.
2049         * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
2051 2015-01-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2053         * emacs-lisp/cl-generic.el: Add a method-combination hook.
2054         (cl-generic-method-combination-function): New var.
2055         (cl--generic-lambda): Remove `with-cnm' arg.
2056         (cl-defmethod): Change accordingly.
2057         (cl-generic-define-method): Don't check qualifiers validity.
2058         Preserve all qualifiers in `method-table'.
2059         (cl-generic-call-method): New function.
2060         (cl--generic-nest): Remove (morph into cl-generic-call-method).
2061         (cl--generic-build-combined-method): Adjust to new format of method-table
2062         and use cl-generic-method-combination-function.
2063         (cl--generic-standard-method-combination): New function, extracted from
2064         cl--generic-build-combined-method.
2065         (cl--generic-cnm-sample): Adjust to new format of method-table.
2067         * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
2068         instead of :primary.
2070         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2071         Remove obsolete function.
2073 2015-01-26  Lars Ingebrigtsen  <larsi@gnus.org>
2075         * net/shr.el (shr-make-table-1): Fix colspan typo.
2076         (shr-make-table-1): Add comments.
2077         (shr-make-table-1): Make colspan display more sensibly.
2079         * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
2080         slightly.
2082 2015-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2084         * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
2085         (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
2086         (bug#19672).
2087         (cl--generic-typeof-types): Add support for `sequence'.
2088         (cl-defmethod): Add non-keywords in the qualifiers.
2090 2015-01-25  Dmitry Gutov  <dgutov@yandex.ru>
2092         * emacs-lisp/find-func.el (find-function-regexp): Don't match
2093         `defgroup' (regression from the previous change here).
2095 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2097         * net/ldap.el (ldap-search-internal): Mention binddn in invalid
2098         credentials error message.
2100 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2102         * net/ldap.el (ldap-password-read): Validate password before
2103         caching it.
2104         (ldap-search-internal): Handle ldapsearch error conditions.
2106 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2108         * net/ldap.el (ldap-password-read): Handle password-cache being nil.
2110 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2112         * net/eudc.el (eudc-expand-inline): Always restore former server
2113         and protocol.
2115 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2117         * net/eudcb-ldap.el: Don't nag the user in case a default base is
2118         provided by the LDAP system configuration file.
2120 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2122         * net/eudc.el (eudc-format-query): Preserve the
2123         eudc-inline-query-format ordering of attributes in the returned list.
2124         * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
2125         Append the LDAP wildcard character to the last attribute value.
2127 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2129         * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
2130         Downcase field names of LDAP results.
2131         (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
2133 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2135         * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
2136         (ldap-search-internal): Send password to ldapsearch through a pipe
2137         instead of via the command line.
2139 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2141         * net/ldap.el: Require password-cache.
2142         (ldap-password-read): New function.
2143         (ldap-search-internal): Call ldap-password-read when it is
2144         configured to be called.
2146 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2148         * net/eudc-vars.el (eudc-expansion-overwrites-query):
2149         Change default to nil.
2151 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2153         * net/eudc.el (eudc-expand-inline): Ignore text properties of
2154         string-to-expand.
2156 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2158         * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
2159         format that includes first name and surname.
2161 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2163         * net/eudc-vars.el (eudc-inline-query-format): Change default to
2164         query email and first name instead of surname.
2166 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2168         * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
2170 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2172         * net/eudc-vars.el (eudc-server): Adjust docstring to mention
2173         eudc-server-hotlist.
2174         (eudc-server-hotlist): Move from eudc.el and make defcustom.
2175         * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
2176         (eudc-set-server): Allow setting protocol to nil.
2177         (eudc-expand-inline): Support hotlist-only expansions when server
2178         is not set.
2180 2015-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2182         * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
2183         (cl--generic-build-combined-method): Use it.
2185 2015-01-22  Paul Eggert  <eggert@cs.ucla.edu>
2187         Don't downcase system diagnostics' first letters
2188         * emacs-lisp/bytecomp.el (byte-compile-file):
2189         * ffap.el (find-file-at-point):
2190         * files.el (insert-file-1):
2191         * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
2192         (ange-ftp-copy-file-internal):
2193         * progmodes/etags.el (visit-tags-table):
2194         Keep diagnostics consistent with system's.
2195         * ffap.el (ffap-machine-p):
2196         Ignore case while comparing diagnostics.
2198 2015-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2200         * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
2201         arg (bug#19645).
2202         * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
2203         body with a docstring.
2205 2015-01-22  Dmitry Gutov  <dgutov@yandex.ru>
2207         * progmodes/xref.el (xref-location-marker, xref-location-group):
2208         Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
2209         counterparts.
2211         * progmodes/etags.el (xref-location-marker): Same.
2213         * progmodes/xref.el (xref--current): Rename from `xref--selected'.
2214         (xref--inhibit-mark-current): Rename from
2215         `xref--inhibit-mark-selected'.  Update the usages.
2216         (xref-quit): Reword the docstring.  Kill buffers after quitting
2217         windows instead of before.
2218         (xref--insert-xrefs): Tweak help-echo.
2219         (xref--read-identifier-history, xref--read-pattern-history):
2220         New variables.
2221         (xref--read-identifier, xref-find-apropos): Use them.
2223 2015-01-21  Ulrich Müller  <ulm@gentoo.org>
2225         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2226         Allow the 'update-game-score' helper program to run suid or sgid.
2228 2015-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2230         * emacs-lisp/eieio.el: Use cl-defmethod.
2231         (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
2232         (eieio-object-name-string): Declare as obsolete.
2234         * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
2235         (eieio--specializers-apply-to-class-p): New function.
2236         (eieio-all-generic-functions): Use it.
2237         (eieio-method-documentation): Use it as well as cl--generic-method-info.
2238         Change format of return value.
2239         (eieio-help-class): Adapt accordingly.
2241         * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
2242         errors when there's a `before' but no `primary' (bug#19645).
2243         (next-method-p): Return nil rather than signal an error.
2244         (eieio-defgeneric): Remove bogus (fboundp 'method).
2246         * emacs-lisp/eieio-speedbar.el:
2247         * emacs-lisp/eieio-datadebug.el:
2248         * emacs-lisp/eieio-custom.el:
2249         * emacs-lisp/eieio-base.el: Use cl-defmethod.
2251         * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
2252         (cl--generic-setf-rewrite): Setup the setf expander right away.
2253         (cl-defmethod): Make sure the setf expander is setup before we expand
2254         the body.
2255         (cl-defmethod): Silence byte-compiler warnings.
2256         (cl-generic-define-method): Shuffle code to change return value.
2257         (cl--generic-method-info): New function, extracted from
2258         cl--generic-describe.
2259         (cl--generic-describe): Use it.
2261 2015-01-21  Dmitry Gutov  <dgutov@yandex.ru>
2263         * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
2264         the major mode.  Remap `quit-window' to `xref-quit'.
2265         (xref--xref-buffer-mode): Inherit from special-mode.
2267         xref: Keep track of temporary buffers  (bug#19466).
2268         * progmodes/xref.el (xref--temporary-buffers, xref--selected)
2269         (xref--inhibit-mark-selected): New variables.
2270         (xref--mark-selected): New function.
2271         (xref--show-location): Maybe add the buffer to
2272         `xref--temporary-buffers', add `xref--mark-selected' to
2273         `buffer-list-update-hook' there.
2274         (xref--window): Add docstring.
2275         (xref-quit): Rename from `xref--quit'.  Update both references.
2276         Add KILL argument.  When it's non-nil, kill the temporary buffers
2277         that haven't been selected by the user.
2278         (xref--show-xref-buffer): Change the second argument to alist,
2279         extract the values for `xref--window' and
2280         `xref--temporary-buffers' from it.  Add `xref--mark-selected' to
2281         `buffer-list-update-hook' to each buffer in the list.
2282         (xref--show-xrefs): Move the logic of calling `xref-find-function'
2283         here.  Save the difference between buffer lists before and after
2284         it's called as "temporary buffers", and `pass it to
2285         `xref-show-xrefs-function'.
2286         (xref--find-definitions, xref-find-references)
2287         (xref-find-apropos): Update accordingly.
2289 2015-01-20  Artur Malabarba  <bruce.connor.am@gmail.com>
2291         * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
2293 2015-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2295         * emacs-lisp/eieio-generic.el: Remove.
2296         (defgeneric, defmethod): Move to eieio-compat.el.  Mark obsolete.
2297         * emacs-lisp/eieio-compat.el: New file.
2298         * emacs-lisp/eieio.el: Don't require eieio-generic any more.
2299         * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
2300         Remove unused function.
2301         (eieio-defclass): Move to eieio-compat.el.
2302         * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
2303         (macroexp--expand-all): Use it.
2304         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
2306 2015-01-20  Michal Nazarewicz  <mina86@mina86.com>
2308         * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
2309         major modes should use `add-function' to alter value of the variable.
2310         * hexl.el (hexl-mode):
2311         * ielm.el (inferior-emacs-lisp-mode):
2312         * progmodes/cfengine.el (cfengine3-mode):
2313         * progmodes/elisp-mode (emacs-lisp-mode):
2314         * progmodes/octave.el (octave-mode):
2315         * progmodes/python.el (python-mode):
2316         * simple.el (read--expression): Set `eldoc-documentation-function'
2317         using `add-function' so the default value is always used.
2319         * descr-text.el (describe-char-eldoc): New function returning
2320         basic Unicode codepoint information (e.g. name) about character
2321         at point.  It is meant to be used as a default value of the
2322         `eldoc-documentation-function' variable.
2323         (describe-char-eldoc--format, describe-char-eldoc--truncate):
2324         New helper functions for `describe-char-eldoc' function.
2326 2015-01-20  Michal Nazarewicz  <mina86@mina86.com>
2328         * textmodes/paragraphs.el (sentence-end-base): Include an
2329         ellipsis (…) and interrobang (‽) characters as end of a sentence,
2330         and a closing single quote (’) as an end of a quote.
2332 2015-01-20  Michal Nazarewicz  <mina86@mina86.com>
2334         * textmodes/tildify.el (tildify-double-space-undos): A new
2335         variable specifying whether pressing space in `tildify-mode' after
2336         a space has been replaced with hard space undos the substitution.
2337         (tildify-space): Add code branch for handling `tildify-doule-space'.
2339         * textmodes/tildify.el (tildify-space): A new function
2340         which can be used as a `post-self-insert-hook' to automatically
2341         convert spaces into hard spaces.
2342         (tildify-space-pattern): A new variable specifying pattern where
2343         `tildify-space' should take effect.
2344         (tildify-space-predicates): A new variable specifying list of
2345         predicate functions that all must return non-nil for
2346         `tildify-space' to take effect.
2347         (tildify-space-region-predicate): A new functions meant to be
2348         used as a predicate in `tildify-space-predicates' list.
2349         (tildify-mode): A new minor mode enabling `tildify-space' as a
2350         `post-self-insert-hook'
2352 2015-01-20  Daniel Colascione  <dancol@dancol.org>
2354         * vc/vc-dir.el (vc-dir): Default to repository root, not
2355         default-directory.
2357 2015-01-20  Dmitry Gutov  <dgutov@yandex.ru>
2359         * progmodes/etags.el (xref-etags-location): New class.
2360         (xref-make-etags-location): New function.
2361         (etags--xref-find-definitions): Use it.
2362         (xref-location-marker): New method implementation.
2364         * progmodes/xref.el: Mention that xref-location is an EIEIO class.
2365         (xref--insert-xrefs): Expand help-echo string.
2367 2015-01-19  Dmitry Gutov  <dgutov@yandex.ru>
2369         * ido.el: Update Customization instructions.
2371 2015-01-19  Jonas Bernoulli  <jonas@bernoul.li>
2373         Define Ido keymaps once (bug#17000).
2374         * ido.el (ido-common-completion-map)
2375         (ido-file-dir-completion-map)
2376         (ido-file-completion-map, ido-buffer-completion-map): Set up key
2377         bindings when each variable is defined.
2378         (ido-completion-map): Move definition.
2379         (ido-init-completion-maps): Noop.
2380         (ido-common-initialization): Don't call it.
2381         (ido-setup-completion-map): Improve doc-string, cleanup.
2383 2015-01-19  Ivan Shmakov  <ivan@siamics.net>
2385         * cus-dep.el (custom-make-dependencies): Ensure that
2386         default-directory is interpreted as a directory (see bug#19140.)
2388 2015-01-19  Dmitry Gutov  <dgutov@yandex.ru>
2390         * progmodes/xref.el (xref--display-position):
2391         Set `other-window-scroll-buffer'.
2392         (xref-goto-xref): Use `user-error'.
2394 2015-01-19  Dmitry Gutov  <dgutov@yandex.ru>
2396         * progmodes/xref.el (xref--display-history): New variable.
2397         (xref--window-configuration): Remove.
2398         (xref--save-to-history): New function.
2399         (xref--display-position): Use it.  Add new argument.
2400         (xref--restore-window-configuration): Remove.
2401         (xref--show-location, xref-show-location-at-point):
2402         Update accordingly.
2403         (xref--xref-buffer-mode): Don't use `pre-command-hook'.
2404         (xref--quit): New command.
2405         (xref-goto-xref): Use it.
2406         (xref--xref-buffer-mode-map): Bind `q' to it.
2408 2015-01-18  Dmitry Gutov  <dgutov@yandex.ru>
2410         * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
2411         indentation or at eol.
2413 2015-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2415         * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2416         (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2417         New functions.
2418         (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2420         * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
2421         `newname' argument.
2423         * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
2424         introduction of a new dispatch argument.
2425         (cl--generic-cache-miss): Handle dispatch on an argument which was not
2426         considered as dispatchable for this method.
2427         (cl-defmethod): Warn when adding a method to an obsolete generic function.
2428         (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
2430         * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
2432 2015-01-18  Artur Malabarba  <bruce.connor.am@gmail.com>
2434         * emacs-lisp/package.el (package--append-to-alist): Rename from
2435         `package--add-to-alist'
2436         Updated docstring due to new name.
2438 2015-01-18  Leo Liu  <sdl.web@gmail.com>
2440         * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
2441         multiple evaluation.  (Bug#19519)
2443         * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
2444         error.  (Bug#19434)
2446 2015-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2448         * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2449         (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2450         New functions.
2451         (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2453         * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
2454         or print is nil.
2455         (cl-struct-type-p): New function.
2457         * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
2458         (cl-defmethod): Add edebug spec.
2459         (cl--generic-build-combined-method): Fix call to
2460         cl-no-applicable-method.
2461         (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
2462         (cl--generic-isnot-nnm-p): New function.
2463         (cl--generic-lambda): Use it to add support for cl-next-method-p.
2464         (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
2465         (cl-next-method-p): New function.
2467 2015-01-17  Ulrich Müller  <ulm@gentoo.org>
2469         * version.el (emacs-repository-get-version): Update docstring.
2471 2015-01-17  Ivan Shmakov  <ivan@siamics.net>
2473         * files.el (find-file-other-window, find-file-other-frame):
2474         Use mapc instead of mapcar.  (Bug#18175)
2476         * files.el (dir-locals-collect-variables): Use default-directory
2477         in place of the file name while working on non-file buffers, just
2478         like hack-dir-local-variables already does.  (Bug#19140)
2480         * textmodes/enriched.el (enriched-encode):
2481         Use inhibit-point-motion-hooks in addition to inhibit-read-only.
2482         (Bug#18246)
2484         * desktop.el (desktop-read): Do not call desktop-clear when no
2485         desktop file is found.  (Bug#18371)
2487         * misearch.el (multi-isearch-unload-function): New function.
2488         (misearch-unload-function): New alias.  (Bug#19566)
2490 2015-01-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2492         * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2493         class-constructor, and make it an alias for `identity'.
2494         Update all callers.
2496         * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2497         argument here (bug#19620)...
2498         (defclass): ...instead of in the constructor here.
2500 2015-01-16  Jorgen Schaefer  <contact@jorgenschaefer.de>
2502         * emacs-lisp/package.el (package-archive-priorities):
2503         Specify correct type.
2505 2015-01-17  Ulrich Müller  <ulm@gentoo.org>
2507         * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2508         Remove.
2509         (emacs-repository-get-version): Discard the Bazaar case.
2510         * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2511         emacs-bzr-version-dirstate and move from version.el to here.
2512         (vc-bzr-working-revision): Use it.
2514 2015-01-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2516         * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2517         eieio--scoped-class any more.
2519         * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2520         (eieio--scoped-class): Remove function.
2521         (eieio--with-scoped-class): Remove macro.  Replace uses with `progn'.
2522         (eieio--slot-name-index): Don't check the :protection anymore.
2523         (eieio-initializing-object): Remove var.
2524         (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2526 2015-01-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2528         Improve handling of doc-strings and describe-function for cl-generic.
2530         * help-mode.el (help-function-def): Add optional arg `type'.
2532         * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2533         as it's a symbol.
2534         (help-fns-short-filename): New function.
2535         (describe-function-1): Use it.  Use autoload-do-load.
2537         * emacs-lisp/find-func.el: Use lexical-binding.
2538         (find-function-regexp): Don't rule out `defgeneric'.
2539         (find-function-regexp-alist): Document new possibility of including
2540         a function instead of a regexp.
2541         (find-function-search-for-symbol): Implement that new possibility.
2542         (find-function-library): Don't assume that `function' is a symbol.
2543         (find-function-do-it): Remove unused var `orig-buf'.
2545         * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2546         (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2547         (eieio--method-optimize-primary): Don't mess with the docstring.
2548         (defgeneric): Keep the `args' in the docstring.
2549         (defmethod): Don't use the method's docstring for the generic
2550         function's docstring.
2552         * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2553         (eieio-defclass-autoload): Don't record the superclasses any more.
2554         (eieio-defclass-internal): Reuse the old class object if it was just an
2555         autoload stub.
2556         (eieio--class-precedence-list): Load the class if it's autoloaded.
2558         * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2559         override an autoload.
2560         (cl-generic-current-method-specializers): Replace dyn-bind variable
2561         with a lexically-scoped macro.
2562         (cl--generic-lambda): Update accordingly.
2563         (cl-generic-define-method): Record manually in the load-history with
2564         type `cl-defmethod'.
2565         (cl--generic-get-dispatcher): Minor optimization.
2566         (cl--generic-search-method): New function.
2567         (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2568         (cl--generic-search-method): Add hyperlinks for methods.  Merge the
2569         specializers and the function's arguments.
2571 2015-01-16  Artur Malabarba  <bruce.connor.am@gmail.com>
2573         * emacs-lisp/package.el (package--read-pkg-desc):
2574         New function. Read a `define-package' form in current buffer.
2575         Return the pkg-desc, with desc-kind set to KIND.
2576         (package-dir-info): New function. Find package information for a
2577         directory. The return result is a `package-desc'.
2578         (package-install-from-buffer): Install packages from dired buffer.
2579         (package-install-file): Install packages from directory.
2580         (package-desc-suffix)
2581         (package-install-from-archive)
2582         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2583         Ensure all remaining instances of `package-desc-kind' handle the 'dir
2584         value.
2586 2015-01-16  Jorgen Schaefer  <contact@jorgenschaefer.de>
2588         * emacs-lisp/package.el: Provide repository priorities.
2589         (package-archive-priorities): New variable.
2590         (package--add-to-alist): New function.
2591         (package--add-to-archive-contents): Use it.
2592         (package-menu--find-upgrades): Use it as well. Small clean up to
2593         make the use of the package name here explicit.
2594         (package-archive-priority): New function.
2595         (package-desc-priority-version): New function.
2597 2015-01-16  Daniel Colascione  <dancol@dancol.org>
2599         * cus-start.el (all): Make `ring-bell-function' customizable.
2601 2015-01-16  Dmitry Gutov  <dgutov@yandex.ru>
2603         * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2604         vc-svn-after-dir-status's second argument.  (Bug#19429)
2606 2015-01-16  Samer Masterson  <samer@samertm.com>
2608         * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2609         regardless of pcomplete-cycle-completions's value.  (Bug#18950)
2611 2015-01-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2613         * dom.el (dom-strings): New function.
2615         * files.el (directory-files-recursively): Don't use the word
2616         "path" for a file name.
2618 2015-01-15  Wolfgang Jenkner  <wjenkner@inode.at>
2620         * calc/calc-units.el (math-units-in-expr-p)
2621         (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2622         (math-extract-units): Handle the `neg' operator.  (Bug#19582)
2624 2015-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2626         * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2627         (cl--labels-convert): Use it to ask the macro what is its replacement
2628         in the #'f case.
2630         * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2631         Return the value of the primary rather than the after method.
2633         * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2634         (eieio--generic-tagcode): New function.
2635         (cl-generic-tagcode-function): Use it.
2636         (eieio--generic-tag-types): New function.
2637         (cl-generic-tag-types-function): Use it.
2638         (eieio-object-p): Tighten up the test.
2640         * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
2642 2015-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2644         * emacs-lisp/cl-generic.el: New file.
2646         * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
2647         (cl-load-time-value, cl-labels): Use closures rather than
2648         backquoted lambdas.
2649         (cl-macrolet): Use `eval' to create the function value, and support CL
2650         style arguments in for the defined macros.
2652 2015-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2654         * net/eww.el: Use lexical-binding.
2655         (eww-links-at-point): Remove unused arg.
2656         (eww-mode-map): Inherit from special-mode-map.
2657         (eww-mode): Derive from special-mode.  Don't use `setq' on a hook.
2659 2015-01-13  Alan Mackenzie  <acm@muc.de>
2661         Allow compilation during loading of CC Mode-derived modes (bug#19206).
2662         * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
2663         New function which walks the stack to discover whether we're compiling
2664         or loading.
2665         (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
2666         (cc-bytecomp-is-loading): New defsubst.
2667         (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
2668         Use the above defsubsts.
2669         (cc-require-when-compile, cc-bytecomp-defvar)
2670         (cc-bytecomp-defun): Simplify conditionals.
2671         * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
2672         "Borrow" this function from cc-bytecomp.el.
2673         (c-get-current-file): Reformulate using the above.
2674         (c-lang-defconst): Prevent duplicate entries of file names in a
2675         symbol's 'source property.
2676         (c-lang-const): Use cc-bytecomp-is-compiling.
2677         * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
2678         Use cc-bytecomp-is-compiling.
2680 2015-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2682         * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
2683         (bug#19552).
2685 2015-01-13  Dmitry Gutov  <dgutov@yandex.ru>
2687         * menu-bar.el (menu-bar-goto-menu): Before calling
2688         `xref-marker-stack-empty-p', first check that `xref' is loaded.
2689         (Bug#19554)
2691 2015-01-12  Martin Rudalics  <rudalics@gmx.at>
2693         * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
2694         cookie (Bug#19554).
2696         * frame.el (frame-notice-user-settings): Remove code dealing with
2697         frame-initial-frame-tool-bar-height.  Turn off `tool-bar-mode'
2698         only if `window-system-frame-alist' or `default-frame-alist' ask
2699         for it.
2700         (make-frame): Update frame-adjust-size-history if needed.
2702 2015-01-12  Paul Eggert  <eggert@cs.ucla.edu>
2704         Have 'make' output better GEN names
2705         * Makefile.in (PHONY_EXTRAS): New macro.
2706         (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
2707         relevant files' time stamps are ignored.
2708         (custom-deps, $(lisp)/cus-load.el, finder-data)
2709         ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
2710         (custom-deps, $(lisp)/cus-load.el, finder-data)
2711         ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
2712         ($(lisp)/subdirs.el, update-subdirs):
2713         Output more-accurate destination names with GEN.
2715         Say "ELC foo.elc" instead of "GEN foo.elc"
2716         * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
2717         New macros.
2718         ($(THEFILE)c, .el.elc): Use them.
2720 2015-01-11  Michael Albinus  <michael.albinus@gmx.de>
2722         * files.el (directory-files-recursively): Do not include
2723         superfluous remote file names.
2725 2015-01-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2727         * net/eww.el (eww): Interpret anything that looks like a protocol
2728         designator as a full URL.
2730 2015-01-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2732         * net/shr.el (shr-urlify): Don't bother the user about
2733         invalidly-encoded display strings.
2735 2015-01-10  Ivan Shmakov  <ivan@siamics.net>
2737         * net/shr.el (shr-urlify): Decode URLs before using them as titles
2738         (bug#19555).
2740 2015-01-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2742         * net/eww.el (eww): Always interpret URLs that start with https?:
2743         as plain URLs, even if they have spaces in them (bug#19556).
2744         (eww): Also interpret things like "en.wikipedia.org/wiki/Free
2745         software" as an URL.
2746         (eww): Don't interpret "org/foo" as an URL.
2747         (eww): Clear the title when loading so that we don't display
2748         misleading information.
2750 2015-01-10  Daniel Colascione  <dancol@dancol.org>
2752         * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
2753         by analogy with dired.
2755 2015-01-09  Daniel Colascione  <dancol@dancol.org>
2757         * progmodes/js.el (js--function-heading-1-re)
2758         (js--function-prologue-beginning): Parse ES6 generator function
2759         declarations.  (That is, "function* name()").
2761 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2763         * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
2764         that creates functions, and most of the sanity checks.
2765         Mark as obsolete the <class>-child-p function.
2766         * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
2767         (eieio--class, eieio--object): Use cl-defstruct.
2768         (eieio--object-num-slots): Define manually.
2769         (eieio-defclass-autoload): Use eieio--class-make.
2770         (eieio-defclass-internal): Rename from eieio-defclass.  Move all the
2771         `(lambda...) definitions and most of the sanity checks to `defclass'.
2772         Mark as obsolete the <class>-list-p function, the <class> variable and
2773         the <initarg> variables.  Use pcase-dolist.
2774         (eieio-defclass): New compatibility function.
2775         * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
2776         (eieio-class-speedbar): Don't use eieio-default-superclass var.
2778 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2780         * emacs-lisp/eieio-generic.el: New file.
2781         * emacs-lisp/eieio-core.el: Move all generic function code to
2782         eieio-generic.el.
2783         (eieio--defmethod): Declare.
2785         * emacs-lisp/eieio.el: Require eieio-generic.  Move all generic
2786         function code to eieio-generic.el.
2787         * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
2788         eieio-generic.el.
2789         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
2790         to eieio--generic-call.
2791         * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
2792         <class>-child type.
2794 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2796         * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
2797         Don't use <class> as a variable.
2799         * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
2800         (call-next-method): Simplify.
2801         (clone): Obey eieio-backward-compatibility.
2803         * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
2804         (eieio-read-generic): Use `generic-p' instead.
2806         * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
2807         (eieio-defclass-autoload): Obey it.
2808         (eieio--class-object): Improve error behavior.
2809         (eieio-class-children-fast, same-class-fast-p): Remove.  Inline at
2810         every use site.
2811         (eieio--defgeneric-form-primary-only): Rename from
2812         eieio-defgeneric-form-primary-only; update all callers.
2813         (eieio--defgeneric-form-primary-only-one): Rename from
2814         eieio-defgeneric-form-primary-only-one; update all callers.
2815         (eieio-defgeneric-reset-generic-form)
2816         (eieio-defgeneric-reset-generic-form-primary-only)
2817         (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
2818         (eieio--method-optimize-primary): New function to replace them.
2819         (eieio--defmethod, eieio-defmethod): Use it.
2820         (eieio--perform-slot-validation): Rename from
2821         eieio-perform-slot-validation; update all callers.
2822         (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
2823         Change `class' to be a class object.  Update all callers.
2824         (eieio--validate-class-slot-value): Rename from
2825         eieio-validate-class-slot-value.  Change `class' to be a class object.
2826         Update all callers.
2827         (eieio-oset-default): Accept class object as well.
2828         (eieio--generic-call-primary-only): Rename from
2829         eieio-generic-call-primary-only.  Update all callers.
2831         * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2832         Improve error messages.
2833         (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
2834         well as user-defined types.  Emit errors for legacy types like
2835         <class>-child and <class>-list, if not eieio-backward-compatibility.
2837 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2839         * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
2840         (eieio--class-slot-initarg): Rename from class-slot-initarg.
2841         Change `class' arg to be a class object.  Update all callers.
2842         (call-next-method): Adjust to new return value of `eieio-generic-form'.
2843         (eieio-default-superclass): Set var to the class object.
2844         (eieio-edebug-prin1-to-string): Fix recursive call for lists.
2845         Change print behavior to affect class objects rather than
2846         class symbols.
2848         * emacs-lisp/eieio-core.el (eieio-class-object): New function.
2849         (eieio-class-parents-fast): Remove macro.
2850         (eieio--class-option-assoc): Rename from class-option-assoc.
2851         Update all callers.
2852         (eieio--class-option): Rename from class-option.  Change `class' arg to
2853         be a class object.  Update all callers.
2854         (eieio--class-method-invocation-order): Rename from
2855         class-method-invocation-order.  Change `class' arg to be a class
2856         object.  Update all callers.
2857         (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
2858         a list of class objects rather than names.
2859         (eieio-defclass): Remove redundant quotes.  Use `eieio-oref-default'
2860         for accessors to class allocated slots.
2861         (eieio--perform-slot-validation-for-default): Rename from
2862         eieio-perform-slot-validation-for-default.  Update all callers.
2863         (eieio--add-new-slot): Rename from eieio-add-new-slot.
2864         Update all callers.  Use push.
2865         (eieio-copy-parents-into-subclass): Adjust to new content of
2866         `parent' field.  Use dolist.
2867         (eieio-oref): Remove support for providing a class rather than
2868         an object.
2869         (eieio-oref-default): Prefer class objects over class names.
2870         (eieio--slot-originating-class-p): Rename from
2871         eieio-slot-originating-class-p.  Update all callers.  Use `or'.
2872         (eieio--slot-name-index): Turn check into assertion.
2873         (eieio--class-slot-name-index): Rename from
2874         eieio-class-slot-name-index.  Change `class' arg to be a class object.
2875         Update all callers.
2876         (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
2877         (eieio--c3-candidate): Rename from eieio-c3-candidate.
2878         Update all callers.
2879         (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
2880         Update all callers.
2881         (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
2882         Update all callers.
2883         (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
2884         Update all callers.
2885         (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
2886         Update all callers.  Adjust to new `parent' content.
2887         (eieio--class-precedence-list): Rename from -class-precedence-list.
2888         Update all callers.
2889         (eieio-generic-call): Use autoloadp and autoload-do-load.
2890         Slight simplification.
2891         (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
2892         return value of `eieio-generic-form'.
2893         (eieiomt-add): Index the hashtable with class objects rather than
2894         class names.
2895         (eieio-generic-form): Accept class objects as well.
2897         * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
2898         Adjust to new convention for eieio-persistent-validate/fix-slot-value.
2899         (eieio-persistent-validate/fix-slot-value):
2900         Change `class' arg to be a class object.  Update all callers.
2902 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2904         * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
2905         additionally to class names.
2907         * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
2908         (object): Remove first (constant) slot; rename second to `class-tag'.
2909         (eieio--object-class-object, eieio--object-class-name): New funs
2910         to replace eieio--object-class.
2911         (eieio--class-object, eieio--class-p): New functions.
2912         (same-class-fast-p): Make it a defsubst, change its implementation
2913         to check the class objects rather than their names.
2914         (eieio-object-p): Rewrite.
2915         (eieio-defclass): Adjust the object initialization according to the new
2916         object layout.
2917         (eieio--scoped-class): Declare it returns a class object (not a class
2918         name any more).  Adjust calls accordingly (along with calls to
2919         eieio--with-scoped-class).
2920         (eieio--slot-name-index): Rename from eieio-slot-name-index and change
2921         its class arg to be a class object.  Adjust callers accordingly.
2922         (eieio-slot-originating-class-p): Make its start-class arg a class
2923         object.  Adjust all callers.
2924         (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
2925         Make its `class' arg a class object.  Adjust all callers.
2927         * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2928         Use eieio--slot-name-index rather than eieio-slot-name-index.
2930 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2932         * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
2933         name argument.
2934         (eieio-object-name): Use eieio-object-name-string.
2935         (eieio--object-names): New const.
2936         (eieio-object-name-string, eieio-object-set-name-string): Re-implement
2937         using a hashtable rather than a built-in slot.
2938         (eieio-constructor): Rename from `constructor'.  Remove `newname' arg.
2939         (clone): Don't mess with the object's "name".
2941         * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
2942         (eieio-object-value-get): Use eieio-object-set-name-string.
2944         * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
2945         (eieio--object): Remove `name' field.
2946         (eieio-defclass): Adjust to new convention where constructors don't
2947         take an "object name" any more.
2948         (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
2949         (eieio-validate-slot-value, eieio-oset-default)
2950         (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
2951         (eieio-generic-call-primary-only): Simplify.
2953         * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
2954         Use call-next-method.
2955         (eieio-constructor): Rename from `constructor'.
2956         (eieio-persistent-convert-list-to-object): Drop objname.
2957         (eieio-persistent-validate/fix-slot-value): Don't hardcode
2958         eieio--object-num-slots.
2959         (eieio-named): Use a normal slot.
2960         (slot-missing) <eieio-named>: Remove.
2961         (eieio-object-name-string, eieio-object-set-name-string, clone)
2962         <eieio-named>: New methods.
2964 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2966         * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
2967         (method-*): Add a "eieio--" prefix to those constants.
2969         * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
2971         * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
2973 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2975         * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
2976         `eieio-default-superclass'.
2978         * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
2980         * emacs-lisp/eieio-custom.el: Use lexical-binding.
2981         (eieio-object-value-to-abstract): Simplify.
2983         * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
2984         (eieio-build-class-alist): Use dolist.
2985         (eieio-all-generic-functions): Adjust to use of hashtables.
2987         * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
2988         symbol-hashtable.  It contains a hashtable instead of an obarray.
2989         (generic-p): Use symbol property `eieio-method-hashtable' instead of
2990         `eieio-method-obarray'.
2991         (generic-primary-only-p, generic-primary-only-one-p):
2992         Slight optimization.
2993         (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
2994         (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
2995         (eieio-class-un-autoload): Use autoload-do-load.
2996         (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
2997         Use new cl-deftype-satisfies.  Adjust to use of hashtables.
2998         Don't hardcode the value of eieio--object-num-slots.
2999         (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
3000         Use a closure rather than a backquoted lambda.
3001         (eieio--defmethod): Adjust call accordingly.  Set doc-string via the
3002         function-documentation property.
3003         (eieio-slot-originating-class-p, eieio-slot-name-index)
3004         (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
3005         (eieio-generic-form): Adjust to use of hashtables.
3006         (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
3007         additional class argument.
3008         (eieio-generic-call-methodname): Remove, unused.
3010         * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
3011         Prefer \' to $.
3013 2015-01-08  Eli Zaretskii  <eliz@gnu.org>
3015         * simple.el (line-move-visual): When converting X pixel coordinate
3016         to temporary-goal-column, adjust the value for right-to-left
3017         screen lines.  This fixes vertical-motion, next/prev-line, etc.
3019 2015-01-08  Glenn Morris  <rgm@gnu.org>
3021         * files.el (file-tree-walk): Remove; of unknown authorship.  (Bug#19325)
3023 2015-01-07  K. Handa  <handa@gnu.org>
3025         * international/ccl.el (define-ccl-program): Improve the docstring.
3027 2015-01-06  Sam Steingold  <sds@gnu.org>
3029         * shell.el (shell-display-buffer-actions): Remove,
3030         use `display-buffer-alist' instead.
3032 2015-01-05  Dmitry Gutov  <dgutov@yandex.ru>
3034         * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
3035         to the references.
3037 2015-01-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3039         * minibuffer.el (completion-category-defaults): New var.
3040         Set unicode-name to use substring completion.
3041         (completion-category-defaults): Set it to nil.
3043 2015-01-04  Dmitry Gutov  <dgutov@yandex.ru>
3045         Add mouse interaction to xref.
3046         * progmodes/xref.el (xref--button-map): New variable.
3047         (xref--mouse-2): New command.
3048         (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
3049         the inserted references.
3051 2015-01-04  Paul Eggert  <eggert@cs.ucla.edu>
3053         Less 'make' chatter for lisp dir
3054         * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
3055         to make it clearer that the caller must specify it.
3056         (compile-onefile): Remove, replacing by ...
3057         ($(THEFILE)c): ... new rule.  This lets us use AM_V_GEN here.
3058         ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
3059         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3060         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3061         Use AM_V_GEN to lessen 'make' chatter.
3062         (.el.elc): Omit duplicate comment.
3064         Less 'make' chatter in batch mode
3065         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3066         * emacs-lisp/bytecomp.el (byte-compile-file):
3067         * files.el (save-buffer, basic-save-buffer):
3068         * international/quail.el (quail-update-leim-list-file):
3069         Don't output messages like "Generating ..." in batch mode.
3071 2015-01-04  Dmitry Gutov  <dgutov@yandex.ru>
3073         Unbreak `mouse-action' property in text buttons.
3074         * button.el (push-button): Fix regression from 2012-12-06.
3076 2015-01-03  Dmitry Gutov  <dgutov@yandex.ru>
3078         * progmodes/xref.el (xref-marker-stack-empty-p): New function.
3080         * menu-bar.el (menu-bar-goto-menu): Use it.
3082 2015-01-03  Dmitry Gutov  <dgutov@yandex.ru>
3084         * progmodes/xref.el (xref--window-configuration): New variable.
3085         (xref-show-location-at-point): New command.
3086         (xref--restore-window-configuration): New function.
3087         (xref-next-line, xref-prev-line): Delegate to
3088         `xref-show-location-at-point'.
3089         (xref--location-at-point): Don't signal the error.
3090         (xref-goto-xref): Do that here instead.
3091         (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
3092         to `pre-command-hook'.
3093         (xref--xref-buffer-mode-map): Don't remap `next-line' and
3094         `previous-line'.  Additionally bind `xref-next-line' and
3095         `xref-prev-line' to `n' and `p' respectively.
3096         Bind `xref-show-location-at-point' to `C-o'.
3098 2015-01-01  Eli Zaretskii  <eliz@gnu.org>
3100         * tool-bar.el (tool-bar-local-item)
3101         (tool-bar-local-item-from-menu): Call force-mode-line-update to
3102         make sure the tool-bar changes show on display.
3104 2015-01-01  Michael Albinus  <michael.albinus@gmx.de>
3106         Sync with Tramp 2.2.11.
3108         * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
3109         Make an alias for `default-toplevel-value' if it doesn't exist.
3111         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3112         Use `tramp-compat-delete-directory'.
3114         * net/trampver.el: Update release number.
3116 2015-01-01  Filipp Gunbin  <fgunbin@fastmail.fm>
3118         * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
3119         for remote files.  (Bug#19449)
3121 2015-01-01  Simen Heggestøyl  <simenheg@gmail.com>  (tiny change)
3123         * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
3125 2014-12-31  Paul Eggert  <eggert@cs.ucla.edu>
3127         Less 'make' chatter in lisp directory
3128         * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
3129         (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
3130         (custom-deps, finder-data, autoloads, update-subdirs): Use them.
3132 2014-12-31  Filipp Gunbin  <fgunbin@fastmail.fm>
3134         * info.el (info-display-manual): Limit the completion alternatives
3135         to currently visited manuals if prefix argument is non-nil.
3137 2014-12-30  Paul Eggert  <eggert@cs.ucla.edu>
3139         * Makefile.in (semantic): Simplify.
3141 2014-12-30  Juri Linkov  <juri@linkov.net>
3143         * net/eww.el (eww-isearch-next-buffer): New function.
3144         (eww-mode): Set multi-isearch-next-buffer-function to it.
3146 2014-12-30  Dmitry Gutov  <dgutov@yandex.ru>
3148         * progmodes/xref.el (xref-find-definitions): Mention "no
3149         identifier at point" case in the docstring.
3151         * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
3152         (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
3153         and `separator-tag-file' items.
3155 2014-12-29  Paul Eggert  <eggert@cs.ucla.edu>
3157         * obsolete/pc-select.el (pc-selection-mode): Use system-type.
3158         This is instead of system-name, which is both wrong here and obsolete.
3159         * desktop.el (desktop-save-frameset):
3160         * dnd.el (dnd-get-local-file-uri):
3161         * nxml/rng-uri.el (rng-uri-file-name-1):
3162         Prefer (system-name) to system-name, and avoid naming
3163         locals 'system-name'.
3164         * startup.el (system-name): Now an obsolete variable.  (Bug#19438)
3166 2014-12-29  Dmitry Gutov  <dgutov@yandex.ru>
3168         * menu-bar.el (menu-bar-next-tag-other-window)
3169         (menu-bar-next-tag): Remove.
3171 2014-12-29  K. Handa  <handa@gnu.org>
3173         * international/mule.el (make-translation-table-from-alist):
3174         Accept nil or zero-length vector for FROM and TO.
3176 2014-12-29  Lars Ingebrigtsen  <larsi@gnus.org>
3178         * net/eww.el (eww-mode): Truncate overlong lines for prettier
3179         display when resizing.
3181         * net/shr.el (shr-width): Default to using the window width when
3182         rendering.
3184 2014-12-29  Dmitry Gutov  <dgutov@yandex.ru>
3186         Unbreak jumping to an alias's definition.
3187         * emacs-lisp/find-func.el (find-function-library): Return a pair
3188         (ORIG-FUNCTION . LIBRARY) instead of just its second element.
3189         (find-function-noselect): Use it.
3190         * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
3191         `elisp--xref-identifier-location', incorporate logic from
3192         `elisp--xref-find-definitions', use the changed
3193         `find-function-library' return value.
3195 2014-12-29  Juri Linkov  <juri@linkov.net>
3197         * comint.el (comint-history-isearch-message): Use field-beginning
3198         instead of comint-line-beginning-position - that's more fixes for
3199         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3200         (comint-history-isearch-message): Fix args of isearch-message-prefix.
3202 2014-12-29  Juri Linkov  <juri@linkov.net>
3204         * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
3205         (vc-dir-mode-map): Bind it to "\C-o".
3206         (vc-dir-menu-map): Add it to menu.
3208 2014-12-29  Dmitry Gutov  <dgutov@yandex.ru>
3210         * progmodes/etags.el (find-tag-other-window)
3211         (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
3212         (tags-apropos): Declare obsolete.
3214         * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
3215         with xref ones.
3217 2014-12-28  Eli Zaretskii  <eliz@gnu.org>
3219         * international/mule.el (define-coding-system): Fix typos in the
3220         doc string.
3222 2014-12-28  Kenichi Handa  <handa@gnu.org>
3224         * international/mule.el (define-coding-system): Improve the doc
3225         string.
3227 2014-12-28  Ivan Shmakov  <ivan@siamics.net>
3229         * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
3230         elements in tables (bug#19444).
3232         * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
3233         (bug#19445).
3235 2014-12-28  Juri Linkov  <juri@linkov.net>
3237         * vc/compare-w.el: Require diff-mode for diff faces.
3238         (compare-windows-removed, compare-windows-added): New faces
3239         inheriting from diff faces.
3240         (compare-windows): Define obsolete face alias.
3241         (compare-windows-highlight): Replace face `compare-windows' with
3242         new faces `compare-windows-added' and `compare-windows-removed'
3243         (bug#19451).
3244         (compare-windows-get-recent-window): Signal an error when
3245         no other window is found (bug#19170).
3247 2014-12-27  Dmitry Gutov  <dgutov@yandex.ru>
3249         * progmodes/elisp-mode.el (elisp--xref-identifier-file):
3250         Skip features that have no sources.
3252         * simple.el (execute-extended-command):
3253         When `suggest-key-bindings' is nil, don't.
3255 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3257         python.el: Native readline completion.
3258         * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
3259         (python-shell-completion-native-enable)
3260         (python-shell-completion-native-output-timeout): New defcustoms.
3261         (python-shell-completion-native-interpreter-disabled-p)
3262         (python-shell-completion-native-try)
3263         (python-shell-completion-native-setup)
3264         (python-shell-completion-native-turn-off)
3265         (python-shell-completion-native-turn-on)
3266         (python-shell-completion-native-turn-on-maybe)
3267         (python-shell-completion-native-turn-on-maybe-with-msg)
3268         (python-shell-completion-native-toggle): New functions.
3269         (python-shell-completion-native-get-completions): New function.
3270         (python-shell-completion-at-point): Use it.
3272 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3274         python.el: Enhance shell user interaction and deprecate
3275         python-shell-get-or-create-process.
3276         * progmodes/python.el (python-shell-get-process-or-error):
3277         New function.
3278         (python-shell-with-shell-buffer): Use it.
3279         (python-shell-send-string, python-shell-send-region)
3280         (python-shell-send-buffer, python-shell-send-defun)
3281         (python-shell-send-file, python-shell-switch-to-shell): Use it.
3282         Add argument MSG to display user-friendly message when no process
3283         is running.
3284         (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
3285         (python-shell-make-comint): Rename argument SHOW from POP.
3286         Use display-buffer instead of pop-to-buffer.
3287         (run-python): Doc fix.  Return process.
3288         (python-shell-get-or-create-process): Make obsolete.
3290 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3292         * progmodes/python.el (python-shell-buffer-substring):
3293         Handle cornercase when region sent starts at point-min.
3295 2014-12-27  Eli Zaretskii  <eliz@gnu.org>
3297         * language/misc-lang.el (composition-function-table): Add Syriac
3298         characters and also ZWJ/ZWNJ.
3299         See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
3300         for the details.
3302 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3304         python.el: Fix message when sending region.
3305         * progmodes/python.el (python-shell-send-region): Rename argument
3306         send-main from nomain.  Fix message.
3307         (python-shell-send-buffer): Rename argument send-main from arg.
3309         python.el: Cleanup temp files even with eval errors.
3310         * progmodes/python.el (python-shell-send-file): Make file-name
3311         mandatory.  Fix temp file removal in the majority of cases.
3313         python.el: Handle file encoding for shell.
3314         * progmodes/python.el (python-rx-constituents): Add coding-cookie.
3315         (python-shell--save-temp-file): Write file with proper encoding.
3316         (python-shell-buffer-substring): Add coding cookie for detected
3317         encoding to generated content.  Fix blank lines when removing
3318         if-name-main block.
3319         (python-shell-send-file): Handle file encoding.
3320         (python-info-encoding-from-cookie)
3321         (python-info-encoding): New functions.
3323 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
3325         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3326         Use `tramp-rsh-end-of-line', it ought to be more robust.
3328 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3330         * progmodes/js.el (js-syntax-propertize): "return" can't be divided
3331         (bug#19397).
3333 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
3335         * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
3337         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
3338         as end-of-line delimeter for passwords, when running on MS Windows.
3340 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3342         * progmodes/sh-script.el (sh-set-shell): Don't change the global value
3343         of indent-line-function (bug#19433).
3345 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3347         Fix line numbers on Python shell.
3348         * progmodes/python.el (python-shell--save-temp-file): Do not
3349         append coding cookie.
3350         (python-shell-send-string): Generalize for
3351         python-shell-send-region.
3352         (python--use-fake-loc): Delete var.
3353         (python-shell-buffer-substring): Cleanup fake-loc logic.
3354         (python-shell-send-region): Remove fake-loc logic, simplify.
3356 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3358         * progmodes/python.el (python-indent-post-self-insert-function):
3359         Make colon to re-indent only for dedenters, handling
3360         multiline-statements gracefully.
3362 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
3364         * net/tramp.el (tramp-handle-insert-file-contents):
3365         Set `find-file-not-found-functions' in case of errors.  (Bug#18623)
3367 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
3369         * net/tramp-sh.el (tramp-send-command-and-read): New optional
3370         arg MARKER.
3371         (tramp-get-remote-path): Use it.
3373 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3375         * subr.el (redisplay-dont-pause): Mark as obsolete.
3377 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
3379         * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
3380         (tramp-accept-process-output): Use nil as argument for
3381         `accept-process-output', when there is a gateway prepended.
3383         * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
3384         wrong debug buffer.
3385         (tramp-gw-open-connection): Set process coding system 'binary.
3386         (tramp-gw-open-network-stream): Handle HTTP error 403.
3388         * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
3389         wrong debug buffer.
3390         (tramp-maybe-open-connection): Set connection property "gateway".
3392 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3394         * subr.el (sit-for): Tweak docstring (bug#19381).
3396 2014-12-27  Dmitry Gutov  <dgutov@yandex.ru>
3398         * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
3399         stage to after `diff-index' (bug#19386).
3401 2014-12-27  João Távora  <joaotavora@gmail.com>
3403         * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
3404         `electric-pair-mode' (bug#19356).
3406 2014-12-27  Dmitry Gutov  <dgutov@yandex.ru>
3408         elisp-xref-find: Don't create buffers eagerly.
3410         * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
3411         into `elisp--company-location'.
3412         (elisp--identifier-completion-table): Rename to
3413         `elisp--identifier-completion-table', and do not include just any
3414         symbols with a property list.
3415         (elisp-completion-at-point): Revert the 2014-12-25 change.
3416         (elisp--xref-identifier-file): New function.
3417         (elisp--xref-find-definitions): Use it.
3419         * emacs-lisp/find-func.el (find-function-library): New function,
3420         extracted from `find-function-noselect'.
3422         * progmodes/xref.el (xref-elisp-location): New class.
3423         (xref-make-elisp-location): New function.
3424         (xref-location-marker): New implementation.
3426 2014-12-27  Juri Linkov  <juri@linkov.net>
3428         * minibuffer.el (minibuffer-completion-help):
3429         Use shrink-window-if-larger-than-buffer in window-height
3430         when temp-buffer-resize-mode is nil.
3432         * window.el (with-displayed-buffer-window): Remove window-height
3433         from the action alist in the temp-buffer-window-show call
3434         when window-height is handled explicitly afterwards (bug#19355).
3436 2014-12-27  Juri Linkov  <juri@linkov.net>
3438         Support subdirectories when saving places in dired.
3439         * saveplace.el (toggle-save-place, save-place-to-alist)
3440         (save-places-to-alist, save-place-dired-hook):
3441         Use dired-current-directory instead of dired-directory (bug#19436).
3442         (save-place-dired-hook): Add check for alist to make the new
3443         format future-proof to allow other possible formats.
3445 2014-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3447         python.el: Generate clearer shell buffer names.
3448         * progmodes/python.el (python-shell-get-process-name)
3449         (python-shell-internal-get-process-name): Use `buffer-name`.
3450         (python-shell-internal-get-or-create-process): Simplify.
3452 2014-12-26  Dmitry Gutov  <dgutov@yandex.ru>
3454         Add basic xref apropos implementation to elisp-mode.
3456         * progmodes/elisp-mode.el (elisp--xref-find-definitions):
3457         Filter out nil results.
3458         (elisp--xref-find-apropos): New function.
3459         (elisp-xref-find): Use it.
3461         * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
3463 2014-12-25  Filipp Gunbin  <fgunbin@fastmail.fm>
3465         * dired-aux.el (dired-maybe-insert-subdir):
3466         Make dired-maybe-insert-subdir always skip trivial files.
3468 2014-12-25  Helmut Eller  <eller.helmut@gmail.com>
3469             Dmitry Gutov  <dgutov@yandex.ru>
3471         Consolidate cross-referencing commands.
3473         Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
3474         `C-x 5 .' from etags.el to xref.el.
3476         * progmodes/xref.el: New file.
3478         * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
3479         (elisp--identifier-location): New function, extracted from
3480         `elisp--company-location'.
3481         (elisp--company-location): Use it.
3482         (elisp--identifier-completion-table): New variable.
3483         (elisp-completion-at-point): Use it.
3484         (emacs-lisp-mode): Set the local values of `xref-find-function'
3485         and `xref-identifier-completion-table-function'.
3486         (elisp-xref-find, elisp--xref-find-definitions)
3487         (elisp--xref-identifier-completion-table): New functions.
3489         * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3490         favor of `xref--marker-ring'.
3491         (tags-lazy-completion-table): Autoload.
3492         (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3493         (find-tag-noselect): Use `xref-push-marker-stack'.
3494         (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3495         (etags--xref-limit): New constant.
3496         (etags-xref-find, etags--xref-find-definitions): New functions.
3498 2014-12-25  Martin Rudalics  <rudalics@gmx.at>
3500         * cus-start.el (resize-mini-windows): Make it customizable.
3502 2014-12-24  Stephen Leake  <stephen_leake@stephe-leake.org>
3504         * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3505         to (info "(emacs)Contributing").  (Bug#19299)
3507 2014-12-24  Martin Rudalics  <rudalics@gmx.at>
3509         * window.el (mouse-autoselect-window-position-1): New variable.
3510         (mouse-autoselect-window-cancel)
3511         (mouse-autoselect-window-select, handle-select-window):
3512         With delayed autoselection select window only if mouse moves after
3513         selecting its frame.
3515 2014-12-24  Michael Albinus  <michael.albinus@gmx.de>
3517         * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3518         remote file names.  (Bug#18782)
3520 2014-12-23  Sam Steingold  <sds@gnu.org>
3522         * shell.el (shell-display-buffer-actions): New user option.
3523         (shell): Pass it to `pop-to-buffer' instead of hard-coding
3524         `pop-to-buffer-same-window'.
3526 2014-12-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3528         * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3529         (js-syntax-propertize-regexp): Use it to recognize "slash in
3530         a character class" (bug#19397).
3532 2014-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3534         * completion.el: Use post-self-insert-hook (bug#19400).
3535         (completion-separator-self-insert-command)
3536         (completion-separator-self-insert-autofilling): Remove.
3537         (completion-separator-chars): New var.
3538         (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3539         of changing the keymap.
3540         (completion--post-self-insert): New function.
3541         (dynamic-completion-mode): Use it instead of rebinding keys.
3542         (cmpl--completion-string): Rename from completion-string.
3543         (add-completion-to-head, delete-completion): Let-bind it explicitly.
3545 2014-12-22  Bozhidar Batsov  <bozhidar@batsov.com>
3547         * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3548         by leveraging `syntax-ppss'.
3550 2014-12-22  Artur Malabarba  <bruce.connor.am@gmail.com>
3552         * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3554 2014-12-20  Michael Albinus  <michael.albinus@gmx.de>
3556         * net/tramp-sh.el (tramp-histfile-override): Add :version.
3558 2014-12-20  Teodor Zlatanov  <tzz@lifelogs.com>
3560         * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3562 2014-12-19  Artur Malabarba  <bruce.connor.am@gmail.com>
3564         * let-alist.el (let-alist): Enable access to deeper alists by
3565         using dots inside the dotted symbols.
3567 2014-12-19  Alan Mackenzie  <acm@muc.de>
3569         Make C++11 uniform init syntax work.
3570         New keywords "final" and "override".
3571         * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3572         New function.
3573         (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3574         new function.
3575         * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3576         carefully for "are we at a declarator?" using
3577         c-back-over-member-initializers.
3578         * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3579         and "override" in the C++ value.
3581 2014-12-19  Martin Rudalics  <rudalics@gmx.at>
3583         * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3585 2014-12-21  Lars Ingebrigtsen  <larsi@gnus.org>
3587         * net/nsm.el (nsm-save-host): Don't save the host name twice
3588         (bug#19269).
3590 2014-12-18  Sam Steingold  <sds@gnu.org>
3592         Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3593         * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3594         (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3595         * menu-bar.el (menu-bar-buffer-vector): Extract from
3596         `menu-bar-update-buffers'.
3597         (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3598         (buffer-menu-open): New user command, bound globally to C-f10,
3599         provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3600         (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3601         convert the value returned by `mouse-buffer-menu-map' to a list
3602         acceptable to `popup-menu' for `buffer-menu-open'.
3604 2014-12-18  Artur Malabarba  <bruce.connor.am@gmail.com>
3606         * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3608 2014-12-18  Sam Steingold  <sds@gnu.org>
3610         * emacs-lisp/package.el: Avoid compilation warning by declaring
3611         the `find-library-name' function.
3612         (package-activate-1): Fix the `with-demoted-errors' calls:
3613         the first argument must be a string literal.
3615 2014-12-18  Martin Rudalics  <rudalics@gmx.at>
3617         Add code for "preserving" window sizes.
3618         * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3619         `preserve-size' t.
3620         (dired-mark-pop-up): Preserve size of window showing marked files.
3621         * electric.el (Electric-pop-up-window):
3622         * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3623         with `preserve-size' t.
3624         * minibuffer.el (minibuffer-completion-help):
3625         Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3626         (Bug#19355).  Preserve size of completions window.
3627         * register.el (register-preview): Preserve size of register
3628         preview window.
3629         * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3630         with `preserve-size' t (Bug#1291).
3631         * window.el (with-displayed-buffer-window): Add calls to
3632         `window-preserve-size'.
3633         (window-min-pixel-size, window--preservable-size)
3634         (window-preserve-size, window-preserved-size)
3635         (window--preserve-size, window--min-size-ignore-p): New functions.
3636         (window-min-size, window-min-delta, window--resizable)
3637         (window--resize-this-window, split-window-below)
3638         (split-window-right): Amend doc-string.
3639         (window--min-size-1, window-sizable, window--size-fixed-1)
3640         (window-size-fixed-p, window--min-delta-1)
3641         (frame-windows-min-size, window--max-delta-1, window-resize)
3642         (window--resize-child-windows, window--resize-siblings)
3643         (enlarge-window, shrink-window, split-window): Handle preserving
3644         window sizes.
3645         (adjust-window-trailing-edge): Handle preserving window
3646         sizes.  Signal user-error instead of an error when there's no
3647         window above or below.
3648         (window--state-put-2): Handle horizontal scroll bars.
3649         (window--display-buffer): Call `preserve-size' if asked for.
3650         (display-buffer): Mention `preserve-size' alist member in doc-string.
3651         (fit-window-to-buffer): New argument PRESERVE-SIZE.
3652         * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
3653         scroll bar on ispell's windows.  Don't count window lines and
3654         don't deal with dedicated windows.
3655         (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
3656         do the window handling.
3657         (ispell-adjusted-window-height, ispell-overlay-window): Remove.
3658         (ispell-display-buffer): New function to reuse, create and fit
3659         window to ispell's buffers.  (Bug#3413)
3661 2014-12-18  Dmitry Gutov  <dgutov@yandex.ru>
3663         * emacs-lisp/package.el (package-activate): Do not re-activate or
3664         reload the dependencies (bug#19390).
3666 2014-12-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3668         * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
3669         (c-update-modeline):
3670         * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
3671         * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
3672         (c-mode-base-map): Use c-subword-mode.
3674 2014-12-18  Eli Zaretskii  <eliz@gnu.org>
3676         * international/mule-diag.el (describe-font-internal):
3677         Display additional info returned by font-info.
3679         * linum.el (linum--face-width): Rename from linum--face-height,
3680         and use the new functionality of font-info.
3681         (linum-update-window): Use linum--face-width and frame-char-width,
3682         instead of approximating with height.
3684 2014-12-18  Dmitry Gutov  <dgutov@yandex.ru>
3686         * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
3687         change (bug#19387).  Use `apply' on `vc-dir-command'  (bug#19405).
3689         * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
3690         and a docstring.
3691         (package-activate): Call itself on dependencies on PACKAGE with
3692         the same FORCE argument.  Pass FORCE as RELOAD into
3693         `package-activate-1'  (bug#19390).
3695 2014-12-17  Sam Steingold  <sds@gnu.org>
3697         * emacs-lisp/package.el (package--list-loaded-files):
3698         Handle `(nil ...)' elements in `load-history'.
3700 2014-12-17  Teodor Zlatanov  <tzz@lifelogs.com>
3702         * net/tramp-sh.el (tramp-histfile-override): New variable.
3703         (tramp-open-shell, tramp-maybe-open-connection): Use it.
3705 2014-12-17  Dmitry Gutov  <dgutov@yandex.ru>
3707         * vc/vc.el: Improve `dir-status-files' description.
3709         * emacs-lisp/package.el (package--list-loaded-files): Don't call
3710         file-truename on load-history elements (bug#19390).
3712 2014-12-16  Nicolas Petton  <petton.nicolas@gmail.com>
3714         * emacs-lisp/seq.el: New file.
3716 2014-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3718         * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
3719         is 0 and there is no input pending.
3721 2014-12-15  Juri Linkov  <juri@linkov.net>
3723         * replace.el (query-replace-read-from): Use query-replace-compile-replacement
3724         only on the return value (bug#19383).
3726 2014-12-15  Juri Linkov  <juri@linkov.net>
3728         * isearch.el (isearch-lazy-highlight-search): Extend the bound of
3729         the wrapped search by the length of the search string to be able
3730         to lazy-highlight the whole search string at point (bug#19353).
3732 2014-12-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3734         * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
3736 2014-12-14  Alan Mackenzie  <acm@muc.de>
3738         * cus-start.el (all): Add fast-but-imprecise-scrolling.
3740 2014-12-14  Artur Malabarba  <bruce.connor.am@gmail.com>
3742         * let-alist.el: Add lexical binding.
3744 2014-12-14  Steve Purcell  <steve@sanityinc.com>  (tiny change)
3746         * emacs-lisp/package.el (package-menu-mode): Use an extra column
3747         for the "Version" column, to accomodate date-and-time-based versions.
3749 2014-12-14  Cameron Desautels  <camdez@gmail.com>
3751         * cus-edit.el (custom-unsaved-options): New function, extracted
3752         from `customize-unsaved'.
3753         (custom-unsaved): Use it.
3754         (custom-prompt-customize-unsaved-options): New function.
3755         (Bug#19328)
3757 2014-12-14  Dmitry Gutov  <dgutov@yandex.ru>
3759         * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
3761 2014-12-14  Dmitry Gutov  <dgutov@yandex.ru>
3763         Move ASYNC argument to the `diff' VC command to the fifth
3764         position, for better compatibility with existing third-party code,
3765         and document it.
3767         * vc/vc.el (vc-diff-internal): Pass `async' argument to the
3768         backend `diff' command in the last position.
3770         * vc/vc-svn.el (vc-svn-diff):
3771         * vc/vc-src.el (vc-src-diff):
3772         * vc/vc-sccs.el (vc-sccs-diff):
3773         * vc/vc-rcs.el (vc-rcs-diff):
3774         * vc/vc-mtn.el (vc-mtn-diff):
3775         * vc/vc-hg.el (vc-hg-diff):
3776         * vc/vc-git.el (vc-git-diff):
3777         * vc/vc-dav.el (vc-dav-diff):
3778         * vc/vc-cvs.el (vc-cvs-diff):
3779         * vc/vc-bzr.el (vc-bzr-diff):
3780         * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
3782 2014-12-14  Paul Eggert  <eggert@cs.ucla.edu>
3784         * emacs-lisp/cconv.el (cconv--analyze-use):
3785         Rename from cconv--analyse-use.
3786         (cconv--analyze-function): Rename from cconv--analyse-function.
3787         (cconv-analyze-form): Rename from cconv-analyse-form.
3789 2014-12-13  Andreas Schwab  <schwab@linux-m68k.org>
3791         * net/shr.el (shr-next-link): Don't error out at eob.
3793 2014-12-05  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3795         * isearch.el (isearch-open-necessary-overlays): Open overlay
3796         ending at point (bug#19333).
3798 2014-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3800         * net/shr.el (shr-fold-text): New function.
3801         (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
3802         alt/title texts.
3803         (shr-fold-text): Inhibit state from being altered.
3805         * files.el (directory-files-recursively): Really check whether
3806         files are symlinks.
3807         (directory-name-p): New function.
3808         (directory-files-recursively): Use it.
3810 2014-12-13  Artur Malabarba  <bruce.connor.am@gmail.com>
3812         * emacs-lisp/package.el (package--list-loaded-files): New function
3813         to list files in a given directory which correspond to already
3814         loaded files.
3815         (package-activate-1): Reload files given by `package--list-loaded-files'.
3816         Fix bug#10125, bug#18443, and bug#18448.
3818 2014-12-13  Eric S. Raymond  <esr@snark.thyrsus.com>
3820         * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
3822 2014-12-13  Michael Albinus  <michael.albinus@gmx.de>
3824         * simple.el (password-word-equivalents): Add "passcode", used for
3825         numeric secrets like PINs or RSA tokens.
3827 2014-12-13  Michael Albinus  <michael.albinus@gmx.de>
3829         * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
3830         order to determine `tramp-own-remote-path'.
3832 2014-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3834         * progmodes/python.el (python-shell-parse-command):
3835         Quote `python-shell-interpreter`.  (Bug#19289)
3837 2014-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3839         * progmodes/python.el (python-indent-line): Use `noindent' in strings.
3840         (python-indent-levels): Document extra value.
3841         (python-indent-calculate-indentation): Return `noindent' in strings.
3842         (python-indent-post-self-insert-function)
3843         (python-indent-calculate-levels): Handle new value.
3845 2014-12-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3847         * net/network-stream.el (network-stream-open-starttls): No need to
3848         check for the availability of `gnutls-available-p'.
3850         * files.el (directory-files-recursively): Don't follow symlinks to
3851         other directories.
3853 2014-12-12  Eric S. Raymond  <esr@snark.thyrsus.com>
3855         * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
3856         * vc/vc.el: latest-on-branch-p is no longer a public method.
3858         * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
3859         * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
3860         Remove `rollback' method, to be replaced in the future by uncommit.
3862 2014-12-11  Michael Albinus  <michael.albinus@gmx.de>
3864         * vc/vc-hg.el (vc-hg-state): Make FILE absolute.  Handle the case
3865         that there is empty output.
3867 2014-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3869         * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
3870         (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
3872 2014-12-10  Artur Malabarba  <bruce.connor.am@gmail.com>
3874         * let-alist.el: Add new package and macro.
3876 2014-12-10  Eric S. Raymond  <esr@snark.thyrsus.com>
3878         * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
3879         * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
3880         it's a shoot-self-in-foot archaism.  Workfiles are always kept.
3882 2014-12-10  Rasmus Pank Roulund  <emacs@pank.eu>
3884         * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
3885         trouble with ls over ftp.  These flags result in ls returning no
3886         output, causing Tramp-breakage.  (bug#19192)
3888 2014-12-10  Andreas Schwab  <schwab@suse.de>
3890         * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
3892 2014-12-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3894         * files.el (directory-files-recursively):
3895         Use `file-name-all-completions' instead of `directory-files' for
3896         greater speed.
3898         * net/shr.el (shr-tag-object): Don't bug out on text elements in
3899         <object>.
3901 2014-12-09  Bozhidar Batsov  <bozhidar@batsov.com>
3903         * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
3904         and Puppetfile.
3905         (ruby-toggle-string-quotes): New command that allows you to quickly
3906         toggle between single-quoted and double-quoted string literals.
3908 2014-12-09  Eric S. Raymond  <esr@snark.thyrsus.com>
3910         * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
3911         list, avoids problems witt names containing hyphens.
3913 2014-12-09  Wilson Snyder  <wsnyder@wsnyder.org>
3915         Sync with upstream verilog-mode revision aa4b777.
3916         * progmodes/verilog-mode.el (verilog-mode-version): Update.
3917         (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
3918         (verilog-set-auto-endcomments): Automatically comment property/
3919         endproperty blocks to match other similar blocks like sequence/
3920         endsequence, function/endfunction, etc.  Reported by Alex Reed.
3921         (verilog-set-auto-endcomments): Fix end comments for functions of
3922         type void, etc.  Detect the function- or task-name when
3923         auto-commenting blocks that lack an explicit portlist.
3924         Reported by Alex Reed.
3925         (verilog-nameable-item-re): Fix nameable items that can have an
3926         end-identifier to include endchecker, endgroup, endprogram,
3927         endproperty, and endsequence.  Reported by Alex Reed.
3928         (verilog-preprocessor-re, verilog-beg-of-statement):
3929         Fix indentation of property/endproperty around pre-processor
3930         directives.  Reported by Alex Reed.
3931         (verilog-label-be): When auto-commenting a buffer, consider
3932         auto-comments on all known keywords (not just a subset thereof).
3933         Reported by Alex Reed.
3934         (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
3935         Reported by Alex Reed.
3936         (verilog-beg-of-statement-1, verilog-at-constraint-p):
3937         Fix hanging with many curly-bracket pairs, bug663.
3938         (verilog-do-indent): Fix electric tab deleting form-feeds.
3939         Note caused by indent-line-to deleting tabls pre 24.5.
3940         (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
3941         (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
3942         (verilog-read-always-signals, verilog-auto-sense-sigs)
3943         (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
3944         bug844.  Reported by Greg Hilton.
3946 2014-12-09  Alex Reed  <acreed4@gmail.com>  (tiny change)
3948         * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
3949         Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
3950         'foreach', and 'do' keywords.
3951         (verilog-endcomment-reason-re, verilog-beg-of-statement):
3952         Fix labeling do-while blocks, bug842.
3953         (verilog-backward-token): Fix indenting sensitivity lists with
3954         named events, bug840.
3956 2014-12-09  Reto Zimmermann  <reto@gnu.org>
3958         Sync with upstream vhdl mode v3.36.1.
3959         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3960         (vhdl-compiler-alist): Anchor all error regexps.
3961         (vhdl-compile-use-local-error-regexp): Change default to nil.
3962         (vhdl-asort, vhdl-anot-head-p): Remove.
3963         (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
3964         Remove optional argument of vhdl-aget and update all callers.
3965         (vhdl-import-project): Also set `vhdl-compiler'.
3967 2014-12-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3969         * files.el (find-files): New function.
3971         * net/shr.el (shr-dom-print): Don't print comments.
3972         (shr-tag-svg): Give inline SVG images the right type.
3974         * net/eww.el (eww-update-header-line-format): Mark valid/invalid
3975         certificates in the header line.
3976         (eww-invalid-certificate, eww-valid-certificate): New faces.
3978 2014-12-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3980         * progmodes/python.el (inferior-python-mode):
3981         Set `comint-prompt-read-only` to `t` only locally.
3983 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3985         * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
3986         (nsm-format-certificate): Include more data about the connection.
3987         (nsm-query): Fill the text to that it looks nicer.
3988         (nsm-check-protocol): Also warn if using SSL3 or older.
3990 2014-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3992         * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
3994         * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
3996         * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
3998         * info.el (Info-mode-map): Remove left-over binding.
4000         * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
4001         (avl-tree--root): Remove redundant defsetf.
4003 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4005         * net/nsm.el (network-security-level): Remove the detailed
4006         description, which was already outdated, and refer the users to
4007         the manual.
4008         (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
4009         (bug#19153).
4011 2014-12-06  Andrey Kotlarski  <m00naticus@gmail.com>
4013         * net/eww.el (eww-buffers-mode): New major mode.
4014         (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
4015         (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
4016         New commands/functions (bug#19131).
4018 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4020         * net/gnutls.el (gnutls-negotiate): Ignore files found via
4021         'file-name-handler-alist' since the gnutls library can't use those
4022         (bug#15866).
4024 2014-12-08  Dmitry Gutov  <dgutov@yandex.ru>
4026         * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
4027         when FILES is non-nil (bug#19304).
4029 2014-12-08  Eric S. Raymond  <esr@snark.thyrsus.com>
4031         * vc/vc-arch.el: Move to obsolete directory so a test framework
4032         won't trip over bit-rot in it.  There has been no Arch snapshot
4033         for nine years.
4035 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4037         * net/eww.el (eww-follow-link): Revert prefix behaviour to
4038         previous behavior.
4039         (eww-copy-page-url): Add doc string.
4041 2014-12-07  Ivan Shmakov  <ivan@siamics.net>
4043         * net/eww.el (eww): Move history recording here...
4044         (eww-browse-url): ... from here (bug#19253).
4046         * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
4047         iterating over possible buffer names.)
4049 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4051         * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
4052         (eww-current-buffer): Compilation fix for bug#18550 patch.
4054 2014-12-07  Ivan Shmakov  <ivan@siamics.net>
4056         * net/eww.el (eww-list-histories): Restore the history in the
4057         correct buffer (bug#18550).
4059 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4061         * net/eww.el (eww-bookmark-prepare): Display URLs in first by
4062         displaying shortened titles first (bug#16398).
4064 2014-12-07  Tom Willemse  <tom@ryuslash.org>  (tiny change)
4066         * progmodes/python.el: Recognize docstrings.
4067         (python-docstring-at-p, python-font-lock-syntactic-face-function):
4068         New functions.
4069         (python-mode): Use them.
4071 2014-12-06  Ulf Jasper  <ulf.jasper@web.de>
4073         * net/newst-treeview.el (newsticker--treeview-list-add-item)
4074         (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
4075         (newsticker--treeview-create-groups-menu)
4076         (newsticker--treeview-create-tree-menu): Remove.
4077         (newsticker--treeview-tree-open-menu): New.
4078         (newsticker-treeview-tree-click): Pass event to
4079         `newsticker-treeview-tree-do-click'.
4080         (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
4082 2014-12-05  Juri Linkov  <juri@linkov.net>
4084         * comint.el (comint-history-isearch-search)
4085         (comint-history-isearch-wrap): Use field-beginning instead of
4086         comint-line-beginning-position.
4087         (comint-send-input): Go to the end of the field instead of the end
4088         of the line to accept whole multi-line input.
4089         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
4091 2014-12-05  Juri Linkov  <juri@linkov.net>
4093         * minibuffer.el (minibuffer-completion-help):
4094         Compare selected-window with minibuffer-window to check whether
4095         completions should be displayed near the minibuffer.  (Bug#17809)
4096         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
4098 2014-12-05  Michael Albinus  <michael.albinus@gmx.de>
4100         * vc/vc-mtn.el (vc-mtn-root):
4101         * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
4103 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4105         * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
4106         of the whole pipe when indenting an opening keyword after a |.
4107         Generalize this treatment to opening keywords like "while" (bug#18031).
4109 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4111         * simple.el (newline): Place the hook buffer-locally,
4112         to make sure it's first.
4114         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4115         Fix handling of symbols with different syntax at beginning/end or with
4116         symbol rather than word syntax.
4118 2014-12-05  Eli Zaretskii  <eliz@gnu.org>
4120         * simple.el (line-move): If noninteractive, call line-move-1, not
4121         forward-line, since the former is compatible with line-move-visual
4122         both in terms of the column to which it moves and the return
4123         value.  (Bug#19211)
4125 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4127         * vc/ediff-init.el (ediff-odd-p): Remove.
4128         (ediff-background-face): Use cl-oddp instead.
4129         (ediff-buffer-live-p): Make it a defsubst.
4131         * tooltip.el (tooltip-region-active-p): Remove.
4133         * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
4134         (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
4136         * fringe.el (fringe-bitmap-p): Make it a plain function.
4138         * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
4139         (class-p, generic-p, eieio-object-p, class-abstract-p):
4140         Make them defsubst, so as to avoid corner case problems where
4141         the arg might be evaluated in the condition-case, or it can't be passed
4142         to higher-order functions like `cl-some'.
4144 2014-12-05  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4146         * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
4147         and remove old menu-related code.
4149 2014-12-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4151         * net/eww.el (eww-display-pdf): Let mailcap determine how to
4152         display PDF files (bug#19270).
4154 2014-12-05  Juri Linkov  <juri@linkov.net>
4156         Compare with the most recent window by default.
4157         * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
4158         (compare-windows-get-recent-window)
4159         (compare-windows-get-next-window): New functions.
4160         (compare-windows, compare-windows-sync-default-function):
4161         Use `compare-windows-get-window-function' instead of `next-window'.
4162         (compare-windows): Add diff/match messages with region boundaries.
4163         (Bug#19170)
4165 2014-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4167         * subr.el (filter): Remove.  Use `cl-remove-if-not' or `seq-filter'.
4169 2014-12-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4171         * net/shr.el (shr--extract-best-source): Ignore non-text children.
4173 2014-12-04  Eli Zaretskii  <eliz@gnu.org>
4175         Implement copying of a buffer portion while preserving visual order.
4176         * simple.el (bidi-directional-controls-chars)
4177         (bidi-directional-non-controls-chars): New variables.
4178         (squeeze-bidi-context-1, squeeze-bidi-context)
4179         (line-substring-with-bidi-context)
4180         (buffer-substring-with-bidi-context): New functions.
4182         * files.el (file-tree-walk): Doc fix.
4184 2014-12-04  Rupert Swarbrick  <ruperts@broadcom.com> (tiny change)
4185             Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4187         * autoinsert.el (auto-insert-alist): Update C/C++ header and
4188         program support to match more extensions.  Replace non-alnum
4189         characters when generating include guards (headers) and check for
4190         more extensions when generating includes (programs)
4191         (bug#19254).
4193 2014-12-03  Eric S. Raymond  <esr@snark.thyrsus.com>
4195         * files.el (file-tree-walk): Fix docstring.
4197 2014-12-03  Karl Fogel  <kfogel@red-bean.com>
4199         Fix bug whereby saving files hung in VC hook.
4201         Saving a buffer visiting a file under SVN control would hang if
4202         the remote repository were unreachable, because the VC hooks tried
4203         to run "svn status -u" on the file, where the "-u" tells svn to
4204         get update information from the remote repository.
4205         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
4207         * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
4208         argument and always pass "-v" to "svn status", never "-u".
4210 2014-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4212         * emacs-lisp/inline.el: Fix up copyright header.
4213         (inline-quote, inline-const-p, inline-const-val, inline-error):
4214         Silence compiler warnings.
4215         (inline-letevals): Fix edebug spec.
4216         (inline--testconst-p): Consider lambda expressions as const-p.
4217         (inline--getconst-val): Use inline--testconst-p.
4219         * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
4220         and change default to stay in the minibuffer when called from
4221         the minibuffer (bug#19250).
4222         (lazy-completion-table): Use this new argument to preserve the
4223         old behavior.
4225         * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
4226         incorrect lexical elements (bug#19250).
4228 2014-12-03  A. N. Other  <none@example.com>
4230         * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
4232 2014-12-02  Glenn Morris  <rgm@gnu.org>
4234         * whitespace.el (whitespace-big-indent-regexp): Add :version.
4236 2014-12-02  Eric S. Raymond  <esr@snark.thyrsus.com>
4238         * subr.el (filter): New macro.  Because it's just silly for a Lisp
4239         not to have this in 2014.  And VC needs it.
4241         * vc.el: All backends: API simplification: Abolish dir-status.
4242         It's replaced by dir-status-files.
4244         * vc.el: All backends: API simplification: Remove 4th
4245         'default-state' argument from vc-dir-status files and its backend
4246         methods - no backend method ever set it.  It was used only in the
4247         fallback method to to set a default of 'up-to-date, though a
4248         convoluted call chain obscured this.
4250         * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
4252         * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
4253         improving behavior on directories using multiple file-oriented VCSes.
4255         * vc/vc.el: All backends: API simplification; clear-headers
4256         is no longer a public method.  It is now local to the one place
4257         it's used, in the RCS steal-lock method.
4259 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
4261         * vc/vc.el: In all backends: API simplification; could-register
4262         is no longer a public method.  (vc-cvs.el still has a private
4263         implementation.)
4265         * vc/vc.el: In all backends: API cleanup; the backend diff method
4266         takes an explicit async flag.  This eliminates a particularly ugly
4267         global.
4269         * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
4270         VC randomly/unpredictably fails without it; cause not yet established.
4272 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4274         Merge some of the differences from the standalone CC-mode.
4275         The main change is to only use the `category' text-property only when
4276         available.  For that many calls are changed to use c-get-char-property,
4277         c-next-single-property-change, c-sc-scan-lists,
4278         c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
4280         * progmodes/cc-mode.el (c-just-done-before-change): New var.
4281         (c-basic-common-init): Initialize it.
4282         (c-common-init): Only use mode-require-final-newline when available.
4283         (c-before-change): Check and set c-just-done-before-change.
4284         (c-after-change): Re-set c-just-done-before-change.
4285         (c-advise-fl-for-region): New macro.
4286         (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
4287         (font-lock-after-change-function, jit-lock-after-change):
4288         Advise if needed.
4290         * progmodes/cc-langs.el (c-modified-constant): New lang var.
4291         (c-known-type-key): Don't make a list just to throw it away.
4293         * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
4294         Handle the case where categories are not available.
4295         (c-record-parse-state-state, c-replay-parse-state-state):
4296         Handle marker values.
4297         (c-before-change-check-<>-operators): Look for the `syntax-table'
4298         property rather than for the corresponding `category'.
4299         (c-looking-at-decl-block): Remove unused var
4300         `c-disallow-comma-in-<>-arglists'.
4301         (c-forward-<>-arglist-recur): Remove unused var
4302         `orig-record-found-types'.
4304         * progmodes/cc-defs.el (c-version): Bump up to 5.33.
4305         (c-use-category): New const.
4306         (c-next-single-property-change): New macro.
4307         (c-region-is-active-p): Prefer region-active-p when available.
4308         (c-search-backward-char-property): Fix old min/max typo; probably
4309         a copy/paste error.
4310         (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
4311         Turn them into macros that obey c-use-category.
4312         (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
4313         (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
4314         (c-sc-scan-lists, c-sc-parse-partial-sexp)
4315         (c-looking-at-non-alphnumspace): New macros.
4316         (c-sc-parse-partial-sexp-no-category): New function.
4317         (c-emacs-features): Add `category-properties' element.
4319         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
4320         (c-backward-into-nomenclature): Use cc-subword if subword-mode is
4321         not available.
4322         (c-beginning-of-defun, c-end-of-defun, c-mark-function)
4323         (c-indent-line-or-region): Use c-region-is-active-p.
4325         * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
4326         (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
4327         (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
4328         (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
4329         (cc-bytecomp-obsolete-fun): Delete unused functions.
4331         * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
4333 2014-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4335         * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
4336         dom.el changes.
4338 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4340         * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
4341         current "project" rather than just the current directory.
4342         * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
4343         the file names make sense.
4345         * vc/smerge-mode.el (smerge-swap): New command.
4347         * vc/diff-mode.el (diff-kill-applied-hunks): New command.
4349 2014-12-01  Ulf Jasper  <ulf.jasper@web.de>
4351         * net/newst-treeview.el (newsticker--treeview-item-show):
4352         Check window liveliness before measuring its width.
4354         * net/newst-backend.el (newsticker--get-news-by-url-callback):
4355         Pass correct status to `newsticker--sentinel-work'.
4356         (newsticker--sentinel-work): Use "newsticker--download-error" as
4357         guid in order to prevent multiple "Could not download..."
4358         messages.  (Bug#19166)
4360 2014-12-01  Ivan Shmakov  <ivan@siamics.net>
4362         * net/eww.el (eww-render): Call `eww-after-render-hook' in the
4363         correct buffer (bug#19225).
4365 2014-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4367         * net/nsm.el (network-security-level): Change the default to `medium'.
4369         * net/eww.el (eww): Leave point in a place that doesn't cause
4370         scrolling when displaying "Loading...".
4372 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
4374         * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
4375         backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
4376         'merge-branch'.  Prompting for merge revisions is pushed down to
4377         the back ends; this fixes a layering violation that caused bad
4378         behavior with SVN.
4380         * vc/vc.el, vc-hooks.el: All backends: API simplification;
4381         vc-stay-local-p and repository-hostname are no longer public
4382         methods.  Only the CVS and SVN backends used these, and the SVN
4383         support was conditioned out because svn status -v is too slow.
4384         The CVS back end retains this machinery and the vc-stay-local
4385         configuration variable now only affects it.
4387 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4389         * emacs-lisp/inline.el: New file.
4391 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
4393         * vc/vc.el, vc-hooks.el: All backends: API simplification;
4394         vc-state-heuristic is no longer a public method, having been
4395         removed where it is redundant, unnecessary, or known buggy.
4396         This eliminated all backends except CVS.  Eliminates bug#7850.
4398         * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
4399         Eliminate vc-mistrust-permissions.  It was only relevant to the
4400         RCS and SCCS back ends and defaulted to t.  Code now always
4401         mistrusts permissions - by actual measurement the effect on
4402         performance is negligible.  As a side effect bug#11490 is now
4403         irrelevant.
4405         * vc/vc.el, vc-hooks.el: All backends: API simplification;
4406         vc-workfile-unchanged-p is no longer a public method (but the RCS
4407         and SCCS back ends retain it as a private method used in state
4408         computation).  This method was redundant with vc-state and usually
4409         implemented as a trivial call to same.  Fixes the failure mode
4410         described in bug#694.
4412         * vc/vc.el: All backends: API simplification; init-revision is
4413         gone, and vc-registered functions no longer take an
4414         initial-revision argument.
4416 2014-11-29  Glenn Morris  <rgm@gnu.org>
4418         * vc/vc-src.el (vc-src, vc-src-diff-switches)
4419         (vc-src-master-templates): Fix :version tags.
4421 2014-11-29  Paul Rankin  <paul@tilk.co>  (tiny change)
4423         * outline.el (outline-move-subtree-down): Refactor and improve code.
4425 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
4426             Stefan Monnier  <monnier@iro.umontreal.ca>
4428         * outline.el (outline-move-subtree-down): Make sure we can move
4429         forward to find the end of the subtree and the insertion point
4430         (bug#19102).
4432 2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4434         * progmodes/python.el (python-shell-completion-setup-code):
4435         Use __builtin__ module (or builtins in Python 3) and catch all errors
4436         when importing readline and rlcompleter.
4438 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
4440         * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
4441         (todo-revert-buffer): New function.
4442         (todo-modes-set-1): Use it as the buffer-local value of
4443         revert-buffer-function.
4445 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
4447         * calendar/todo-mode.el (todo-mode): If called interactively, just
4448         display a message saying to call todo-show to enter Todo mode
4449         (Bug#19112).
4451 2014-11-29  Dmitry Gutov  <dgutov@yandex.ru>
4453         * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
4454         (Bug#18579)
4456         * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
4457         files.  (Bug#18579)
4459 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
4461         * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
4462         remote `buffer-file-name'.
4464 2014-11-29  Leo Liu  <sdl.web@gmail.com>
4466         * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
4468 2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4470         Set PYTHONUNBUFFERED on shell startup.
4472         * progmodes/python.el (python-shell-unbuffered): New var.
4473         (python-shell-calculate-process-environment): Use it.
4475 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
4477         * net/tramp.el (tramp-action-password): Clean password on subsequent
4478         attempts even if there was no wrong password indication.  (Bug#19047)
4480         * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
4481         fallback.
4482         (tramp-open-connection-setup-interactive-shell): No need to check
4483         for nil as `tramp-get-remote-locale' return value.
4485 2014-11-29  Eli Zaretskii  <eliz@gnu.org>
4487         * vc/vc-git.el (vc-git-command, vc-git--call):
4488         Bind coding-system-for-read and coding-system-for-write to
4489         vc-git-commits-coding-system.
4490         (vc-git-previous-revision): Use "~1" instead of "^", since the
4491         latter is a special character for MS-Windows system shells.
4493 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
4495         Improve XEmacs compatibility.
4497         * net/tramp.el (tramp-autoload-file-name-handler):
4498         Wrap `temporary-file-directory' by `symbol-value', it doesn't
4499         exist in XEmacs.
4500         (tramp-read-passwd): Don't use `with-timeout-suspend' and
4501         `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4502         (tramp-time-less-p, tramp-time-subtract): Remove functions.
4503         (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4504         * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4505         * net/tramp-cache.el (tramp-get-file-property):
4506         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4507         Use `time-less-p' and `time-subtract, respectively.
4509         * net/tramp-adb.el (top): Do not require time-date.el.
4511         * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4513         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4514         Check, whether `utf-8' is a valid coding system.
4516 2014-11-29  Eli Zaretskii  <eliz@gnu.org>
4518         * vc/vc.el (vc-retrieve-tag): Doc fix.
4520 2014-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4522         * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4523         (bug#19152).
4525 2014-11-28  Martin Rudalics  <rudalics@gmx.at>
4527         Fix two issues around help-window-select.  (Bug#11039) (Bug#19012)
4528         * help.el (help-window-old-frame): New variable.
4529         (help-window-select): Default to nil (Bug#11039).
4530         Rewrite doc-string.
4531         (help-window-setup): When the help window appears on another
4532         frame and `help-window-select' is non-nil, give that frame input
4533         focus too (Bug#19012).
4534         (with-help-window): Store selected frame in
4535         help-window-old-frame.
4537 2014-11-28  Ulf Jasper  <ulf.jasper@web.de>
4539         * net/newst-treeview.el (newsticker--treeview-load): Take care of
4540         nil value for `newsticker-groups-filename'.
4542 2014-11-28  Daiki Ueno  <ueno@gnu.org>
4544         * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4545         (epa-sign-region, epa-encrypt-region):
4546         Use `epg-context-set-{passphrase,progress}-callback', instead of
4547         `setf'.  This partially reverts commit 9e48a95c (bug#19150).
4548         Reported by José A. Romero L.
4550 2014-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4552         * net/eww.el (eww-restore-history):
4553         Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4555 2014-11-27  Ulf Jasper  <ulf.jasper@web.de>
4557         * net/newst-backend.el (newsticker--parse-atom-1.0):
4558         Handle embedded (x)html in summary node.
4560 2014-11-27  Sam Steingold  <sds@gnu.org>
4562         * menu-bar.el (menu-bar-open): When everything else fails,
4563         use (mouse-menu-bar-map).
4565 2014-11-27  Ulf Jasper  <ulf.jasper@web.de>
4567         * net/newst-treeview.el (newsticker-groups-filename):
4568         Change default value to nil.  Point out that variable is obsolete in doc
4569         string.
4570         (newsticker--treeview-load): Change wording of the questions the
4571         user is asked when `newsticker-groups-filename' is found to be
4572         used and we offer to read and remove the groups file.  (Bug#19165)
4574 2014-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4576         * net/eww.el (eww): Record the new URL immediately, so that if the
4577         HTTP fetch fails, we have the right URL in the buffer.
4578         (eww-process-text-input): Don't shorten the input field if
4579         deleting at the last character (bug#19085).
4580         (eww-restore-history): Inhibit change functions while restoring
4581         the history.
4582         (eww-process-text-input): Fix deletion at the start of the field, too.
4583         (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4584         (eww-process-text-input): Try to keep track of the size more reliably.
4586         * dom.el (dom-pp): New function.
4588 2014-11-27  Eli Zaretskii  <eliz@gnu.org>
4590         * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4591         Don't assume --long is the default for "bzr log", always specify
4592         it explicitly, in case the user defined an alias for 'log' that
4593         uses some other format.
4595 2014-11-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4597         * progmodes/python.el (python-eldoc--get-doc-at-point):
4598         Strip shell output before returning.  (bug#18794)
4600 2014-11-27  Dmitry Gutov  <dgutov@yandex.ru>
4602         Fix indentation before `!=' and after `+='.  Originally reported
4603         in https://github.com/mooz/js2-mode/issues/174.
4604         * progmodes/js.el (js--indent-operator-re): Make assignments and
4605         (in)equality operator a separate case.
4606         (js--continued-expression-p): Escape the second `+' in the regexp.
4608 2014-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4610         * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4612 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4614         * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4615         when querying about new certificates.
4617         * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4619         * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4620         can be strings.
4621         (dom-elements): Protect against non-text nodes.
4622         (dom-non-text-children): New function.
4624         * net/eww.el (eww-tag-title): Use `dom-text'.
4626 2014-11-26  Sam Steingold  <sds@gnu.org>
4628         * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4630 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4632         * net/eww.el (eww-highest-readability): More dom.el fixes.
4634 2014-11-26  Ulf Jasper  <ulf.jasper@web.de>
4636         * net/newst-backend.el (newsticker--parse-generic-items):
4637         Take care of UIDs when adding elements to cache.
4639 2014-11-26  Alan Mackenzie  <acm@muc.de>
4641         Remove spurious reference to symbol category_properties.
4642         * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
4644 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4646         * net/eww.el: Use the new dom.el accessors throughout.
4648         * net/shr.el: Ditto.
4650         * dom.el: New file.
4652 2014-11-26  Glenn Morris  <rgm@gnu.org>
4654         * arc-mode.el (archive-visit-single-files): Add :version.
4656 2014-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4658         * net/nsm.el (nsm-format-certificate): Don't bug out on missing
4659         elements.
4660         (nsm-warnings-ok-p): The new version of this function always
4661         returned nil when everything was OK.
4663 2014-11-25  Teodor Zlatanov  <tzz@lifelogs.com>
4665         * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
4667         * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
4668         (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
4670 2014-11-20  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4672         * emacs-lisp/byte-run.el (function-put): Match argument names to
4673         docstring.
4675 2014-11-24  Sam Steingold  <sds@gnu.org>
4677         * vc/vc-hooks.el (vc-directory-exclusion-list):
4678         Fix a trivial typo (bug#19171).
4680 2014-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4682         * vc/vc-hooks.el (vc-state-base-face): Don't override
4683         mode-line-inactive.
4685 2014-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4687         * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
4688         (eww-process-text-input): Inhibit read only so that input fields
4689         don't get shortened (bug#19085).
4691 2014-11-24  Leo Liu  <sdl.web@gmail.com>
4693         * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
4695         * window.el (with-temp-buffer-window)
4696         (with-current-buffer-window, with-displayed-buffer-window):
4697         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
4698         * emacs-lisp/cl-lib.el (substring):
4699         * emacs-lisp/cl-extra.el (cl-getf): Use it.
4701 2014-11-24  Eli Zaretskii  <eliz@gnu.org>
4703         * isearch.el (isearch-update): Don't assume
4704         pos-visible-in-window-p will return nil when point is hscrolled
4705         out of view.  (Bug#19157)
4707 2014-11-20  Andrey Kotlarski  <m00naticus@gmail.com>
4709         * net/eww.el (eww-browse-url): Optionally create new eww buffer.
4710         (eww-follow-link): Follow in new buffer in case of prefix
4711         argument, open externally with double prefix (bug#19130).
4713 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4715         * net/eww.el (eww-display-html): Decode the document-defined charset.
4716         (eww): Pop to the *eww* buffer immediately after executing the
4717         `M-x eww' command to avoid having buffers pop up later.
4718         (eww-display-html): Don't pop the *eww* buffer.
4719         (eww-display-raw): Ditto.
4720         (eww-display-image): Ditto.
4721         (eww-follow-link): Make going to #targets in the page work again.
4723 2014-11-23  Ivan Shmakov  <ivan@siamics.net>
4725         * net/eww.el (eww-suggest-uris): New variable.
4726         (eww-suggested-uris): New function.
4727         (eww): Default to URL under point.
4728         (eww-links-at-point): New function.
4730 2014-11-20  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
4732         * net/eww.el (eww-add-bookmark): Fix bookmark titles.
4734 2014-11-17  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
4736         * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
4738 2014-11-23  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
4740         * net/eww.el (eww-set-character-encoding): New command and keystroke.
4741         (eww-display-raw): Use it (bug#16225).
4743 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4745         * net/nsm.el (network-security-level): Rename from
4746         `nsm-security-level' and documented.
4748         * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
4749         we're sending a password.
4751         * net/nsm.el: New file that implements a Network Security Manager.
4753         * net/network-stream.el (open-network-stream): Add a new
4754         :warn-unless-encrypted parameter.
4755         (network-stream-open-plain): Allow warning unless encrypted.
4756         (network-stream-open-starttls): Call the Network Security Manager.
4757         (network-stream-open-tls): Ditto.
4759 2014-11-23  Leo Liu  <sdl.web@gmail.com>
4761         * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
4762         (calendar-chinese-to-absolute-for-diary)
4763         (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
4764         Handle leap months in Chinese calendar.  (Bug#18953)
4766 2014-11-22  Alan Mackenzie  <acm@muc.de>
4768         Fix error with `mark-defun' and "protected:" in C++ Mode.
4769         * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
4770         return code of (label) from c-beginning-of-decl-1.  (Bug#19134)
4772 2014-11-22  Ulf Jasper  <ulf.jasper@web.de>
4774         * net/newst-backend.el (newsticker--sentinel-work):
4775         Tell `libxml-parse-xml-region' to discard comments.  (Bug#18787)
4777 2014-11-22  Michael Albinus  <michael.albinus@gmx.de>
4779         * net/tramp-sh.el (tramp-sh-handle-start-file-process)
4780         (tramp-sh-handle-process-file): Propagate `process-environment'.
4782         * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
4783         Tramp propagates environment variables now.
4785 2014-11-22  Eric S. Raymond  <esr@snark>
4787         * vc/vc-filewise.el: New file to isolate code used only by the
4788         file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
4789         live in vc.el and certainly not in vc-hooks.el.
4791         * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name  -> vc-master-name.
4792         This is preparatory to isolating all the 'master' functions
4793         used only by the file-oriented back ends.  With this done first,
4794         the substantive diffs will be easier to read.
4796 2014-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4798         * play/morse.el (nato-alphabet): Mark URL in docstring in a way
4799         that is recognized by `help-mode'.
4801 2014-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4803         * desktop.el (desktop-create-buffer): Use activate-mark to set
4804         `mark-active' (bug#19058).
4806 2014-11-21  Eric S. Raymond  <esr@snark>
4808         * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
4809         nil state.
4811 2014-11-21  Eli Zaretskii  <eliz@gnu.org>
4813         * vc/vc.el (vc-deduce-fileset): Support invocation from
4814         *vc-change-log* buffer.  (Bug#19084)
4816 2014-11-13  Matthew Leach  <matthew@mattleach.net>
4818         * arc-mode.el (archive-visit-single-files): New.
4819         (archive-mode): Visit file if archive contains a single file.
4820         (Bug#1702)
4822 2014-11-21  Ulrich Müller  <ulm@gentoo.org>
4824         * vc/vc.el: Fix a typo in the commentary.
4826 2014-11-20  Eric S. Raymond  <esr@snark.thyrsus.com>
4828         * vc/vc-src.el, vc/vc.el: Added support for SRC.  Needs more
4829         testing and a real log-view mode.
4831         * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
4832         * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
4833         * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
4834         checkout methods; where it matters (which is only in SCCS and RCS)
4835         files are always checked out editable.  This may actually have
4836         been dynamically true already - it looks like the vc-next-action
4837         code evolved past visiting the other case.  Tested with RCS.
4839         * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
4840         * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
4841         * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
4842         argument from the backend checkin methods.  Only the RCS, SCCS,
4843         and CVS back ends tried to do anything with it, and that code was
4844         never exercised.  Chiseling away the cruft of decades...
4846 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4848         * net/eww.el (eww-render): Remove a no-op :title setting.
4850 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
4852         * net/eww.el (eww-history-limit): New variable.
4853         (eww-save-history): Use it (bug#19105).
4854         (eww-reload): Reload the page in the right buffer.
4856 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4858         * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
4860 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
4862         * net/eww.el (eww-desktop-remove-duplicates)
4863         (eww-restore-desktop, eww-restore-reload-prompt): New variables.
4864         (eww-mode): Set up desktop mode (bug#18010).
4865         (eww-desktop-data-save, eww-desktop-data-1)
4866         (eww-desktop-history-duplicate, eww-desktop-misc-data)
4867         (eww-restore-desktop): New functions.
4869 2014-11-19  Eli Zaretskii  <eliz@gnu.org>
4871         * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
4872         correct buffer.  (Bug#19101)
4874 2014-11-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4876         * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
4877         `diff-switches' if `vc-git-diff-switches' is nil.  (Bug#19099)
4879 2014-11-19  Artur Malabarba  <bruce.connor.am@gmail.com>
4881         * ido.el (ido-bury-buffer-at-head): New command.
4882         (ido-buffer-completion-map): Bind it to C-S-b.
4884 2014-11-18  Juri Linkov  <juri@linkov.net>
4886         * simple.el (next-line-or-history-element): Wrap next-line
4887         in with-no-warnings.
4888         (previous-line-or-history-element): Wrap previous-line
4889         in with-no-warnings.
4891 2014-11-18  Juri Linkov  <juri@linkov.net>
4893         * progmodes/grep.el (grep-compute-defaults):
4894         Compute grep-highlight-matches before its use.
4896 2014-11-18  Juri Linkov  <juri@linkov.net>
4898         * replace.el (query-replace-from-to-separator): Turn defvar into
4899         defcustom.  Wrap char-displayable-p in ignore-errors because an
4900         attempt to autoload char-displayable-p fails during pre-loading.
4901         Move (propertize "\0" ... 'separator t) out of customizable part
4902         to query-replace-read-from.
4903         (query-replace-read-from): Call custom-reevaluate-setting on
4904         query-replace-from-to-separator to reevaluate the separator
4905         depending on the return value of char-displayable-p.
4906         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
4908 2014-11-18  Juri Linkov  <juri@linkov.net>
4910         * bindings.el (minibuffer-local-map): Rebind [down] from
4911         next-history-element to next-line-or-history-element, and [up]
4912         from previous-history-element to previous-line-or-history-element.
4914         * simple.el (next-line-or-history-element)
4915         (previous-line-or-history-element): New commands.
4916         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
4918 2014-11-18  Leo Liu  <sdl.web@gmail.com>
4920         * emacs-lisp/nadvice.el (define-advice): New macro.
4921         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4922         Add define-advice.
4923         (lisp-font-lock-keywords-1): Add define-advice.
4925 2014-11-18  Daiki Ueno  <ueno@gnu.org>
4927         * epg.el (epg-context): New slot EDIT-CALLBACK.
4928         (epg--process-filter): Call EDIT-CALLBACK when editing a key.
4929         (epg-reset): Reset EDIT-CALLBACK of the context.
4930         (epg-start-edit-key): New function.
4931         (epg-edit-key): New function.
4933 2014-11-18  Paul Eggert  <eggert@cs.ucla.edu>
4935         Port new time stamp handling to Emacs 23.2.
4936         This fix is for Gnus.  Reported by Katsumi Yamaoka.
4937         * calendar/time-date.el (time-add, time-subtract, time-less-p):
4938         Use eval-and-compile, not eval-when-compile.
4940 2014-11-18  Daiki Ueno  <ueno@gnu.org>
4942         * epg.el (epg-context-set-passphrase-callback)
4943         (epg-context-set-progress-callback): Check if the CALLBACK
4944         argument is a function, instead of a cons.
4946 2014-11-18  Daiki Ueno  <ueno@gnu.org>
4948         * epa-file.el (epa-file-insert-file-contents)
4949         (epa-file-write-region): Remove redundant check of
4950         epa-pinentry-mode.
4951         * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4952         (epa-sign-region, epa-encrypt-region): Remove redundant check of
4953         epa-pinentry-mode.
4955 2014-11-18  Daiki Ueno  <ueno@gnu.org>
4957         * epa-file.el (epa-file-insert-file-contents): Don't show
4958         "*Error*" buffer if input file does not exist.
4959         Reported by Herbert J. Skuhra.
4961 2014-11-18  Paul Pogonyshev  <pogonyshev@gmail.com>
4962             Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4964         * progmodes/cc-langs.el: Support some of the new keywords in C++11.
4965         An alternative version of the patch from bug#13871.
4966         (c-operators): Add "alignof".
4967         (c-primitive-type-kwds): Add "char16_t", "char32_t".
4968         (c-type-modifier-kwds): Add "constexpr", "noexcept".
4969         (c-modifier-kwds): Add "thread_local".
4970         (c-constant-kwds): Add "nullptr".
4972 2014-11-17  Michal Nazarewicz  <mina86@mina86.com>
4974         * textmodes/tildify.el (tildify-pattern, tildify-space-string):
4975         New variables for specifying tildify pattern and representation of
4976         a hard space -- a no-break space by default -- respectively.
4977         Being buffer-local they are much easier to handle than
4978         `tildify-string-alist' and `tildify-pattern-alist' respectively
4979         that have been used so far.  They also works better with derived
4980         modes.
4981         (tildify-foreach-region-function): New variable specifying
4982         a function determining portions of buffer that should be
4983         tildified.  It allows major modes to create a filtering function
4984         more elaborate than a set of regular expressions.  Initialized to
4985         `tildify--deprecated-ignore-evironments' by default to handle now
4986         deprecated `tildify-ignored-environments-alist' variable.
4987         (tildify--foreach-region): A new function that takes
4988         `tildify-foreach-region-function' into account and calls callback
4989         for regions of the buffer that should be tildified.
4990         (tildify-foreach-ignore-environments): A new function which can be
4991         partially applied and used as `tildify-foreach-region-function'.
4992         (tildify-ignored-environments-alist, tildify-pattern)
4993         (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
4994         (tildify--find-env): Rename from `tildify-find-env' and mark as
4995         obsolete.
4996         (tildify--deprecated-ignore-evironments): New function,
4997         immediately marked as obsolete, used to handle deprecated
4998         `tildify-ignored-environments-alist'.
5000         * textmodes/tex-mode.el (tex-common-initialization):
5001         Set `tildify-space-string' and `tildify-foreach-region-function'
5002         variables in all variants of TeX mode since `tildify-string-alist'
5003         and `tildify-ignored-environments-alist' are now empty by default.
5005         * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
5006         If encoding supports it use no-break space instead of character
5007         entity; this changes previous default which used a numeric
5008         reference.
5010         * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
5011         If encoding does not support no-break space, use numeric reference;
5012         this changes previous default which used named entity (“&nbsp;”)
5013         in HTML mode.
5015 2014-11-17  Ulf Jasper  <ulf.jasper@web.de>
5017         * calendar/icalendar.el (icalendar-export-alarms):
5018         New customizable variable.  (Bug#5433)
5019         (icalendar-export-region): Export alarms as specified in
5020         `icalendar-export-alarms'.
5021         (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
5022         New functions for exporting alarms.
5024 2014-11-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5026         * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
5028 2014-11-17  Paul Eggert  <eggert@cs.ucla.edu>
5030         Port new time stamp handling to old Emacs and to XEmacs.
5031         This is needed for Gnus, which copies time-date.el and which
5032         runs on older Emacs implementations.
5033         * calendar/time-date.el (with-decoded-time-value):
5034         Handle 'nil' and floating-point arg more compatibly with new Emacs.
5035         (encode-time-value, with-decoded-time-value):
5036         Obsolete only if new Emacs.
5037         (time-add, time-subtract, time-less-p): Define if not new Emacs.
5039         Improve time stamp handling, and be more consistent about it.
5040         This implements a suggestion made in:
5041         http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
5042         Among other things, this means timer.el no longer needs to
5043         autoload the time-date module.
5044         * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
5045         * arc-mode.el (archive-ar-summarize):
5046         * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
5047         * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
5048         (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
5049         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5050         * proced.el (proced-time-lessp):
5051         * timezone.el (timezone-time-from-absolute):
5052         * type-break.el (type-break-schedule, type-break-time-sum):
5053         Simplify by using new functionality.
5054         * calendar/cal-dst.el (calendar-next-time-zone-transition):
5055         Do not return time values in obsolete and undocumented (HI . LO)
5056         format; use (HI LO) instead.
5057         * calendar/time-date.el (with-decoded-time-value):
5058         Treat 'nil' as current time.  This is mostly for XEmacs.
5059         (encode-time-value, with-decoded-time-value): Obsolete.
5060         (time-add, time-subtract, time-less-p): Use no-op autoloads, for
5061         XEmacs.  Define only if XEmacs, as they're now C builtins in Emacs.
5062         * ldefs-boot.el: Update to match new time-date.el
5063         * proced.el: Do not require time-date.
5065 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5067         * net/eww.el (eww-mode): Make the buffer read-only.
5068         (eww-form-text): Inhibit read-only-ness in text input fields
5069         (bug#16476).
5071 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5073         * simple.el (execute-extended-command--shorter): Cut search here.
5074         (execute-extended-command): Instead of here.
5076 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5078         * progmodes/python.el (python-mode): Avoid use of set-local to
5079         keep Emacs 24.x compatibility.
5081 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5083         * net/shr.el (shr): Move to the new defgroup `web'.
5085         * net/eww.el (eww): Ditto.
5087         * simple.el (execute-extended-command): Don't show the help
5088         message if the binding isn't significantly shorter than the
5089         M-x command the user typed (bug#19013).
5091 2014-11-16  Ulf Jasper  <ulf.jasper@web.de>
5093         * calendar/icalendar.el (icalendar--convert-tz-offset):
5094         Return complete cons when offsets of standard time and daylight saving
5095         time are equal.
5096         (icalendar-export-region): Fix unbound variable warning.
5098 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5100         * progmodes/python.el (run-python): Allow CMD to be optional and
5101         default it to a safe command, even for Windows.  (bug#18596)
5103 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5105         * progmodes/python.el (python-shell-calculate-command):
5106         Rename from python-shell-parse-command.  Cleanup.
5107         (run-python, run-python-internal): Use it.
5108         (python-shell-calculate-pythonpath): Rename from
5109         python-new-pythonpath.
5110         (python-shell-calculate-process-environment): Use it.
5111         (python-shell-calculate-exec-path): Add comment.
5113 2014-11-16  Thierry Banel  <tbanelwebmin@free.fr>  (tiny change)
5115         * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
5116         for date handling.
5118 2014-11-16  Andreas Schwab  <schwab@linux-m68k.org>
5120         * version.el (emacs-repository-get-version): Use git rev-parse
5121         instead of git log.
5123 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5125         * progmodes/python.el (python-indent-calculate-levels):
5126         Fix indentation behavior multiline dedenter statement.  (Bug#18432)
5128 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5130         * progmodes/python.el (python-indent-region):
5131         Use python-indent-line and skip special cases.  (Bug#18843)
5133 2014-11-16  Peder O. Klingenberg  <peder@klingenberg.no>
5135         * mail/emacsbug.el (report-emacs-bug): Make a better guess at
5136           envelope-from when reporting through sendmail (bug#19054).
5138 2014-11-16  Oscar Fuentes  <ofv@wanadoo.es>
5140         Add faces for the VC modeline state indicator.
5141         * vc/vc-hooks.el:
5142         (vc-state-faces, vc-state-base-face)
5143         (vc-up-to-date-state, vc-needs-update-state)
5144         (vc-locked-state, vc-locally-added-state)
5145         (vc-conflict-state, vc-removed-state)
5146         (vc-missing-state, vc-edited-state):
5147         New faces.
5148         (vc-default-mode-line-string): Use them
5150 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5152         * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
5154 2014-11-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5156         * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
5158 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5160         * progmodes/python.el (python-eldoc-setup-code): Enhance string
5161         type checks, simplify printing.  (Bug#18962)
5163 2014-11-14  Ivan Andrus  <darthandrus@gmail.com>
5165         * progmodes/python.el (python-shell-font-lock-kill-buffer):
5166         (python-shell-font-lock-with-font-lock-buffer)
5167         (python-shell-get-buffer, python-ffap-module-path):
5168         Use `derived-mode-p' instead of equality test on `major-mode'.
5170 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5172         * progmodes/python.el (python-shell-virtualenv-root): Rename from
5173         python-shell-virtualenv-path.
5174         (python-shell-internal-get-process-name)
5175         (python-shell-calculate-process-environment)
5176         (python-shell-calculate-exec-path): Use it.
5178 2014-11-14  Eli Zaretskii  <eliz@gnu.org>
5180         * bindings.el (search-map): Fix last change: don't use 'kbd' in
5181         bindings.el, since it is not yet loaded when bindings.el is
5182         preloaded.
5184 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5186         * progmodes/python.el (python-shell-completion-get-completions):
5187         Fix previous merge.
5189 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5191         * net/eww.el (eww-render): Don't set the title to the URL.
5193 2014-11-13  Ulrich Müller  <ulm@gentoo.org>
5195         * version.el (emacs-repository-get-version): Call `git log'
5196         command with proper format argument (bug#19049).
5198 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5200         * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
5202 2014-11-14  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5204         * net/eww.el (eww-search-words): New command (bug#16258).
5206 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5208         * net/shr.el (shr-inhibit-images): Add a doc string.
5210         * net/eww.el (eww-after-render-hook): New variable.
5211         (eww-render): Use it.
5213         * net/shr.el (shr-descend): Don't descend further than
5214         `max-specpdl-size' allows (bug#16587).
5215         (shr-depth): New variable.
5216         (shr-warning): New variable.
5218 2014-11-13  Ivan Shmakov  <ivan@siamics.net>
5220         * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
5221         (shr-expand-url): Expand absolute URLs correctly (bug#17958).
5223 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5225         * net/eww.el (eww): Add comment to clarify.
5227         * net/shr.el (shr-parse-image-data): Remove blocked bits from
5228         external SVG images.
5229         (shr-tag-object): Display images in <object> forms (bug#16244).
5230         (shr-tag-table): Also insert <objects> after the tables.
5232 2014-11-13  Michael Albinus  <michael.albinus@gmx.de>
5234         * vc/vc-hg.el (vc-hg-state): Disable pager.  (Bug#18940)
5236 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5238         * net/eww.el (eww-form-file): Fix version number.
5240 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5242         * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
5244 2014-11-10  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5246         * net/eww.el(eww-form-file(defface)): New defface of file upload form.
5247         (eww-submit-file): New key map of file upload.
5248         (eww-form-file): New file upload button and file name context.
5249         (eww-select-file): Select file and display selected file name.
5250         (eww-tag-input): Handle input tag of file type.
5251         (eww-update-field): Add point offset.
5252         (eww-submit): Add submit with multipart/form-data.
5254 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5256         * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
5257         Allow taking a buffer to render data in.  This allows using several
5258         eww buffers (bug#16211).
5260 2014-11-10  Charles Rendleman  <carendle@gmail.com>  (tiny change)
5262         * net/eww.el (eww-download-callback): Save only the file contents,
5263         not the headers.
5265 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5267         * net/eww.el (eww-data): New plist to store all the data relevant
5268         to a single page, used throughout the file instead of the
5269         variables `eww-current-url', `eww-current-dom',
5270         `eww-current-source', and `eww-current-title'.
5271         (eww-readable): Copy over pertinent data from the parent page.
5272         (eww-save-history): Don't let the history grow infinitely.
5274         * net/eww.el: Remove `eww-next-url', `eww-previous-url',
5275         `eww-up-url', `eww-home-url', `eww-start-url' and
5276         `eww-contents-url' and put the data into the `eww-data' plist.
5277         This allow restoring these values after going back in the history.
5279 2014-11-10  Sylvain Chouleur  <sylvain.chouleur@gmail.com>  (tiny change)
5281         Allow VTIMEZONE where daylight and standard time zones are equal.
5282         See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
5283         * calendar/icalendar.el (icalendar--convert-tz-offset):
5284         Support timezone without daylight saving time.
5286 2014-11-10  Glenn Morris  <rgm@gnu.org>
5288         * startup.el (command-line): Handle nil elements in load-path.
5290 2014-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5292         * help.el (view-lossage): Include the actual commands run.
5294 2014-11-10  Dmitry Gutov  <dgutov@yandex.ru>
5296         * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
5297         no state is specified.  (Bug#18964)
5299 2014-11-09  Eric Ludlam  <zappo@gnu.org>
5301         * emacs-lisp/eieio-custom.el (eieio-customize-object):
5302         Set eieio-cog (current group) to g, which is an improved form of input
5303         group.
5305 2014-11-09  Juri Linkov  <juri@jurta.org>
5307         * isearch.el (isearch-message-prefix): Show "Multi-file" and
5308         "Multi-buffer" instead of "Multi".  (Bug#13592)
5310         * misearch.el (multi-isearch-file-list):
5311         Autoload multi-isearch-buffer-list and multi-isearch-file-list.
5312         (multi-isearch-end): Reset multi-isearch-buffer-list and
5313         multi-isearch-file-list to nil.
5315 2014-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5317         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5318         Don't call byte-compile-preprocess since the result will go through
5319         cconv.
5320         (byte-compile-output-docform): Handle uninterned `name' correctly.
5321         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
5322         to circumvent byte-compiler bug.
5324         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
5325         (macroexp--compiler-macro): Remove left-over debug code.
5327         * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
5329 2014-11-08  Juri Linkov  <juri@jurta.org>
5331         * simple.el (shell-command): Use buffer-name when output-buffer is
5332         a buffer.  (Bug#18096)
5334 2014-11-08  Juri Linkov  <juri@jurta.org>
5336         * minibuffer.el (minibuffer-completion-help): Compare this-command
5337         with completion-at-point.  (Bug#17809)
5339 2014-11-08  Glenn Morris  <rgm@gnu.org>
5341         * emacs-lisp/bytecomp.el (byte-compile-report-error):
5342         Allow the argument to be a string.  Due to the vague doc,
5343         it was already being used this way.
5345 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
5347         * net/tramp.el (tramp-check-cached-permissions): Include hop in
5348         the constructed Tramp file name.  (Bug#18943)
5350 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5352         * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
5353         (bug#18952).
5354         (cua-set-mark, cua--post-command-handler-1):
5355         * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
5357 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
5359         * files.el (file-name-non-special): Wrap the call of
5360         `insert-file-contents' by `unwind-protect', in order to set the
5361         buffer's file name anyway.  (Bug#18891)
5363 2014-11-08  Alan Mackenzie  <acm@muc.de>
5365         Fix wrong bound to c-font-lock-declarators.
5366         * progmodes/cc-fonts.el (c-font-lock-declarations):
5367         Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
5368         the buffer is sometimes narrowed to less than "limit" (e.g., in
5369         the presence of macros).  (Bug#18948)
5371 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
5373         * net/tramp.el (tramp-error-with-buffer): Show connection buffer
5374         only when message appeared in minibuffer.  (Bug#18891)
5376         * net/tramp-adb.el (tramp-adb-handle-file-attributes):
5377         * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
5378         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
5379         case of errors.
5381 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5383         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5384         Don't compile before eval in `eval-and-compile'.
5385         (byte-compile-arglist-warn): Add check for defining macros after their
5386         first use.  Check call use even if the function is fboundp.
5388 2014-11-08  Richard Stallman  <rms@gnu.org>
5390         * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
5391         Check more carefully for mime-part specified character set.
5392         Check for mime-part Content Transfer Encoding.
5393         Notify if no armor found.
5395 2014-11-08  Martin Rudalics  <rudalics@gmx.at>
5397         * faces.el (face-set-after-frame-default): Enable running
5398         `window-configuration-change-hook'.
5400 2014-11-07  Juri Linkov  <juri@jurta.org>
5402         * replace.el: History for query replace pairs.
5403         (query-replace-defaults): Promote to a list of cons cell.  Doc fix.
5404         (query-replace-from-to-separator): New variable.
5405         (query-replace-read-from): Let-bind query-replace-from-to-history
5406         to a list of FROM-TO strings created from query-replace-defaults
5407         and separated by query-replace-from-to-separator.  Use it as
5408         the history while reading from the minibuffer.  Split the returned
5409         string by the separator to get FROM and TO parts, and add them
5410         to the history variables.
5411         (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
5412         (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
5413         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
5415         * isearch.el (isearch-text-char-description): Keep characters
5416         intact and put formatted strings with the `display' property.
5418 2014-11-07  Martin Rudalics  <rudalics@gmx.at>
5420         * cus-start.el (frame-resize-pixelwise): Fix group.
5421         (frame-inhibit-implied-resize): Add entry.
5423 2014-11-07  Daiki Ueno  <ueno@gnu.org>
5425         * epa.el (epa-pinentry-mode): New user option.
5426         (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5427         (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
5428         * epa-file.el (epa-file-insert-file-contents)
5429         (epa-file-write-region): Respect epa-pinentry-mode.
5431 2014-11-07  Daiki Ueno  <ueno@gnu.org>
5433         * epg.el (epg--list-keys-1): Ignore fields after the 15th field
5434         (bug#18979).  Reported by Hideki Saito.
5436 2014-11-06  Daiki Ueno  <ueno@gnu.org>
5438         * emacs-lisp/package.el (package--display-verify-error): New function.
5439         (package--check-signature): Use it to display output sent to stderr.
5441 2014-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5443         * subr.el (pop): Don't call the getter twice (bug#18968).
5445         * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
5446         uses of `funcall'.
5448 2014-11-06  Daiki Ueno  <ueno@gnu.org>
5450         * epa.el (epa-error-buffer): New variable.
5451         (epa-display-error): New function.
5452         (epa-decrypt-file, epa-verify-file, epa-verify-region)
5453         (epa-delete-keys, epa-import-keys): Display output sent to stderr.
5454         (epa-sign-file, epa-sign-region, epa-encrypt-region)
5455         (epa-export-keys, epa-insert-keys): Display output sent to stderr.
5456         Use setf instead of epg-context-set-*.
5457         * epa-file.el (epa-file-insert-file-contents):
5458         Use epa-display-error instead of epa-display-info.  Mimic the behavior
5459         of jka-compr when decryption program is not found.
5460         (epa-file-write-region): Use epa-display-error instead of
5461         epa-display-info.
5463 2014-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5465         * vc/vc.el (vc-region-history): New command.
5466         (vc-print-log-internal): Use cl-some.
5468         * vc/vc-git.el (vc-git-region-history): New function.
5469         (vc-git-region-history-mode-map)
5470         (vc-git--log-view-long-font-lock-keywords)
5471         (vc-git-region-history-font-lock-keywords): New vars.
5472         (vc-git-region-history-font-lock): New function.
5473         (vc-git-region-history-mode): New major mode.
5475 2014-11-05  Tassilo Horn  <tsdh@gnu.org>
5477         * net/eww.el (subr-x): Require subr-x at compile-time because eww
5478         uses string-trim.
5480 2014-11-05  Daiki Ueno  <ueno@gnu.org>
5482         * epg.el (epg-context): Add new slot ERROR-OUTPUT.
5483         (epg-error-output): New buffer-local variable.
5484         (epg--start): Initialize epg-error-output.
5485         (epg--process-filter): Record output lines sent to stderr, in
5486         epg-error-output.
5487         (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5488         slot of context.
5489         * epa-file.el (epa-file-insert-file-contents): On error, display
5490         output sent to stderr.
5491         (epa-file-write-region): Likewise.
5493 2014-11-05  Eli Zaretskii  <eliz@gnu.org>
5495         * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5496         returned by load-average.
5498 2014-11-05  Michael Albinus  <michael.albinus@gmx.de>
5500         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5501         a local copy; setting `inhibit-file-name-handlers' proper might be
5502         more performant.  (Bug#18751)
5504 2014-11-05  Glenn Morris  <rgm@gnu.org>
5506         * mail/emacsbug.el (report-emacs-bug): No longer include
5507         recent-keys in the report.  (Bug#18900)
5509 2014-11-04  Paul Eggert  <eggert@cs.ucla.edu>
5511         * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5513 2014-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
5515         * net/eww.el (eww): Trim URL with `string-trim'.
5516         Suggested by Vibhav Pant <vibhavp@gmail.com>.
5518 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5520         * net/eww.el (eww-score-readability): Don't count comments positively.
5522         * net/shr.el (shr-retransform-dom): Typo fix.
5524         * net/eww.el (eww-score-readability): Parse SVC images correctly.
5525         (eww-display-html): Don't leave point inside forms.
5527         * net/shr.el: Ditto.
5529 2014-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5531         * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5532         edebug-prin1-to-string already handles circularity.
5534         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5535         autoloading when specified as a lambda.
5537         * simple.el (execute-extended-command--last-typed): New var.
5538         (read-extended-command): Set it.
5539         Don't complete obsolete commands.
5540         (execute-extended-command--shorter-1)
5541         (execute-extended-command--shorter): New functions.
5542         (execute-extended-command): Use them to suggest shorter names.
5543         (indicate-copied-region, deactivate-mark): Use region-active-p.
5545 2014-11-03  Michael Albinus  <michael.albinus@gmx.de>
5547         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5548         local copy of FILENAME, when it is remote.  (Bug#18751)
5550         * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5551         an error when the command fails; the return code must indicate.
5552         (tramp-adb-send-command-and-check): Fix docstring.
5554 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5556         * net/shr.el (shr-retransform-dom): Don't ignore elements that
5557         have no children like <br />.
5559         * net/eww.el (eww-display-html): Clear `url-queue'.
5560         (eww-display-pdf): New function.
5561         (eww-render): Display PDFs with `doc-view'.
5562         (url-queue): Require `url-queue' to avoid compilation warning.
5563         (eww-colorize-region): Remove duplicate function.
5564         (eww-tag-body): Use `shr-colorize-region'.
5566 2014-11-03  Yoni Rabkin <yrk@gnu.org>
5568         * net/eww.el (eww-list-bookmarks): Autoload.
5570 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5572         * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5574         * net/eww.el (eww-display-html): The charset is called `utf-8',
5575         not `utf8'.
5576         (eww-readable): Decode the saved text correctly.
5577         (eww-readable): Save the history before displaying so that we can
5578         go back to the non-readable version.
5579         (eww-display-html): Don't try to decode the text if we've been
5580         passed in a pre-parsed DOM.
5581         (eww-tag-title): Remove newlines and extra whitespace from the
5582         displayed title.
5584 2014-11-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5586         * net/eww.el (eww-readable): New command and keystroke.
5588         * net/shr.el (shr-retransform-dom): New function.
5590         * net/eww.el (eww-display-html): Set `eww-current-source' in the
5591         correct buffer.
5592         (eww-view-source): Use it.
5594 2014-11-02  Ivan Shmakov  <ivan@siamics.net>
5596         * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5597         (Bug#18603).
5599 2014-11-02  Brian McKenna  <brian@brianmckenna.org>  (tiny change)
5601         * net/eww.el (eww-submit): Encode empty form values as "".  (Bug#17785).
5603 2014-11-02  Ivan Shmakov  <ivan@siamics.net>
5605         * net/eww.el (eww): Allow "file:/file/name" URLs.  (Bug#18825).
5607 2014-11-02  Ivan Shmakov  <ivan@siamics.net>
5609         * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5610         (Bug#18834).
5612 2014-11-02  Eric Abrahamsen  <eric@ericabrahamsen.net>
5614         * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5615         use as advice.
5616         (edebug-setup-hook): Advise `edebug-prin1-to-string'.  (Bug#18897)
5618 2014-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5620         * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5621         (bug#18821).
5622         * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5624 2014-11-01  Michael R. Mauger  <michael@mauger.com>
5626         * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5627         syntax, add new keywords, and parse longer keywords first.
5628         (sql-redirect-one): Protect against empty command.
5629         (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5630         to SQL.  (Bug#14759)
5632 2014-11-01  Michael R. Mauger  <michael@mauger.com>
5634         * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5635         Bug#16814 with let-bind of comint-input-ring variables around read
5636         and save functions.
5638 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
5640         * net/tramp-cache.el (tramp-get-file-property)
5641         (tramp-set-file-property): Check that `tramp-cache-get-count-*'
5642         and `tramp-cache-set-count-*' are bound.  Otherwise, there might
5643         be compiler warnings.
5645         * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
5646         Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
5648 2014-11-01  Eli Zaretskii  <eliz@gnu.org>
5650         * progmodes/compile.el (compilation-mode): Turn off deferred
5651         fontifications locally.  (Bug#18856)
5653 2014-11-01  Wolfgang Jenkner  <wjenkner@inode.at>
5655         * net/tramp-sh.el (tramp-send-command): Fix the case where the
5656         remote-echo connection property is non-nil (bug#18858).
5658 2014-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5660         * simple.el (newline): Add assertions to try and help catch bug#18913.
5662         * emulation/cua-base.el (cua-delete-region): Use delete-active-region
5663         (bug#18886).
5664         (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
5666 2014-11-01  Kim F. Storm  <storm@cua.dk>
5668         Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
5669         * delsel.el (delete-selection-save-to-register)
5670         (delsel--replace-text-or-position): New vars.
5671         (delete-active-region): Use them.
5672         (delete-selection-repeat-replace-region): New command, moved from
5673         cua-base.el.
5674         * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
5675         (cua-repeat-replace-region): Move command to delsel.el.
5676         (cua--init-keymaps): Update binding accordingly.
5677         (cua-mode): Set delete-selection-save-to-register.
5679 2014-11-01  Alan Mackenzie  <acm@muc.de>
5681         Make blink-parens work with a closing template delimiter.
5682         * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
5683         before calling blink-paren-function, so as to apply syntax-table
5684         properties to the ">".
5686 2014-11-01  Jan Djärv  <jan.h.d@swipnet.se>
5688         * select.el (gui-get-selection): Comment: data-type ignored on NS.
5690 2014-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5692         * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
5693         (macroexp--expand-all): Unrelated tweaks.
5695         * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
5697 2014-10-30  Glenn Morris  <rgm@gnu.org>
5699         * startup.el (command-line): Remove pointless attempt to avoid
5700         statting the file-system (which expand-file-name doesn't do).
5702 2014-10-30  Daniel Colascione  <dancol@dancol.org>
5704         Add "enum class" support to C++ mode.
5705         * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
5706         (c-after-brace-list-key): New language consts/variables.
5707         * progmodes/cc-engine.el (c-looking-at-decl-block):
5708         Exclude spurious match of "enum struct" from decl-block recognition.
5709         (c-backward-colon-prefixed-type): New function.
5710         (c-backward-over-enum-header): Call above function to extend
5711         recognition of enum structure.
5713 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5715         * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
5716         (c-lang-defconst):
5717         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
5719 2014-10-30  Eli Zaretskii  <eliz@gnu.org>
5721         * progmodes/compile.el (compilation-start):
5722         If compilation-scroll-output is non-nil, don't force window-start of
5723         the compilation buffer to be at beginning of buffer.  (Bug#18874)
5725         * startup.el (fancy-about-text): Read the entire tutorial, not
5726         just its first 256 bytes.  (Bug#18760)
5728 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5730         * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
5731         * emacs-lisp/cl-extra.el: Add missing provide.
5733         * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
5734         all args are copyable (bug#18767).
5735         (=, <, >, <=, >=): Re-enable the optimization.
5737 2014-10-29  Glenn Morris  <rgm@gnu.org>
5739         * net/rcirc.el (rcirc-fill-column): Unbump :version.  Mark :risky.
5741         * version.el (emacs-bzr-version, emacs-bzr-get-version):
5742         Revert 2014-10-26 change.
5744 2014-10-29  Paul Eggert  <eggert@cs.ucla.edu>
5746         Simplify use of current-time and friends.
5747         * allout-widgets.el (allout-widgets-hook-error-handler):
5748         * calendar/appt.el (appt-display-message):
5749         * calendar/icalendar.el (icalendar--convert-float-to-ical):
5750         * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
5751         (timeclock-last-period, timeclock-day-base):
5752         * eshell/em-ls.el (eshell-ls-file):
5753         * eshell/esh-util.el (eshell-parse-ange-ls):
5754         * generic-x.el (named-database-print-serial):
5755         * net/newst-backend.el (newsticker--get-news-by-url-callback)
5756         (newsticker-get-news, newsticker--sentinel-work)
5757         (newsticker--image-get, newsticker--image-sentinel):
5758         * net/tramp-sh.el (tramp-get-remote-touch):
5759         * progmodes/opascal.el (opascal-debug-log):
5760         * textmodes/remember.el (remember-mail-date)
5761         (remember-store-in-files):
5762         * vc/vc-annotate.el (vc-annotate-display-autoscale)
5763         (vc-default-annotate-current-time):
5764         * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
5765         * vc/vc-cvs.el (vc-cvs-annotate-current-time):
5766         * vc/vc-rcs.el (vc-rcs-annotate-current-time):
5767         Omit unnecessary call to current-time.
5768         * calendar/time-date.el (time-to-seconds) [!float-time]:
5769         * vc/vc-annotate.el (vc-annotate-convert-time):
5770         Use current time if arg is nil, to be compatible with float-time.
5771         (time-date--day-in-year): New function, with most of the guts of
5772         the old time-to-day-in-year.
5773         (time-to-day-in-year): Use it.
5774         (time-to-days): Use it, to avoid decoding the same time stamp twice.
5775         * calendar/timeclock.el (timeclock-time-to-date):
5776         Arg is now optional, like current-time-string.
5777         (timeclock-update-mode-line):
5778         Don't call current-time twice to get the current time stamp,
5779         as this can lead to inconsistent results.
5780         * completion.el (cmpl-hours-since-origin):
5781         * ido.el (ido-time-stamp):
5782         * vc/vc-annotate.el (vc-annotate-convert-time):
5783         Simplify by using float-time.
5784         * completion.el (save-completions-to-file):
5785         Rename local var to avoid confusion.
5786         * net/rcirc.el (rcirc-float-time): Simplify to an alias because
5787         time-to-seconds now behaves like float-time with respect to nil arg.
5788         * subr.el (progress-reporter-do-update):
5789         Don't call float-time unless needed.
5791 2014-10-29  Leo Liu  <sdl.web@gmail.com>
5793         * net/rcirc.el (rcirc-fill-column): Use function.
5794         (rcirc-markup-fill): Remove adjustment.
5796 2014-10-28  Christopher Schmidt  <ch@ristopher.com>
5798         * calc/calc.el (quick-calc):
5799         * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
5801 2014-10-28  Sam Steingold  <sds@gnu.org>
5803         * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
5804         the sake of `window-body-width' (in addition to `frame-width').
5806 2014-10-26  Eric S. Raymond  <esr@thyrsus.com>
5808         * version.el: Fix some fallback values to conform to the actual
5809         release number.
5811 2014-10-25  Eric S. Raymond  <esr@thyrsus.com>
5813         * Makefile.in: Change some production names so they're neutral
5814         about the repository type.
5816 2014-10-25  Michael Albinus  <michael.albinus@gmx.de>
5818         * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
5819         (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
5820         during initialization.  (Bug#18774)
5822 2014-10-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5824         * ses.el (macroexp): Add require for this package, so that
5825         function `ses--cell' gets macroexp-quote --- this change was
5826         supposed to be in my previous commit, but left out by mistake.
5827         (ses--cell): Do not make formula a macroexp-quote of value when
5828         value, not formula, is *skip*.
5830 2014-10-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5832         * ses.el (macroexp): Add require for this package, so that function
5833         `ses--cell gets macroexp-quote.
5834         (ses--cell): Makes formula a macroexp-quote of value when formula
5835         is nil.  The rationale of this changr is to allow in the future
5836         shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
5837         instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'.  In such a case
5838         reference list REFLIST would be re-computed after load --- thus
5839         trading off load time against file size.
5841         * emacs-lisp/package.el (package--alist-to-plist-args):
5842         Use macroexp-quote instead of a lambda expression which has the same
5843         content as macroexp-quote.
5844         (macroexp): Add require for this package, so that function
5845         `package--alist-to-plist-args' gets macroexp-quote.
5847         * emacs-lisp/macroexp.el (macroexp-quote): New defun.
5849 2014-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5851         * term/ns-win.el (ns-store-cut-buffer-internal)
5852         (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
5854 2014-10-24  Martin Rudalics  <rudalics@gmx.at>
5856         * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
5857         Calculate increment from last position instead of window edge.
5858         Add right- and bottom-divider bindings to transient map.
5860 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5862         * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
5863         even if :predicate was nil, for the benefit of typep.
5864         Record the name of the predicate for typep's use.
5865         (cl--make-type-test): Use pcase.  Obey new
5866         cl-deftype-satisfies property.
5868         * epg.el: Use cl-defstruct.
5869         (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
5870         (epg-data-string): Define via cl-defstruct.
5871         (epg--gv-nreverse): New macro.
5872         (epg-context--make): New constructor (provided vi cl-defstruct).
5873         (epg-make-context): Rewrite using it.
5874         (epg-context-protocol, epg-context-program)
5875         (epg-context-home-directory, epg-context-armor, epg-context-textmode)
5876         (epg-context-include-certs, epg-context-cipher-algorithm)
5877         (epg-context-digest-algorithm, epg-context-compress-algorithm)
5878         (epg-context-passphrase-callback, epg-context-progress-callback)
5879         (epg-context-signers, epg-context-sig-notations, epg-context-process)
5880         (epg-context-output-file, epg-context-result, epg-context-operation)
5881         (epg-context-pinentry-mode): Define using cl-defstruct.
5882         (epg-context-set-protocol, epg-context-set-program)
5883         (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
5884         (epg-context-set-digest-algorithm)
5885         (epg-context-set-sig-notations, epg-context-set-process)
5886         (epg-context-set-output-file, epg-context-set-result)
5887         (epg-context-set-operation, epg-context-set-pinentry-mode)
5888         (epg-context-set-compress-algorithm): Remove.  Use setf instead.
5889         (epg-context-set-armor, epg-context-set-textmode)
5890         (epg-context-set-signers): Redefine using setf
5891         and declare as obsolete.
5892         (epg-context-set-passphrase-callback)
5893         (epg-context-set-progress-callback): Use setf.
5894         (epg-signature-notations): Rename from epg-sig-notations.
5895         (epg-make-signature, epg-signature-status, epg-signature-key-id)
5896         (epg-signature-validity, epg-signature-fingerprint)
5897         (epg-signature-creation-time, epg-signature-expiration-time)
5898         (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
5899         (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
5900         (epg-signature-set-status, epg-signature-set-key-id)
5901         (epg-signature-set-validity, epg-signature-set-fingerprint)
5902         (epg-signature-set-creation-time, epg-signature-set-expiration-time)
5903         (epg-signature-set-pubkey-algorithm)
5904         (epg-signature-set-digest-algorithm, epg-signature-set-class)
5905         (epg-signature-set-version, epg-signature-set-notations): Remove.
5906         Use setf instead.
5907         (epg-make-new-signature, epg-new-signature-type)
5908         (epg-new-signature-pubkey-algorithm)
5909         (epg-new-signature-digest-algorithm, epg-new-signature-class)
5910         (epg-new-signature-creation-time, epg-new-signature-fingerprint):
5911         Define using cl-defstruct.
5912         (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
5913         (epg-key-user-id-list): Define using cl-defstruct.
5914         (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
5915         Use setf instead.
5916         (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
5917         (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
5918         (epg-sub-key-id, epg-sub-key-creation-time)
5919         (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
5920         cl-defstruct.
5921         (epg-sub-key-set-fingerprint): Remove.  Use setf instead.
5922         (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
5923         (epg-user-id-signature-list): Define using cl-defstruct.
5924         (epg-user-id-set-signature-list): Remove.  Use setf instead.
5925         (epg-make-key-signature, epg-key-signature-validity)
5926         (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
5927         (epg-key-signature-creation-time, epg-key-signature-expiration-time)
5928         (epg-key-signature-user-id, epg-key-signature-class)
5929         (epg-key-signature-exportable-p): Define using cl-defstruct.
5930         (epg-make-sig-notation, epg-sig-notation-name)
5931         (epg-sig-notation-value, epg-sig-notation-human-readable)
5932         (epg-sig-notation-critical): Define using cl-defstruct.
5933         (epg-sig-notation-set-value): Remove.  Use setf instead.
5934         (epg-make-import-status, epg-import-status-fingerprint)
5935         (epg-import-status-reason, epg-import-status-new)
5936         (epg-import-status-user-id, epg-import-status-signature)
5937         (epg-import-status-sub-key, epg-import-status-secret): Define using
5938         cl-defstruct.
5939         (epg-make-import-result, epg-import-result-considered)
5940         (epg-import-result-no-user-id, epg-import-result-imported)
5941         (epg-import-result-imported-rsa, epg-import-result-unchanged)
5942         (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
5943         (epg-import-result-new-signatures, epg-import-result-new-revocations)
5944         (epg-import-result-secret-read, epg-import-result-secret-imported)
5945         (epg-import-result-secret-unchanged, epg-import-result-not-imported)
5946         (epg-import-result-imports): Define using cl-defstruct.
5948         * emacs-lisp/package.el: Require EPG during macroexpansion.
5949         (package--check-signature, package-import-keyring): Use setf instead of
5950         epg-context-set-home-directory.
5952 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5954         * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
5956 2014-10-23  Leo Liu  <sdl.web@gmail.com>
5958         * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
5959         (cfengine3-create-imenu-index): Use it and use ` ' for separation.
5960         (cfengine3-current-defun): New function.
5961         (cfengine3-mode): Set add-log-current-defun-function.
5963 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5965         * select.el: Use lexical-binding.
5966         (gui-set-selection): Provide an implementation for non-GUI frames
5967         (bug#18791).
5968         * term/x-win.el: Use lexical-binding.
5969         (x-clipboard-yank): Fix up missed renamings.
5970         * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
5971         (w32--set-selection): Fix up var names.
5972         * term/pc-win.el: Use lexical-binding.
5973         (w16-selection-exists-p): Silence compiler warning.
5974         (w16-selection-owner-p): Fix up missed renamings.
5976         * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
5978         * frame.el (frame-notice-user-settings): Fix excessive quoting.
5980 2014-10-22  Tassilo Horn  <tsdh@gnu.org>
5982         * doc-view.el (doc-view-open-text): View the document's plain text
5983         in the current buffer instead of a new one.
5984         (doc-view-toggle-display): Handle the case where the current
5985         buffer contains the plain text contents of the document.
5986         (doc-view-initiate-display): Don't switch to fallback mode if the
5987         user wants to view the doc's plain text.
5988         (doc-view-set-doc-type): Use assoc-string instead of
5989         assoc-ignore-case.
5991 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5993         * subr.el (read-key): Fix clicks on the mode-line.
5994         (set-transient-map): Return exit function.
5996         * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
5997         (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
5998         (mouse-yank-secondary): Use gui-get-selection.
5999         (mouse--down-1-maybe-follows-link): Use read-key.
6001         * xt-mouse.el: Add `event-kind' property on the fly from
6002         xterm-mouse-translate-1 rather than statically at the outset.
6004 2014-10-21  Daniel Colascione  <dancol@dancol.org>
6006         * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
6007         change window configuration when we turn it off.
6009 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6011         Get rid of backend-dependent selection-handling functions for kill/yank
6012         and make it generic instead by relying on the lower-level selection
6013         management functions.
6015         * select.el (select-enable-clipboard): Rename from
6016         gui-select-enable-clipboard.
6017         (select-enable-primary): Move from x-win.el and rename from
6018         x-select-enable-primary.
6019         (gui-last-selected-text): Remove.
6020         (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
6021         New vars.
6022         (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
6023         (gui-select-text-alist, gui-selection-value-alist): Remove.
6024         (x-select-request-type): Move from x-win.el.
6025         (gui--selection-value-internal): New function, taken from x-win's
6026         x-selection-value-internal.
6027         (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
6028         (gui-set-selection-alist): Rename from gui-own-selection-alist and
6029         extend it to handle a nil value as a "disown" request.
6030         (gui-disown-selection-alist): Remove.
6031         (xselect-convert-to-delete): Adjust accordingly.
6032         (gui-set-selection): Simplify accordingly as well.  Use dotimes.
6034         * term/x-win.el (x-last-selected-text-primary)
6035         (x-select-enable-primary): Remove (moved to select.el).
6036         (x-select-request-type): Move to select.el.
6037         (x-selection-value-internal, x--selection-value): Remove functions.
6038         (gui-selection-value, gui-select-text): Remove moethods.
6039         (gui-set-selection): Merge own and disown methods.
6041         * term/w32-win.el (w32--select-text, w32--get-selection-value):
6042         Delete function (move functionality into w32--set-selection and
6043         w32--get-selection).
6044         (gui-select-text, gui-selection-value): Don't define methods.
6045         (w32--set-selection, w32--get-selection, w32--selection-owner-p):
6046         New functions.
6047         (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
6048         Use them.
6049         (gui-selection-exists-p): Adjust to new name of C primitive.
6051         * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
6052         test of gui-select-enable-clipboard, to make it usable as
6053         a gui-get-selection method.
6054         (gui-selection-exists-p): Adjust to new name of C primitive.
6055         (gui-set-selection): Merge own and disown methods.
6056         (gui-select-text, gui-selection-value): Delete methods.
6057         (w16--select-text): Delete function.
6059         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
6060         (ns-selection-value): Remove functions.
6061         (gui-select-text, gui-selection-value): Don't define method any more.
6062         (gui-set-selection): Merge the old own and disown methods.
6063         (gui-selection-exists-p, gui-get-selection): Adjust to new name of
6064         underlying C primitive.
6066         * startup.el (command-line): Adjust now that `gui-method' expects nil
6067         for ttys.
6069         * frame.el (gui-method): Use window-system rather than framep.
6070         (gui-method-declare): The tty case is now nil rather than t.
6071         (make-frame): Adjust accordingly.
6073 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6075         * net/newst-reader.el (newsticker--image-read): Simplify.
6076         (newsticker--icon-read): Use dolist and fix free var error.
6078         * imenu.el (imenu--menubar-keymap): New var.
6079         (imenu-add-to-menubar): Set it to remember the keymap we used.
6080         (imenu-update-menubar): Use it instead of asking lookup-key.
6082         * obsolete/cc-compat.el: Make obsolete (bug#18561).
6084         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
6086         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6087         case (bug#18767).
6089 2014-10-21  Glenn Morris  <rgm@gnu.org>
6091         * Merge in all changes up to version 24.4 release.
6093 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6095         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6096         case (bug#18767).
6098 2014-10-20  Glenn Morris  <rgm@gnu.org>
6100         * Merge in all changes up to 24.4 release.
6102 2014-10-20  Ulf Jasper  <ulf.jasper@web.de>
6104         * net/newst-backend.el
6105         (newsticker--image-download-by-url-callback): Make this function
6106         actually work: Check status properly, then save image.
6108 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6110         * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
6111         `this-event'.
6112         (mouse-drag-line): Unless there's no actual mouse, use the event's
6113         position info.
6115 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6117         * textmodes/css-mode.el (scss-mode): New major-mode.
6118         (css-mode-syntax-table): Use d style comment, to ease the scss case.
6119         (css-ident-re): Allow things like @-moz-keyframes.
6120         (scss--hash-re): New const.
6121         (css--font-lock-keywords): New function, extracted from
6122         css-font-lock-keywords.
6124 2014-10-19  Ulf Jasper  <ulf.jasper@web.de>
6126         * net/newst-backend.el: Require url-parse.
6127         (newsticker--get-news-by-wget): Store feed name as process property.
6128         (newsticker--sentinel): Read feed name from process property.
6129         (newsticker--sentinel-work): Rename argument name to feed-name.
6130         Rename variable imageurl to image-url.  Pick icon url from Atom
6131         1.0 data.  Launch download of feed icon.
6132         (newsticker--get-icon-url-atom-1.0): New.
6133         (newsticker--unxml)
6134         (newsticker--unxml-node)
6135         (newsticker--unxml-attribute): Documentation.
6136         (newsticker--icons-dir): New.
6137         (newsticker--image-get): New arguments FILENAME and DIRECTORY.
6138         Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
6139         (newsticker--image-download-by-wget): New.  Use process properties
6140         for storing informations.
6141         (newsticker--image-sentinel): Read informations from process properties.
6142         (newsticker--image-save)
6143         (newsticker--image-remove)
6144         (newsticker--image-download-by-url)
6145         (newsticker--image-download-by-url-callback): New.
6146         (newsticker-opml-export): Handle url list entries containing a
6147         function instead of an url string.
6149         * net/newst-reader.el (newsticker-html-renderer): Whitespace.
6150         (newsticker--print-extra-elements)
6151         (newsticker--do-print-extra-element):
6152         Documentation (newsticker--image-read): Optionally limit image height.
6153         Use imagemagick if possible.
6154         (newsticker--icon-read): New.
6156         * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
6157         (newsticker--treeview-tree-expand): Use feed icons in treeview.
6158         (newsticker--tree-widget-icon-create): New.  Set the tree widget icon.
6159         (newsticker--tree-widget-leaf-icon): Use feed icon.
6161 2014-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6163         * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
6164         Use help-function-arglist instead.
6166         * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
6167         (eieio--with-scoped-class): Use `declare'.
6168         (eieio-defclass): Remove compatibility code.
6169         (no-method-definition, no-next-method, inconsistent-class-hierarchy)
6170         (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
6172 2014-10-18  Jan Djärv  <jan.h.d@swipnet.se>
6174         * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
6176         * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
6177         replacements to stock names before stock names in a list.
6178         Cdr may be a list, each name is tried in turn until one is found.
6180 2014-10-18  Alan Mackenzie  <acm@muc.de>
6182         Check that a "macro" found near point-min isn't a ## operator.
6183         * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
6184         (c-beginning-of-macro): Use the above new function.  (Bug#18749)
6186 2014-10-18  Teodor Zlatanov  <tzz@lifelogs.com>
6188         * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
6189         correct data to `gnutls-boot' (Bug#18664).
6190         Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
6192 2014-10-18  Michal Nazarewicz  <mina86@mina86.com>
6194         * whitespace.el (whitespace-style, whitespace-big-indent)
6195         (whitespace-big-indent-regexp, whitespace-style-value-list)
6196         (whitespace-toggle-option-alist, whitespace-interactive-char)
6197         (whitespace-toggle-options)
6198         (global-whitespace-toggle-options, whitespace-help-text)
6199         (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
6200         style to `whitespace-mode' to indicate that the line indentation
6201         is too deep.  By default, 32 SPACEs or four TABs are considered
6202         too many but `whitespace-big-indent-regexp' can be configured.
6204 2014-10-17  Michal Nazarewicz  <mina86@mina86.com>
6206         * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
6207         tildify-mode-alist.
6209 2014-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6211         * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
6212         (defclass, defgeneric, defmethod): Add doc-string position.
6213         (with-slots): Require cl-lib.
6215         * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
6216         (list-of): New type.
6217         (eieio--typep): Remove.
6218         (eieio-perform-slot-validation): Use cl-typep instead.
6220         * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
6222         * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
6224 2014-10-16  Alan Mackenzie  <acm@muc.de>
6226         Trigger showing when point is in the "periphery" of a line or just
6227         inside a paren.
6228         * paren.el (show-paren-style, show-paren-delay)
6229         (show-paren-priority, show-paren-ring-bell-on-mismatch):
6230         Remove superfluous :group specifications.
6231         (show-paren-when-point-inside-paren)
6232         (show-paren-when-point-in-periphery): New customizable variables.
6233         (show-paren-highlight-openparen): Make into a defcustom.
6234         (show-paren--unescaped-p, show-paren--categorize-paren)
6235         (show-paren--locate-near-paren): New defuns.
6236         (show-paren--default): Refaactor and trigger on more paren
6237         positions.
6238         (show-paren-function): Small consequential changes.
6240 2014-10-16  Tom Tromey  <tom@tromey.com>
6242         * files.el (auto-mode-alist): Use javascript-mode for .jsm
6243         (bug #18719).
6245 2014-10-16  Eli Zaretskii  <eliz@gnu.org>
6247         * international/characters.el (bracket-type): Force pre-loading of
6248         uni-brackets.el.
6250 2014-10-16  Alan Mackenzie  <acm@muc.de>
6252         * cus-edit.el (custom-command-apply): Specify the return value in
6253         the doc string.
6254         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
6255         custom-command-apply has returned non-nil.
6257 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6259         * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
6260         Remove incorrect handling of eldoc-print-after-edit.
6261         (eldoc-message-commands, eldoc-last-data): Use defvar.
6262         * loadup.el (emacs-lisp/eldoc): Load it.
6264         * progmodes/m4-mode.el (m4-syntax-propertize): New var.
6265         (m4-mode): Use it.
6266         (m4--quoted-p): New function.
6267         (m4-font-lock-keywords): Don't handle #..\n comments any more.
6268         (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
6269         for most special characters.
6271         * progmodes/compile.el (compilation--previous-directory): Simplify.
6272         (compilation-next-error): Ensure the parse before we look at
6273         compilation-message property.
6275 2014-10-15  Eli Zaretskii  <eliz@gnu.org>
6277         * simple.el (what-cursor-position):
6278         * descr-text.el (describe-char): Update to support the new bidi
6279         characters.
6281         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
6282         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
6283         buffer-menu display when the first buffer happens to start with
6284         R2L letter.
6286 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6288         * progmodes/elisp-mode.el (elisp--local-variables-1):
6289         Handle quoted expressions (bug#18688).
6291 2014-10-14  Jérémy Compostella  <jeremy.compostella@intel.com>
6292             Michael Albinus  <michael.albinus@gmx.de>
6294         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6295         Reduce the amount of set environment variable commands.
6297 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6299         Fix import completion.  (Bug#18582)
6300         * progmodes/python.el (python-shell-completion-get-completions):
6301         Fix import case regexp.
6303 2014-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6305         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
6306         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
6307         * progmodes/prolog.el (prolog-electric--underscore): Same.
6309 2014-10-12  Michael Albinus  <michael.albinus@gmx.de>
6311         * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
6313 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
6315         * cus-start.el (all): Add missing ns and boolean to
6316         ns-use-fullscreen-animation.
6318 2014-10-11  Leo Liu  <sdl.web@gmail.com>
6320         * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
6321         Use strings.
6322         (cfengine3-create-imenu-index): New function.
6323         (cfengine3-mode): Use it for `imenu-create-index-function'.
6324         (cfengine-auto-mode): Improve and prefer cfengine3-mode when
6325         buffer is empty.
6327 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
6329         * cus-start.el (all): Add ns-use-fullscreen-animation.
6331 2014-10-11  Glenn Morris  <rgm@gnu.org>
6333         * calendar/diary-lib.el (diary-display-function):
6334         Drop support for deprecated nil and list forms.
6335         (diary-list-entries): Update for the above.
6336         * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
6338 2014-10-10  Leo Liu  <sdl.web@gmail.com>
6340         * window.el (temp-buffer-window-show): Make BUFFER a required arg.
6341         (Bug#18656)
6343 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6345         * select.el (gui-selection-exists-p-alist): New method.
6346         * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
6347         * simple.el (deactivate-mark): Use it.
6348         * term/x-win.el (gui-selection-exists-p):
6349         * term/w32-win.el (gui-selection-exists-p):
6350         * term/pc-win.el (gui-selection-exists-p):
6351         * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
6353 2014-10-10  Glenn Morris  <rgm@gnu.org>
6355         * info.el (Info-fontify-maximum-menu-size): Bump to 400k.  (Bug#16227)
6356         Fix :type.  Allow t to mean no limit.
6357         (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
6359 2014-10-09  Glenn Morris  <rgm@gnu.org>
6361         * frame.el (display-monitor-attributes-list): Doc tweaks.
6363 2014-10-09  Eli Zaretskii  <eliz@gnu.org>
6365         * faces.el (display-grayscale-p): Mention in the doc string that
6366         the argument can be either a display name or a frame.
6368         * frame.el (display-pixel-height, display-pixel-width)
6369         (display-mm-height, display-mm-width, display-backing-store)
6370         (display-save-under, display-planes, display-color-cells)
6371         (display-visual-class, display-monitor-attributes-list)
6372         (display-screens): Mention in the doc string that the argument can
6373         be either a display name or a frame.  Improve the docs of the
6374         monitor attributes.  (Bug#18636)
6376 2014-10-09  Martin Rudalics  <rudalics@gmx.at>
6378         * term.el (term-window-width): Subtract 1 from the width when
6379         any fringe has zero width, not just the right fringe.  (Bug#18601)
6381 2014-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6383         * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
6385 2014-10-08  Leo Liu  <sdl.web@gmail.com>
6387         * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
6389 2014-10-08  Glenn Morris  <rgm@gnu.org>
6391         * calendar/cal-x.el (calendar-dedicate-diary):
6392         Drop support for recently deleted aliases.
6394 2014-10-08  Leo Liu  <sdl.web@gmail.com>
6396         * progmodes/cfengine.el (cfengine3-make-syntax-cache):
6397         Always return a syntax.  Replace call-process-shell-command with
6398         process-file.  Ensure cfengine-mode-syntax-functions-regex is
6399         always set.  Ensure cache when cfengine-cf-promises fails.
6400         (Bug#18620)
6402 2014-10-07  Glenn Morris  <rgm@gnu.org>
6404         * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
6406 2014-10-07  Wilson Snyder  <wsnyder@wsnyder.org>
6408         Sync with upstream verilog-mode revision c075a492.
6409         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6410         (verilog-menu): Add AUTOINSERTLAST.
6411         (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
6412         is nil, fix indenting initial/final to match always statements, bug825.
6413         Reported by Tim Clapp.
6414         (verilog-extended-complete-re): Fix indentation of DPI-C imports,
6415         bug557.  Reported by ZeDong Mao and Jason Forkey.
6416         (verilog-read-decls): Fix parsing typed interfaces.
6417         Fix AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
6418         (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
6419         (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
6420         Reported by Pierre-David Pfister.
6421         (verilog-auto-insert-lisp): Doc fix.
6422         (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
6423         allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
6424         (verilog-sk-ovm-class, verilog-sk-uvm-object)
6425         (verilog-sk-uvm-component): Fix missing string keyword in class
6426         skeletons, bug824.  Reported by eldad faruhi.
6428 2014-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6430         * term/w32-win.el: Move all code from 32-common-fns.el here.
6431         (gui-select-text, gui-selection-value): Use w32 handlers in the w32
6432         console as well (bug#18629).
6433         * w32-common-fns.el: Remove.
6434         * loadup.el: Don't load w32-common-fns.el.
6435         * w32-fns.elc: Don't require w32-common-fns.
6437         * icomplete.el: Move Iswitchb autoload here.  Much simpler.
6438         * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
6439         Remove redundant obsolescence thingy.
6440         * loadup.el: Don't load obsolete/loaddefs.el.
6441         * Makefile.in (obsolete-autoloads): Remove.
6442         (AUTOGENEL): Remove obsolete/loaddefs.el.
6444 2014-10-06  Glenn Morris  <rgm@gnu.org>
6446         * Makefile.in (obsolete-autoloads): Write to a separate file,
6447         to workaround autoloads bug.  (Bug#17407)
6448         (AUTOGENEL): Add obsolete/loaddefs.el.
6449         * loadup.el: Load obsolete/loaddefs.el if present.
6450         * subr.el (do-after-load-evaluation):
6451         Don't warn about obsolete/loaddefs.el.
6453         * menu-bar.el (menu-bar-games-menu): Remove landmark.
6454         It has zero relationship to a game.
6456 2014-10-06  Leo Liu  <sdl.web@gmail.com>
6458         * imenu.el (imenu): Re-write for clarity.
6460 2014-10-06  Glenn Morris  <rgm@gnu.org>
6462         Remove calendar code obsolete since at least version 23.1.
6463         * calendar/cal-bahai.el (calendar-absolute-from-bahai)
6464         (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
6465         (calendar-goto-bahai-date, list-bahai-diary-entries)
6466         (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
6467         (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
6468         (insert-yearly-bahai-diary-entry):
6469         * calendar/cal-china.el (chinese-calendar-time-zone)
6470         (chinese-calendar-location-name)
6471         (chinese-calendar-daylight-time-offset)
6472         (chinese-calendar-standard-time-zone-name)
6473         (chinese-calendar-daylight-time-zone-name)
6474         (chinese-calendar-daylight-savings-starts)
6475         (chinese-calendar-daylight-savings-ends)
6476         (chinese-calendar-daylight-savings-starts-time)
6477         (chinese-calendar-daylight-savings-ends-time)
6478         (chinese-calendar-celestial-stem)
6479         (chinese-calendar-terrestrial-branch)
6480         (calendar-absolute-from-chinese, calendar-print-chinese-date)
6481         (calendar-goto-chinese-date):
6482         * calendar/cal-coptic.el (calendar-absolute-from-coptic)
6483         (calendar-print-coptic-date, coptic-prompt-for-date)
6484         (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6485         (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6486         * calendar/cal-french.el (calendar-absolute-from-french)
6487         (calendar-print-french-date, calendar-goto-french-date):
6488         * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6489         (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6490         (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6491         (holiday-rosh-hashanah-etc, holiday-hanukkah)
6492         (holiday-passover-etc, holiday-tisha-b-av-etc)
6493         (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6494         (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6495         (insert-monthly-hebrew-diary-entry)
6496         (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6497         (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6498         (diary-sabbath-candles):
6499         * calendar/cal-islam.el (calendar-absolute-from-islamic)
6500         (calendar-print-islamic-date, calendar-goto-islamic-date)
6501         (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6502         (mark-islamic-diary-entries, insert-islamic-diary-entry)
6503         (insert-monthly-islamic-diary-entry)
6504         (insert-yearly-islamic-diary-entry):
6505         * calendar/cal-iso.el (calendar-absolute-from-iso)
6506         (calendar-print-iso-date, calendar-iso-read-args)
6507         (calendar-goto-iso-date, calendar-goto-iso-week):
6508         * calendar/cal-julian.el (calendar-absolute-from-julian)
6509         (calendar-print-julian-date, calendar-goto-julian-date)
6510         (calendar-absolute-from-astro, calendar-print-astro-day-number)
6511         (calendar-goto-astro-day-number):
6512         * calendar/cal-mayan.el (calendar-print-mayan-date)
6513         (calendar-next-haab-date, calendar-previous-haab-date)
6514         (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6515         (calendar-next-calendar-round-date)
6516         (calendar-previous-calendar-round-date)
6517         (calendar-absolute-from-mayan-long-count)
6518         (calendar-goto-mayan-long-count-date):
6519         * calendar/cal-move.el (scroll-calendar-left)
6520         (scroll-calendar-right, scroll-calendar-left-three-months)
6521         (scroll-calendar-right-three-months):
6522         * calendar/cal-persia.el (calendar-absolute-from-persian)
6523         (calendar-print-persian-date, persian-prompt-for-date)
6524         (calendar-goto-persian-date):
6525         * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6526         * calendar/calendar.el (view-diary-entries-initially)
6527         (mark-diary-entries-in-calendar, calendar-today-face)
6528         (diary-face, holiday-face, view-calendar-holidays-initially)
6529         (mark-holidays-in-calendar, initial-calendar-window-hook)
6530         (today-visible-calendar-hook, today-invisible-calendar-hook)
6531         (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6532         (bahai-diary-entry-symbol, american-date-diary-pattern)
6533         (european-date-diary-pattern, european-calendar-display-form)
6534         (american-calendar-display-form, holidays-in-diary-buffer)
6535         (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6536         (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6537         (fancy-diary-buffer, increment-calendar-month)
6538         (extract-calendar-month, extract-calendar-day)
6539         (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6540         (mark-visible-calendar-date, calendar-version):
6541         * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6542         (diary-display-hook, list-diary-entries-hook)
6543         (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6544         (nongregorian-diary-marking-hook, print-diary-entries-hook)
6545         (abbreviated-calendar-year, number-of-diary-entries)
6546         (view-other-diary-entries, add-to-diary-list)
6547         (include-other-diary-files, simple-diary-display)
6548         (fancy-diary-display, print-diary-entries, mark-diary-entries)
6549         (mark-sexp-diary-entries, mark-included-diary-files)
6550         (mark-calendar-days-named, mark-calendar-month)
6551         (mark-calendar-date-pattern, sort-diary-entries)
6552         (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6553         (insert-weekly-diary-entry, insert-monthly-diary-entry)
6554         (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6555         (insert-block-diary-entry, insert-cyclic-diary-entry)
6556         (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6557         * calendar/holidays.el (general-holidays, oriental-holidays)
6558         (local-holidays, other-holidays, hebrew-holidays)
6559         (christian-holidays, islamic-holidays, bahai-holidays)
6560         (solar-holidays, list-calendar-holidays)
6561         (check-calendar-holidays, mark-calendar-holidays)
6562         (filter-visible-calendar-holidays):
6563         * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6564         (diary-phases-of-moon): Remove obsolete aliases.
6565         * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6566         * calendar/cal-x.el (calendar-one-frame-setup)
6567         (calendar-only-one-frame-setup, calendar-two-frame-setup):
6568         Remove obsolete functions.
6569         (cal-x-load-hook): Remove obsolete hook.
6570         * calendar/calendar.el (european-calendar-style):
6571         Remove obsolete variable.
6572         (calendar-date-style): No longer consult european-calendar-style.
6573         * calendar/calendar.el (european-calendar, american-calendar):
6574         Remove obsolete commands.
6575         * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6576         * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6577         (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6578         Use the face `diary' instead of the variable `diary-face'.
6579         * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6580         (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6581         * calendar/icalendar.el (icalendar--date-style): Remove function.
6582         Replace all uses with calendar-date-style.
6583         * textmodes/remember.el (calendar-date-style): Declare.
6584         (remember-diary-convert-entry):
6585         No longer consult european-calendar-style.
6587 2014-10-05  Leo Liu  <sdl.web@gmail.com>
6589         * imenu.el (imenu-default-goto-function): Fix typo.
6591 2014-10-04  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
6593         * net/ntlm.el (ntlm-build-auth-request):
6594         Add NTLM2 Session support.  (Bug#15603)
6596 2014-10-04  Glenn Morris  <rgm@gnu.org>
6598         * apropos.el (apropos-symbols-internal):
6599         Avoid error with non-symbol properties.  (Bug#18337#16)
6601         * startup.el (command-line):
6602         Handle altered user-emacs-directory in load-path warning.  (Bug#18512)
6604 2014-10-04  Martin Rudalics  <rudalics@gmx.at>
6606         * window.el (window-full-height-p): Make it behave correctly for
6607         minibuffer window.
6608         (window-current-scroll-bars): Fix code.
6609         (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6610         window-scroll-bars.
6611         * frame.el (frame-current-scroll-bars): Fix doc-string.
6612         * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6614 2014-10-04  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
6616         * files.el (auto-mode-alist): Use sh-mode for .zsh files.  (Bug#18488)
6618 2014-10-04  Glenn Morris  <rgm@gnu.org>
6620         * frame.el (frame-monitor-attributes)
6621         (display-monitor-attributes-list): Doc fixes.
6623 2014-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6625         Merge trivially safe differences from standalone CC-mode.
6626         * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6627         just to then pass it to `symbol-value'.
6628         (prog-mode): Provide fallback definition, if needed.
6629         * progmodes/cc-langs.el: Always load `cl'.  Don't load `cl-lib'.
6630         Remove "cl-" prefix accordingly.
6631         * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6632         characterp depending on the type of characters.
6633         (c-font-lock-enum-tail): Remove unused var `start'.
6634         * progmodes/cc-engine.el: Load CL at compile-time.
6635         (c-declare-lang-variables): Use mapcan.
6636         (c-append-to-state-cache): Remove unused var `ce+1'.
6637         (c-parse-state-state): Make buffer-local.
6638         (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
6639         (c-just-after-func-arglist-p): Remove unused var `end'.
6640         * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
6641         (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
6642         (c-make-keywords-re): Use delete-dups.
6643         (c-get-current-file): Avoid file-name-base.
6644         * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
6645         `close-paren-inserted'.
6646         * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
6648         * progmodes/python.el: Avoid building unneeded markers.
6649         (python-font-lock-keywords, python-indent-dedent-line)
6650         (python-fill-paren, python-shell-completion-complete-or-indent):
6651         Prefer point over point-marker.
6652         (inferior-python-mode): Remove redundant completion settings.
6654 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
6656         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
6657         (vc-svn-ignore): Use it.  (Bug#18619)
6659 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
6661         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
6662         In doc-string mention need to set `frame-resize-pixelwise'.
6664 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6666         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
6667         similarly to Rogers's 2010-06-16 change for the remote case
6668         (bug#18605).
6670 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6672         New gui-selection-value consolidating x-selection-value.
6673         * select.el (gui-selection-value-alist): New method.
6674         (gui-selection-value): New function.
6675         (x-selection-value): Make it an obsolete alias.
6676         * simple.el (interprogram-paste-function): Default to
6677         gui-selection-value.
6678         * w32-common-fns.el (w32-get-selection-value): Simplify.
6679         (x-selection-value): Remove alias.
6680         (interprogram-paste-function): Don't set.
6681         (gui-selection-value): Define for w32.
6682         * term/x-win.el (gui-selection-value): Define for x.
6683         (x--selection-value): Rename from x--selection-value.
6684         (interprogram-paste-function): Don't set.
6685         * term/pc-win.el (w16-get-selection-value): Simplify.
6686         (msdos-initialize-window-system): Don't set
6687         interprogram-paste-function.
6688         (gui-selection-value): Define for pc.
6689         * term/ns-win.el (x-selection-value): Remove.
6690         (gui-selection-value): Define for ns, instead.
6691         * term/common-win.el (x-setup-function-keys): Don't set
6692         interprogram-paste-function.
6693         * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
6694         Use gui-selection-value.
6696 2014-10-02  David Raynes  <rayners@gmail.com>  (tiny change)
6698         * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
6700 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6702         * obsolete/lucid.el (read-number): Remove, redundant.
6703         * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
6704         Remove, broken.
6706 2014-10-02  Glenn Morris  <rgm@gnu.org>
6708         * emacs-lisp/package.el (package-import-keyring):
6709         Create gnupg directory private.  (Bug#17625#155)
6711 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6713         * progmodes/python.el (python-shell-completion-get-completions):
6714         Use python-shell--prompt-calculated-input-regexp from the
6715         process buffer (bug#18582).
6716         Don't assume that `line' comes from the process buffer.
6718 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6720         * frame.el: Use lexical-binding (bug#18598).
6721         (make-frame): Use t rather than nil for tty's window-system.
6722         * startup.el (command-line): Use gui-method.
6724         Consolidate management/ownership of selections.
6725         * select.el (gui-get-selection-alist): New method.
6726         (gui-get-selection): Use it.  Rename from x-get-selection.
6727         (x-get-selection): Define as obsolete alias.
6728         (x-get-clipboard): Mark obsolete.
6729         (gui-get-primary-selection): New function.
6730         (x-get-selection-value): Mark obsolete.
6731         (gui-own-selection-alist, gui-disown-selection-alist)
6732         (gui-selection-owner-p-alist): New methods.
6733         (gui-set-selection): Use them.  Rename from x-set-selection.
6734         (x-set-selection): Define as obsolete alias.
6735         (gui--valid-simple-selection-p): Rename from
6736         x-valid-simple-selection-p.
6737         * w32-common-fns.el (gui-own-selection, gui-disown-selection)
6738         (gui-selection-owner-p, gui-get-selection): Define for w32.
6739         (w32-get-selection-value): Rename from x-get-selection-value.
6740         Use the new gui-last-selected-text.
6741         * term/x-win.el (x-get-selection-value): Remove.
6742         (x-clipboard-yank): Declare obsolete.
6743         (gui-own-selection, gui-disown-selection, gui-get-selection)
6744         (gui-selection-owner-p): Define for x.
6745         * term/w32-win.el (w32-win-suspend-error): Rename from
6746         x-win-suspend-error.
6747         * term/pc-win.el (w16-get-selection-value): Rename from
6748         x-get-selection-value.
6749         (w16-selection-owner-p): Rename from x-selection-owner-p.
6750         (gui-own-selection, gui-disown-selection, gui-get-selection)
6751         (gui-selection-owner-p): Define for pc.
6752         (w16--select-text): New function.
6753         * term/ns-win.el (gui-own-selection, gui-disown-selection)
6754         (gui-get-selection, gui-selection-owner-p): Define for ns.
6755         * term.el (term-mouse-paste):
6756         * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
6758 2014-10-02  H. Dieter Wilhelm  <dieter@duenenhof-wilhelm.de>
6760         * calc/calc-help.el (calc-describe-thing): Quote strings
6761         which could look like regexps.
6763 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6765         Consolidate x-select-text.
6766         * frame.el (gui-method, gui-method-define, gui-method-declare)
6767         (gui-call): New macros.
6768         (gui-method--name): New function.
6769         (frame-creation-function-alist): Use gui-method-declare.
6770         (make-frame): Use gui-method.
6771         * select.el (gui-select-enable-clipboard): Rename from
6772         x-select-enable-clipboard and move here.
6773         (x-select-enable-clipboard): Define as obsolete alias.
6774         (gui-last-selected-text): New var, to replace x-last-selected-text.
6775         (gui-select-text): New GUI method.
6776         (gui-select-text): New function.
6777         (x-select-text): Define as obsolete alias.
6778         * term/common-win.el (x-select-enable-clipboard, x-select-text):
6779         Move to select.el.
6780         * simple.el (interprogram-cut-function): Change default to
6781         x-select-text.
6782         (interprogram-paste-function): Change default to `ignore'.
6783         * w32-common-fns.el (interprogram-cut-function): Don't modify.
6784         * term/x-win.el (interprogram-cut-function): Don't modify.
6785         (gui-select-text): Add method for x.
6786         * term/w32-win.el (gui-select-text): Add method for w32.
6787         * term/pc-win.el (x-last-selected-text): Remove, use
6788         gui-last-selected-text instead.
6789         (msdos-initialize-window-system): Don't set interprogram-cut-function.
6790         (gui-select-text): Add method for pc.
6791         * term/ns-win.el (ns-last-selected-text): Remove, use
6792         gui-last-selected-text instead.
6793         (gui-select-text): Add method for ns.
6794         (x-setup-function-keys): Don't change interprogram-cut-function.
6795         * loadup.el ("startup"): Load after "frame".
6796         * subr.el (package--builtin-versions, package--description-file):
6797         Move from startup.el.
6798         * startup.el (package--builtin-versions, package--description-file):
6799         Move to subr.el.
6800         (handle-args-function-alist, window-system-initialization-alist):
6801         Use gui-method-declare.
6802         (command-line): Use gui-method.
6804 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6806         * subr.el (alist-get): New accessor.
6807         * emacs-lisp/gv.el (alist-get): Provide expander.
6808         * winner.el (winner-remember):
6809         * tempo.el (tempo-use-tag-list):
6810         * progmodes/gud.el (minor-mode-map-alist):
6811         * international/mule-cmds.el (define-char-code-property):
6812         * frameset.el (frameset-filter-params):
6813         * files.el (dir-locals-set-class-variables):
6814         * register.el (get-register, set-register):
6815         * calc/calc-yank.el (calc-set-register): Use it.
6816         * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
6817         * tooltip.el (tooltip-set-param): Mark as obsolete.
6818         (tooltip-show): Use alist-get instead.
6819         * ses.el (ses--alist-get): Remove.  Use alist-get instead.
6821 2014-10-01  Ulf Jasper  <ulf.jasper@web.de>
6823         * net/newst-backend.el: Remove Time-stamp.  Rename variable
6824         `newsticker--download-logos' to `newsticker-download-logos' and
6825         make it customizable.
6826         (newsticker--sentinel-work): Move xml-workarounds to function
6827         `newsticker--do-xml-workarounds', call unless libxml-parser is
6828         used.  Allow single quote in regexp for encoding.
6829         Use libxml-parser if available, else fall back to `xml-parse-region'.
6830         Take care of possibly missing namespace prefixes (like "RDF"
6831         instead of "rdf:RDF") when checking xml nodes and attributes (as
6832         libxml correctly removes the prefixes).  Always use Atom 1.0 as
6833         fallback feed type.  Rename `newsticker--download-logos' to
6834         `newsticker-download-logos'
6835         (newsticker--unxml, newsticker--unxml-node)
6836         (newsticker--unxml-attribute): New.
6837         (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
6838         HTML code has become part of the xml parse tree.
6839         (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
6840         of possibly missing namespace prefixes.
6841         (newsticker--parse-generic-items): Code formatting.  Typo.
6842         (newsticker--images-dir): Add trailing slash.
6843         (newsticker--image-get): Fix error message.
6845         * net/newst-plainview.el: Remove Time-stamp.
6847         * net/newst-reader.el: Remove Time-stamp.
6848         (newsticker-download-logos): Rename variable
6849         `newsticker--download-logos' to `newsticker-download-logos' and
6850         make it customizable.
6851         (newsticker--print-extra-elements): Add optional parameter
6852         'htmlish for using html markup.  Amend list of ignored elements.
6853         (newsticker--do-print-extra-element): Add parameter 'htmlish for
6854         using html markup.
6856         * net/newst-ticker.el: Remove Time-stamp.
6858         * net/newst-treeview.el (newsticker--treeview-item-show): Use html
6859         for formatting extra elements.
6861         * net/newsticker.el:  Remove Time-stamp, Version.
6862         (newsticker-version): Make obsolete.
6864 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
6866         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
6867         (bug#18462).
6869 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6871         * emacs-lisp/package.el (package-check-signature): Default to nil if
6872         GPG is not available.
6873         (package-refresh-contents): Don't mess with the keyring if we won't
6874         check the signatures anyway.
6876 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6878         * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
6879         (ses-center, ses-center-span): Use them.
6880         (ses-print-cell): Bind them while calling the printer.
6881         (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
6882         (ses-dorange): Revert last change.
6883         (ses-calculate-cell): Don't bind row&col dynamically while evaluating
6884         the formula.
6885         (ses-set-cell): Avoid `eval'.
6886         (ses--time-check): Rename it from ses-time-check and turn it into
6887         a macro.
6889         * ses.el (ses-setup): Don't assume modifying the iteration var of
6890         dotimes affects the iteration (bug#18191).
6892 2014-09-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6894         * ses.el (ses-calculate-cell): Bind row and col dynamically to
6895         their values with 'cl-progv'.
6896         (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
6897         their values with 'cl-progv', also use non-interned symbols for
6898         row, minrow, maxrow, mincol and maxcol.
6899         (maxrow maxcol): New defvar, to make the compiler happy.
6901 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6903         * minibuffer.el (completion-at-point): Emit warning for ill-behaved
6904         completion functions.
6906 2014-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6908         * ses.el (ses--letref): Quote value before it gets re-evaluated.
6910 2014-09-28  Thien-Thi Nguyen  <ttn@gnu.org>
6912         Font-lock `cl-flet*', too.
6913         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
6914         Add "flet*" to intermediate var `cl-lib-kw'.
6916 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6918         * epg-config.el (epg-gpg-program): Use the plain program names rather
6919         than their absolute file name.
6921         * subr.el (track-mouse): New macro.
6922         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6923         Remove track-mouse case.
6924         * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
6926 2014-09-27  Leo Liu  <sdl.web@gmail.com>
6928         * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
6930         * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
6932 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6934         * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
6935         Handle the case where `match' is :pcase--succeed or :pcase--fail
6936         (bug#18554).
6938         Introduce global-eldoc-mode.  Move Elisp-specific code to elisp-mode.el.
6939         * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
6940         (eldoc-schedule-timer): Obey it.
6941         (eldoc-documentation-function): Default to nil.
6942         (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
6943         (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
6944         (eldoc-highlight-function-argument, eldoc-get-var-docstring)
6945         (eldoc-last-data-store, eldoc-docstring-first-line)
6946         (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
6947         (eldoc-beginning-of-sexp, eldoc-current-symbol)
6948         (eldoc-function-argstring): Move to elisp-mode.el.
6949         (eldoc-symbol-function): Remove, unused.
6950         * progmodes/elisp-mode.el: New file.  Rename all "eldoc-*" to "elisp--*".
6951         (elisp-completion-at-point): Rename from lisp-completion-at-point.
6952         (elisp--preceding-sexp): Rename from preceding-sexp.
6953         * loadup.el: Load new file progmodes/elisp-mode.
6954         * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
6955         * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
6956         (lisp--local-variables-completion-table, lisp--expect-function-p)
6957         (lisp--form-quoted-p, lisp--company-doc-buffer)
6958         (lisp--company-doc-string, lisp--company-location)
6959         (lisp-completion-at-point): Move to elisp-mode.el.
6960         * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
6961         extracted from emacs-lisp-mode-syntax-table.
6962         (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
6963         elisp-mode.el.
6964         (lisp-imenu-generic-expression): Add comments to document what comes
6965         from which Lisp dialect.
6966         (emacs-lisp-mode-map, emacs-lisp-byte-compile)
6967         (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
6968         (emacs-lisp-mode, emacs-list-byte-code-comment-re)
6969         (emacs-lisp-byte-code-comment)
6970         (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
6971         (lisp-interaction-mode-map, lisp-interaction-mode)
6972         (eval-print-last-sexp, last-sexp-setup-props)
6973         (last-sexp-toggle-display, prin1-char, preceding-sexp)
6974         (eval-last-sexp-1, eval-last-sexp-print-value)
6975         (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
6976         (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
6978 2014-09-26  Paul Eggert  <eggert@cs.ucla.edu>
6980         * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
6981         Do not match file names that end in '/', as they cannot be 'grep'
6982         hits nowadays.  This prevents confusion when 'grep -r' reports a
6983         match in a file whose basename is ':12345:'.  Conversely, do not
6984         require exactly the same sequence of spaces and tabs after both
6985         colons, and allow spaces or tabs before the second colon, as per
6986         the POSIX spec for 'grep' output.
6988 2014-09-26  Leo Liu  <sdl.web@gmail.com>
6990         Add cl-parse-integer based on parse-integer (Bug#18557)
6991         * calendar/parse-time.el (parse-time-digits): Remove.
6992         (digit-char-p, parse-integer) Moved to cl-lib.el.
6993         (parse-time-tokenize, parse-time-rules, parse-time-string):
6994         Use cl-parse-integer.
6996         * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
6998         * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
6999         (cl-digit-char-p): New function.
7001 2014-09-25  Juri Linkov  <juri@jurta.org>
7003         * vc/add-log.el (change-log-next-buffer): Don't create an empty
7004         buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
7005         Return the current buffer if no files match the default pattern
7006         ChangeLog.[0-9].  Signal "end of multi" when file is nil.  (Bug#18547)
7008 2014-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7010         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
7011         the global vc-handled-backends (bug#18535).
7013 2014-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7015         * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
7016         Suggested by <lompik@voila.fr>.
7018 2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
7020         * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
7021         Rename from `newsticker--treeview-do-get-node'.
7022         (newsticker--treeview-get-node-by-id):
7023         Rename from `newsticker--treeview-get-node'.
7024         (newsticker--treeview-buffer-init)
7025         (newsticker--treeview-buffer-init): Disable buffer undo.
7026         (newsticker--treeview-unfold-node): Adapt to modified
7027         `newsticker--group-find-parent-group'.
7028         (newsticker--group-do-find-group):
7029         Rename from `newsticker--group-do-find-group-for-feed'.
7030         Now works for both, groups and feeds.
7031         (newsticker--group-find-parent-group):
7032         Rename from `newsticker--group-find-group-for-feed'.
7033         Now works for both, groups and feeds.
7034         (newsticker--group-do-get-parent-group)
7035         (newsticker--group-get-parent-group): Remove.
7036         (newsticker-group-add-group): Change interactive prompts.
7037         (newsticker-group-add-group): Finally jump to added group.
7038         (newsticker-group-delete-group): Finally jump to current feed.
7039         (newsticker--group-do-rename-group, newsticker-group-rename-group)
7040         (newsticker--get-group-names, newsticker--group-names): New.
7041         (newsticker-group-move-feed): Finally jump to moved feed.
7042         (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
7043         (newsticker-group-shift-group-down)
7044         (newsticker-group-shift-group-up, newsticker--group-shift): New.
7045         (newsticker-treeview-mode-map): New keybindings for new shift commands.
7047         * net/newst-backend.el (newsticker--item-list)
7048         (newsticker--item-position, newsticker--prev-message)
7049         (newsticker--scrollable-text): Move to newst-ticker.el.
7051         * net/newst-ticker.el (newsticker--item-list)
7052         (newsticker--item-position, newsticker--prev-message)
7053         (newsticker--scrollable-text): Move from newst-backend.el.
7055 2014-09-22  Kan-Ru Chen  <kanru@kanru.info>
7057         * window.el (fit-window-to-buffer): When counting buffer width,
7058         count the whole visible buffer.  Correctly convert the body-height
7059         to pixel size for window-text-pixel-size (Bug#18498).
7061 2014-09-22  Sam Steingold  <sds@gnu.org>
7063         * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
7064         (sql-execute): Use `special-mode'.
7066 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7068         Add pcase-defmacro, as well as `quote' and `app' patterns.
7069         * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
7070         * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
7071         (pcase--funcall, pcase--eval): New functions.
7072         (pcase--u1): Use them for guard, pred, let, and app.
7073         (\`): Use the new feature to generate better code for vector patterns.
7074         * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
7075         (pcase--upat): Remove.
7076         (pcase--macroexpand): Don't hardcode handling of `.
7077         (pcase--split-consp, pcase--split-vector): Remove.
7078         (pcase--split-equal): Disregard ` since it's expanded away.
7079         (pcase--split-member): Optimize for quote rather than for `.
7080         (pcase--split-pred): Optimize for quote rather than for `.
7081         (pcase--u1): Remove handling of ` (and of `or' and `and').
7082         Quote non-selfquoting values when passing them to `eq'.
7083         Drop `app's let-binding if the variable is not used.
7084         (pcase--q1): Remove.
7085         (`): Define as a pattern macro.
7086         * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
7087         (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
7088         (pcase--macroexpand): Handle self-quoting patterns here, expand them to
7089         quote patterns.
7090         (pcase--split-match): Don't hoist or/and here any more.
7091         (pcase--split-equal): Optimize quote patterns as well as ` patterns.
7092         (pcase--flip): New helper macro.
7093         (pcase--u1): Optimize the memq case directly.
7094         Don't handle neither self-quoting nor and/or patterns any more.
7095         * emacs-lisp/pcase.el (pcase-defmacro): New macro.
7096         (pcase--macroexpand): New function.
7097         (pcase--expand): Use it.
7098         * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
7099         New optimization functions.
7100         (pcase--u1): Add support for `quote' and `app'.
7101         (pcase): Document them in the docstring.
7103 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7105         Use lexical-bindin in Ibuffer.
7106         * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
7107         (ibuffer-compile-format): Simplify.
7108         (ibuffer-clear-summary-columns): Simplify.
7109         * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
7110         elem of dotimes when we don't refer to the iteration var from it.
7111         (ibuffer-toggle-sorting-mode): Avoid add-to-list.
7112         * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
7113         Silence byte-compiler.
7115 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7117         * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
7118         expression for a list.
7120         * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
7121         for functions with no arguments.
7123         * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
7124         (mpc-volume-refresh): Make sure the corresponding header-line is updated.
7126 2014-09-17  Tom Willemse  <tom@ryuslash.org>  (tiny change)
7128         * simple.el (clone-indirect-buffer): Mention the return value
7129         (bug#18478).
7131         * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
7132         Text mode in docstring (bug#18464).
7134 2014-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7136         * progmodes/perl-mode.el (perl-syntax-propertize-function):
7137         Accept underscores in identifiers after "sub" (bug#18502).
7139 2014-09-21  Tassilo Horn  <tsdh@gnu.org>
7141         * textmodes/reftex-sel.el (reftex-select-label-mode)
7142         (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
7143         from special-mode (instead of fundamental-mode) and propertize
7144         with font-lock-face instead of just face.  (Bug#18496)
7146         * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
7148 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
7150         * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
7151         `table-etc' when `end' is non-nil.
7152         (lisp-completion-at-point): Move `end' back if it's after quote.
7153         If in comment or string, only complete when after backquote.
7154         (Bug#18265)
7155         (lisp-completion-at-point): Don't use
7156         `lisp--local-variables-completion-table' in the
7157         `lisp--form-quoted-p' case.
7159 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
7161         * emacs-lisp/lisp.el (lisp--expect-function-p)
7162         (lisp--form-quoted-p): New functions.
7163         (lisp-completion-at-point): Use them to see if we're completing a
7164         variable reference, a function name, or just any symbol.
7165         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
7167 2014-09-18  Ivan Kanis  <ivan@kanis.fr>
7169         * net/shr.el, net/eww.el: Don't override `shr-width', but
7170         introduce a new variable `shr-internal-width'.  This allows users
7171         to specify a width themselves.
7173 2014-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7175         * image-mode.el (image-toggle-display-image): If we have a
7176         `fit-width' or a `fit-height', don't limit the size of the image
7177         to the window size, because that doesn't preserve the aspect ratio.
7178         * image-mode.el: Move defvars earlier to avoid a byte-compilation
7179         warning.
7181 2014-09-17  Reuben Thomas  <rrt@sc3d.org>
7183         * progmodes/js.el: Add interpreter-mode-alist support for various
7184         JavaScript interpreters.
7186 2014-09-17  Paul Eggert  <eggert@cs.ucla.edu>
7188         Don't assume 'grep' supports GREP_OPTIONS.
7189         The GREP_OPTIONS environment variable is planned to be marked
7190         obsolescent in GNU grep, due to problems in its use, so stop
7191         relying on it.
7192         * progmodes/grep.el (grep-highlight-matches): Document this.
7193         (grep-process-setup): Do not set GREP_OPTIONS.
7194         (grep-compute-defaults): Use an explicit --color option if supported.
7196 2014-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7198         * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
7199         Don't add outdated key-shortcut cache (bug#18482).
7201 2014-09-15  Glenn Morris  <rgm@gnu.org>
7203         * image.el (image-multi-frame-p): Fix thinko - do not force
7204         a delay if none was specified.  (Bug#18334)
7206 2014-09-15  Kan-Ru Chen  <kanru@kanru.info>
7208         * window.el (fit-window-to-buffer): Doc fix.
7210 2014-09-15  Ivan Shmakov  <ivan@siamics.net>
7212         * desktop.el (desktop-create-buffer): Check that buffers are still live
7213         before burying them (bug#18373).
7215 2014-09-15  Glenn Morris  <rgm@gnu.org>
7217         * calendar/diary-lib.el (diary-list-entries):
7218         Restore 24.3 display behavior.  (Bug#18381)
7220 2014-09-15  Eli Zaretskii  <eliz@gnu.org>
7222         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
7223         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
7224         discrepancy between window-pixel-edges and mouse events, and
7225         avoids moving mode line up when the mouse click is on the modeline
7226         and no drag is attempted.
7228 2014-09-14  Daniel Colascione  <dancol@dancol.org>
7230         * register.el (insert-register): Change default interactive
7231         insertion mode.
7233 2014-09-14  Michael Albinus  <michael.albinus@gmx.de>
7235         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
7236         Suppress debug messages.
7238         * net/tramp.el (tramp-file-name-handler):
7239         * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
7240         appropriate.
7242 2014-09-13  Christopher Schmidt  <ch@ristopher.com>
7244         * calendar/calendar.el (calendar-update-mode-line):
7245         Do not overwrite mode-line-format if calendar-mode-line-format is
7246         nil.  (Bug#18467)
7248 2014-09-13  Leo Liu  <sdl.web@gmail.com>
7250         * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
7251         (pcase--expand): Use it.
7252         (pcase-exhaustive): New macro.  (Bug#16567)
7254         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
7255         Add pcase-exhaustive.
7257 2014-09-13  Eli Zaretskii  <eliz@gnu.org>
7259         * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
7260         using the specified transfer-encoding, if any, or 'undecided'.
7261         (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
7262         broken at the window margin.
7264 2013-12-27  Ken Olum  <kdo@cosmos.phy.tufts.edu>
7266         Support rendering of HTML parts in Rmail (bug#4258).
7267         * mail/rmailmm.el (rmail-mime-process): Handle text/html
7268         separately from other text/ types.  Suppress tagline for
7269         multipart body.
7270         (rmail-mime-parse): Don't change visibility of tagline here.
7271         (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
7272         Handle text/html specially.
7273         (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
7274         (rmail-mime-insert-html, rmail-mime-render-html-shr)
7275         (rmail-mime-render-html-lynx): New functions.
7276         (rmail-mime-fix-inserted-faces): New function.
7277         (rmail-mime-process-multipart): Find the best part to show
7278         following rmail-mime-prefer-html if set.
7279         (rmail-mime-searching): New variable.
7280         (rmail-search-mime-message): Bind rmail-mime-searching to
7281         suppress rendering while searching.
7283 2014-09-12  Sam Steingold  <sds@gnu.org>
7285         * progmodes/sql.el (sql-product-alist): Add vertica.
7286         (sql-vertica-program, sql-vertica-options)
7287         (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
7288         New functions and variables to support Vertica.
7289         Inspired by code by Roman Scherer <roman@burningswell.com>.
7291 2014-09-11  Paul Eggert  <eggert@cs.ucla.edu>
7293         * ses.el (ses-file-format-extend-parameter-list): Rename from
7294         ses-file-format-extend-paramter-list, to correct a misspelling.
7295         All uses changed.
7297 2014-09-10  Alan Mackenzie  <acm@muc.de>
7299         CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
7300         gets loaded at run-time).
7301         * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
7302         c-lang-const to c-make-no-parens-syntax-table and correct the
7303         logic.
7304         (c-no-parens-syntax-table): Correct the logic of the
7305         c-lang-defvar.
7307 2014-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7309         CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
7310         plus misc cleanup.
7311         * progmodes/cc-mode.el (c-basic-common-init):
7312         Set open-paren-in-column-0-is-defun-start.
7313         (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
7314         Remove declarations, unused.
7315         (run-mode-hooks): Remove declaration.
7316         (font-lock-defaults): Use plain `defvar' to declare.
7317         (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
7318         * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
7319         (c-make-mode-syntax-table): Don't micro-optimize.
7320         (c-keywords, c-keyword-member-alist): Simplify.
7321         (c-kwds-lang-consts): Don't eval at compile-time.
7322         (c-primary-expr-regexp): Comment out unused vars.
7323         * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
7324         (c-font-byte-compile): New var.
7325         (c--compile): New function.  Use it instead of `byte-compile'.
7326         (c-cpp-matchers): Quote the value returned by
7327         `c-make-syntactic-matcher' in case it's not self-evaluating.
7328         (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
7329         parentheses instead (in case MATCHER happens to be a list).
7330         (c-font-lock-enum-tail): Remove unused var `start'.
7331         (c-font-lock-objc-methods): Silence byte-compiler warnings.
7332         * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
7333         test into an argument.
7334         * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
7335         (c-get-char-property): Don't use `eval' just to unquote a constant.
7336         (c-use-extents): Remove.  Use (featurep 'xemacs), compiled
7337         more efficiently.
7338         (c-put-char-property-fun): Don't call `byte-compile' by hand.
7339         (c-clear-char-property, c-clear-char-properties): Check that `property'
7340         is a quoted constant.
7341         (c-emacs-features): Remove `infodock', `syntax-properties', and
7342         `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
7343         'xemacs) instead).  Use `with-temp-buffer' and let-bind vars after
7344         changing buffer, so we don't have to setq them again afterwards.
7345         (c-lang-const): Remove redundant symbolp assertions.
7346         (c-find-assignment-for-mode): Use `or'.
7347         * Makefile.in (compile-one-process): Remove cc-mode dependency.
7349 2014-09-09  Sam Steingold  <sds@gnu.org>
7351         * progmodes/sql.el (sql-default-directory): Fix type annotation.
7353 2014-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7355         * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
7356         Change doc comments into docstrings.
7357         * Makefile.in: Remove cc-awk dependency.
7359 2014-09-08  Sam Steingold  <sds@gnu.org>
7361         * progmodes/sql.el (sql-send-line-and-next): New command,
7362         bound to C-c C-n.
7363         (sql-show-sqli-buffer): Display the buffer instead of its name and
7364         bind the command to C-c C-z.
7365         (sql-default-directory): New user option.
7366         (sql-product-interactive): Bind `default-directory' to it to
7367         enable remote connections using Tramp.
7368         (sql-set-sqli-buffer): Call `sql-product-interactive' when no
7369         suitable buffer is available.
7371 2014-09-08  Glenn Morris  <rgm@gnu.org>
7373         * calendar/calendar.el (calendar-basic-setup):
7374         Fix calendar-view-holidays-initially-flag and fancy display.
7375         * calendar/diary-lib.el (diary-live-p): Doc fix.
7377         * calendar/calendar.el (calendar-basic-setup):
7378         Avoid clobbering calendar with diary.  (Bug#18381)
7380 2014-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7382         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
7384 2014-09-08  Lars Ljung  <lars@matholka.se>  (tiny change)
7386         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
7387         as well (bug#18400).
7389 2014-09-08  Eli Zaretskii  <eliz@gnu.org>
7391         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
7393 2014-09-06  Leo Liu  <sdl.web@gmail.com>
7395         * emacs-lisp/pcase.el (pcase): Doc fix.
7396         (pcase--split-vector): New function.
7397         (pcase--q1): Support vector qpattern.  (Bug#18327)
7399 2014-09-05  Sam Steingold  <sds@gnu.org>
7401         * textmodes/tex-mode.el (tex-print-file-extension): New user
7402         option.
7403         (tex-print): Use it instead of the hard-coded string.
7405 2014-09-05  Michael Albinus  <michael.albinus@gmx.de>
7407         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7408         Expand `default-directory'.
7410 2014-09-05  Martin Rudalics  <rudalics@gmx.at>
7412         * scroll-bar.el (horizontal-scroll-bars-available-p):
7413         New function.
7414         (horizontal-scroll-bar-mode): Rewrite using
7415         horizontal-scroll-bars-available-p.
7416         * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
7417         horizontal-scroll-bars-available-p.
7419 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7421         * subr.el (call-process-shell-command, process-file-shell-command):
7422         Make the `args' obsolete (bug#18409).
7423         (start-process-shell-command, start-file-process-shell-command):
7424         Use `declare'.
7426 2014-09-05  Jay Belanger  <jay.p.belanger@gmail.com>
7428         * calc/calc-forms.el (math-normalize-hms): Do a better check for
7429         "negative" hms forms.
7431 2014-09-04  Rasmus Pank Roulund  <emacs@pank.eu>
7433         * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
7434         returns nil (bug#18391).
7436 2014-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7438         * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
7439         terminating paren (bug#18352).
7440         (eldoc-last-data-store): Return cached data.
7441         (eldoc-get-var-docstring): Avoid setq.
7442         (eldoc-get-fnsym-args-string): Clarify data flow.
7444 2014-09-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7446         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
7447         case where we're currently providing part of the &rest arg after some
7448         &key args, as in define-ibuffer-op (bug#18048).
7450 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7452         * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
7453         buffer-local setting of which-func-mode.
7454         (which-func-mode): Use defvar-local.
7455         (which-function-mode): Don't reset which-func-mode in each buffer since
7456         it might have been set by someone else.
7457         (which-func-update-ediff-windows): Check which-function-mode.
7459 2014-09-03  Martin Rudalics  <rudalics@gmx.at>
7461         * frame.el (frame-initialize): Remove horizontal-scroll-bars
7462         from frame-initial-frame-alist.
7463         * scroll-bar.el (previous-horizontal-scroll-bar-mode)
7464         (horizontal-scroll-bar-mode-explicit)
7465         (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
7466         (toggle-horizontal-scroll-bar): Remove.
7467         (horizontal-scroll-bar-mode): Remove defcustom.
7468         (horizontal-scroll-bar-mode): Fix doc-string.
7469         (scroll-bar-toolkit-scroll)
7470         (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
7472 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7474         * emacs-lisp/package.el (package-generate-description-file):
7475         Properly quote the arguments (bug#18332).  Change second arg.
7476         (package--alist-to-plist-args): Rename from package--alist-to-plist and
7477         quote the elements.
7478         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
7479         the *-pkg.el file.  Adjust to new calling convention of
7480         package-generate-description-file.
7482         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
7483         (gud-gdb-completions): Remove obsolete workaround.
7485 2014-09-03  Eli Zaretskii  <eliz@gnu.org>
7487         * subr.el (posn-col-row): Revert the change from commit
7488         2010-11-13T21:07:58Z!eliz@gnu.org, which
7489         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7490         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7491         introduced an off-by-one error in the reported row when there is a
7492         header line.  (Bug#18384)
7494 2014-09-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7496         * progmodes/python.el (python-indent-post-self-insert-function):
7497         Avoid electric colon at beginning-of-defun.  (Bug#18228)
7499 2014-09-03  Glenn Morris  <rgm@gnu.org>
7501         * tutorial.el (tutorial--display-changes):
7502         Fix 2014-08-01 change.  (Bug#18382)
7504 2014-09-03  Ken Brown  <kbrown@cornell.edu>
7506         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7507         the Cygwin-w32 build.  (Bug#18347)
7509 2014-09-03  Glenn Morris  <rgm@gnu.org>
7511         * tar-mode.el (tar--extract, tar-extract):
7512         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
7514 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7516         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7517         handle multiline elements (bug#18380).
7519 2014-09-01  Eli Zaretskii  <eliz@gnu.org>
7521         * ls-lisp.el (ls-lisp-use-string-collate)
7522         (ls-lisp-UCA-like-collation): New defcustoms.
7523         (ls-lisp-string-lessp): Use them to control sorting by file
7524         names.  (Bug#18051)
7525         (ls-lisp-version-lessp): New function.
7526         (ls-lisp-handle-switches): Use it to implement the -v switch of
7527         GNU ls.
7528         (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7530 2014-08-31  Christoph Scholtes  <cschol2112@gmail.com>
7532         * ibuffer.el: Replace mode-specific quit function with
7533         `quit-window' via `special-mode'.
7534         (ibuffer-mode-map): Use keybindings from special-mode-map instead
7535         of local overrides.
7536         (ibuffer): Don't store previous windows configuration.
7537         Let `quit-window' handle restoring.
7538         (ibuffer-quit): Remove function.  Use `quit-window' instead.
7539         (ibuffer-restore-window-config-on-quit): Remove variable.
7540         (ibuffer-prev-window-config): Remove variable.
7542 2014-08-29  Michael Heerdegen  <michael_heerdegen@web.de>
7544         * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7545         name instead of variable name in hook docstring.  (Bug#18349)
7547 2014-08-29  Martin Rudalics  <rudalics@gmx.at>
7549         * window.el (display-buffer-at-bottom): Prefer bottom-left
7550         window to other bottom windows.  Reuse a bottom window if it
7551         shows the buffer already.  Suggested by Juri Linkov
7552         <juri@jurta.org> in discussion of (Bug#18181).
7554 2014-08-29  Leo Liu  <sdl.web@gmail.com>
7556         * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7557         append to minibuffer-setup-hook.  (Bug#18341)
7559 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7561         * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7562         byte-compiler.
7563         (lookup-syntax-properties): Silence byte-compiler.
7564         (c-lang-defconst): Quote the code with `lambda' rather than with
7565         `quote'.
7566         (c-lang-const): Avoid unneeded setq.
7567         (c-lang-constants-under-evaluation): Add docstring.
7568         (c-lang--novalue): New constant.
7569         (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7570         (c-get-lang-constant): Same here.
7571         Get the mode's value using `funcall' now that the code is quoted
7572         with `lambda'.
7574 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
7576         * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7577         (Bug#18326)
7579 2014-08-28  Martin Rudalics  <rudalics@gmx.at>
7581         * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7582         interpretation of `portion-whole'.
7584 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
7586         * net/tramp-adb.el: Spell author name correctly.
7588 2014-08-28  João Távora  <joaotavora@gmail.com>
7590         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7591         use url-expand-file-name.  (Bug#18310)
7593 2014-08-28  Glenn Morris  <rgm@gnu.org>
7595         * emulation/cua-rect.el (cua--highlight-rectangle):
7596         Avoid error at point-min.  (Bug#18309)
7598 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7600         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7601         executable-find (bug#18244).
7603         * simple.el (self-insert-uses-region-functions): Defvar.
7605 2014-08-28  Glenn Morris  <rgm@gnu.org>
7607         * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7609 2014-08-27  Dmitry Antipov  <dmantipov@yandex.ru>
7611         * startup.el (normal-top-level): Now use internal--top-level-message.
7613 2014-08-26  Dmitry Antipov  <dmantipov@yandex.ru>
7615         * startup.el (normal-top-level): Use top-level-message.
7617 2014-08-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7619         * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7620         URLs containing spaces and the like.
7622 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
7624         * subr.el (remq): Fix docstring (Bug#18253).
7626 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
7628         * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7630 2014-08-24  Alan Mackenzie  <acm@muc.de>
7632         Handle C++11's "auto" and "decltype" constructions.
7633         * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7634         and return 'decltype.
7635         (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7636         prev-kwd-sym, new-style-auto.  Enhance to handle the new "auto"
7637         keyword.
7638         * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
7639         "decltype" keyword.
7640         (c-font-lock-c++-new): Handle "decltype" constructions.
7641         * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
7642         New c-lang-defconsts/defvars.
7643         (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
7644         (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
7645         (c-typeless-decl-kwds): Append "auto" onto the C++ value.
7646         (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
7648         Make ">>" act as double template ender in C++ Mode.  (Bug#11386)
7649         * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
7650         off from c->-op-cont-re.
7651         (c->-op-cont-tokens): Change to use the above.
7652         (c->-op-without->-cont-regexp): New lang-const.
7653         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7654         Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
7657 2014-08-23  Alan Mackenzie  <acm@muc.de>
7659         * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
7660         loop, bug #18306.  The bug was introduced on 2014-08-02.
7662 2014-08-21  Eli Zaretskii  <eliz@gnu.org>
7664         * textmodes/texnfo-upd.el (texinfo-specific-section-type):
7665         Don't recognize a Top node if there are other sectioning commands
7666         earlier in the Texinfo file.  This fixes a bug in
7667         texinfo-make-menu and avoids inflooping in
7668         texinfo-all-menus-update when they are invoked on texinfo.texi.
7670 2014-08-21  Martin Rudalics  <rudalics@gmx.at>
7672         * window.el (window--side-window-p): New function.
7673         (split-window, window-splittable-p): Use window--side-window-p to
7674         determine whether WINDOW can be split (Bug#18304).
7675         * calendar/calendar.el (calendar-basic-setup): Fix one call of
7676         `window-splittable-p' and add another (Bug#18304).
7678 2014-08-20  Sam Steingold  <sds@gnu.org>
7680         * progmodes/python.el (python-new-pythonpath): Extract from
7681         `python-shell-calculate-process-environment'.
7683 2014-08-18  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7685         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
7686         for &key args (bug#18048).
7688 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7690         * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
7691         (eldoc-function-argstring-format): Remove.
7692         (eldoc-function-argstring): Always return upcase args.
7693         Use help-make-usage.  Don't add parens.
7694         (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
7695         it's too late to do it right (bug#18048).
7697 2014-08-18  Eli Zaretskii  <eliz@gnu.org>
7699         * scroll-bar.el (scroll-bar-horizontal-drag-1)
7700         (scroll-bar-toolkit-horizontal-scroll): When determining the
7701         paragraph direction, use the buffer of the window designated in
7702         the event.
7704 2014-08-16  Andreas Schwab  <schwab@linux-m68k.org>
7706         * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
7707         context of unified diff.
7709 2014-08-16  Paul Eggert  <eggert@cs.ucla.edu>
7711         Add dependencies to fix loaddefs race during parallel builds.
7712         Without this, for example, 'make -j bootstrap' can fail and report
7713         "Opening input file: no such file or directory,
7714         .../lisp/calendar/diary-loaddefs.el ... recipe for target
7715         'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
7716         got confused because diary-loaddefs.el was being built in parallel.
7717         * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
7718         Depend on $(CAL_DIR)/cal-loaddefs.el.
7719         ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
7721 2014-08-16  Martin Rudalics  <rudalics@gmx.at>
7723         * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
7724         portion-whole for scrolling right-to-left text.
7726 2014-08-15  Leo Liu  <sdl.web@gmail.com>
7728         * speedbar.el (speedbar-generic-list-tag-p): Allow special
7729         elements from imenu.
7731 2014-08-15  Glenn Morris  <rgm@gnu.org>
7733         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
7735 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
7737         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7738         Add Guile regexpses.
7740 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
7742         * progmodes/gud.el (guiler): New function.  Starts the Guile REPL;
7743         add Guile debugger support for GUD.
7745 2014-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7747         * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
7748         (mouse-sel--ignore): New function.
7749         (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
7750         (mouse-sel-original-interprogram-cut-function)
7751         (mouse-sel-original-interprogram-paste-function): Remove.
7753 2014-08-13  Eric S. Raymond  <esr@thyrsus.com>
7755         * vc/vc-git.el (vc-git-resolve-when-done): New function.
7756         Call "git add" when there are no longer conflict markers.
7758 2014-08-13  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7760         * vc/vc-git.el (vc-git-find-file-hook): New function.
7761         Adds support for calling smerge (and resolve) on a conflicted file.
7762         (vc-git-conflicted-files): New function.
7763         Useful in itself and a step towards better smerge support.
7765 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7767         * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
7768         to the first part if they're the same as the selection.
7770 2014-08-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7772         * image-mode.el (image-transform-reset): New command and menu item.
7773         (image-mode-map): Rearrange the menu items to put presumably more
7774         obscure items at the end.
7776 2014-08-12  Juri Linkov  <juri@jurta.org>
7778         * vc/vc-annotate.el (vc-annotate-background-mode):
7779         Use `with-demoted-errors' instead of `ignore-errors'.  (Bug#18189)
7781 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7783         * files.el (out-of-memory-warning-percentage): Turn it off by default.
7785 2014-08-11  Sam Steingold  <sds@gnu.org>
7787         * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
7788         the presence of known validators (tidy, (o)nsgmls).
7790 2014-08-11  Ulf Jasper  <ulf.jasper@web.de>
7792         Newsticker: introduce `newsticker-treeview-date-format'.  (Bug#17227)
7793         * net/newst-treeview.el (newsticker-treeview-date-format): New.
7794         (newsticker--treeview-list-add-item):
7795         Use `newsticker-treeview-date-format'.
7797 2014-08-11  Glenn Morris  <rgm@gnu.org>
7799         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
7800         chose coding system for writing before backing up, since it causes
7801         a more serious problem than the one it solves.  (Closes Bug#18141,
7802         reopens Bug#13522.)
7804 2014-08-11  Martin Rudalics  <rudalics@gmx.at>
7806         * window.el (window-total-size): Make doc-string more self-contained.
7808         * window.el (display-buffer-below-selected): Restore original
7809         behavior if buffer is already displayed in the window below the
7810         selected one (Bug#18181).
7812 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7814         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
7815         event (bug#18212).
7817 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
7819         * info.el (info): Doc fix.
7821 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7823         * info.el (Info-mode-map): Override a global down-mouse-2 binding
7824         (bug#18212).
7826 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
7828         * simple.el (default-line-height): A floating-point value of
7829         line-spacing means a fraction of the default frame font's height,
7830         not of the font currently used by the 'default' face.
7831         Truncate the pixel value, like the display engine does.
7832         (window-screen-lines): Use window-inside-pixel-edges for
7833         determining the window height in pixels.  (Bug#18195)
7835 2014-08-11  Grégoire Jadi  <daimrod@gmail.com>
7837         * leim/quail/latin-post.el: Transform " __" into " _".  (Bug#18023)
7839 2014-08-10  Ulf Jasper  <ulf.jasper@web.de>
7841         Enumerate evaluated sexp diary entries (Bug#7911).
7842         * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
7843         (icalendar-export-sexp-enumeration-days): New.
7844         (icalendar-export-region): Now `icalendar--convert-to-ical'
7845         returns a cons cell or a list of cons cells.
7846         (icalendar--convert-to-ical): Take care of
7847         `icalendar-export-sexp-enumerate-all'.  Return (a list of) cons cells.
7848         (icalendar--convert-ordinary-to-ical)
7849         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7850         (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
7851         (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
7852         (icalendar--convert-anniversary-to-ical): Return cons cell.
7853         (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
7854         entries.  Return (list of) cons cells.
7856 2014-08-09  Juri Linkov  <juri@jurta.org>
7858         * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
7859         to reevaluate `vc-annotate-color-map'.  (Bug#18189)
7861 2014-08-09  Alan Mackenzie  <acm@muc.de>
7863         * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
7864         for top-level that can cause unacceptable slow-down in scrolling.
7865         See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
7866         Antipov from 2013-10-14 in emacs-devel.
7868 2014-08-08  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7870         * ibuffer.el (ibuffer-mode-map): Use toggle button for
7871         `ibuffer-auto-mode' menu entry.
7872         (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
7874 2014-08-08  Matthias Meulien  <orontee@gmail.com>
7876         * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
7877         (Bug#16394)
7879 2014-08-07  Martin Rudalics  <rudalics@gmx.at>
7881         * window.el (window--min-size-1): Explicitly set WINDOW arg in
7882         calls of window-min-pixel-height and window-min-pixel-width.
7884 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
7886         * progmodes/ada-mode.el:
7887         * net/tramp.el (tramp-handle-file-symlink-p):
7888         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
7889         about VMS, which we no longer support.
7890         * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
7891         and fix a FIXME, using convert-standard-filename in place of
7892         removed ada-convert-file-name.
7894 2014-08-07  Eli Zaretskii  <eliz@gnu.org>
7896         * files.el (auto-mode-alist): Remove support for VMS from a pattern.
7898 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
7900         Refer to MS-DOS using the same name everywhere.
7901         * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
7902         ``msdog'' become ``MS-DOS''.
7904 2014-08-07  Michael Albinus  <michael.albinus@gmx.de>
7906         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7907         Use cached "remote-copy-args" value, if available.  (Bug#18199)
7909 2014-08-07  Leo Liu  <sdl.web@gmail.com>
7911         * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
7912         Revert change on 2014-03-22.
7914 2014-08-06  Ulf Jasper  <ulf.jasper@web.de>
7916         * calendar/icalendar.el (icalendar--diarytime-to-isotime)
7917         (icalendar--convert-ordinary-to-ical): Allow for missing minutes
7918         (Bug#13750).
7921 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7923         * image-mode.el (image-toggle-display-image): Always rescale images
7924         to not be bigger than the current window.
7926 2014-08-05  Eric Brown  <brown@fastmail.fm>  (tiny change)
7928         * net/eww.el (eww-bookmarks-directory): New variable.
7929         (eww-write-bookmarks): Use it.
7930         (eww-read-bookmarks): Ditto.
7932 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7934         * net/shr.el (shr-copy-url): Also copy the image URL.
7936 2014-08-05  Michael Albinus  <michael.albinus@gmx.de>
7938         * net/tramp-cache.el (tramp-flush-file-function): Suppress function
7939         also for Tramp working buffers.
7941 2014-08-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7943         * progmodes/python.el: Fix completions inside (i)pdb.
7944         (python-shell-completion-pdb-string-code): Make obsolete.
7945         (python-shell-completion-get-completions):
7946         Use python-shell-completion-string-code resending setup code
7947         continuously for (i)pdb.
7949 2014-08-04  Paul Eggert  <eggert@cs.ucla.edu>
7951         * rect.el (rectangle--default-line-number-format): Rename
7952         from misspelled rectange--default-line-number-format (Bug#18045).
7953         All uses changed.
7955 2014-08-03  Paul Eggert  <eggert@cs.ucla.edu>
7957         Don't mishandle year-9999 dates (Bug#18176).
7958         * calendar/parse-time.el (parse-time-rules):
7959         Allow years up to most-positive-fixnum.
7960         * calendar/time-date.el (date-to-time):
7961         Pass "Specified time is not representable" errors through.
7963 2014-08-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7965         * progmodes/python.el: Completion code cleanups.
7966         (python-shell-completion-get-completions): Detect and send import
7967         statements directly to completion function.
7968         (python-shell-completion-at-point): Simplify prompt calculation
7969         and import vs input completion logic.
7971 2014-08-02  Alan Mackenzie  <acm@muc.de>
7973         Fix confusion in C++ file caused by comma in "= {1,2},".
7974         Bug #17756.
7975         * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
7976         for a statement boundary marked by "}", check there's no "="
7977         before the "{".
7978         (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
7979         non-nil `comma-delim' argument.
7980         * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
7981         initializer expression more accurately.
7983         Correct loop termination condition in c-syntactic-skip-backward.
7984         * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
7985         the situation where, after moving back out of a literal,
7986         skip-chars-backward doesn't move further, yet checks have still to
7987         be done.
7989 2014-08-01  Eli Zaretskii  <eliz@gnu.org>
7991         * tutorial.el (tutorial--display-changes): Accept punctuation
7992         characters before the key binding.  (Bug#18146)
7994 2014-07-31  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7996         * progmodes/python.el: Shell output capture enhancements.
7997         (python-shell-accept-process-output): New function.
7998         (inferior-python-mode)
7999         (python-shell-send-setup-code): Use it.
8001 2014-07-30  Christophe Deleuze  <christophe.deleuze@free.fr>  (tiny change)
8003         * calendar/icalendar.el (icalendar--decode-isodatetime):
8004         Use actual current-time-zone when converting to local time.  (Bug#15408)
8006 2014-07-29  Martin Rudalics  <rudalics@gmx.at>
8008         * window.el (window--state-put-2): Handle horizontal scroll
8009         bars, if present.
8011 2014-07-29  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8013         * menu-bar.el (menu-bar-update-buffers): Update item list format
8014         in `buffers-menu' to confirm with changes to `get_keyelt'
8015         (r117463).  (Bug#18016)
8017 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8019         * progmodes/python.el (inferior-python-mode): Make input prompts
8020         read-only.
8022 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
8024         * net/tramp-sh.el (tramp-get-remote-python): Also search for
8025         executables named "python2" or "python3".
8026         (tramp-get-remote-uid-with-python): Use parentheses around
8027         arguments to `print' to make it compatible with Python 3.
8028         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
8030 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
8032         * window.el (window--pixel-to-total): Use FRAME's root window, not
8033         that of the selected frame.  (Bug#18112, Bug#16674)
8035 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
8037         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
8038         (Bug#18117)
8040 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8042         * progmodes/python.el (inferior-python-mode): Doc fix.
8044 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
8046         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
8047         not a character, ignore it instead of raising an error.
8049         * calendar/todo-mode.el: Fix handling of marked items and make
8050         minor code improvements.
8051         (todo-edit-item): If there are marked items, ensure user can only
8052         invoke editing commands that work with marked items.
8053         (todo-edit-item--text): When there are marked items, make it a
8054         noop if invoked with point not on an item; otherwise, ensure it
8055         applies only to item at point.
8056         (todo-item-undone): If there are marked not-done items, return
8057         point to its original position before signaling user error.
8058         (todo--user-error-if-marked-done-item): New function.
8059         (todo-edit-item--header, todo-edit-item--diary-inclusion)
8060         (todo-item-done): Use it.
8062 2014-07-28  Glenn Morris  <rgm@gnu.org>
8064         * files.el (toggle-read-only): Re-add basic doc-string.
8065         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
8067         * progmodes/prolog.el (prolog-mode-keybindings-edit):
8068         Replace missing `switch-to-prolog' with `run-prolog'.
8069         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
8071 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
8073         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
8074         of file-wide setting when changing category-wide setting.
8076 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
8078         * doc-view.el (doc-view-open-text): Don't require that the
8079         document is saved in a file (e.g., email attachment).
8081 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8083         Parse completion input in a iPython friendly way.  (Bug#18084)
8084         * progmodes/python.el
8085         (python-shell-completion-at-point): Rename from
8086         python-shell-completion-complete-at-point.
8087         (inferior-python-mode): Use it.
8088         (python-completion-at-point): Rename from
8089         python-completion-complete-at-point.  Parse input up to first
8090         backward occurrence of whitespace, open-paren, close-paren or
8091         string delimiter.
8092         (python-mode): Use it.
8094 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8096         * progmodes/python.el
8097         (python-shell-with-shell-buffer): New macro.
8098         (python-shell-font-lock-get-or-create-buffer)
8099         (python-shell-font-lock-kill-buffer)
8100         (python-shell-font-lock-with-font-lock-buffer)
8101         (python-shell-font-lock-cleanup-buffer)
8102         (python-shell-font-lock-toggle): Use it.
8103         (python-shell-font-lock-turn-on)
8104         (python-shell-font-lock-turn-off): Use it.  Make command.
8106 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8108         Grab all Python process output before inferior-python-mode hooks.
8109         * progmodes/python.el (inferior-python-mode):
8110         Call accept-process-output and sit-for to ensure all output for process
8111         has been received before running hooks.
8112         (python-shell-internal-get-or-create-process):
8113         Cleanup accept-process-output and sit-for calls.
8115 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8117         More robust shell startup and code setup.
8118         * progmodes/python.el (python-shell-make-comint):
8119         Remove accept-process-output call.
8120         (python-shell-get-buffer): Return current buffer if major-mode is
8121         inferior-python-mode.
8122         (python-shell-get-or-create-process): Use it.
8123         (python-shell-send-setup-code): Send all setup code in one string,
8124         output success message and accept-process-output.
8126 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
8128         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
8129         Add rudimentary support for bidirectional text.
8131 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
8133         * frame.el (frame-notice-user-settings): Rewrite using
8134         frame-initial-frame-tool-bar-height.
8135         * menu-bar.el (menu-bar-horizontal-scroll-bar)
8136         (menu-bar-no-horizontal-scroll-bar): New functions.
8137         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
8138         scroll bars.
8139         * scroll-bar.el (scroll-bar-lines)
8140         (set-horizontal-scroll-bar-mode)
8141         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
8142         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
8143         (scroll-bar-toolkit-horizontal-scroll): New functions.
8144         (horizontal-scroll-bar-mode)
8145         (previous-horizontal-scroll-bar-mode)
8146         (horizontal-scroll-bar-mode-explicit): New variables.
8147         (horizontal-scroll-bar-mode): New option.
8148         (toggle-horizontal-scroll-bar): Do something.
8149         (top-level): Bind horizontal-scroll-bar mouse-1.
8150         * startup.el (tool-bar-originally-present): Remove variable.
8151         (command-line): Don't set tool-bar-originally-present.
8152         * window.el (window-min-height): Update doc-string.
8153         (window--dump-frame): Dump horizontal scroll bar values.
8154         (window--min-size-1): Handle minibuffer window separately.
8155         Count in margins and horizontal scroll bar.  Return safe value
8156         iff IGNORE equals 'safe.
8157         (frame-windows-min-size): New function (used by frame resizing
8158         routines).
8159         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
8160         scroll bars.
8161         (window--sanitize-window-sizes): New function.
8162         (window-split-min-size): Remove.
8163         (split-window): Count divider-width.  Don't use
8164         `window-split-min-size' any more.  Reword error messages.
8165         Sanitize windows sizes after splitting.
8167 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
8169         Use `defvar-local' more.
8170         * progmodes/hideshow.el
8171         (hs-c-start-regexp, hs-block-start-regexp)
8172         (hs-block-start-mdata-select, hs-block-end-regexp)
8173         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
8174         remove corresponding `make-variable-buffer-local' top-level calls.
8176 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8178         Cleanup error signals.  (Bug#18067)
8179         * progmodes/python.el
8180         (python-indent-shift-left): Use user-error instead.
8181         (python-shell-prompt-detect): Use lwarn with python group.
8182         (python-completion-complete-at-point)
8183         (python-eldoc--get-doc-at-point): Don't signal error.
8185 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8187         Support for packages in Python shell.  (Bug#13570)
8188         * progmodes/python.el (python-shell--package-depth): New var.
8189         (python-shell-package-enable): New command.
8190         (python-util-list-directories, python-util-list-files)
8191         (python-util-list-packages): New functions.
8193 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8195         Faster comint output.  (Bug#16875)
8196         * progmodes/python.el:
8197         (python-comint-output-filter-function): Make obsolete.
8198         (python-comint-postoutput-scroll-to-bottom): New function.
8199         (inferior-python-mode): Set comint-output-filter-functions to a
8200         minimum.
8202 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8204         * progmodes/python.el (python-shell-font-lock-post-command-hook):
8205         Safeguard current point and undo history.
8207 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8209         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
8210         * progmodes/python.el:
8211         (python-shell-prompt-input-regexps): Add iPython block prompt.
8212         (python-shell-output-syntax-table): Delete var.
8213         (python-shell-font-lock-with-font-lock-buffer): New macro.
8214         (python-shell-font-lock-get-or-create-buffer)
8215         (python-shell-font-lock-kill-buffer)
8216         (python-shell-font-lock-cleanup-buffer)
8217         (python-shell-font-lock-post-command-hook)
8218         (python-shell-font-lock-turn-off): New functions.
8219         (python-shell-font-lock-turn-on): New function.
8220         (inferior-python-mode): Use it.
8221         (python-shell-font-lock-toggle): New command.
8222         (python-shell-font-lock-enable): Rename from
8223         python-shell-enable-font-lock.
8224         (run-python-internal): Use it.
8225         (python-shell-font-lock-comint-output-filter-function): New function.
8226         (python-shell-comint-end-of-output-p): New function.
8227         (python-shell-output-filter): Use it.
8228         (python-util-comint-last-prompt): New function.
8229         (python-util-text-properties-replace-name): New function.
8231 2014-07-25  Glenn Morris  <rgm@gnu.org>
8233         * vc/ediff-init.el (ediff-toggle-read-only-function):
8234         * vc/ediff-util.el (ediff-toggle-read-only):
8235         Replace obsolete toggle-read-only with read-only-mode.
8237 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
8239         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
8240         with `save-match-data'.  (Bug#18095)
8242 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8244         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
8245         order to ensure that row and col are lexically bound inside the
8246         evaluated sexp.
8248 2014-07-21  Glenn Morris  <rgm@gnu.org>
8250         * progmodes/hideif.el (hide-ifdef-mode-submap):
8251         Also substitute read-only-mode.
8252         * bindings.el (mode-line-toggle-read-only):
8253         * bs.el (bs-toggle-readonly):
8254         * buff-menu.el (Buffer-menu-toggle-read-only):
8255         * dired.el (dired-toggle-read-only):
8256         * files.el (view-read-only, find-file-read-only)
8257         (find-file-read-only-other-window)
8258         (find-file-read-only-other-frame):
8259         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
8260         Doc fixes re toggle-read-only.
8262 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8264         * progmodes/python.el: Add comment about pipe buffering and
8265         solutions for missing/delayed output in inferior Python shells.
8266         (Bug#17304)
8268         * progmodes/python.el (python-mode): Don't set
8269         mode-require-final-newline.  (Bug#17990)
8271         Make python.el work with IPython automatically.  (Bug#15510)
8272         * progmodes/python.el:
8273         (python-shell-completion-setup-code): New value supporting iPython.
8274         (python-shell-completion-string-code): New value supporting iPython.
8275         (python-shell-completion-get-completions): Use them.
8276         (python-shell-completion-module-string-code): Make obsolete.
8277         (python-shell-prompt-input-regexps)
8278         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
8279         (python-shell-output-filter): Fix comment typo.
8281         Fix Python shell prompts detection for remote hosts.
8282         * progmodes/python.el (python-shell-prompt-detect):
8283         Replace call-process with process-file and make it more robust.
8285         Autodetect Python shell prompts.  (Bug#17370)
8286         * progmodes/python.el:
8287         (python-shell-interpreter-interactive-arg)
8288         (python-shell-prompt-detect-enabled)
8289         (python-shell-prompt-detect-failure-warning)
8290         (python-shell-prompt-input-regexps)
8291         (python-shell-prompt-output-regexps): New vars.
8292         (python-shell-prompt-calculated-input-regexp)
8293         (python-shell-prompt-calculated-output-regexp): New vars.
8294         (python-shell-get-process-name)
8295         (python-shell-internal-get-process-name)
8296         (python-shell-output-filter)
8297         (python-shell-completion-get-completions): Use them.
8298         (python-shell-prompt-detect)
8299         (python-shell-prompt-validate-regexps): New functions.
8300         (python-shell-prompt-set-calculated-regexps): New function.
8301         (inferior-python-mode): Use it.  Also honor overriden
8302         python-shell-interpreter and python-shell-interpreter-args.
8303         (python-shell-make-comint): Honor overriden
8304         python-shell-interpreter and python-shell-interpreter-args.
8305         (python-shell-get-or-create-process): Make it testable by allowing
8306         to call run-python non-interactively.
8307         (python-util-valid-regexp-p): New function.
8308         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
8309         (python-shell-prompt-output-regexp)
8310         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
8312 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8314         * emacs-lisp/smie.el (smie-config--guess-1): Split from
8315         smie-config--guess.
8316         (smie-config--guess): Use it.
8318         * emacs-lisp/edebug.el: Use nadvice.
8319         (edebug-original-read): Remove.
8320         (edebug--read): Rename from edebug-read and add `orig' arg.
8321         (edebug-uninstall-read-eval-functions)
8322         (edebug-install-read-eval-functions): Use nadvice.
8323         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
8324         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
8325         (edebug-read-string, edebug-read-function): Use just `read'.
8326         (edebug-original-debug-on-entry): Remove.
8327         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
8328         `orig' arg.
8329         (debug-on-entry): Override with nadvice.
8331         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
8332         it also makes sense to bind it to a non-mouse event.
8334         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
8336 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8338         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
8339         (bug#18015).
8341         * rect.el (rectangle--string-preview): Don't assume there
8342         a non-nil default (bug#17984).
8344 2014-07-16  Glenn Morris  <rgm@gnu.org>
8346         * desktop.el (after-init-hook): Disable startup frame restoration
8347         in non-graphical situations.  (Bug#17693)
8349         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
8350         if it was "empty", or used for a different set of files.  (Bug#17884)
8352 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
8354         * bindings.el (mode-line-remote): If default-directory is not a
8355         string, don't call file-remote-p on it; instead state in the
8356         help-echo that it is nil.  (Bug#17986)
8358 2014-07-14  Daniel Colascione  <dancol@dancol.org>
8360         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
8361         to `macroexpand-all'
8363         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
8364         Use `macroexpand-all' instead of `cl-macroexpand-all'.
8366 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
8368         Fix bug: C-x v v discarded existing log message (Bug#17884).
8369         * vc/vc-dispatcher.el (vc-log-edit):
8370         Don't clobber an already-existing log message.
8372 2014-07-12  Glenn Morris  <rgm@gnu.org>
8374         * vc/log-edit.el (log-edit-changelog-entries):
8375         Check for a visited-but-never-saved ChangeLog.
8377 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8379         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
8380         a non-existing file (bug#17970).
8382         * faces.el (face-name): Undo last change.
8383         (x-resolve-font-name): Don't call face-name (bug#17956).
8385 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8387         Fix dedenters and electric colon handling.  (Bug#15163)
8388         * progmodes/python.el
8389         (python-rx-constituents): Add dedenter and block-ender.
8390         (python-indent-dedenters, python-indent-block-enders): Delete.
8391         (python-indent-context): Return new case for dedenter-statement.
8392         (python-indent-calculate-indentation): Handle new case.
8393         (python-indent-calculate-levels): Fix levels calculation for
8394         dedenter statements.
8395         (python-indent-post-self-insert-function): Fix colon handling.
8396         (python-info-dedenter-opening-block-message): New function.
8397         (python-indent-line): Use it.
8398         (python-info-closing-block)
8399         (python-info-closing-block-message): Remove.
8400         (python-info-dedenter-opening-block-position)
8401         (python-info-dedenter-opening-block-positions)
8402         (python-info-dedenter-statement-p): New functions.
8404 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
8406         * files.el (out-of-memory-warning-percentage): New defcustom.
8407         (warn-maybe-out-of-memory): Use it.
8409 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
8411         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
8412         when calling `read-string'.  (Bug#17839)
8414 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
8416         * files.el (warn-maybe-out-of-memory): Fix the wording of the
8417         warning.
8419 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
8421         * files.el (warn-maybe-out-of-memory): New function.
8422         (find-file-noselect): Use it.
8424 2014-07-09  Sam Steingold  <sds@gnu.org>
8426         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
8427         `constant' like `bless', `return' &c
8429 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8431         * rect.el (apply-on-rectangle): Check forward-line really moved to the
8432         next line.
8434 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8436         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
8437         the middle of a line (bug#17896).
8439 2014-07-09  Juri Linkov  <juri@jurta.org>
8441         * startup.el (command-line): Append displaying the warning about
8442         the errors in the init file to the end of `after-init-hook'.
8443         (Bug#17927)
8445         * faces.el (face-name): Return input arg `face' as-is
8446         when it's not a symbol.
8447         (x-resolve-font-name): Don't check if the face is a symbol.
8448         (Bug#17956)
8450         * facemenu.el (list-colors-print): In help-echo format use %.2f
8451         instead of %d because now HSV values are floating-point components
8452         between 0.0 and 1.0.
8454 2014-07-09  Glenn Morris  <rgm@gnu.org>
8456         * emulation/cua-rect.el (cua--activate-rectangle):
8457         Avoid setting cua--rectangle to nil.  (Bug#17877)
8459 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
8461         * calendar/todo-mode.el: Fix wrong-type-argument error when
8462         marking multiple consecutive items.
8463         (todo-toggle-mark-item): Don't try to mark the empty lines at the
8464         end of the todo and done items sections.  Note in doc string that
8465         items marked by passing a numeric prefix argument can include the
8466         last todo and first done items.
8467         (todo-mark-category): Don't try to mark the empty line between the
8468         todo and done items sections.
8470 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8472         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
8473         proper Lisp quoting (bug#17934).
8475         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
8476         require-final-newline since prog-mode already took care of it (bug#17947).
8478 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
8480         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
8481         refer to the Todo mode Info manual.  Update the comment on
8482         requiring cl-lib.
8483         (todo-find-filtered-items-file): Add todo-prefix overlays.
8484         (todo-filter-items): Reorder a let-bound variable to avoid a
8485         wrong-type-argument error on canceling the file choice dialog.
8487 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8489         * progmodes/octave.el (inferior-octave-mode):
8490         Set comint-input-ring-size to a number (bug#17912).
8492 2014-07-09  Juri Linkov  <juri@jurta.org>
8494         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8495         and `isearch-mode' associated with nil.  (Bug#17849)
8497 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8499         * linum.el (linum--face-height): New function (bug#17813).
8500         (linum-update-window): Use it to adjust margin to linum's width.
8502         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8503         * eshell/em-smart.el (eshell-smart-scroll-window):
8504         Use with-selected-window.
8506         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8507         Remove also pointless window&mark manipulation.
8509         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8510         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8511         (perl-continuation-line-p): Don't skip over anything else than labels.
8512         Return the previous char.
8513         (perl-calculate-indent): Use syntax-ppss instead of parse-start
8514         and update callers accordingly.  For continuation lines, check the
8515         the case of array hashes.
8516         (perl-backward-to-noncomment): Make it non-interactive.
8517         (perl-backward-to-start-of-continued-exp): Rewrite.
8519 2014-07-08  Sam Steingold  <sds@gnu.org>
8521         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8522         New user commands.
8524 2014-07-08  Juri Linkov  <juri@jurta.org>
8526         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8527         (vc-annotate-color-map): Use less saturated colors (20%) for
8528         background-mode.
8529         (vc-annotate-very-old-color): Add default value for background-mode.
8530         (vc-annotate-background): Set default value to nil since now text on
8531         the default backgrounds should be legible in light and dark modes.
8532         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
8533         (Bug#17808)
8535 2014-07-08  Juri Linkov  <juri@jurta.org>
8537         * simple.el (transpose-chars): Don't move point into read-only area.
8538         (Bug#17829)
8540 2014-07-08  Juri Linkov  <juri@jurta.org>
8542         * window.el (with-displayed-buffer-window): New macro.
8543         (with-temp-buffer-window, with-current-buffer-window):
8544         Use `macroexp-let2' to evaluate and bind variables
8545         in the same order as macro arguments.
8546         (display-buffer--action-function-custom-type):
8547         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8549         * minibuffer.el (minibuffer-completion-help): Replace
8550         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8551         with actions that display *Completions* at-bottom when called
8552         from the minibuffer, or below-selected in a normal buffer.
8553         Associate `window-height' with `fit-window-to-buffer'.
8554         Let-bind `pop-up-windows' to nil.
8556         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8557         instead of `with-current-buffer-window'.  (Bug#17809)
8559 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
8561         * progmodes/hideif.el (hide-ifdef-env): Change to global.
8562         (hide-ifdef-env-backup): New variable.
8563         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8564         New customizable variables.
8565         (hif-clear-all-ifdef-defined): New defun.
8566         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8567         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8568         (hif-tokenize): Fix for MS-DOS/Win EOL style.
8569         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8570         Fix bug to hide the correct #elif region(s).
8571         (hif-range-elif): New defun.
8572         (hif-recurse-level): New var.
8573         (hif-evaluate-region, hif-evaluate-macro): New defun.
8574         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8575         fully hidden.
8576         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8577         Better interaction.
8579 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
8581         * net/dbus.el (dbus-peer-handler): New defun.
8582         (dbus-register-service): Register it.  (Bug#17858)
8583         (dbus-managed-objects-handler): Fix docstring.
8585 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>
8587         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8588         (narrow-to-defun): New arg include-comments, defaulting to it
8589         (bug#16328).
8591 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8593         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8594         different calling convention to rectangle--unhighlight-for-redisplay.
8596 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
8598         * net/tramp.el (tramp-call-process): Handle error strings.
8600         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8602         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8603         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8605         * net/trampver.el: Update release number.
8607 2014-07-03  Juri Linkov  <juri@jurta.org>
8609         * desktop.el (desktop-save): Rename arg `auto-save' to
8610         `only-if-changed'.  Doc fix.  (Bug#17873)
8612 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8614         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8615         Use insert-for-yank (bug#17271).
8617 2014-07-03  Leo Liu  <sdl.web@gmail.com>
8619         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8620         Support lexical-binding.
8622 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8624         * vc/log-edit.el (log-edit-goto-eoh): New function.
8625         (log-edit--match-first-line): Use it (bug#17861).
8627 2014-07-03  Glenn Morris  <rgm@gnu.org>
8629         * vc/log-edit.el (log-edit-hook): Add missing :version.
8631 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8633         * progmodes/python.el (python-indent-post-self-insert-function):
8634         Enhancements to electric indentation behavior inside
8635         parens.  (Bug#17658)
8637 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8639         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
8640         buffer-invisibility-spec (bug#17867).
8642 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
8644         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
8645         pass "-a".
8647 2014-07-03  Glenn Morris  <rgm@gnu.org>
8649         * cus-edit.el (help):
8650         * finder.el (finder-known-keywords):
8651         * help.el (help-for-help-internal):
8652         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
8653         (ediff-redraw-registry-buffer):
8654         * vc/ediff-ptch.el (ediff-patch-file-internal):
8655         Doc fixes re "online" help.  (Bug#17803)
8657         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
8658         (idlwave-mode): Doc URL update.
8660 2014-07-01  Juri Linkov  <juri@jurta.org>
8662         * man.el: Display man pages immediately and use process-filter
8663         to format them asynchronously.
8664         (Man-width): Doc fix.
8665         (man): Doc fix.
8666         (Man-start-calling): Use `with-selected-window' to get
8667         `frame-width' and `window-width'.
8668         (Man-getpage-in-background): Call `Man-notify-when-ready'
8669         immediately after creating a new buffer.  Call `Man-mode' and set
8670         `mode-line-process' in the created buffer.  Set process-filter to
8671         `Man-bgproc-filter' in start-process branch.  In call-process branch
8672         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
8673         Use `Man-start-calling' inside `with-current-buffer'.
8674         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
8675         (Man-cleanup-manpage): Don't print messages.
8676         (Man-bgproc-filter): New function.
8677         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
8678         user moved it during asynchronous formatting.  Move calls of
8679         `Man-fontify-manpage' and `Man-cleanup-manpage' to
8680         `Man-bgproc-filter'.  Move the call of `Man-mode' to
8681         `Man-getpage-in-background'.  Use `quit-restore-window'
8682         instead of `kill-buffer'.  Use `message' instead of `error'
8683         because errors are caught by process sentinel.
8684         (Man-mode): Move calls of `Man-build-page-list',
8685         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
8686         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
8688         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
8689         for the message about the man page cleaned up.
8691 2014-07-01  Mario Lang  <mlang@delysid.org>
8693         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
8694         cosutomization option `gnutls-verify-error'.
8696 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8698         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
8699         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
8701         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
8702         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
8703         is suspended (bug#17857).
8705 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
8707         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8708         Prefer utf-8 coding.  (Bug#17859)
8710 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8712         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
8713         for `reverse'.
8715 2014-06-30  Glenn Morris  <rgm@gnu.org>
8717         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
8718         (autoload-ensure-default-file): Maybe make existing output writable.
8719         * Makefile.in (AUTOGEN_VCS): Remove.
8720         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
8722 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8724         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
8726 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8728         New if-let, when-let, thread-first and thread-last macros.
8730         * emacs-lisp/subr-x.el
8731         (internal--listify, internal--check-binding)
8732         (internal--build-binding-value-form, internal--build-binding)
8733         (internal--build-bindings): New functions.
8734         (internal--thread-argument, thread-first, thread-last)
8735         (if-let, when-let): New macros.
8737 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
8739         * net/rcirc.el (rcirc-buffer-process): Restore previous
8740         behaviour.  (Bug#17772)
8742 2014-06-29  Alan Mackenzie  <acm@muc.de>
8744         Don't call c-parse-state when c++-template-syntax-table is active.
8745         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
8746         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
8747         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
8749 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
8751         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
8752         account for file-wide setting of todo-top-priorities-overrides.
8753         Make code a bit cleaner.
8755 2014-06-28  Glenn Morris  <rgm@gnu.org>
8757         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
8759 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
8761         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
8762         category-wide setting of todo-top-priorities-overrides, check for
8763         a file-wide setting and fontify accordingly.
8765 2014-06-28  Glenn Morris  <rgm@gnu.org>
8767         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
8769 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8771         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
8773 2014-06-28  K. Handa  <handa@gnu.org>
8775         Fix Bug#17739.
8777         * composite.el: Setup composition-function-table for dotted circle.
8778         (compose-gstring-for-dotted-circle): New function.
8780         * international/characters.el: Add category "^" to all
8781         non-spacing characters.
8783 2014-06-28  Glenn Morris  <rgm@gnu.org>
8785         * Makefile.in (doit): Remove force rule.
8786         (custom-deps, finder-data, autoloads, update-subdirs)
8787         (compile-one-process): PHONY targets do not need force rules.
8789         * Makefile.in (compile-main, compile, compile-always):
8790         No need to explicitly pass variables to ourself in recursive calls.
8792 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8794         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
8796 2014-06-26  Glenn Morris  <rgm@gnu.org>
8798         * Makefile.in (update-authors): Update for moved authors.el.
8800 2014-06-26  Leo Liu  <sdl.web@gmail.com>
8802         * skeleton.el (skeleton-end-hook): Default to nil and move the
8803         work to skeleton-insert.  (Bug#17850)
8805 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
8807         * calc/calc-alg.el (math-beforep):
8808         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
8809         Simplify because string-lessp can accept symbols as args.
8811 2014-06-26  Daiki Ueno  <ueno@gnu.org>
8813         * emacs-lisp/package.el (package--check-signature):
8814         If package-check-signature is allow-unsigned, don't signal error when
8815         we can't verify signature because of missing public key
8816         (bug#17625).
8818 2014-06-26  Glenn Morris  <rgm@gnu.org>
8820         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
8821         Remove outdated declaration.
8823         * emacs-lisp/authors.el (authors-valid-file-names)
8824         (authors-renamed-files-alist): Additions.
8826 2014-06-26  Leo Liu  <sdl.web@gmail.com>
8828         * textmodes/picture.el (picture-set-tab-stops):
8829         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
8830         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
8832         * progmodes/asm-mode.el (asm-calculate-indentation):
8833         Use indent-next-tab-stop.
8835         * indent.el (indent-accumulate-tab-stops): New function.
8837 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8839         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
8840         (package-desc-status): Obey it.
8842 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
8844         * calendar/todo-mode.el: Fix two bugs.
8845         (todo-insert-item--basic): If user cancels item insertion to
8846         another category before setting priority, show original category
8847         whether it is in the same or a different file.
8848         (todo-set-item-priority): After selecting category, instead of
8849         moving point to top, which extends an active region, restore it.
8851 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8853         * help-fns.el (describe-function-1): Check file-name is a string before
8854         calling help-fns--autoloaded-p (bug#17564).
8856 2014-06-26  Juri Linkov  <juri@jurta.org>
8858         * desktop.el (desktop-auto-save-enable)
8859         (desktop-auto-save-disable): New functions.
8860         (desktop-save-mode, desktop-auto-save-timeout): Use them.
8861         (desktop-read): Disable the autosave before loading the desktop,
8862         and enable afterwards.  (Bug#17351)
8864 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8866         Fix some indentation problem with \; and pipes (bug#17842).
8867         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
8868         (sh-smie--default-forward-token, sh-smie--default-backward-token):
8869         New functions.
8870         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
8871         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
8872         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
8874 2014-06-26  Glenn Morris  <rgm@gnu.org>
8876         * emacs-lisp/find-func.el (find-function-C-source-directory):
8877         Use file-accessible-directory-p.
8879         * ps-samp.el: Make it slightly less awful.
8880         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
8881         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
8882         Only set local values.
8883         (ps-article-subject, ps-article-author): Use standard functions
8884         like mail-fetch-field.
8885         (ps-info-file, ps-info-node): Use match-string.
8886         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
8887         (ps-samp-ps-setup): ... new function.
8889         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
8890         Optimize away code unneeded on any modern Emacs.
8892         * emacs-lisp/authors.el: Move to ../admin.
8894         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
8896 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
8898         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
8899         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
8900         performance enhancements.
8901         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
8902         expansion.
8903         (hif-factor, hif-string-concatenation, intern-safe): Support string
8904         concatenation and argumented macro expansion.
8905         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
8906         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
8907         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
8908         (hif-canonicalize-tokens, hif-place-macro-invocation)
8909         (hif-parse-macro-arglist): Mostly new functions for supporting
8910         argumented macro expansion.
8911         (hif-string-concatenation, hif-stringify, hif-token-concat)
8912         (hif-token-stringification, hif-token-concatenation):
8913         Stringification and concatenation.
8914         (hif-find-next-relevant): Fix comments.
8915         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
8916         some cases involving #elif.
8917         (hif-find-define, hif-add-new-defines): New functions for automatically
8918         scanning of defined symbols.
8919         (hide-ifdef-guts): Fix for defined symbol auto scanning.
8920         (hide-ifdef-undef): Fix behavior to match CPP.
8922 2014-06-25  Glenn Morris  <rgm@gnu.org>
8924         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
8925         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
8926         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
8927         files.  They are not relevant to the original issue (bug#1004),
8928         and cause unnecessary recompilation (bug#2151).
8930 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8932         * play/landmark.el: Use lexical-binding and avoid `intangible'.
8933         (landmark--last-pos): New var.
8934         (landmark--intangible-chars): New const.
8935         (landmark--intangible): New function.
8936         (landmark-mode, landmark-move): Use it.
8937         (landmark-mode): Remove properties.
8938         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
8939         (landmark-cross-qtuple):
8940         Don't worry about `intangible' any more.
8941         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
8942         (landmark-init-display): Don't set `intangible' and `point-entered'.
8943         (square): Remove.  Inline it instead.
8944         (landmark--distance): Rename from `distance'.
8945         (landmark-calc-distance-of-robot-from): Rename from
8946         calc-distance-of-robot-from.
8947         (landmark-calc-smell-internal): Rename from calc-smell-internal.
8949 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
8951         * files.el (dir-locals-find-file, file-relative-name):
8952         * info.el (Info-complete-menu-item):
8953         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
8954         to compare-strings to avoid out-of-range errors.
8955         * subr.el (string-prefix-p): Adjust to match strict range
8956         checking in compare-strings.
8958 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
8960         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
8961         for comment lines non-greedy and stopping at newlines to fix stack
8962         overflows with large files.
8964 2014-06-24  Eli Barzilay  <eli@barzilay.org>
8966         * calculator.el (calculator-last-input): Drop 'ascii-character property
8967         lookup.
8969 2014-06-24  Leo Liu  <sdl.web@gmail.com>
8971         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
8972         tab-stop-list to nil.  (Bug#16381)
8974         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
8975         (indent-rigidly-left-to-tab-stop)
8976         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
8977         (move-to-tab-stop): Change callers.
8979 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
8981         * skeleton.el (skeleton-insert): Yet another fix of the doc string
8982         wrt behavior of \n as the first/last element of a skeleton.
8984 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
8986         * net/tramp-adb.el (tramp-adb-handle-process-file):
8987         * net/tramp-sh.el (tramp-sh-handle-process-file):
8988         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
8989         the output buffer when DISPLAY is non-nil.  (Bug#17815)
8991 2014-06-24  Glenn Morris  <rgm@gnu.org>
8993         * play/landmark.el (landmark-move-down, landmark-move-up):
8994         Fix 2007-10-20 change - preserve horizontal position.
8996 2014-06-23  Sam Steingold  <sds@gnu.org>
8998         * simple.el (kill-append): Remove undo boundary depending on ...
8999         (kill-append-merge-undo): New user option.
9001 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9003         * simple.el (handle-shift-selection, exchange-point-and-mark)
9004         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
9005         (transient-mark-mode): Use&set the global value.
9006         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
9007         * emulation/edt.el (edt-emulation-off): Save&restore the global
9008         transient-mark-mode setting.
9009         * obsolete/pc-select.el (pc-selection-mode): Use the
9010         transient-mark-mode function.
9012 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
9014         * international/fontset.el (script-representative-chars):
9015         Add representative characters for scripts added in Unicode 7.0.
9016         (otf-script-alist): Synchronize with the latest registry of OTF
9017         script tags.
9019         * international/characters.el (char-script-table): Update for
9020         scripts added and codepoint ranges changed in Unicode 7.0.
9022 2014-06-23  Eli Barzilay  <eli@barzilay.org>
9024         * calculator.el (calculator-standard-displayer): Fix bug in use of
9025         `calculator-groupize-number'.
9026         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
9027         `eval' code, so it works in v24.3.1 too.
9028         (calculator-last-input): Comment to clarify purpose.
9030 2014-06-22  Mario Lang  <mlang@delysid.org>
9032         * textmodes/rst.el (rst-comment-region): From from -> from.
9034         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
9036 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
9038         * electric.el (electric-layout-post-self-insert-function):
9039         * emacs-lisp/ert.el (ert--insert-infos):
9040         * obsolete/vi.el (vi-set-mark):
9041         * term.el (term-handle-scroll):
9042         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
9043         * wid-edit.el (widget-editable-list-value-create):
9044         Prefer point-marker to copy-marker of point.
9046 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9048         Fix completion retrieval parsing (bug#17209).
9049         * progmodes/python.el (python-mode):
9050         (python-util-strip-string): New function.
9051         (python-shell-completion-get-completions): Use it.
9053 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
9055         * skeleton.el (skeleton-insert): Fix last change.
9057 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9059         Enhancements for outline integration (bug#17796).
9060         * progmodes/python.el (python-mode): Properly set
9061         outline-heading-end-regexp so that comments after colons for
9062         defuns are supported.
9064 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
9066         * skeleton.el (skeleton-insert): Doc fix.
9068 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9070         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
9071         (smie-config-guess): Use smie-config-local so the rules are obeyed
9072         (bug#17818).
9074         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
9075         since it's already done inside the loop (bug#17819).
9077 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
9079         * mouse.el (mouse-drag-line): Re-remove code initially removed
9080         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
9081         (Bug#17819).
9083 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9085         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
9086         align with the surrounding parent (bug#17721).
9088 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
9090         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
9091         locally to nil.
9092         (texinfo-insert-block, texinfo-insert-@end)
9093         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
9094         local setting of skeleton-end-newline by adding an explicit \n to
9095         the skeletons where appropriate.  (Bug#17801)
9097 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9099         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
9100         (smie-indent--hanging-p): Use it.
9101         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
9103 2014-06-21  Leo Liu  <sdl.web@gmail.com>
9105         * simple.el (read-quoted-char): Don't let help chars pop up help
9106         buffer.  (Bug#16617)
9108 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9110         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
9111         for | (bug#17621).
9113         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
9114         Drop unknown events instead of burping.
9116 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
9118         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
9119         and later.  (Bug#17790)
9121 2014-06-21  Juri Linkov  <juri@jurta.org>
9123         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
9124         to `soft'.  (Bug#17554)
9126 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9128         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
9129         (bug#17737).
9131 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
9133         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
9134         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
9136 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
9138         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
9139         `unread-command-events'.
9141 2014-06-19  William Xu  <william.xwl@gmail.com>
9143         * progmodes/hideif.el (hif-string-to-number): Don't return float for
9144         hex integer constants (bug#17807).
9146 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9148         * international/mule-util.el (truncate-string-ellipsis): New var.
9149         (truncate-string-to-width): Use it.
9151 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
9153         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
9154         (lisp-string-in-doc-position-p): New function, extracted from
9155         lisp-font-lock-syntactic-face-function.
9156         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
9158 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
9160         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
9162 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9164         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
9165         (bubbles--game-over): Don't add `intangible' properties since they
9166         didn't work anyway.
9168 2014-06-18  Juri Linkov  <juri@jurta.org>
9170         * vc/ediff-init.el (ediff-current-diff-Ancestor)
9171         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
9172         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
9173         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
9174         Add `min-colors 88' version with removed black/white foregrounds.
9175         (Bug#10181)
9177 2014-06-18  Juri Linkov  <juri@jurta.org>
9179         * vc/diff-mode.el (diff-changed): Empty face definition to use
9180         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
9181         (diff-context): Use darker color on light background and
9182         lighter color on dark background.
9184 2014-06-18  Juri Linkov  <juri@jurta.org>
9186         * vc/diff-mode.el (diff-refine-changed): Rename from
9187         `diff-refine-change' for consistency with `diff-changed'.
9188         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
9190         * vc/smerge-mode.el (smerge-refined-changed): Rename from
9191         `smerge-refined-change'.
9192         (smerge-refined-change): Add obsolete face alias.
9194 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9196         * rect.el (rectangle-preview): New custom.
9197         (rectangle): New group.
9198         (rectangle--pos-cols): Add `window' argument.
9199         (rectangle--string-preview-state, rectangle--string-preview-window):
9200         New vars.
9201         (rectangle--string-flush-preview, rectangle--string-erase-preview)
9202         (rectangle--space-to, rectangle--string-preview): New functions.
9203         (string-rectangle): Use them.
9204         (rectangle--inhibit-region-highlight): New var.
9205         (rectangle--highlight-for-redisplay): Obey it.  Make sure
9206         `apply-on-region' uses the point-crutches of the right window.
9207         Use :align-to rather than multiple spaces.
9209 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
9211         * ruler-mode.el (ruler-mode-window-col)
9212         (ruler-mode-mouse-set-left-margin)
9213         (ruler-mode-mouse-set-right-margin): Fix calculation of column
9214         from mouse position (Bug#17768).
9216 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
9218         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
9219         without varname or rhs causes crash.
9220         (dun-ftp): Fix bug where blank ftp password is allowed, making it
9221         impossible to win endgame.
9222         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
9223         rlogin is anymore.
9224         (dun-help): Bump version number; update contact info.
9226 2014-06-15  Eli Barzilay  <eli@barzilay.org>
9228         * calculator.el (calculator-prompt, calculator-remove-zeros)
9229         (calculator-mode-hook, calculator-operators, calculator-stack)
9230         (calculator-mode): Tweak docstring.
9231         (calculator-user-operators): Tweak docstring, fix a bug in the last
9232         example.
9233         (calculator-displayer): `std' case has an optional boolean.
9234         (calculator-displayers): Use the new boolean to group in decimal mode.
9235         (calculator-mode-map, calculator, calculator-message)
9236         (calculator-op-arity, calculator-add-operators)
9237         (calculator-string-to-number, calculator-displayer-prev)
9238         (calculator-displayer-next, calculator-remove-zeros)
9239         (calculator-eng-display, calculator-number-to-string)
9240         (calculator-update-display, calculator-last-input)
9241         (calculator-clear-fragile, calculator-digit, calculator-decimal)
9242         (calculator-exp, calculator-saved-move, calculator-clear)
9243         (calculator-copy, calculator-put-value, calculator-help)
9244         (calculator-expt, calculator-truncate): Minor code improvements.
9245         (calculator-need-3-lines): New function pulling out code from
9246         `calculator'.
9247         (calculator-get-display): Rename from `calculator-get-prompt', and
9248         improved.
9249         (calculator-push-curnum): Rename from `calculator-curnum-value', and
9250         extended for all uses of it.  All callers changed.
9251         (calculator-groupize-number): New utility for splitting a number into
9252         groups.
9253         (calculator-standard-displayer): Improve code, new optional argument to
9254         use comma-split groups, make second argument optional too to use with
9255         'left/'right inputs.  All callers changed.
9256         (calculator-reduce-stack-once): New utility, doing the meat of what
9257         `calculator-reduce-stack' used to do, much improved (mostly using
9258         `pcase' for conciseness and clarity).
9259         (calculator-reduce-stack): Now doing just the reduction loop using
9260         `calculator-reduce-stack-once'.
9261         (calculator-funcall): Improve code, make it work in v24.3.1 too.
9262         (calculator-last-input): Improve code, remove some old cruft.
9263         (calculator-quit): Kill `calculator-buffer' in electric mode too.
9264         (calculator-integer-p): Remove.
9265         (calculator-fact): Improve code, make it work on non-integer values
9266         too (using truncated numbers).
9268 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
9270         Sync with Tramp 2.2.10.
9272         * net/tramp.el (tramp-methods): Tweak docstring.
9273         (tramp-handle-file-accessible-directory-p): Check for
9274         `file-readable-p' instead of `file-executable-p'.
9275         (tramp-check-cached-permissions):
9276         Use `tramp-compat-file-attributes'.
9277         (tramp-call-process): Add new argument VEC.  Adapt callees in all
9278         tramp*.el files.
9280         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
9281         (tramp-adb-maybe-open-connection): Don't set
9282         `tramp-current-*' variables.
9284         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
9285         file properties of temporary buffers.
9287         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
9289         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
9290         (tramp-gvfs-handle-delete-file): Flush file
9291         properties, not directory properties.
9292         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
9293         reading "unix::mode".
9294         (tramp-gvfs-handle-file-name-all-completions):
9295         Use "-h" option for "gvfs-ls".
9296         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
9297         (tramp-gvfs-send-command): Simplify traces.
9299         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
9300         (vc-git-program, vc-hg-program): Declare.
9301         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
9302         (tramp-methods) <nc>: Add new method.
9303         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
9304         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
9305         `tramp-login-args'.
9306         (tramp-default-user-alist): Add "nc".
9307         (top): Remove completion function for "sftp".  Add completion
9308         functions for "nc" and "psftp".
9309         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
9310         Implement support for "nc" method.
9311         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
9312         (tramp-remote-coding-commands, tramp-call-local-coding-command):
9313         Tweak docstring.
9314         (tramp-sh-handle-write-region): Tweak error message.
9315         (tramp-sh-handle-vc-registered): Remove backends when the remote
9316         binary does not exist.
9317         (tramp-find-inline-encoding): Do not raise an error.
9318         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
9319         the "nc" case.  Quote result also locally.
9321         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9322         (tramp-smb-handle-set-file-acl): Use `start-process'.
9323         (tramp-smb-handle-insert-directory): Use progress reporter.
9324         (tramp-smb-handle-rename-file): Flush also file properties of
9325         FILENAME.
9327         * net/trampver.el: Update release number.
9329 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9331         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
9332         add-to-list.
9333         (ses-localvars): Remove ses--local-printer-list, unused.
9334         (ses--metaprogramming): New macro.  Use it to defvar variables.
9335         (ses-set-localvars): Simplify.
9336         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
9337         property-list into an alist.
9338         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9339         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
9340         Remove; use defstruct accessors/setters instead.
9341         (ses-cell-formula-aset, ses-cell-printer-aset)
9342         (ses-cell-references-aset): Remove, use setf instead.
9343         (ses--alist-get): New function.
9344         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
9345         Use an alist instead of a plist and don't do move-to-front since the
9346         list is always short.
9347         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
9348         (ses-cell-property-set-fun, ses-cell-property-set)
9349         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
9350         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
9351         (ses--letref): New macro.
9352         (ses-cell-property-pop): Rewrite.
9353         (ses--cell): Rename from ses-cell and make it into a function.
9354         Make `formula' fallback on `value' if nil.
9355         (ses--local-printer): Rename from ses-local-printer and make it into
9356         a function.
9357         (ses-set-cell): Turn it into a macro so finding the accessor from the
9358         field name is done at compile time.
9359         (ses-repair-cell-reference-all): Test presence of `sym' rather than
9360         `ref' before adding `sym' to :ses-repair-reference.
9361         (ses-calculate-cell): Use ses--letref rather than
9362         ses-cell-property-get-handle.
9363         (ses-write-cells): Use a single prin1-to-string.
9364         (ses-setter-with-undo): New function.
9365         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
9366         (ses-unset-with-undo): Remove.
9367         (ses-load): Prefer apply' over `eval'.
9368         (ses-read-printer, ses-set-column-width): Use standard "(default
9369         foo)" format.
9371 2014-06-15  Glenn Morris  <rgm@gnu.org>
9373         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
9375         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
9376         Replace delete-duplicates and mapcan by cl- versions throughout.
9377         And cl-macroexpand-all by macroexpand-all.
9378         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
9380 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
9382         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
9384 2014-06-15  Juri Linkov  <juri@jurta.org>
9386         * bindings.el: Put `ascii-character' property on keypad keys
9387         mapped to characters.  (Bug#17759)
9389 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9391         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
9392         bumping forward into a closing paren (bug#17761).
9394         * term/xterm.el (xterm--version-handler): Work around for OSX
9395         Terminal.app (bug#17607).
9397 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
9399         * play/dunnet.el (dun-describe-room, dun-mode):
9400         If a lamp is in the room, you won't be eaten by a grue.
9402 2014-06-13  Glenn Morris  <rgm@gnu.org>
9404         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
9405         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
9406         (compile-always): GNU make automatically passes
9407         command-line arguments to sub-makes.
9409         * calendar/calendar.el (calendar-generate-window):
9410         Remove pointless call to font-lock-fontify-buffer.
9412 2014-06-13  Matthias Meulien  <orontee@gmail.com>
9414         * simple.el (completion-list-mode-map): Navigate with tab and backtab
9415         (bug#17767).
9417 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9419         * simple.el (set-mark-command): Simplify a bit.
9421 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
9423         * help.el (help--key-binding-keymap): New function.
9424         (help--binding-locus): New function.
9425         (describe-key): Mention the keymap in which the binding was
9426         found.  (bug#13948)
9428 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9430         * hippie-exp.el (he--all-buffers): New function.
9431         (try-expand-line-all-buffers, try-expand-list-all-buffers)
9432         (try-expand-dabbrev-all-buffers): Use it.
9434 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
9436         * hippie-exp.el (try-expand-line-all-buffers)
9437         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
9438         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
9439         original buffer, in case they're buffer-local.
9441 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9443         * ses.el (ses-initial-global-parameters-re): New defconst, a
9444         specific regexp is needed now that ses.el can handle both
9445         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
9446         local printers.
9447         (ses-localvars): Add local variables needed for local printer handling.
9448         (ses-set-localvars): Handle hashmap initialization.
9449         (ses-paramlines-plist): Add param-line for number of local printers.
9450         (ses-paramfmt-plist): New defconst, needed for code factorization
9451         between functions `ses-set-parameter' and
9452         `ses-file-format-extend-paramter-list'
9453         (ses-make-local-printer-info): New defsubst.
9454         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9455         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
9456         (ses-cell-printer-aset): New defmacro.
9457         (ses-local-printer-compile): New defun.
9458         (ses-local-printer): New defmacro.
9459         (ses-printer-validate, ses-call-printer): Add support for local
9460         printer functions.
9461         (ses-file-format-extend-paramter-list): New defun.
9462         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
9463         factorization.
9464         (ses-load): Add support for local printer functions.
9465         (ses-read-printer): Update docstring and add support for local printer
9466         functions.
9467         (ses-refresh-local-printer, ses-define-local-printer): New defun.
9468         (ses-safe-printer): Add support for local printer functions.
9470 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
9472         * ffap.el (ffap-lax-url): New var (bug#17723).
9473         (ffap-url-at-point): Use it.
9474         (ffap-file-at-point): Avoid returning just "/".
9476 2014-06-12  Matthias Meulien  <orontee@gmail.com>
9478         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
9479         (python-mode-map): Bind it.
9481         * progmodes/python.el (class skeleton): Don't erase last char of class
9482         name (bug#17683).
9484 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
9486         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9488 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
9490         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9491         (bug#17745).
9493 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9495         * international/mule-cmds.el: Use lexical-binding.
9496         (ucs-names): Simplify.
9498 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
9500         * progmodes/python.el (run-python): Use read-shell-command.
9502 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9504         * rect.el: Make it possible to move bounds past EOL or into TABs.
9505         (operate-on-rectangle): Use apply-on-rectangle.
9506         (rectangle--mark-crutches): New var.
9507         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9508         (rectangle--crutches, rectangle--reset-crutches): New functions.
9509         (apply-on-rectangle): Obey crutches.  Avoid setq.
9510         Fix missing final iteration if end is at EOB&BOL.
9511         (rectangle-mark-mode-map): Add remap bindings for
9512         exchange-point-and-mark and char/line movements.
9513         (rectangle--*-char): New function.
9514         (rectangle-exchange-point-and-mark, rectangle-right-char)
9515         (rectangle-left-char, rectangle-forward-char)
9516         (rectangle-backward-char, rectangle-next-line)
9517         (rectangle-previous-line): New commands.
9518         (rectangle--place-cursor): New function.
9519         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
9521 2014-06-08  Glenn Morris  <rgm@gnu.org>
9523         * startup.el (initial-buffer-choice): Doc fix.
9524         Reset :version (adding an option does not merit a :version bump).
9526         * bookmark.el (bookmark-load):
9527         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9529 2014-06-08  Juri Linkov  <juri@jurta.org>
9531         * desktop.el: Activate auto-saving on window configuration changes.
9532         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9533         `desktop-auto-save-set-timer' to/from
9534         `window-configuration-change-hook'.
9535         (desktop-auto-save-set-timer): Change REPEAT arg of
9536         `run-with-idle-timer' from t to nil.
9537         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9539 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
9541         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9542         vc-hg-command (bug#17570).
9544 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9546         * international/mule-cmds.el (ucs-names): Add special entry for BEL
9547         (bug#17702).
9549 2014-06-08  Glenn Morris  <rgm@gnu.org>
9551         * startup.el (window-setup-hook): Doc fix.
9553         * emacs-lisp/package.el (package-check-signature)
9554         (package-unsigned-archives): Doc fixes.
9556 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
9558         * window.el (display-buffer-use-some-window): Don't make window
9559         used smaller than it was before (Bug#17671).
9561 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
9563         * menu-bar.el (menu-bar-open): Fix last change: use the PC
9564         'redisplay' instead of '(sit-for 0)'.
9566 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
9568         * net/tramp.el (tramp-ssh-controlmaster-options):
9569         Improve search regexp.  (Bug#17653)
9571 2014-06-08  Glenn Morris  <rgm@gnu.org>
9573         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9575 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
9577         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9579 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
9581         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9582         (bug#17586).
9584         * vc/vc-hg.el (vc-hg-log-graph): New var.
9585         (vc-hg-print-log): Use it.
9586         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9587         graph output (bug#17515).
9589 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9591         * mouse.el (mouse-posn-property): Ignore buffer position info when the
9592         even happened elsewhere.
9594 2014-06-06  Mario Lang  <mlang@delysid.org>
9596         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9597         `recenter' if `current-buffer' is equal to `window-buffer'.
9599 2014-06-05  Leo Liu  <sdl.web@gmail.com>
9601         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9603 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
9605         * textmodes/tildify.el (tildify-foreach-region-outside-env):
9606         New function which calls a callback on portions of the buffer that are
9607         outside of ignored environments.
9608         (tildify-build-regexp): Remove function since it is now
9609         incorporated in `tildify-foreach-region-outside-env' where it is
9610         optimized and simplified by the use of `mapconcat'.
9611         (tildify-tildify): Return number of substitutions made so that…
9612         (tildify-count): …can be removed.
9613         (tildify-find-env): Accept a new PAIRS argument which was
9614         previously looked up in `tildify-ignored-environments-alist' each
9615         time the function was called.  With this change, the lookup is
9616         performed only once in `tildify-foreach-region-outside-env'.
9617         (tildify-region): Greatly simplify the function since now most of
9618         the work is done by `tildify-foreach-region-outside-env'.
9619         (tildify-mode-alist): Simplify slightly by avoiding if and setq
9620         and instead using or.
9622         * textmodes/tildify.el (tildify-ignored-environments-alist):
9623         Optimize environments regexes
9625         Each time beginning of an environment to ignore is found,
9626         `tildify-find-env' needs to identify regexp for the ending
9627         of the environment.  This is done by trying all the opening
9628         regexes on matched text in a loop, so to speed that up, this
9629         loop should have fewer things to match, which can be done by
9630         using alternatives in the opening regexes.
9632         Coincidentally, this should make matching of the opening
9633         regexp faster as well thanks to the use of `regexp-opt' and
9634         having common prefix pulled from many regexes.
9636         * textmodes/tildify.el (tildify-string-alist)
9637         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
9638         of supported modes since `xml-mode' is no longer a thing but just
9639         an alias to the former.  Also include comments and insides of tags
9640         in `tildify-ignored-environments-alist' for XML modes.  Finally,
9641         since XML does not define “&nbsp;”[1], use a numeric reference for
9642         a no-break space (namely “&#160;”)
9644         [1] XML specification defines only a handful of predefined entities.
9645             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
9646             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
9647             >, &, ' and " respectively).  This is in contrast to HTML and even
9648             XHTML which defined a whole bunch of entities including “&nbsp;”.
9650         * textmodes/tildify.el (tildify-pattern-alist)
9651         (tildify-string-alist, tildify-ignored-environments-alist):
9652         Improve defcustom's types by adding more tags explaining what each
9653         value means and replace “sexp” used in
9654         `tildify-ignored-environments-alist' with a full type declaration.
9656         * textmodes/tildify.el (tildify-find-env): Fix matched group
9657         indexes in end-regex building
9659         When looking for a start of an ignore-environment, the regex is built
9660         by concatenating regexes of all the environments configured in
9661         `tildify-ignored-environments-alist'.  So for example, the following
9662         list could be used to match TeX's \verb and \verb* commands:
9664             (("\\\\verb\\(.\\)" . (1))
9665              ("\\\\verb\\*\\(.\\)" . (1)))
9667         This would result in the following regex being used to find the start
9668         of any of the variants of the \verb command:
9670             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
9672         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
9673         won't match anything, and thus (match-string 1) will be nil, which
9674         will cause building of the end-matching regex to fail.
9676         Fix this by using capture groups from the time when the opening
9677         regexes are matched individually.
9679         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
9680         in `tildify-find-env'
9682         The `tildify-ignored-environments-alist' allows the end-regex to
9683         be provided not as a static string but mix of strings and indexes
9684         of groups matched the begin-regex.  For example, the “\verb!…!”
9685         TeX-command (where “!” is an arbitrary character) is handled
9686         using:
9688             ("\\\\verb\\*?\\(.\\)" . (1))
9690         In the same way, the following should be supported as well:
9692             ("open-\\(.\\)" . ("end-" 1))
9694         However the tildify-find-env function fails at
9696             (concat result
9697                     (if (stringp (setq aux (car expression)))
9698                          expression  ; BUG: expression is a list
9699                        (regexp-quote (match-string aux))))
9701         where the string part is handled incorrectly.
9703         The most trivial fix would be to replace `expression' in the
9704         true-part of the if-statement with `aux', but instead, this commit
9705         optimizes `tildify-find-env' by changing it to use `mapconcat'
9706         rather than open-coded while-loop.
9708 2014-06-05  Mario Lang  <mlang@delysid.org>
9710         * woman.el (woman-mapcan): Remove.
9711         (woman-parse-colon-path): Use cl-mapcan instead.
9713 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9715         * register.el: Add link to Emacs manual in Commentary.
9717 2014-06-02  Sam Steingold  <sds@gnu.org>
9719         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
9720         (popup-menu): ...here.
9721         (menu-bar-open): Use it to avoid an error when `lookup-key'
9722         returns a number.
9724 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
9726         * net/tramp.el (tramp-call-process): Add traces.
9727         (tramp-handle-unhandled-file-name-directory): Return "/".
9729 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
9731         Sync with upstream verilog-mode revision 3cd8144.
9732         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
9733         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
9734         (verilog-type-font-keywords): Add nor.
9735         (verilog-batch-execute-func): Force reading of Local Variables.
9736         Fix printing "no changes to be saved" with verilog-batch.
9737         (verilog-auto-arg-ports): Doc fix.
9738         Add verilog-auto-arg-format to support newlines in AUTOARG.
9739         (verilog-auto-arg): Doc fix.
9741 2014-06-02  Glenn Morris  <rgm@gnu.org>
9743         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
9744         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
9745         * emulation/ws-mode.el: Move to obsolete/.
9746         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
9748 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
9750         * simple.el (keyboard-quit): Force update of mode lines, to remove
9751         the "Def" indicator, if we were defining a macro.  (Bug#17615)
9753 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9755         * minibuffer.el (minibuffer-force-complete-and-exit):
9756         Obey minibuffer-default (bug#17545).
9758         * progmodes/js.el (js-indent-line): Don't mix columns and chars
9759         (bug#17619).
9761         * subr.el (set-transient-map): Don't wait for some "nested"
9762         transient-map to finish if we're only supposed to be active for
9763         the next command (bug#17642).
9765 2014-06-02  Leo Liu  <sdl.web@gmail.com>
9767         * emacs-lisp/gv.el (window-buffer, window-display-table)
9768         (window-dedicated-p, window-hscroll, window-point, window-start):
9769         Fix gv-expander.  (Bug#17630)
9771 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9773         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
9774         clicks (bug#17633).
9776         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
9777         for the single comma, since ", " is *very* common in normal French text
9778         (bug#17643).
9780 2014-06-02  Glenn Morris  <rgm@gnu.org>
9782         * emacs-lisp/package.el (package-check-signature)
9783         (package-unsigned-archives): Fix :version.
9785 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9787         * subr.el (sit-for): Don't run input-methods (bug#15614).
9789 2014-06-02  Glenn Morris  <rgm@gnu.org>
9791         * cus-start.el: Fix some :version numbers.
9793 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9795         * simple.el (deactivate-mark): Set mark-active to nil even if
9796         deactivation is done via setting transient-mark-mode to nil,
9797         since one is buffer-local and the other is global.
9799         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
9800         there can't be more than 2 arguments (bug#17584).
9802 2014-06-02  Glenn Morris  <rgm@gnu.org>
9804         * simple.el (filter-buffer-substring-functions)
9805         (filter-buffer-substring-function, buffer-substring-filters)
9806         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
9808         * minibuffer.el (completion-in-region-functions, completion-in-region)
9809         (completion--in-region): Doc fixes.
9811         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
9812         (expand-abbrev, abbrev--default-expand): Doc fixes.
9814 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
9816         Include sources used to create macuvs.h.
9817         * international/README: Refer to the Unicode Terms of Use rather
9818         than copying it bodily here, as that simplifies maintenance.
9820 2014-06-01  Glenn Morris  <rgm@gnu.org>
9822         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
9824 2014-05-31  Glenn Morris  <rgm@gnu.org>
9826         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
9828 2014-05-30  Glenn Morris  <rgm@gnu.org>
9830         * loadup.el: Treat `command-line-args' more flexibly.
9832 2014-05-30  Alan Mackenzie  <acm@muc.de>
9834         Guard (looking-at "\\s!") from XEmacs.
9835         * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
9837 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>
9839         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
9840         The argument COUNT is now optional, to be more backward-compatible.
9841         Doc fix.  (Bug#17560)
9843 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
9845         * whitespace.el (whitespace-report-region):
9846         Simplify documentation.
9847         (whitespace-report-region): Allow report-if-bogus to take the
9848         value `never', for non-interactive use.
9849         (whitespace-report): Refer to whitespace-report-region's
9850         documentation.
9852 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9854         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
9855         Side benefit: it works without jit-lock.
9856         (whitespace-point--used): New buffer-local var.
9857         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
9858         (whitespace-color-off): Use font-lock-flush.
9859         (whitespace-point--used, whitespace-point--flush-used): New functions.
9860         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
9861         (whitespace-empty-at-eob-regexp): Use them.
9862         (whitespace-post-command-hook): Rewrite.
9864         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
9865         (font-lock-fontify-buffer): Mark interactive-only.
9866         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
9867         Make buffer-local.
9868         (font-lock-specified-p): Remove redundant boundp check.
9869         (font-lock-flush-function, font-lock-ensure-function): New vars.
9870         (font-lock-turn-on-thing-lock): Set them.
9871         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
9872         (font-lock-after-change-function): Make `old-len' optional.
9873         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
9874         Call font-lock-flush, just in case.
9875         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
9876         recent Emacsen.
9877         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
9878         (vera-mode-map, vera-mode-menu): Remove bindings to it.
9879         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
9880         and with-syntax-table.
9881         * textmodes/conf-mode.el (conf-quote-normal):
9882         * progmodes/sh-script.el (sh-set-shell):
9883         * progmodes/prog-mode.el (prettify-symbols-mode):
9884         * progmodes/f90.el (f90-font-lock-n):
9885         * progmodes/cwarn.el (cwarn-mode):
9886         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
9887         * progmodes/compile.el (compilation-setup, compilation--unsetup):
9888         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
9889         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
9890         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
9891         font-lock-fontify-buffer-function and
9892         font-lock-unfontify-buffer-function.
9893         (rmail-unfontify-buffer-function, rmail-fontify-message):
9894         Use with-silent-modifications.
9895         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
9896         and font-lock-ensure.
9897         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
9899 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
9901         * emacs-lisp/package.el (package-generate-autoloads):
9902         Inhibit backup files.
9904 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9906         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
9907         (bug#17608).
9909 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
9911         * textmodes/tildify.el (tildify-buffer, tildify-region):
9912         Add dont-ask option.
9914 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9916         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
9917         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
9919         * subr.el (internal--funcall-interactively): New.
9920         (internal--call-interactively): Remove.
9921         (called-interactively-p): Detect funcall-interactively instead of
9922         call-interactively.
9923         * simple.el (repeat-complex-command): Use funcall-interactively.
9924         (repeat-complex-command--called-interactively-skip): Remove.
9926 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9928         * register.el (register-read-with-preview): Don't burp on
9929         frame switches (e.g. due to the frame we just popped).
9931         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
9932         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
9934 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
9936         * cus-face.el (custom-face-attributes): Add :distant-foreground.
9938 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
9940         * window.el (window--dump-frame): Remove interactive specification.
9942 2014-05-26  Glenn Morris  <rgm@gnu.org>
9944         * hippie-exp.el (he-line-search-regexp):
9945         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
9947 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
9949         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
9950         to avoid errors when trying to create or visit a file foo.todo
9951         located outside to todo-directory, and to allow having such files
9952         without them being tied to Todo mode (bug#17482).
9953         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
9954         (todo-archive-done-item, todo-find-filtered-items-file)
9955         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
9956         (todo-category-completions, todo-read-category): When visiting a
9957         Todo file, make sure we're in the right mode and the buffer local
9958         variables are set.
9959         (todo-make-categories-list, todo-reset-nondiary-marker)
9960         (todo-reset-done-string, todo-reset-comment-string):
9961         After processing all Todo files, kill the buffers of those files that
9962         weren't being visited before the processing.
9963         (todo-display-as-todo-file, todo-add-to-buffer-list)
9964         (todo-visit-files-commands): Comment out.
9965         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
9966         (auto-mode-alist): Remove add-to-list calls making Todo file
9967         extensions unrestrictedly tied to Todo modes.
9969 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9971         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
9972         (advice-function-member-p): Tell it to check both names and functions
9973         (bug#17531).
9974         (advice--add-function): Adjust call accordingly.
9976 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
9978         * calendar/todo-mode.el: Miscellaneous bug fixes.
9979         (todo-delete-file): When deleting an archive but not its todo
9980         file, make sure to update the todo file's category sexp.
9981         (todo-move-category): Keep the moved category's name unless the
9982         file moved to already has a category with that name.  If the
9983         numerically last category of the source file was moved, make the
9984         first category current to avoid selecting a nonexisting category.
9985         (todo-merge-category): Fix implementation to make merging to a
9986         category in another file work as documented.  Eliminate now
9987         insufficient and unnecessary renaming of archive category, correct
9988         document string accordingly, and clarify it.  If the numerically
9989         last category of the source file was merged, make the first
9990         category current to avoid selecting a nonexisting category.
9991         (todo-archive-done-item): When there are marked items and point
9992         happens to be on an unmarked item, ignore the latter.  Don't leave
9993         point below last item after archiving marked items.
9994         (todo-unarchive-items): Fix logic to ensure unarchiving an item
9995         from an archive with only one category deletes the archive only
9996         when the category is empty after unarchiving.  Make sure the todo
9997         file's category sexp is updated.
9998         (todo-read-file-name): Allow an existing file name even when it is
9999         not required (todo-move-category needs this to work as documented).
10000         (todo-add-file): Call todo-validate-name to reject the name of an
10001         existing todo file (needed due to fix in todo-read-file-name).
10002         (todo-reset-nondiary-marker): Also reset in filtered items files.
10003         (todo-reset-done-string, todo-reset-comment-string): Also reset in
10004         regexp filtered items files.
10005         (todo-reset-highlight-item): Also reset in filtered items files.
10006         Fix incorrect variable reference in document string.
10008 2014-05-26  Glenn Morris  <rgm@gnu.org>
10010         * window.el (window--dump-frame): Avoid error in --without-x builds.
10012 2014-05-26  Glenn Morris  <rgm@gnu.org>
10014         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
10016 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
10018         * frame.el (set-frame-font): Doc fix.
10020         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
10022 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
10024         * emacs-lisp/package.el (package--download-one-archive):
10025         Use `write-region' instead of `save-buffer' to avoid running various
10026         hooks.  (Bug#17155)
10027         (describe-package-1): Same.  Insert newline at the end of the
10028         buffer if appropriate.
10030 2014-05-26  Juri Linkov  <juri@jurta.org>
10032         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
10033         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
10034         Add more modifiers: meta, control, shift, hyper, super, alt.
10035         (Bug#17439)
10037         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
10038         to allow changing its value with `set-variable'.
10040 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10042         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
10043         #; comments.
10044         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
10045         New functions.
10046         (scheme-mode-variables): Set syntax-propertize-function instead of
10047         font-lock-syntactic-face-function.
10048         (scheme-font-lock-syntactic-face-function): Delete.
10050         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
10052         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
10053         (bug#17392).
10055 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
10057         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
10058         for a temporary file name.
10060 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
10062         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
10064 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
10066         * net/dbus.el (dbus-init-bus, dbus-call-method)
10067         (dbus-call-method-asynchronously, dbus-send-signal)
10068         (dbus-method-return-internal, dbus-method-error-internal):
10069         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
10071 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
10073         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
10074         methods which do not have a doc string.  (Bug#17490)
10076 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
10078         * textmodes/reftex-ref.el (reftex-format-special): Make it work
10079         also for AMS Math's \eqref macro.
10081 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
10083         Arrange to never byte-compile the generated -pkg.el file.
10085         * emacs-lisp/package.el (package-generate-description-file):
10086         Output first-line comment to set buffer-local var `no-byte-compile'.
10087         Suggested by Dmitry Gutov:
10088         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
10090 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
10092         Fix bug: Properly quote args to generated -pkg.el `define-package'.
10094         * emacs-lisp/package.el (package-generate-description-file):
10095         Inline `package--alist-to-plist'; rewrite to selectively
10096         quote alist values that are not self-quoting.
10097         (package--alist-to-plist): Delete func.
10099 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
10101         * term/xterm.el (xterm-function-map): Add mapping for shifted
10102         keypad keys.
10104 2014-05-24  Daniel Colascione  <dancol@dancol.org>
10106         * progmodes/subword.el (subword-find-word-boundary): Move point to
10107         correct spot before search.  (Bug#17580)
10109         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
10110         breaking the build.
10112 2014-05-24  Leo Liu  <sdl.web@gmail.com>
10114         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
10116 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10118         * minibuffer.el (completion--sreverse): Remove.
10119         (completion--common-suffix): Use `reverse' instead.
10120         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
10122 2014-05-22  Glenn Morris  <rgm@gnu.org>
10124         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
10126 2014-05-21  Daniel Colascione  <dancol@dancol.org>
10128         * files.el (interpreter-mode-alist): Add mksh.
10130         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
10131         derivative.
10132         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
10133         mksh. Improve custom spec; allow regular expressions.
10134         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
10135         (sh-after-hack-local-variables): New function.
10136         (sh-mode): Use it; respect file-local `sh-shell' variable.  (Bug#17333)
10137         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
10138         the normalization.
10139         (sh-canonicalize-shell): Rewrite to support regexes.
10141 2014-05-21  Leo Liu  <sdl.web@gmail.com>
10143         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
10145 2014-05-19  Leo Liu  <sdl.web@gmail.com>
10147         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
10149 2014-05-18  Glenn Morris  <rgm@gnu.org>
10151         * loadup.el:
10152         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
10154 2014-05-14  Sam Steingold  <sds@gnu.org>
10156         * progmodes/python.el (python-shell-get-or-create-process):
10157         Do not bind `current-prefix-arg' so that C-c C-z does not talk
10158         back unless requested.
10160 2014-05-14  Glenn Morris  <rgm@gnu.org>
10162         * subr.el (with-file-modes): New macro.
10163         * printing.el (pr-save-file-modes): Make obsolete.
10164         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
10165         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
10166         Add with-file-modes.
10167         * doc-view.el (doc-view-make-safe-dir):
10168         * epg.el (epg--start):
10169         * files.el (locate-user-emacs-file, make-temp-file)
10170         (backup-buffer-copy, move-file-to-trash):
10171         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
10172         * eshell/esh-util.el (eshell-with-private-file-modes)
10173         (eshell-make-private-directory):
10174         * net/browse-url.el (browse-url-mosaic):
10175         * obsolete/mailpost.el (post-mail-send-it):
10176         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
10177         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
10178         Use with-file-modes.
10180         * vc/emerge.el (emerge-make-temp-file): Simplify.
10182 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
10183             Stefan Monnier  <monnier@iro.umontreal.ca>
10185         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
10186         suffix (bug#15419).
10188 2014-05-14  Glenn Morris  <rgm@gnu.org>
10190         * vc/emerge.el (emerge-temp-file-prefix):
10191         Make pointless option obsolete.
10192         (emerge-temp-file-mode): Make non-functional option obsolete.
10194 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
10196         * net/browse-url.el (browse-url):
10197         Use `unhandled-file-name-directory' when setting `default-directory',
10198         in order to circumvent stalled remote connections.  (Bug#17425)
10200 2014-05-14  Glenn Morris  <rgm@gnu.org>
10202         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
10203         Optimize on Emacs, which has the relevant functions for ages.
10205 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10207         * simple.el (undo-make-selective-list): Obey undo-no-redo.
10209 2014-05-12  Sam Steingold  <sds@gnu.org>
10211         * calendar/time-date.el (seconds-to-string): New function to
10212         pretty print time delay in seconds.
10214 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10216         * mpc.el (mpc-format): Trim Date to the year.
10217         (mpc-songs-hashcons): Shorten the Date field.
10219         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
10220         into autoloading just because of a silly indirection.
10222 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
10224         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
10226 2014-05-12  Glenn Morris  <rgm@gnu.org>
10228         * emacs-lisp/find-gc.el: Move to ../admin.
10230         * printing.el (pr-version):
10231         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
10233         * net/browse-url.el (browse-url-mosaic):
10234         Create /tmp/Mosaic.PID as a private file.
10236 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10238         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
10239         (advice--member-p): If name is given, only compare the name.
10240         (advice--remove-function): Don't stop at the first match.
10241         (advice--normalize-place): New function.
10242         (add-function, remove-function): Use it.
10243         (advice--add-function): Pass the name, if any, to
10244         advice--remove-function.
10246 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
10248         * electric.el (electric-indent-post-self-insert-function): Don't use
10249         `pos' after modifying the buffer (bug#17449).
10251 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
10253         * calendar/todo-mode.el (todo-insert-item-from-calendar):
10254         Correct argument list to conform to todo-insert-item--basic.
10256 2014-05-12  Glenn Morris  <rgm@gnu.org>
10258         * files.el (cd-absolute): Test if directory is accessible
10259         rather than executable.  (Bug#17330)
10261         * progmodes/compile.el (recompile):
10262         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
10264         * net/browse-url.el (browse-url-mosaic):
10265         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
10266         This is CVE-2014-3423.
10268 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10270         * mouse.el: Use the normal toplevel loop while dragging.
10271         (mouse-set-point): Handle multi-clicks.
10272         (mouse-set-region): Handle multi-clicks for drags.
10273         (mouse-drag-region): Update call accordingly.
10274         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
10275         Use the normal event loop instead of a local while/read-event loop.
10276         (global-map): Remove redundant bindings for double/triple-mouse-1.
10277         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
10278         Generate synthetic down events when the protocol only sends up events.
10279         (xterm-mouse-last): Remove.
10280         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
10281         terminal parameter instead.
10282         (xterm-mouse--set-click-count): New function.
10283         (xterm-mouse-event): Detect/generate double/triple clicks.
10284         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
10286         * info.el (Info-quoted): New face.
10287         (Info-mode-font-lock-keywords): New var.
10288         (Info-mode): Use it.
10290         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
10291         are a hindrance for C-x C-e.
10293 2014-05-11  Leo Liu  <sdl.web@gmail.com>
10295         * net/rcirc.el (rcirc-sentinel): Fix last change.
10297 2014-05-08  Sam Steingold  <sds@gnu.org>
10299         * net/rcirc.el (rcirc-reconnect-delay): New user option.
10300         (rcirc-sentinel): Auto-reconnect to the server if
10301         `rcirc-reconnect-delay' is non-0 (but not more often than its
10302         value in case the host is off-line).
10304 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
10306         * progmodes/grep.el (lgrep): Fix a typo in last commit.
10308 2014-05-09  Glenn Morris  <rgm@gnu.org>
10310         * files.el (file-expand-wildcards):
10311         * man.el (Man-support-local-filenames):
10312         * printing.el (pr-i-directory, pr-interface-directory):
10313         * progmodes/grep.el (lgrep, rgrep):
10314         * textmodes/ispell.el (ispell-call-process)
10315         (ispell-call-process-region, ispell-start-process)
10316         (ispell-init-process): Use file-accessible-directory-p.
10318 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10320         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
10321         (xterm-mouse--read-event-sequence-1000): Return nil if something
10322         looks fishy.
10323         (xterm-mouse-event): Propagate it.
10324         (xterm-mouse-translate-1): Handle it.
10326 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
10328         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
10329         four slots of the parameter list are filled, make sure to pass it
10330         to the argument list of todo-insert-item--basic.
10332 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10334         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
10335         Add optional `seen' argument to detect and break infinite loops.
10337 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
10339         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
10340         (trace-unsafe, trace-use-tree): Make parentheses style be
10341         according to Emacs style.
10343 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
10345         * net/tramp-sh.el (tramp-remote-process-environment):
10346         Remove HISTFILE and HISTSIZE; it's too late to set them here.
10347         Add :version entry.
10348         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
10349         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
10350         extra "PSx=..." commands.
10351         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
10352         (Bug#17295)
10354         (tramp-uudecode): Replace the hard-coded temporary file name by a
10355         format specifier.
10356         (tramp-remote-coding-commands): Enhance docstring.
10357         (tramp-find-inline-encoding): Replace "%t" by a temporary file
10358         name.  (Bug#17415)
10359         This is CVE-2014-3424.
10361 2014-05-08  Glenn Morris  <rgm@gnu.org>
10363         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
10364         (find-gc-source-files): Update some names.
10365         (trace-call-tree): Simplify and update.
10366         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
10367         This is CVE-2014-3422.
10369 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10371         * minibuffer.el (completion--try-word-completion): Revert fix for
10372         Bug#15980 (bug#17375).
10374         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
10375         Always store button numbers in the same way in xterm-mouse-last;
10376         Don't burp is xterm-mouse-last is not set as expected.
10377         Never return negative indices.
10379 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
10381         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10382         Backtrack one char if the global/char-literal var matcher hits
10383         inside a string.  The next char could be the beginning of an
10384         expression expansion.
10386 2014-05-08  Glenn Morris  <rgm@gnu.org>
10388         * help-fns.el (describe-function-1): Test for an autoload before a
10389         macro, since `macrop' works on autoloads.  (Bug#17410)
10391 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10393         * electric.el (electric-indent-functions-without-reindent): Add yaml.
10395         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
10396         Make sure the new point we return is within the new string (bug#17239).
10398 2014-05-05  Daniel Colascione  <dancol@dancol.org>
10400         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10401         Port `gnu' pattern to rx.
10403 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
10405         Remove unneeded prompt when closing a buffer with active
10406         emacsclient ("Buffer ... still has clients"), #16548.
10407         * server.el (server-start): Remove the only call to:
10408         (server-kill-buffer-query-function): Remove.
10410 2014-05-04  Leo Liu  <sdl.web@gmail.com>
10412         * calendar/diary-lib.el (calendar-chinese-month-name-array):
10413         Defvar to pacify compiler.
10415 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
10417         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
10419 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10421         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10422         Use nil rather than `default' for the "default" appearance (bug#17388).
10423         * vc/ediff-util.el (ediff-inferior-compare-regions)
10424         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
10425         a misleading `default' value when it's really a boolean.
10426         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
10427         overlay is not visible.
10429 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
10431         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
10432         (todo-menu): Uncomment and update.
10434 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
10436         * calendar/todo-mode.el: Reimplement item editing to have the same
10437         basic user interface as item insertion, and make small UI and
10438         larger internal improvements to the latter.
10439         (todo-insert-item): Add reference to the Todo mode user manual to
10440         the documentation string.
10441         (todo-insert-item--basic): Rename from todo-basic-insert-item and
10442         adjust all callers.  Change signature to combine diary and
10443         nonmarking arguments.  Incorporate functionality of deleted item
10444         copying command and add error checking.  Remove detailed
10445         descriptions of the arguments from the documentation string, since
10446         this is treated in the Todo mode user manual.
10447         (todo-copy-item, todo-edit-multiline-item)
10448         (todo-edit-done-item-comment, todo-edit-item-header)
10449         (todo-edit-item-time, todo-edit-item-date-from-calendar)
10450         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
10451         (todo-edit-item-date-year, todo-edit-item-date-month)
10452         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
10453         Remove.
10454         (todo-edit-item): Reimplement as wrapper command for
10455         todo-edit-item--next-key and make it distinguish done and not done
10456         todo items.
10457         (todo-edit-item--text): New function, replacing old command
10458         todo-edit-item and incorporating deleted commands
10459         todo-edit-multiline-item and todo-edit-done-item-comment.
10460         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
10461         Use only numeric value of prefix argument.  Remove detailed
10462         descriptions of the arguments from the documentation string, since
10463         this is treated in the Todo mode user manual.
10464         (todo-edit-item--diary-inclusion): New function, replacing old
10465         command todo-edit-item-diary-inclusion and incorporating and fixing
10466         functionality of deleted command todo-edit-item-diary-nonmarking,
10467         making sure to remove todo-nondiary-marker when adding
10468         diary-nonmarking-symbol.
10469         (todo-edit-category-diary-inclusion): Make sure to delete
10470         diary-nonmarking-symbol when adding todo-nondiary-marker.
10471         (todo-edit-category-diary-nonmarking): Fix indentation.
10472         (todo-insert-item--parameters): Group diary and nonmarking
10473         parameters together.
10474         (todo-insert-item--apply-args): Adjust to signature of
10475         todo-insert-item--basic and incorporate copy parameter.
10476         Make small code improvements.
10477         (todo-insert-item--next-param): Improve prompt and adjust it to
10478         new parameter grouping.  Remove obsolete code.
10479         (todo-edit-item--param-key-alist)
10480         (todo-edit-item--date-param-key-alist)
10481         (todo-edit-done-item--param-key-alist): New defconsts.
10482         (todo-edit-item--prompt): New variable.
10483         (todo-edit-item--next-key): New function.
10484         (todo-key-bindings-t): Bind "e" to todo-edit-item.
10485         Remove bindings of deleted commands.
10487 2014-05-04  Leo Liu  <sdl.web@gmail.com>
10489         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10491 2014-05-04  Glenn Morris  <rgm@gnu.org>
10493         * allout-widgets.el (allout-widgets-tally)
10494         (allout-decorate-item-guides):
10495         * menu-bar.el (menu-bar-positive-p):
10496         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10497         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10498         * progmodes/js.el (js--inside-param-list-p)
10499         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10500         * progmodes/prolog.el (region-exists-p):
10501         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10502         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10503         Doc fixes (replace `iff').
10505 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10507         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10509 2014-05-04  Leo Liu  <sdl.web@gmail.com>
10511         Support Chinese diary entries in calendar and diary.  (Bug#17393)
10512         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10513         (calendar-chinese-from-absolute-for-diary)
10514         (calendar-chinese-to-absolute-for-diary)
10515         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10516         (diary-chinese-list-entries): New functions to list and mark
10517         Chinese diary entries in the calendar window.
10518         (diary-chinese-anniversary)
10519         (diary-chinese-insert-anniversary-entry)
10520         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10521         (diary-chinese-insert-yearly-entry): New commands to insert
10522         Chinese diary entries.
10524         * calendar/diary-lib.el (diary-font-lock-keywords):
10525         Support font-locking Chinese dates.
10527         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10528         inserting Chinese diary entries.
10530         * calendar/calendar.el (diary-chinese-entry-symbol):
10531         New customizable variable.
10532         (calendar-mode-map): Add bindings for inserting Chinese diary
10533         entries.
10535 2014-05-03  Juri Linkov  <juri@jurta.org>
10537         * dired.el (dired-check-switches, dired-switches-recursive-p):
10538         New functions.  (Bug#17218)
10539         (dired-switches-escape-p, dired-move-to-end-of-filename):
10540         Use `dired-check-switches'.
10541         (dired-insert-old-subdirs, dired-build-subdir-alist)
10542         (dired-sort-R-check): Use `dired-switches-recursive-p'.
10544 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
10546         * simple.el (undo-make-selective-list): New algorithm fixes
10547         incorrectness of position adjustments when undoing in region.
10548         (Bug#17235)
10549         (undo-elt-crosses-region): Make obsolete.
10550         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10551         New functions to adjust positions using undo-deltas.
10553 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10555         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10556         the last consecutive closing paren (bug#17345).
10558 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
10560         * dired.el (dired-mode): make terminology for eXpunge command
10561         consistent.  (Bug#17276)
10563 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
10565         * dired.el (dired-initial-position-hook, dired-initial-position):
10566         Doc string fixes.
10568 2014-04-30  Glenn Morris  <rgm@gnu.org>
10570         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
10572 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
10574         * faces.el (face-spec-recalc): Apply X resources only after the
10575         defface spec has been applied. Thus, X resources are no longer
10576         overriden by the defface spec which also fixes issues on win32 where
10577         the toolbar coloring was wrong because it is set through X resources
10578         and was (wrongfully) overriden.  (Bug#16694)
10580 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10582         * textmodes/rst.el (electric-pair-pairs): Declare.
10583         (rst-mode): Set it (bug#17131).
10585 2014-04-30  Juri Linkov  <juri@jurta.org>
10587         * desktop.el (desktop-value-to-string): Let-bind `print-length'
10588         and `print-level' to nil.  (Bug#17351)
10590 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
10592         * battery.el (battery-update): Handle the case where battery
10593         status is "N/A" (bug#17319).
10595 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10597         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
10598         to syntax-propertize.
10599         (ps-mode-auto-indent): Mark as obsolete.
10600         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10601         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10602         word regexp operators.
10603         (ps-mode-map): Move initialization into declaration.  Remove binding
10604         for TAB, RET, >, ], and }.
10605         (ps-mode-syntax-table): Move initialization into declaration.
10606         Don't give word syntax to non-word chars.
10607         (ps-run-mode-map): Move initialization into declaration.
10608         (ps-mode-menu-main): Remove auto-indent entry.
10609         (ps-mode-smie-rules): New function.
10610         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10611         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10612         (ps-mode--string-syntax-table): New const.
10613         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10614         New functions.
10615         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10616         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10618 2014-04-27  Daniel Colascione  <dancol@dancol.org>
10620         * term/xterm.el (xterm-paste): Use large finite timeout when
10621         reading event to avoid putting keys in this-command-keys.
10623 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10625         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10626         (perl-syntax-propertize-function): Use it.  Extend handling of
10627         here-docs to the unquoted case.
10629 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
10631         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10632         Use equal-including-properties to compare help-echo strings (bug#17331).
10634 2014-04-25  Leo Liu  <sdl.web@gmail.com>
10636         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10637         Fix syntax for @.  (Bug#17325)
10639 2014-04-25  Daniel Colascione  <dancol@dancol.org>
10641         * emacs-lisp/cl.el (gv): Require gv early to break eager
10642         macro-expansion cycles.
10644 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10646         * simple.el (region-active-p): Check there's a mark (bug#17324).
10648         * simple.el (completion-list-mode-map): Use choose-completion for the
10649         mouse binding as well (bug#17302).
10650         (completion-list-mode, completion-setup-function): Adjust docstring and
10651         echo area message accordingly.
10652         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
10653         calling convention of choose-completion.
10654         * comint.el (comint-dynamic-list-completions):
10655         * term.el (term-dynamic-list-completions): Accept choose-completion.
10657         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
10658         &, |, +, - and * can't be a division (bug#17317).
10660         * term/xterm.el (xterm--version-handler): Don't use modern xterm
10661         features on gnome-terminal (bug#16988).
10663 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
10665         Improve Scheme font-locking for (define ((foo ...) ...) ...).
10667         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
10668         the declared object, ignore zero or more parens, not zero or one.
10670 2014-04-24  Leo Liu  <sdl.web@gmail.com>
10672         * progmodes/xscheme.el (xscheme-expressions-ring)
10673         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
10674         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
10675         (xscheme-allow-output-p, xscheme-prompt)
10676         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
10678         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
10679         Comment out unused functions.
10681 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10683         * info.el: Use lexical-binding and cl-lib.
10684         Use defvar-local and setq-local instead of make-local-variable.
10685         (Info-apropos-matches): Avoid add-to-list.
10686         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
10688 2014-04-24  Daniel Colascione  <dancol@dancol.org>
10690         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
10692 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10694         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
10696 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
10698         * dired.el (dired-insert-set-properties): Do not consider
10699         subdirectory headings and empty lines to be information that
10700         `dired-hide-details-mode' should hide.  (Bug#17228)
10702 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
10704         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10705         Remove test messages.
10706         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
10707         and `target' twice.
10709 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10711         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
10712         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
10714         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
10716 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
10718         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10719         Set "IFS=" when using read builtin, in order to preserve spaces in
10720         the file name.  Add test messages for hunting a bug on hydra.
10721         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
10723 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10725         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
10726         Don't prettify a word within a symbol.
10728 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
10730         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
10731         possible.
10733 2014-04-22  Daniel Colascione  <dancol@dancol.org>
10735         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
10736         use defun to define `function-put'.
10738 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10740         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
10741         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
10742         (lisp-mode-variables): Set font-lock-extra-managed-props.
10744         * emacs-lisp/byte-run.el (function-put): New function.
10745         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
10746         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
10747         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
10748         Use them.
10750 2014-04-22  Daniel Colascione  <dancol@dancol.org>
10752         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
10753         Add `full-p' parameter; when nil, call `macroexpand' instead of
10754         `macroexpand-all'.
10756         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
10757         Improve docstrings.
10759         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
10760         Use lambda function values, not quoted lambdas.
10761         (byte-compile-recurse-toplevel): Remove extraneous &optional.
10763         * emacs-lisp/cl-macs.el
10764         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
10765         (cl-struct-slot-value): Conditionally use aref or nth so that the
10766         compiler produces optimal code.
10768 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10770         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
10771         (inline): Don't inline cl--set-elt.
10772         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
10773         Define as inlinable instead.
10774         (cl-struct-set-slot-value): Remove.
10776         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
10777         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
10778         Use setf instead.
10780 2014-04-21  Daniel Colascione  <dancol@dancol.org>
10782         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
10783         last two parameters after all.
10784         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
10785         (cl--compiler-macro-assoc,cl-struct-slot-value)
10786         (cl-struct-set-slot-value): Stop using them.
10788 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10790         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
10791         entry in image-mode-winprops-alist.
10793 2014-04-21  Daniel Colascione  <dancol@dancol.org>
10795         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
10796         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
10797         (byte-compile-toplevel-file-form): Use it.
10799         * emacs-lisp/cl-macs.el:
10800         (cl--loop-let): Properly destructure `while' clauses.
10802 2014-04-20  Daniel Colascione  <dancol@dancol.org>
10804         * vc/vc.el (vc-root-dir): New public autoloaded function for
10805         generically finding the current VC root.
10806         * vc/vc-hooks.el (vc-not-supported): New error.
10807         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
10809 2014-04-20  Daniel Colascione  <dancol@dancol.org>
10811         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
10812         argument.
10813         (cl--const-expr-val): cl--const-expr-val should macroexpand its
10814         argument in case we're inside a symbol-macrolet.
10815         (cl--do-arglist, cl--compiler-macro-typep)
10816         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
10817         environment to `cl--const-expr-val'.
10818         (cl-struct-sequence-type,cl-struct-slot-info)
10819         (cl-struct-slot-offset, cl-struct-slot-value)
10820         (cl-struct-set-slot-value): New functions.
10822 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10824         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
10825         assignments such as "case=hello" (bug#17297).
10827 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
10829         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
10830         Do not autoload.
10831         (tramp-file-name-handler, tramp-completion-file-name-handler):
10832         Revert patch from 2014-04-10, it isn't necessary anymore.
10833         (tramp-autoload-file-name-handler)
10834         (tramp-register-autoload-file-name-handlers): New defuns.
10835         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
10836         (tramp-register-file-name-handlers): Remove also
10837         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
10838         Do not autoload its invocation, but eval it after loading of 'tramp.
10840         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
10842         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
10844 2014-04-17  Daniel Colascione  <dancol@dancol.org>
10846         Add support for bracketed paste mode; add infrastructure for
10847         managing terminal mode enabling and disabling automatically.
10849         * xt-mouse.el:
10850         (xterm-mouse-mode): Simplify.
10851         (xterm-mouse-tracking-enable-sequence)
10852         (xterm-mouse-tracking-disable-sequence): New constants.
10853         (turn-on-xterm-mouse-tracking-on-terminal)
10854         (turn-off-xterm-mouse-tracking-on-terminal):
10855         Use tty-mode-set-strings and tty-mode-reset-strings terminal
10856         parameters instead of random hooks.
10857         (turn-on-xterm-mouse-tracking)
10858         (turn-off-xterm-mouse-tracking): Delete.
10860         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
10861         (xterm-paste-ending-sequence): New constant.
10862         (xterm-paste): New command used for bracketed paste support.
10864         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
10865         (terminal-init-xterm-bracketed-paste-mode): New function.
10866         (terminal-init-xterm): Call it.
10867         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
10868         and tty-mode-reset-strings instead of random hooks.
10869         (xterm-turn-on-modify-other-keys)
10870         (xterm-turn-off-modify-other-keys)
10871         (xterm-remove-modify-other-keys): Delete obsolete functions.
10873         * term/screen.el: Rewrite to just use the xterm code.
10874         Add copyright notice.  Mention tmux.
10876 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
10878         * image-mode.el (image-mode-window-put): Also update the property of
10879         the "default window".
10880         * doc-view.el (doc-view-new-window-function): If no window
10881         exists, move to the last known page.
10883 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10885         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
10886         here-documents (bug#17262).
10888 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
10890         * term/pc-win.el (x-list-fonts, x-get-selection-value):
10891         Provide doc strings, as required by snarf-documentation.
10893 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10895         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
10896         arg of overlays-at.  Use `invisible-p'.
10898         * obsolete/lucid.el (extent-at):
10899         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
10900         overlays-at.
10901         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
10903 2014-04-16  João Távora  <joaotavora@gmail.com>
10905         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
10906         links.  (Bug#17217).
10908 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10910         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10911         Use mapc to loop over a vector.  (Bug#17257).
10913 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
10915         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
10916         patch, there are new problems with file names containing spaces.
10917         Get rid of backticks.  (Bug#17238)
10919 2014-04-16  João Távora  <joaotavora@gmail.com>
10921         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
10922         possible bug.
10924 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
10926         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
10927         (blink-cursor-mode): Mention customization variables and the
10928         effect of 'blink-cursor-blinks'.
10930 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
10932         * simple.el (undo): Prevent insertion of identity mapping into
10933         undo-equiv-table so as undo-only does not inf loop in the presence
10934         of consecutive nils in undo list.
10936 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
10938         * faces.el (make-face): Deprecate optional argument as it is no
10939         longer needed/used since the conditional X resources handling
10940         has been pushed down to make-face-x-resource-internal itself.
10941         (make-empty-face): Don't pass optional argument to make-face.
10943 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
10945         * savehist.el (savehist-save): Remove workaround for a read-passwd
10946         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
10947         noticing that the shim was still present.
10949 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10951         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
10953 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
10955         * faces.el (face-set-after-frame-default): Remove unused local variable.
10957 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10959         * progmodes/grep.el: Use lexical-binding.
10960         (grep-expand-template): Pass explicit lexical env to `eval'.
10961         (zrgrep): Let-bind grep-find-template explicitly.
10963         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
10964         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
10966 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
10968         * international/characters.el <standard-case-table>: Add entries
10969         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
10970         Set category of Coptic characters be 'g' (Greek).
10972 2014-04-12  Leo Liu  <sdl.web@gmail.com>
10974         * progmodes/octave.el (completion-table-with-cache):
10975         Define if not available.
10976         (octave-goto-function-definition, octave-sync-function-file-names)
10977         (octave-find-definition-default-filename):
10978         Backquote upattern for compatibility.
10980 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
10982         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
10983         name twice due to backticks.  (Bug#17238)
10985 2014-04-12  Glenn Morris  <rgm@gnu.org>
10987         * term/w32-win.el (x-win-suspend-error):
10988         * term/x-win.el (x-win-suspend-error): Sync docs.
10990 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
10992         * faces.el (make-face): Remove deprecated optional argument.
10993         The conditional application of X resources is handled directly by
10994         make-face-x-resource-internal since Emacs 24.4.
10995         (make-empty-face): Don't pass optional argument to make-face.
10997 2014-04-11  Glenn Morris  <rgm@gnu.org>
10999         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
11001 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11003         Ediff's overlay priorities cause more trouble than they solve.
11004         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
11005         (ediff-highest-priority): Remove function (bug#17234).
11006         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
11007         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
11008         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
11009         overlay priorities.
11011 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
11013         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
11014         entry; use symbol boundaries to avoid mis-matches.
11016 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
11018         * net/tramp.el (tramp-file-name-handler)
11019         (tramp-completion-file-name-handler): Avoid recursive loading.
11021         * net/tramp-sh.el (tramp-make-copy-program-file-name):
11022         Quote result also locally.
11024 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11026         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
11027         Remove left-over code.
11029         * newcomment.el (comment-indent-new-line): Sink code where it's used.
11030         Reuse the previous comment's indentation unconditionally if it's on its
11031         own line.
11033 2014-04-09  Daniel Colascione  <dancol@dancol.org>
11035         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
11036         `no-syntax-crossing' arguments.  Forward to `up-list'.
11037         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
11038         Implement logic for escaping from strings.  Use narrowing to deal
11039         with corner cases.
11041 2014-04-09  Leo Liu  <sdl.web@gmail.com>
11043         * net/rcirc.el (rcirc-connection-info): New variable.
11044         (rcirc-connect): Use it to store connection info.
11045         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
11046         for killed process.
11047         (rcirc-cmd-reconnect): New command.  (Bug#17045)
11048         (rcirc-mode, set-rcirc-encode-coding-system)
11049         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
11051 2014-04-09  Daniel Colascione  <dancol@dancol.org>
11053         * emacs-lisp/cl-indent.el: Add comment claiming
11054         facility is also good for elisp.
11055         (lisp-indent-find-method): New function.
11056         (common-lisp-indent-function): Recognize cl-loop.
11057         (common-lisp-indent-function-1): Recognize cl constructs; use
11058         `lisp-indent-find-method' instead of `get' directly.
11059         (if): Use else-body style for elisp.
11061 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
11063         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11064         Module methods.  (Bug#17216)
11066 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11068         * help.el (describe-bindings): Fix buffer handling (bug#17210).
11069         (describe-bindings-internal): Mark obsolete.
11071 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11073         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
11074         buffer-file-name, and buffer-file-truename any more.
11076 2014-04-08  Leo Liu  <sdl.web@gmail.com>
11078         Use lexical-binding and require cl-lib.
11079         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
11080         (rcirc-handler-generic, rcirc-fill-paragraph)
11081         (rcirc-format-response-string, rcirc-target-buffer)
11082         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
11083         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
11084         (rcirc-ctcp-sender-PING, rcirc-browse-url)
11085         (rcirc-markup-timestamp, rcirc-markup-attributes)
11086         (rcirc-markup-my-nick, rcirc-markup-urls)
11087         (rcirc-markup-bright-nicks, rcirc-markup-fill)
11088         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
11089         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
11090         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
11091         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
11092         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
11093         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
11094         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
11095         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
11096         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
11097         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
11098         use cl-lib.
11100 2014-04-07  João Távora  <joaotavora@gmail.com>
11102         * elec-pair.el (electric-pair--syntax-ppss):
11103         When inside comments parse from comment beginning.
11104         (electric-pair--balance-info): Fix typo in comment.
11105         (electric-pair--in-unterminated-string-p): Delete.
11106         (electric-pair--unbalanced-strings-p): New function.
11107         (electric-pair-string-bound-function): New var.
11108         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11109         according to `electric-pair--in-unterminated-string-p'
11111         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11112         Inhibit quote pairing if point-max is inside an unterminated string.
11113         (electric-pair--looking-at-unterminated-string-p): Delete.
11114         (electric-pair--in-unterminated-string-p): New function.
11116 2014-04-07  Glenn Morris  <rgm@gnu.org>
11118         * shell.el (shell-directory-tracker):
11119         Go back to just ignoring failures.  (Bug#17159)
11121 2014-04-07  João Távora  <joaotavora@gmail.com>
11123         Fix `electric-pair-delete-adjacent-pairs' in modes binding
11124         backspace.  (Bug#16981)
11125         * elec-pair.el (electric-pair-backward-delete-char): Delete.
11126         (electric-pair-backward-delete-char-untabify): Delete.
11127         (electric-pair-mode-map): Bind backspace to a menu item filtering
11128         a new `electric-pair-delete-pair' command.
11129         (electric-pair-delete-pair): New command.
11131         * progmodes/python.el (python-electric-pair-string-delimiter):
11132         Fix triple-quoting electricity.  (Bug#17192)
11134         * elec-pair.el (electric-pair-post-self-insert-function):
11135         Don't skip whitespace when `electric-pair-text-pairs' and
11136         `electric-pair-pairs' were used. syntax to
11137         electric-pair--skip-whitespace.  (Bug#17183)
11139 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
11141         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
11142         "<F>".  (Bug#17199)
11144 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11146         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
11147         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
11149 2014-04-07  Glenn Morris  <rgm@gnu.org>
11151         * help.el (view-lossage): Doc tweak.
11153 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
11155         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
11156         only when inhibit-x-resources is nil, and do that earlier in the
11157         function.  Doc fix.  (Bug#16694)
11158         (face-spec-choose): Accept additional optional argument, whose
11159         value is returned if no matching attributes are found.
11160         (face-spec-recalc): Use the new optional argument when calling
11161         face-spec-choose.  (Bug#16378)
11162         (make-face-x-resource-internal): Do nothing when
11163         inhibit-x-resources is non-nil.  Don't touch the default face if
11164         reversed video is given--as was done in previous versions of Emacs.
11165         (face-set-after-frame-default): Don't call
11166         make-face-x-resource-internal here.  (Bug#16434)
11168 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
11170         * doc-view.el (doc-view-bookmark-jump):
11171         Use `bookmark-after-jump-hook' to jump to the right page after the
11172         buffer is shown in a window.  (bug#16090)
11174 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
11176         * international/characters.el (mirroring): Fix last change:
11177         instead of loading uni-mirrored.el explicitly, do that implicitly
11178         by creating the 'mirroring' uniprop table.  This avoids announcing
11179         the loading of uni-mirrored.el.
11181 2014-04-07  Glenn Morris  <rgm@gnu.org>
11183         * files.el (buffer-stale--default-function)
11184         (buffer-stale-function, revert-buffer--default):
11185         * autorevert.el (auto-revert-buffers): Doc tweaks.
11187 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
11189         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
11191 2014-04-07  Glenn Morris  <rgm@gnu.org>
11193         * files.el (make-backup-file-name-function)
11194         (make-backup-file-name, make-backup-file-name--default-function)
11195         (make-backup-file-name-1, find-backup-file-name)
11196         (revert-buffer-function, revert-buffer-insert-file-contents-function)
11197         (buffer-stale--default-function, buffer-stale-function)
11198         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
11199         (revert-buffer, revert-buffer--default)
11200         (revert-buffer-insert-file-contents--default-function):
11201         Doc fixes related to defaults no longer being nil.
11202         (make-backup-file-name-function): Bump :version.
11203         Restore nil as a valid but deprecated custom type.
11205 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11207         * progmodes/perl-mode.el (perl-syntax-propertize-function):
11208         Handle $' used as a variable (bug#17174).
11210         * progmodes/perl-mode.el (perl-indent-new-calculate):
11211         Handle forward-sexp failure (bug#16985).
11212         (perl-syntax-propertize-function): Add "foreach" and "for" statement
11213         modifiers introducing expressions (bug#17116).
11215 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11217         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
11219 2014-04-05  Leo Liu  <sdl.web@gmail.com>
11221         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11222         Add define-compilation-mode.
11224 2014-04-04  João Távora  <joaotavora@gmail.com>
11226         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
11227         parse from comment beginning.
11228         (electric-pair--balance-info): Fix typo in comment.
11229         (electric-pair--in-unterminated-string-p): Delete.
11230         (electric-pair--unbalanced-strings-p): New function.
11231         (electric-pair-string-bound-function): New var.
11232         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11233         according to `electric-pair--in-unterminated-string-p'.
11235 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11237         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
11238         Move declaration before first use.
11239         (reftex-move-to-next-arg): Silence compiler warning.
11241 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
11243         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
11244         Use `window-total-width' instead of `window-width'.
11246 2014-04-03  Daniel Colascione  <dancol@dancol.org>
11248         * subr.el (set-transient-map): Remove rms's workaround entirely;
11249         use new `suspicious-object' subr to mark our lambda for closer
11250         scrutiny during gc.
11252 2014-04-02  Richard Stallman  <rms@gnu.org>
11254         * subr.el (set-transient-map): Comment out previous change.
11256 2014-04-02  Glenn Morris  <rgm@gnu.org>
11258         * menu-bar.el (menu-bar-file-menu):
11259         * vc/ediff.el (ediff-current-file):
11260         Update for revert-buffer-function no longer being nil by default.
11262         * simple.el (command-execute): Respect nil disabled-command-function.
11264 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
11266         * simple.el (command-execute): Do not execute the command when it
11267         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
11269 2014-04-02  Juri Linkov  <juri@jurta.org>
11271         * dired-aux.el (dired-compress-file): Don't use string-match-p
11272         because its match data is used afterwards.
11274 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11276         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
11277         0 like nil.
11279 2014-04-02  João Távora  <joaotavora@gmail.com>
11281         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11282         Inhibit quote pairing if point-max is inside an unterminated string.
11283         (electric-pair--looking-at-unterminated-string-p):
11284         Delete.
11285         (electric-pair--in-unterminated-string-p): New function.
11287 2014-04-01  Daniel Colascione  <dancol@dancol.org>
11289         * minibuffer.el (minibuffer-complete): Prevent assertion failure
11290         when trying to complete the prompt.
11292 2014-03-31  Leo Liu  <sdl.web@gmail.com>
11294         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11295         Refactor out eldoc-documentation-function-default.
11296         (eldoc-documentation-function-default): New function.
11297         (eldoc-documentation-function): Change value.
11299 2014-03-31  Glenn Morris  <rgm@gnu.org>
11301         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
11303         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
11304         (vhdl-compose-components-package, vhdl-compose-configuration):
11305         Abbreviate default-directory (missing from some previous upstream sync).
11307 2014-03-31  Reto Zimmermann  <reto@gnu.org>
11309         Sync with upstream vhdl mode v3.35.2.
11310         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11311         (top-level): No longer require assoc.
11312         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
11313         New functions.  Use throughout to replace aget etc.
11314         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
11315         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
11316         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
11317         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
11318         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
11319         except `vhdl-compiler'.
11320         (vhdl-error-regexp-add-emacs): Remove all other compilers,
11321         when appropriate.
11323 2014-03-31  Glenn Morris  <rgm@gnu.org>
11325         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
11326         Revert 2014-03-26 merge goof; go back to using defalias.
11328 2014-03-30  Daniel Colascione  <dancol@dancol.org>
11330         * comint.el (comint-send-input):
11331         Deactivate completion-in-region-mode before we send comint input.
11332         (Bug#17139).
11334         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
11335         on keyboard-quit.
11337 2014-03-29  Glenn Morris  <rgm@gnu.org>
11339         * textmodes/reftex.el: Manage most autoloads automatically.
11340         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
11341         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
11342         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
11343         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
11344         * textmodes/reftex-toc.el: Set generated-autoload-file,
11345         and add autoload cookies for reftex.el.
11346         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
11348 2014-03-28  Glenn Morris  <rgm@gnu.org>
11350         * cus-start.el (report-emacs-bug-address): Set custom properties.
11351         * mail/emacsbug.el (report-emacs-bug-address):
11352         Variable is now defined in emacs.c.
11354         * mail/emacsbug.el (report-emacs-bug):
11355         Include system-configuration-features.
11357 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
11359         * simple.el (cycle-spacing): Never delete spaces on first run by
11360         default, but do so in a new 'fast mode and if there are already
11361         N spaces (the previous behavior).
11362         Compare N with its value in previous invocation so that changing
11363         prefix argument restarts `cycle-spacing' sequence.
11364         The idea is that with this change, binding M-SPC to
11365         `cycle-spacing' should not introduce any changes in behavior of
11366         the binding so long as users do not type M-SPC twice in a raw with
11367         the same prefix argument or lack thereof.
11369 2014-03-28  Glenn Morris  <rgm@gnu.org>
11371         * faces.el (term-file-aliases): New variable.
11372         (tty-run-terminal-initialization): Respect term-file-aliases.
11373         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
11374         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
11375         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
11377 2014-03-27  Glenn Morris  <rgm@gnu.org>
11379         * startup.el (inhibit-startup-hooks): Doc tweak.
11380         (normal-top-level): Simplify running of hooks.
11381         For window-setup-hook, respect inhibit-startup-hooks.
11382         (command-line-1): Don't set window-setup-hook to nil.
11384         Allow selective autoloading from obsolete/ directory.
11385         * Makefile.in (obsolete-autoloads): New rule.
11386         (autoloads): Run obsolete-autoloads.
11387         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
11388         * simple.el (iswitchb-mode): Remove hand-written autoloads.
11390 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
11392         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11393         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
11395         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11396         Don't propertize `?' or `!' as symbol constituent when after
11397         colon.  (Bug#17097)
11399 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
11401         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
11402         which is no longer needed and causes trouble in GTK builds (bug#17046).
11404         * emacs-lisp/package-x.el (package--archive-contents-from-url):
11405         Use url-insert-file-contents; package-handle-response no longer exists.
11407 2014-03-26  Daniel Colascione  <dancol@dancol.org>
11409         * simple.el (process-menu-mode-map): New variable.
11410         (process-menu-delete-process): New command.
11412 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
11414         * emacs-lisp/package.el: Fix bug#16733 (again).
11415         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
11416         (url-http-target-url): Remove unused declarations.
11417         (package-handle-response): Remove.
11418         (package--with-work-buffer): Use url-insert-file-contents and simplify.
11419         (package--download-one-archive): Use current-buffer instead of
11420         dynamic binding of `buffer'.
11421         (describe-package-1): Do not decode readme-string.
11423 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
11425         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
11427         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
11428         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
11429         `remote-file-name-inhibit-cache' to nil in the second pass.
11430         (tramp-find-executable): Do not call "which" on SunOS.
11431         (tramp-send-command-and-check): Fix docstring.
11432         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
11433         check whether source directory has set the sticky bit.
11435 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
11437         * simple.el (primitive-undo): Only process marker adjustments
11438         validated against their corresponding (TEXT . POS).  Issue warning
11439         for lone marker adjustments in undo history.  (Bug#16818)
11440         (undo-make-selective-list): Add marker adjustments to selective
11441         undo list based on whether their corresponding (TEXT . POS) is in
11442         the region.  Remove variable adjusted-markers, which was unused
11443         and only non nil during undo-make-selective-list.
11444         (undo-elt-in-region): Return nil when passed a marker adjustment
11445         and explain in function doc.
11447 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
11449         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
11451 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
11453         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
11454         Match special global variables without curlies, too.
11455         (ruby-font-lock-keywords): Simplify the matcher for special global
11456         variables.  Don't require a non-word character after the variable.
11457         (Bug#17057)
11459 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11461         * simple.el (redisplay-highlight-region-function): Increase priority of
11462         overlay to make sure boundaries are visible (bug#15899).
11464 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
11466         * frameset.el (frameset--initial-params): Fix typo in parameter name.
11467         (frameset-restore): Compare display strings with equal.
11469         * frame.el (make-frame): Don't quote display name in error message,
11470         it is already a string.
11472 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11474         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
11475         the password.
11477 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
11479         * emacs-lisp/package.el (package--add-to-archive-contents):
11480         Include already installed and built-in packages in
11481         `package-archive-contents'.
11482         (package-install): Don't include already installed packages in the
11483         options during interactive invocation.  (Bug#16762)
11484         (package-show-package-list): If the buffer is already displayed in
11485         another window, switch to that window.
11487 2014-03-26  Reto Zimmermann  <reto@gnu.org>
11489         Sync with upstream vhdl mode v3.35.1.
11490         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11491         (vhdl-compiler-alist): Doc fix.
11492         (vhdl-goto-line): Remove.
11493         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11494         (vhdl-mode) <paragraph-start>: Fix value.
11495         (vhdl-fix-statement-region): Not `for' in wait-statement.
11496         (vhdl-beautify-region): Also (un)tabify.
11497         (vhdl-get-visible-signals):
11498         Scan declarative part of generate statements.
11499         (vhdl-template-record): Fix indentation for record type declaration.
11500         (vhdl-expand-abbrev, vhdl-expand-paren):
11501         Revert to using fset again rather than defalias.
11502         (vhdl-scan-directory-contents): Tweak.
11503         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11504         (vhdl-compose-components-package):
11505         Replace vhdl-goto-line with forward-line.
11506         (top-level): Tweak speedbar frame selection.
11507         (vhdl-generate-makefile-1): Support for compilers with no
11508         unit-to-file name mapping (create directory with dummy files).
11510 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
11512         Sync with upstream verilog-mode revision 702457d.
11513         * progmodes/verilog-mode.el (verilog-mode-version): Update.
11514         (create-lockfiles): Declare.
11515         (verilog-read-decls): Fix module header imports, bug709.
11516         Reported by Victor Lau.
11517         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
11518         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11519         interface-only modules, bug721.  Reported by Dean Hoyt.
11521 2014-03-26  Glenn Morris  <rgm@gnu.org>
11523         * obsolete/gulp.el: Move here from emacs-lisp/.
11525         * files.el (lock-buffer, unlock-buffer, file-locked-p):
11526         Remove fallback aliases, since they are always defined now.
11528 2014-03-24  Daniel Colascione  <dancol@dancol.org>
11530         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11531         instead of cl-loop search function.
11533 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
11535         * calendar/parse-time.el (parse-time-iso8601-regexp)
11536         (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11537         it more generally.
11539 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
11541         * net/dns.el (network-interface-list): Define for XEmacs.
11543 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
11545         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11546         the network interfaces changed.
11547         (dns-query): Use it to flush the data.
11549 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
11551         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11553 2014-03-23  Daniel Colascione  <dancol@dancol.org>
11555         Change subword-mode to use `find-word-boundary-function-table' and
11556         replace `capitalized-words-mode'.  Also, convert to lexical binding.
11557         * progmodes/cap-words.el: Delete now-obsolete file.
11558         * progmodes/subword.el: Reimplement using
11559         `find-word-boundary-function-table'.
11560         (subword-mode-map): Hollow out.
11561         (capitalized-words-mode): Define as obsolete alias for
11562         `subword-mode'.
11563         (subword-mode, superword-mode): Tweak documentation to reflect new
11564         implementation; call `subword-setup-buffer'.
11565         (subword-forward, subword-capitalize): Add underscore to indicate
11566         unused variable.
11567         (subword-find-word-boundary-function-table): New constant.
11568         (subword-empty-char-table): New constant.
11569         (subword-setup-buffer): New function.
11570         (subword-find-word-boundary): New function.
11572 2014-03-23  Daniel Colascione  <dancol@dancol.org>
11574         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11575         list to look for keyword arguments instead of `memq', fixing
11576         (Bug#3647) --- unfortunately, only for freshly-compiled code.
11577         Please make bootstrap.
11579 2014-03-22  Glenn Morris  <rgm@gnu.org>
11581         * dired.el (dired-read-regexp): Make obsolete.
11582         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11583         (dired-flag-files-regexp):
11584         * dired-aux.el (dired-mark-read-regexp):
11585         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11587         * startup.el (fancy-startup-text):
11588         * help.el (describe-gnu-project): Visit online info about GNU project.
11590         * help-fns.el (help-fns--interactive-only): New function.
11591         (help-fns-describe-function-functions): Add the above function.
11592         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11593         (next-line, previous-line): Remove hand-written interactive-only
11594         information from doc strings, it is auto-generated now.
11595         * bookmark.el (bookmark-write):
11596         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11597         (epa-mail-import-keys): Mark interactive-only,
11598         and remove hand-written interactive-only information from doc strings.
11599         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11600         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11601         * files.el (not-modified):
11602         * simple.el (mark-whole-buffer): Mark interactive-only.
11604         * emacs-lisp/byte-run.el (defun-declarations-alist):
11605         Add interactive-only.  Doc tweak.
11606         (macro-declarations-alist): Doc tweak.
11607         * subr.el (declare): Doc tweak (add xref to manual).
11608         * comint.el (comint-run):
11609         * files.el (insert-file-literally, insert-file):
11610         * replace.el (replace-string, replace-regexp):
11611         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11612         (delete-forward-char, goto-line, insert-buffer, next-line)
11613         (previous-line): Set interactive-only via declare.
11615 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
11617         * emacs-lisp/package.el (package-desc): Use the contents of the
11618         quoted form, not its cdr.  (Bug#16873)
11620 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
11622         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11623         benefit of doc.c; change parameter profile to match the X function.
11625 2014-03-22  Leo Liu  <sdl.web@gmail.com>
11627         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11628         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
11630 2014-03-21  Richard Stallman  <rms@gnu.org>
11632         * battery.el (battery-linux-sysfs): Search for each field
11633         from the beginning of the buffer.
11635         * subr.el (set-transient-map): Clear out function and value
11636         of the temporary symbol when we're done with it.
11638         * mail/rmailsum.el (rmail-summary-delete-forward):
11639         Optimize case of reaching end and handling count.
11640         (rmail-summary-mark-deleted): Optimize when N is current msg.
11641         Don't create new summary line.
11642         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11643         (rmail-summary-undelete-many): Rewrite for speed.
11644         (rmail-summary-msg-number): New function.
11646         * mail/rmail.el (rmail-delete-message): Update summary.
11647         (rmail-undelete-previous-message): Handle repeat count arg.
11648         (rmail-delete-backward, rmail-delete-forward): Likewise.
11650 2014-03-21  Daniel Colascione  <dancol@dancol.org>
11652         * mail/emacsbug.el (report-emacs-bug): Include memory usage
11653         information in bug reports.
11655 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
11657         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
11658         and `tramp-copy-env'.
11660         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
11661         (tramp-maybe-open-connection): Handle `tramp-login-env'.
11663 2014-03-21  Glenn Morris  <rgm@gnu.org>
11665         * electric.el (electric-indent-post-self-insert-function): Add doc.
11667 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
11669         * emacs-lisp/package.el (package-compute-transaction):
11670         Use `version-list-<=' to compare the requirement version against
11671         the version of package already to be installed.  Update the error
11672         message.  (Bug#16826)
11674         * progmodes/ruby-mode.el (ruby-smie-rules):
11675         Add indentation rule for ` @ '.  (Bug#17050)
11677 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
11679         * align.el (align-regexp): Remove superfluous backslash.
11681         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
11682         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
11683         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
11684         Fix docstring typos.
11685         (ffap-next): Use C-u in docstring.
11686         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
11687         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
11688         Remove superfluous backslashes.
11689         (ffap-string-at-point): Reflow docstring.
11691         * server.el (server-host): Reflow docstring.
11692         (server-unload-function): Fix docstring typo.
11693         (server-eval-at): Remove superfluous backslash.
11695         * skeleton.el (skeleton-insert): Remove superfluous backslash.
11696         (skeleton-insert): Doc fix.
11697         (skeleton-insert): Reflow docstring.
11699         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
11700         (tty-color-approximate, tty-color-by-index, tty-color-values)
11701         (tty-color-desc): Remove superfluous backslashes.
11703 2014-03-21  Glenn Morris  <rgm@gnu.org>
11705         * cus-start.el (history-length): Bump :version.
11707         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11708         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11709         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11710         Don't set `make-backup-files'.
11712         * info.el (info--prettify-description): New function,
11713         to give info-finder descriptions consistent case, punctuation.
11714         (Info-finder-find-node): Use it.  Sort packages.
11715         Refer to "description" rather than "commentary".
11717 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
11719         * frameset.el (frameset--print-register): New function.
11720         (frameset-to-register): Use it.
11722 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
11724         * progmodes/hideif.el (hif-string-to-number): New function.
11725         (hif-tokenize): Use it to understand non-decimal floats.
11727         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
11729         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
11731 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11733         * electric.el (electric-newline-and-maybe-indent): New command.
11734         Bind it globally to C-j.
11735         (electric-indent-mode): Don't mess with the global map any more.
11736         Don't drop the post-self-insert-hook is some buffer is still using it
11737         (bug#16770).
11739         * bindings.el (global-map): Remove C-j binding.
11741         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
11742         the docstring of functions advised before dumping (bug#16993).
11744 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
11746         * ps-print.el (ps-generate-postscript-with-faces):
11747         Explicitly deactivate the mark (bug#16866).
11748         * simple.el (deactivate-mark): Update region highlight.
11750 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
11752         * emacs-lisp/package.el (describe-package-1):
11753         Decode commentary (bug#16733).
11755 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
11757         * custom.el (defcustom): Doc fix: recommend avoiding destructive
11758         modification of the value argument of :set (bug#16755).
11760 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11762         * simple.el (newline-and-indent): Do autofill (bug#17031).
11764 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
11766         * newcomment.el (comment-normalize-vars): Only add escaping check
11767         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
11768         (comment-beginning): Use `narrow-to-region' instead of moving back
11769         one character.
11770         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
11771         (comment-start-skip): Update the docstring.
11773 2014-03-18  Richard Stallman  <rms@gnu.org>
11775         * dired.el (dired-display-file): Force use of other window.
11777 2014-03-18  Daniel Colascione  <dancol@dancol.org>
11779         * startup.el (tty-handle-args): Remove debug message from 2007.
11781 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11783         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
11784         (advice--make-interactive-form): Use it to avoid (auto)loading function.
11785         (advice--make-1, advice-add, advice-remove):
11786         Remove braindead :advice-pending hack.
11788 2014-03-17  Glenn Morris  <rgm@gnu.org>
11790         * calendar/calendar.el (calendar-generate-month): Apply weekend
11791         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
11793 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
11795         * net/tramp.el (tramp-action-out-of-band): Read pending output.
11796         (tramp-call-process): Trace also DESTINATION.
11798         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11799         Quote file names when they are local.  Remove superfluous trace.
11801 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
11803         * newcomment.el (comment-beginning): If `comment-start-skip'
11804         doesn't match, move back one char and try again.  (Bug#16971)
11806         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11807         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
11808         Set `comment-start-skip' to a simpler value that doesn't try to
11809         check if the semicolon is escaped (this is handled by
11810         `syntax-ppss' now).  (Bug#16971)
11812         * progmodes/scheme.el (scheme-mode-variables): Same.
11814 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
11816         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
11817         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
11818         current (Bug#16816, Bug#17007).
11819         (with-current-buffer-window): New macro doing the same as
11820         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
11821         * help.el (help-print-return-message): Warn in doc-string to not
11822         use this in `with-help-window'.
11823         (describe-bindings-internal): Call `describe-buffer-bindings'
11824         from within help buffer.  See Juanma's scenario in (Bug#16816).
11825         (with-help-window): Update doc-string.
11826         * dired.el (dired-mark-pop-up):
11827         * files.el (save-buffers-kill-emacs):
11828         * register.el (register-preview): Use `with-current-buffer-window'
11829         instead of `with-temp-buffer-window'.
11831 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
11833         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
11834         Implement inserting into current buffer, documented in their docstrings.
11835         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
11836         (rst-section-tree-point, rst-forward-section, rst-indent)
11837         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
11838         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
11839         (rst-font-lock-handle-adornment-pre-match-form)
11840         (rst-repeat-last-character): Reflow docstrings.
11841         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
11842         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
11843         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
11844         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
11845         Fix docstring typos.
11846         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
11847         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
11848         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
11850 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
11852         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
11853         for compatibility with other ports.
11854         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
11855         from the -xrm command line argument, but in the Nextstep port its value
11856         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
11858         * progmodes/python.el (defconst, python-syntax-count-quotes)
11859         (python-indent-region, python-indent-shift-right)
11860         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
11861         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
11862         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
11863         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
11864         (inferior-python-mode, python-shell-make-comint, run-python-internal)
11865         (python-shell-buffer-substring, python-shell-send-buffer)
11866         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
11867         (python-completion-complete-at-point, python-fill-docstring-style)
11868         (python-eldoc-function, python-imenu-format-item-label)
11869         (python-imenu-format-parent-item-label)
11870         (python-imenu-format-parent-item-jump-label)
11871         (python-imenu--build-tree, python-imenu-create-index)
11872         (python-imenu-create-flat-index): Fix docstring typos.
11873         (python-indent-context, python-shell-prompt-regexp, run-python):
11874         Remove superfluous backslashes.
11875         (python-indent-line, python-nav-beginning-of-defun)
11876         (python-shell-get-buffer, python-shell-get-process)
11877         (python-info-current-defun, python-info-current-line-comment-p)
11878         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
11879         (python-indent-post-self-insert-function, python-shell-send-file)
11880         (python-shell-completion-get-completions)
11881         (python-shell-completion-complete-or-indent)
11882         (python-eldoc--get-doc-at-point): Reflow docstrings.
11884 2014-03-14  Glenn Morris  <rgm@gnu.org>
11886         * emacs-lisp/package.el (package-menu-mode-map):
11887         Replace use of obsolete function alias.  Tweak menu item text.
11889         * info.el (Info-finder-find-node):
11890         Ignore the `emacs' metapackage.  (Bug#10813)
11892         * finder.el (finder-list-matches): Include unversioned packages
11893         in the result of a keyword search.
11895         * finder.el (finder--builtins-descriptions): New constant.
11896         (finder-compile-keywords): Use finder--builtins-descriptions.
11898 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
11900         * simple.el (blink-matching-paren): Describe the new value,
11901         `jump', enabling the old behavior.
11902         (blink-matching-open): Use that value.  (Bug#17008)
11904 2014-03-14  Glenn Morris  <rgm@gnu.org>
11906         * finder.el (finder-no-scan-regexp): Add leim-list.
11907         (finder-compile-keywords):
11908         Don't skip files with same basename.  (Bug#14010)
11909         * Makefile.in (setwins_finder): New, excluding leim.
11910         (finder-data): Use setwins_finder.
11912         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
11913         (help-function-arglist, help-make-usage): Move from here...
11914         * help.el (help-split-fundoc, help-add-fundoc-usage)
11915         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
11916         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
11918 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
11920         * net/socks.el (socks, socks-override-functions)
11921         (socks-find-services-entry):
11922         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
11923         (hif-find-ifdef-block):
11924         * progmodes/modula2.el (m2-indent): Fix docstring typos.
11926         * net/tls.el (tls-program): Reflow docstring.
11928         * progmodes/pascal.el (pascal-mode-abbrev-table)
11929         (pascal-imenu-generic-expression, pascal-auto-endcomments)
11930         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
11931         (pascal-outline-mode): Fix docstring typos.
11932         (pascal-mode): Let define-derived-mode document mode hook.
11933         (pascal-uncomment-area): Reflow.
11934         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
11936         * progmodes/opascal.el (opascal-compound-block-indent)
11937         (opascal-case-label-indent): Fix docstring typos.
11938         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
11940 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
11942         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11943         Fontify multiple adjacent negation chars.  (Bug#17004)
11945 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
11947         * emacs-lisp/package.el (package--prepare-dependencies):
11948         Accept requirements without explicit version (bug#14941).
11950 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
11952         * register.el (register-separator, copy-to-register): Doc fixes.
11953         (register-preview-default): Remove unnecessary call to concat.
11955         * frameset.el (frameset-restore): When checking for a visible frame,
11956         use the action map instead of calling visible-frame-list.
11958 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
11960         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
11962 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
11964         * window.el (fit-frame-to-buffer): Get maximum width from
11965         display's width instead of height.
11967 2014-03-12  Glenn Morris  <rgm@gnu.org>
11969         * desktop.el (desktop-restore-frames)
11970         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
11971         (desktop-restore-reuses-frames): Doc tweaks.
11973         * electric.el (electric-indent-mode): Doc fix.
11975 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
11977         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
11978         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
11979         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
11980         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
11981         (cvs-dired-use-hook): Fix docstring typos.
11982         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
11983         Doc fixes.
11985         * vc/pcvs-defs.el (cvs-auto-remove-handled)
11986         (cvs-auto-remove-directories, cvs-default-ignore-marks)
11987         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
11988         (cvs-execute-single-dir): Fix docstring typos.
11990         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
11991         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
11993         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
11995         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
11996         Fix docstring typos.
11998 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
12000         * frameset.el (frameset--jump-to-register): Add autoload; it could be
12001         called from jump-to-register after unloading the frameset package.
12003 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12005         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
12006         (bug#16975).  Deactivate the mark before setting it to nil.
12007         (activate-mark): Do nothing if region is already active.
12009 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
12011         * frameset.el (frameset--target-display): Remove definition; declare.
12012         (frameset-save, frameset-restore): Let-bind frameset--target-display.
12014 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12016         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
12017         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
12018         when the advice is pending.
12019         (advice-remove): Remove this marker when not needed any more.
12021 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
12023         * frameset.el: Separate options for reusing frames and cleaning up.
12024         (frameset--reuse-list): Remove definition; declare.
12025         (frameset--action-map): Declare.
12026         (frameset--find-frame-if): Doc fix.
12027         (frameset--restore-frame): Cache frame action.
12028         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
12029         how to clean up the frame list after restoring.  Remove cleaning
12030         options from REUSE-FRAMES.  Change all keyword values to symbols.
12031         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
12033         * desktop.el (desktop-restore-forces-onscreen)
12034         (desktop-restore-reuses-frames): Use non-keyword values.
12035         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
12037 2014-03-10  Glenn Morris  <rgm@gnu.org>
12039         * files.el (find-file): Doc fix: update info node name.
12041         * emacs-lisp/advice.el (ad-add-advice, defadvice):
12042         Doc fix: remove references to deleted info nodes.
12044 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
12046         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
12047         Do not add nil to the environment, when there's no remote `locale'.
12048         (tramp-find-inline-encoding): Check, that the remote host has
12049         installed perl, before sending scripts.
12051 2014-03-10  Leo Liu  <sdl.web@gmail.com>
12053         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
12054         Clear eldoc-last-message.  (Bug#16920)
12056 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12058         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
12059         (bug#14430).
12061 2014-03-09  Juri Linkov  <juri@jurta.org>
12063         * ansi-color.el (ansi-color-names-vector): Copy default colors
12064         from `xterm-standard-colors' that look well on the default white
12065         background (and also on the black background) to avoid illegible
12066         color combinations like yellow-on-white and white-on-white.
12067         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
12069 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
12071         * frameset.el (frameset-restore): When no frame is visible, do not
12072         generate a list of frames, just make visible the selected one.
12074 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
12076         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
12077         it only contains the repository root.  (Bug#16897)
12079 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
12081         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
12082         only when `remote-file-name-inhibit-cache' is nil.
12083         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
12085 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
12087         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
12088         Fix doc-strings.
12089         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
12090         fit-frame-to-buffer variable.  Fix doc-string.
12091         (fit-window-to-buffer): Set ONLY argument in call of
12092         fit-frame-to-buffer.  Fix doc-string.
12094 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
12096         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
12097         (tramp-action-password): Clear password cache if needed.
12098         (tramp-read-passwd): Do not clear password cache.
12100         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
12101         cache unless it is the first password request.
12103 2014-03-06  Glenn Morris  <rgm@gnu.org>
12105         * simple.el (newline): Doc tweak.
12107         * emacs-lisp/shadow.el (load-path-shadows-find):
12108         Ignore dir-locals.  (Bug#12357)
12110 2014-03-05  Glenn Morris  <rgm@gnu.org>
12112         * files.el (interpreter-mode-alist):
12113         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
12115 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
12117         * frameset.el (frameset--initial-params): Filter out null entries.
12119 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
12121         * window.el (window-min-height, window-min-width):
12122         Rewrite doc-strings.
12123         (window-body-size): Add PIXELWISE argument to make it consistent
12124         with its callees.
12126 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
12128         * finder.el (finder-mode-map, finder-mode-syntax-table):
12129         Revert part of 2014-02-28 change.
12131 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
12133         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
12134         (eww-setup-buffer): Clear next/prev/etc more reliably.
12135         (eww-textarea-map): [tab] doesn't work on tty.
12136         Reported by Mario Lang.
12138         * net/shr.el (shr-map): Ditto.
12140 2014-03-04  Glenn Morris  <rgm@gnu.org>
12142         * minibuffer.el (completion-hilit-commonality):
12143         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
12145 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
12147         * hilit-chg.el (hilit-chg-unload-function): New function.
12148         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
12149         (hilit-chg-map-changes): Prefer cardinal number to digit.
12150         (hilit-chg-display-changes): Reflow docstring.
12151         (highlight-changes-rotate-faces): Remove superfluous backslash.
12153 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
12155         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
12156         `tramp-send-command-and-check'.
12158 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
12160         * hexl.el (hexl-address-region, hexl-ascii-region)
12161         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
12162         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
12163         (hexl-forward-word, hexl-previous-line, hexl-next-line):
12164         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
12165         (hexl-mode): Doc fix.
12166         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
12167         (hexl-mode-ruler): Fix typos in docstrings.
12169         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
12170         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
12171         Remove superfluous backslashes.
12172         (strokes-last-stroke, strokes-global-map, strokes-mode):
12173         Reflow docstrings.
12174         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
12175         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
12176         (strokes-distance-squared, strokes-global-set-stroke)
12177         (strokes-global-set-stroke-string): Doc fixes.
12178         (strokes-help): Fix typos; reflow docstring.
12180 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
12182         * window.el (window-in-direction): Fix doc-string.
12184 2014-03-04  Glenn Morris  <rgm@gnu.org>
12186         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
12187         Explicit error if no grammar.
12188         (smie-config-save): Doc fix.  Fix quote typo.
12190 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12192         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
12193         electric-indent-mode-hook if we obey electric-indent-mode.
12194         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
12195         decide whether we obey electric-indent-mode.
12196         (c-change-set-fl-decl-start, c-extend-after-change-region):
12197         Silence warnings.
12198         (c-electric-indent-mode-hook): Assume we do want to obey
12199         electric-indent-mode.
12201         * electric.el (electric-indent-mode-has-been-called): Remove.
12202         (electric-indent-mode): Fix accordingly.
12204         * files.el (hack-local-variables): Mention file name in warning.
12206         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
12208 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
12210         * bindings.el: Add comment describing why C-d binds to `delete-char'.
12211         * simple.el (delete-forward-char): Mark as interactive-only.
12213 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
12215         * icomplete.el (icomplete-completions):
12216         Follow-up to 2014-03-01 change.
12218         * icomplete.el: Miscellaneous doc fixes.
12219         Use Icomplete everywhere instead of icomplete for consistency.
12220         (icomplete-max-delay-chars): Fix typo.
12221         (icomplete-mode): Use \[].
12222         (icomplete-tidy, icomplete-exhibit): Reflow.
12223         (icomplete-minibuffer-setup-hook, icomplete-completions):
12224         Remove superfluous backlashes.
12226         * ido.el: Miscellaneous doc fixes.
12227         Use Ido everywhere instead of ido or `ido' for consistency.
12228         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
12229         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
12230         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
12231         (ido-separator): Extract obsolescence info from docstring and declare
12232         with make-obsolete-variable.
12233         (ido-minibuffer-setup-hook): Simplify example.
12234         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
12235         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
12236         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
12237         (ido-everywhere): Reflow docstring.
12238         (ido-toggle-vc): Doc fix.
12239         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
12240         of long list of keybindings.
12242 2014-03-03  Glenn Morris  <rgm@gnu.org>
12244         * frame.el (display-pixel-height, display-pixel-width)
12245         (display-mm-dimensions-alist, display-mm-height)
12246         (display-mm-width): Doc tweaks.
12248 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
12250         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
12251         case of undo in region.
12253 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
12255         * window.el (fit-window-to-buffer): Fix argument in window-size
12256         call when window is horizontally combined.
12258 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
12260         * icomplete.el (icomplete-completions): Use string-width.
12261         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12263 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
12265         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12266         Highlight regexp options.  (Bug#16914)
12268 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
12270         * window.el (window--max-delta-1): Round down when calculating
12271         how many lines/columns we can get from a window.
12273 2014-03-01  Glenn Morris  <rgm@gnu.org>
12275         * isearch.el (search-invisible): Doc fix.
12277         * minibuffer.el (completion-hilit-commonality):
12278         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
12279         * comint.el (comint-dynamic-list-completions): Doc fix.
12280         * comint.el (comint-dynamic-list-completions):
12281         * filecache.el (file-cache-minibuffer-complete):
12282         * tempo.el (tempo-display-completions):
12283         * eshell/em-hist.el (eshell-list-history):
12284         Replace use of obsolete argument of display-completion-list.
12286 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
12288         * icomplete.el (icomplete-completions):
12289         Revert back to using "..." when ?… cannot be displayed.
12291 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
12293         * finder.el (finder-unload-function): New function.
12295 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
12297         * dframe.el (dframe-detach):
12298         * find-dired.el (find-dired, find-name-dired):
12299         * finder.el (finder-mode-map, finder-mode-syntax-table)
12300         (finder-headmark, finder-select, finder-mouse-select):
12301         Fix docstring typos.
12303 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
12305         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
12306         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
12307         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12308         Fix doc-string based on a suggestion by Nicolas Richard
12309         <theonewiththeevillook@yahoo.fr>.
12310         * help.el (with-help-window): Fix doc-string.
12312 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
12314         * net/shr.el (shr-image-animate): New option.
12315         (shr-put-image): Respect shr-image-animate.
12317 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
12319         * net/tramp-adb.el (tramp-adb-parse-device-names):
12320         Use `accept-process-output'.
12321         (tramp-adb-handle-file-truename): Cache the localname only.
12322         (tramp-adb-handle-make-directory)
12323         (tramp-adb-handle-delete-directory): Flush file properties correctly.
12324         (tramp-adb-handle-set-file-modes): Do not raise an error when file
12325         modes cannot be changed.
12327         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
12328         file properties of symlinks.
12330 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
12332         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
12333         required/optional fields to match development biblatex.  (Bug#16781)
12335 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
12337         * saveplace.el (toggle-save-place):
12338         Fix argument handling.  (Bug#16673)
12340 2014-02-28  Glenn Morris  <rgm@gnu.org>
12342         * minibuffer.el (completions-first-difference)
12343         (completions-common-part, completion-hilit-commonality): Doc fixes.
12345 2014-02-28  Karl Berry  <karl@gnu.org>
12347         * info.el (Info-mode-map): Add H for describe-mode,
12348         to synchronize with standalone Info.
12350 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
12352         * progmodes/sql.el (sql-interactive-mode):
12353         Avoid setting global comint-input-ring-separator.  (Bug#16814)
12355 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
12357         * net/dbus.el (dbus--init-bus): Declare function.
12358         (dbus-path-local, dbus-interface-local): New defconst.
12359         (dbus-init-bus): Use them.
12360         (dbus-return-values-table): Extend doc.
12361         (dbus-handle-bus-disconnect): Extend error message.
12363 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
12365         * subr.el (y-or-n-p): Fix double space issue in message.
12367 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
12369         * net/tramp.el (tramp-call-process): Improve trace message.
12370         (tramp-handle-insert-file-contents): Trace error case.
12372         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12373         <insert-directory>: Use `tramp-handle-insert-directory'.
12374         (tramp-adb-handle-insert-directory): Remove function.
12375         (tramp-adb-send-command-and-check): New defun, replacing
12376         `tramp-adb-command-exit-status'.  Change all callees.
12377         (tramp-adb-handle-file-attributes)
12378         (tramp-adb-handle-directory-files-and-attributes): Use it.
12379         (tramp-adb-ls-output-name-less-p):
12380         Use `directory-listing-before-filename-regexp'.
12381         (tramp-adb-handle-delete-directory): Flush also file properties of
12382         the truename of directory.
12383         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
12384         (tramp-adb-handle-file-local-copy): Make the local copy readable.
12385         (tramp-adb-handle-write-region): Implement APPEND.
12386         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
12387         properties correctly.
12388         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
12389         variables.  Check for connected devices only when needed.
12391 2014-02-27  Glenn Morris  <rgm@gnu.org>
12393         * minibuffer.el (completion-table-dynamic)
12394         (completion-table-with-cache): Doc fixes.
12396         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
12397         (completing-read-multiple): Doc fixes.
12399 2014-02-27  Daniel Colascione  <dancol@dancol.org>
12401         * minibuffer.el (completion--nth-completion): Fix indentation.
12403         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
12404         explicit tramp path is empty.
12406 2014-02-27  Glenn Morris  <rgm@gnu.org>
12408         * emacs-lisp/crm.el (completing-read-multiple):
12409         Empower help-enable-auto-load.
12411 2014-02-26  Glenn Morris  <rgm@gnu.org>
12413         * startup.el (command-line): Don't init the tty in daemon mode.
12415         Avoid calling tty-setup-hook twice, eg if a term file
12416         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
12417         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
12418         (tty-create-frame-with-faces): Use it.
12419         * startup.el (command-line): Pass run-hook argument
12420         to tty-run-terminal-initialization.
12422         * dired.el (dired-restore-desktop-buffer): Demote errors;
12423         eg in case a glob match fails.  (Bug#16884)
12425 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
12427         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
12428         error from `read-from-string'.  (Bug#16850)
12430         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
12431         result of `completing-read' in the interactive form.  (Bug#16854)
12433 2014-02-25  Glenn Morris  <rgm@gnu.org>
12435         * image.el (image-animate, image-animate-timeout):
12436         Stop animating images in dead buffers.  (Bug#16878)
12438         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
12440         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
12441         Doc fixes.
12442         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
12443         * term/sun.el (sun-raw-prefix-hooks):
12444         Use tty-setup-hook instead of term-setup-hook.
12445         (terminal-init-sun): Construct message from bytecomp plist.
12446         * term/wyse50.el (enable-arrow-keys): Doc fix.
12448 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
12450         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
12451         Fix docstring typos.
12453 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
12455         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
12457 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
12459         * minibuffer.el (completion--try-word-completion):
12460         Fix error when completing M-x commands (bug#16808).
12462 2014-02-24  Leo Liu  <sdl.web@gmail.com>
12464         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
12466 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
12468         * apropos.el (apropos-print): Avoid formatting error when
12469         apropos-do-all and apropos-compact-layout are both t.
12471 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
12473         * apropos.el (apropos-property, apropos-all-words-regexp)
12474         (apropos-true-hit, apropos-variable, apropos-print):
12475         Fix docstring typos, and remove obsolete comment.
12477 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
12479         * net/tramp-sh.el (tramp-sh-handle-file-truename):
12480         Preserve trailing "/".  (Bug#16851)
12482 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
12484         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12485         after `=>' (bug#16811).
12486         (ruby-smie-rules): Handle the inconsistent second element of the
12487         list returned by `smie-indent--parent'.
12488         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12489         method call.
12491 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
12493         * elec-pair.el (electric-pair-text-syntax-table)
12494         (electric-pair-syntax-info, electric-pair--syntax-ppss)
12495         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12496         (electric-pair--looking-at-unterminated-string-p): Doc fix.
12497         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
12499 2014-02-22  Glenn Morris  <rgm@gnu.org>
12501         * imenu.el (imenu--generic-function): Doc fix.
12503         * register.el (frame-configuration-to-register): Make obsolete.
12505 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
12507         * desktop.el (desktop-save-buffer-p): Do not fail when
12508         desktop-files-not-to-save is nil.  Return t for true result
12509         as the doc says.
12511 2014-02-22  Daniel Colascione  <dancol@dancol.org>
12513         * net/secrets.el (secrets-create-item, secrets-search-items):
12514         Check that attribute values are strings, avoiding the construction
12515         of invalid dbus messages.
12517 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
12519         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12520         defun-declarations-alist.
12522 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12524         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12525         (bug#16829).
12527 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
12529         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12530         (whitespace-newline, whitespace-trailing, whitespace-line)
12531         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12532         (whitespace-space-after-tab): Fix typo in docstrings.
12534 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
12536         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12538         * electric.el (electric-indent-functions-without-reindent):
12539         Add `yaml-indent-line'.
12541 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
12543         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12544         It has done nothing for years; should be removed after the release.
12546         * simple.el (choose-completion): Fix docstring typo.
12547         (read-quoted-char-radix): Remove unneeded * in docstring.
12548         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12549         Don't escape parentheses unnecessarily in docstrings.
12551 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
12553         Fix handling of window-min-height/-width (Bug#16738).
12554         * window.el (window--dump-window, window--dump-frame):
12555         New functions.
12556         (window--min-size-1): Account for window dividers.
12557         When window-resize-pixelwise is nil, delay rounding till after the
12558         sum of the window components has been calculated.
12559         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12560         nil make sure at least one text line and two text columns remain
12561         fully visible.
12562         (window-resize): Signal an error when window-resize-apply fails.
12563         (window--resize-child-windows): Fix calculation of by how many
12564         pixels a window can still be shrunk via window-new-normal.
12565         (adjust-window-trailing-edge): Call window--resizable with
12566         correct TRAIL argument.
12568         (with-temp-buffer-window): Don't evaluate BODY within
12569         with-current-buffer (Bug#16816).
12571 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
12573         * net/tramp.el (tramp-check-cached-permissions):
12574         Call `file-attributes' with `suffix' being a symbol but a string.
12576 2014-02-21  Daniel Colascione  <dancol@dancol.org>
12578         * net/dbus.el (dbus-init-bus-1): Declare new subr.
12579         (dbus-init-bus): New function: call into dbus-init-bus-1
12580         and installs a handler for the disconnect signal.
12581         (dbus-call-method): Rewrite to look for result in cons.
12582         (dbus-call-method-handler): Store result in cons.
12583         (dbus-check-event): Recognize events with nil sender as valid.
12584         (dbus-handle-bus-disconnect): New function.  React to bus
12585         disconnection signal by synthesizing dbus error for each
12586         pending synchronous or asynchronous call.
12587         (dbus-notice-synchronous-call-errors): New function.
12588         (dbus-handle-event): Raise errors directly only when `dbus-debug'
12589         is true, not all the time.
12591 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
12593         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12594         Remove obsolescence declarations, these variables do not exist anymore.
12596         * savehist.el (savehist-save-minibuffer-history)
12597         (savehist-additional-variables, savehist-file, savehist-mode-hook)
12598         (savehist-save-hook, savehist-coding-system, savehist-loaded)
12599         (savehist-load, savehist-install, savehist-autosave): Fix typos;
12600         mostly, refer to "Savehist mode" when talking about the mode,
12601         and not the function.
12603         * saveplace.el (save-place): Remove redundant info in docstring.
12604         (save-place-forget-unreadable-files, toggle-save-place)
12605         (save-place-forget-unreadable-files, save-place-dired-hook):
12606         Fix typos and remove unneeded backslashes.
12608 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
12610         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12611         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12613         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12614         <insert-directory>: Use `tramp-handle-insert-directory'.
12615         (tramp-gvfs-handle-insert-directory): Remove function.
12617         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12618         Call `tramp-handle-insert-directory'.
12620 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
12622         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12623         before the start of buffer/region (bug#16799).
12625 2014-02-20  Glenn Morris  <rgm@gnu.org>
12627         * isearch.el (search-invisible): Doc fix.
12629 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
12631         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12632         (bug#16657).
12634 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
12636         * frameset.el (frameset-restore): Delay removing an old frame's
12637         duplicate id until the new frame has been correctly created.
12639 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
12641         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
12642         (tramp-check-cached-permissions): Call `file-attributes' if the
12643         cache is empty.
12645         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12646         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12648         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12649         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12650         (tramp-gvfs-maybe-open-connection): Set always connection
12651         properties, even if target is mounted already.
12653         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
12654         Set tramp-autoload cookie.
12655         (tramp-get-remote-touch): New defun.
12656         (tramp-sh-handle-set-file-times): Use it.
12657         (tramp-sh-handle-directory-files-and-attributes):
12658         Use `tramp-handle-directory-files-and-attributes' if neither stat
12659         nor perl are available on the remote host.
12661         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
12662         "/".  Write long listing only when "l" belongs to the switches.
12664         * net/trampver.el: Update release number.
12666 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
12668         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
12670 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
12672         * window.el (window-state-put): Allow WINDOW to refer to an
12673         internal window (Bug#16793).
12675 2014-02-19  Glenn Morris  <rgm@gnu.org>
12677         * textmodes/remember.el: Move provide statement to end.
12678         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
12679         (remember-notes): Doc fixes.
12681 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12683         * delsel.el (delete-char): Restore incorrectly erased property
12684         (bug#16795).
12686 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
12688         * frameset.el (frameset--restore-frame): When a frame is being reused
12689         and its root window is not alive, delete all the frame's windows before
12690         restoring the window state.  This works around the issue in bug#16793.
12692 2014-02-18  Glenn Morris  <rgm@gnu.org>
12694         * textmodes/remember.el (remember-data-directory)
12695         (remember-directory-file-name-format, remember-store-in-files)
12696         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
12697         (remember-notes-save-and-bury-buffer)
12698         (remember-notes--kill-buffer-query): Doc fixes.
12700         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
12702 2014-02-17  Alan Mackenzie  <acm@muc.de>
12704         Connect electric-indent-mode up with CC Mode.  Bug #15478.
12705         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
12706         to electric-indent-{,local-}-mode.
12707         (c-basic-common-init): Set electric-indent-inhibit.
12708         Initialize c-electric-flag from electric-indent-mode.
12709         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
12710         New hook functions which propagate electric-indent-mode to CC mode.
12712         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
12713         hit, toggle electric-indent-local-mode.
12715         * electric.el (electric-indent-mode-has-been-called):
12716         New variable.
12718 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
12720         * frameset.el (frameset-cfg-id): New function.
12721         (frameset--reuse-frame, frameset-restore): Use it.
12722         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
12724 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12726         * ido.el (ido-file-internal): Remove unused var `d'.
12727         Use \` for to match BoS.  Fit within 80n columns.
12729 2014-02-17  Daniel Colascione  <dancol@dancol.org>
12731         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
12732         dbus-call-method check for completion using a busy-wait loop with
12733         gradual backoff.
12735 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
12737         Sync with Tramp 2.2.9.
12739         * net/trampver.el: Update release number.
12741 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
12743         * ido.el (ido-file-internal): Don't add the name of an existing
12744         directory twice.  (Bug#16747)
12746 2014-02-16  Glenn Morris  <rgm@gnu.org>
12748         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
12749         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
12751 2014-02-15  Michael R. Mauger  <michael@mauger.com>
12753         * progmodes/sql.el: Version 3.4
12754         (sql-oracle-options): New default value ("-L").
12755         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
12756         (sql-placeholders-filter): Correct placeholder pattern.
12757         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
12758         (sql-login-delay): New variable.
12759         (sql-product-interactive): Use it.
12761 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
12763         * frameset.el (frameset--jump-to-register): Check that buffer is live
12764         (bug#16749).
12766 2014-02-15  Glenn Morris  <rgm@gnu.org>
12768         * info.el (info-initialize): Revert 2014-01-10 change.
12770 2014-02-14  Glenn Morris  <rgm@gnu.org>
12772         * replace.el (map-query-replace-regexp)
12773         (read-regexp-defaults-function, read-regexp): Doc fixes.
12775         * dired.el (dired-read-regexp):
12776         * faces.el (list-faces-display):
12777         * misearch.el (multi-isearch-read-matching-buffers)
12778         (multi-isearch-read-matching-files):
12779         * play/cookie1.el (cookie-apropos):
12780         * progmodes/grep.el (grep-read-regexp): Doc fixes.
12782         * textmodes/remember.el (remember): Use frameset-to-register
12783         rather than frame-configuration-to-register.
12785 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
12787         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
12788         incorrect keybinding.
12790 2014-02-13  Daniel Colascione  <dancol@dancol.org>
12792         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
12793         when adding overlays so that line numbers from compiler match line
12794         numbers we use.
12796 2014-02-13  Glenn Morris  <rgm@gnu.org>
12798         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
12800         * jit-lock.el (jit-lock-mode): Doc fix.
12802 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
12804         * apropos.el (apropos-read-pattern): When the user passes an empty
12805         string, give a more helpful error message than "Wrong type
12806         argument: stringp, nil".
12808 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12810         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
12812 2014-02-13  Glenn Morris  <rgm@gnu.org>
12814         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
12816 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12818         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
12819         shift-select commands.
12821 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
12823         * progmodes/js.el (js-indent-line): Don't widen.
12824         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
12826 2014-02-12  Glenn Morris  <rgm@gnu.org>
12828         * icomplete.el (icomplete): Add info-link to defgroup.
12829         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
12830         (icomplete-minibuffer-map, icomplete-mode)
12831         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
12833         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
12834         (package-menu-filter): Rename from package-menu-filter-interactive.
12835         Doc fix.
12837 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
12839         * frameset.el (frameset--jump-to-register): Select the required
12840         window and buffer before restoring position (bug#16696).
12842 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
12844         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
12846 2014-02-10  Glenn Morris  <rgm@gnu.org>
12848         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
12850 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
12852         * w32-common-fns.el (x-get-selection): Doc fix.
12853         * select.el (x-get-selection): Doc fix.  (Bug#15109)
12855         * face-remap.el (face-remap-add-relative)
12856         (face-remap-remove-relative, face-remap-reset-base)
12857         (face-remap-set-base): Call force-mode-line-update to redisplay
12858         the current buffer due to potential change in faces.  (Bug#16709)
12860 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
12862         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
12863         script more robustly.
12865 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
12867         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
12869         * simple.el (choose-completion): Doc fix (bug#14160).
12871         * subr.el (event-start): Say what a nil EVENT value means.
12873         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
12874         (bug#14197).
12876         * progmodes/grep.el (find-program): Doc fix (bug#14289).
12878         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
12880         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
12882         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
12883         predicate function (bug#15455).
12885 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
12887         * ielm.el (inferior-emacs-lisp-mode): Instead of
12888         `comment-use-global-state', set `comment-use-syntax'.
12890 2014-02-10  Glenn Morris  <rgm@gnu.org>
12892         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
12894 2014-02-09  Alan Mackenzie  <acm@muc.de>
12896         Fix c-invalidate-state-cache on narrowed buffers.
12897         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
12898         Widen when setting and clearing the CPP delimiter properties.
12900 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
12902         * help.el (describe-bindings): Doc fix (bug#9888).
12904         * files.el (save-buffer): Use ARG as the parameter name for
12905         consistency (bug#10346).
12906         (save-buffer): Clarify the 0 argument (bug#10346).
12908         * cus-edit.el (customize-apropos): Fix error string.
12909         (custom-buffer-create): Doc fix (bug#11122).
12910         (custom-sort-items): Doc fix (bug#11121).
12912         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
12914         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
12915         (icomplete-simple-completing-p): Mention the previous variable.
12917         * font-lock.el (font-lock-value-in-major-mode): Clarify the
12918         meaning of the parameter (bug#12282).
12920         * files.el (find-file-noselect): Clarify prompt when changing
12921         readedness (bug#13261).
12922         (locate-file): Suffixes aren't returned, so don't say that they
12923         are (bug#12674).
12924         (backup-inhibited): Doc clarification (bug#12525).
12926         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
12927         before we actually start to delete things (bug#16331).
12929         * subr.el (event-start): Doc fix (bug#14228).
12930         (event-end): Ditto.
12932 2014-02-09  Glenn Morris  <rgm@gnu.org>
12934         * emacs-lisp/warnings.el (lwarn):
12935         Empower help-enable-auto-load.  (Bug#15940)
12937 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
12939         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
12940         (Bug#16690)
12942 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
12944         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12945         Insert output at end of buffer.  (Bug#16120)
12947 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
12949         * simple.el (choose-completion-string-functions): Document new
12950         calling convention (bug#14153).
12951         (execute-extended-command): Clarify doc string (bug#13373).
12953         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
12955         * find-dired.el (find-name-dired): Doc fix (bug#14290).
12956         (find-grep-dired): Doc fix (bug#14288).
12958 2014-02-08  Juri Linkov  <juri@jurta.org>
12960         * isearch.el (isearch-quote-char): Check character validity
12961         like in `quoted-insert' (bug#16677).
12963 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
12965         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
12967         * isearch.el (isearch-hide-immediately): Doc clarification
12968         (bug#14723).
12970         * simple.el (line-move): Document utility function used many
12971         places in the Emacs sources (bug#14843).
12973         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
12974         (dired-prev-marked-file): Doc fix (bug#14855).
12975         (dired-up-directory): Doc fix (bug#14848).
12977         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
12979         * files.el (file-relative-name): Doc fix (bug#15159).
12981         * fringe.el (fringe-styles): Doc fix (bug#15239).
12983         * isearch.el (isearch-filter-predicate): Documentation typo fix
12984         (bug#15474).
12986         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
12988         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
12990         * replace.el (replace-match-maybe-edit): Doc clarification
12991         (bug#15632).
12993         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
12995         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
12997 2014-02-08  Glenn Morris  <rgm@gnu.org>
12999         * help-fns.el (describe-variable):
13000         Check {file,dir}-local-variables-alist, and buffer-file-name,
13001         in the correct buffer.
13003 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
13005         * help-fns.el (describe-variable): Fix the case where
13006         a value is directory-local with no dir-locals file.  (Bug#16635)
13008 2014-02-08  Glenn Morris  <rgm@gnu.org>
13010         * abbrev.el (edit-abbrevs-mode):
13011         Derive from fundamental-mode.  (Bug#16682)
13013 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
13015         * simple.el (quoted-insert): Check character validity (bug#16677).
13017 2014-02-07  Juri Linkov  <juri@jurta.org>
13019         * desktop.el (desktop-read): Claim the lock when the owner is not
13020         the current process.  (Bug#16157)
13022 2014-02-07  Juri Linkov  <juri@jurta.org>
13024         * desktop.el (desktop-buffers-not-to-save): Change default from nil
13025         to "\\` ".  (Bug#16651)
13027 2014-02-07  Juri Linkov  <juri@jurta.org>
13029         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
13030         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
13031         (desktop-auto-save-cancel-timer): New function with some code from
13032         `desktop-auto-save-set-timer'.
13033         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
13034         Instead of setting `desktop-save-mode' to nil, call
13035         `desktop-save-mode' with arg 0.  (Bug#16630)
13037 2014-02-07  Glenn Morris  <rgm@gnu.org>
13039         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
13040         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
13041         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
13043         * obsolete/iswitchb.el: Move to obsolete/.
13044         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
13045         since obsolete/ is not scanned for autoloads.
13046         * emacs-lisp/authors.el (authors-valid-file-names):
13047         Add iswitchb.el.
13049         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
13050         Disable now non-functional find-file-hook.
13052 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
13054         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
13055         instead of ";" in order to avoid additional prompts.  Let heredoc
13056         scripts read from tty.  (Bug#16582)
13057         (tramp-send-command): No special handling of heredocs, it isn't
13058         necessary anymore.
13060 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13062         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
13063         with a space (bug#16664).  Limit the symbols considered to the ones
13064         that are bound or fbound (bug#16646).
13066 2014-02-06  Glenn Morris  <rgm@gnu.org>
13068         * epa.el (epa-mail-aliases): Doc fix.
13070 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
13072         * emacs-lisp/lisp.el (lisp-completion-at-point):
13073         Use `completion-table-merge' instead of `completion-table-in-turn'
13074         (bug#16604).
13076         * minibuffer.el (completion-table-merge): New function.
13078 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
13080         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
13081         (tramp-sh-handle-set-file-acl)
13082         (tramp-sh-handle-start-file-process)
13083         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
13084         (tramp-find-executable, tramp-send-command): Use it.
13086 2014-02-05  Glenn Morris  <rgm@gnu.org>
13088         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
13090 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13092         * progmodes/python.el (python-shell-send-string)
13093         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
13095 2014-02-04  Anders Lindgren  <andlind@gmail.com>
13097         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
13098         the names (bug#16620).
13100 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
13102         * faces.el (window-divider): New default value.  Rewrite doc-string.
13103         (window-divider-first-pixel, window-divider-last-pixel): New faces.
13105 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
13107         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
13108         `protected' and `public' can also be called without arguments.
13110 2014-02-03  Glenn Morris  <rgm@gnu.org>
13112         * register.el (window-configuration-to-register)
13113         (frame-configuration-to-register): Unadvertise unused argument.
13114         * frameset.el (frameset-to-register): Remove unused argument.
13116         * frameset.el (frameset-to-register):
13117         * kmacro.el (kmacro-to-register):
13118         * register.el (increment-register):
13119         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
13120         (calc-append-to-register, calc-prepend-to-register):
13121         * play/gametree.el (gametree-layout-to-register)
13122         (gametree-apply-register-layout):
13123         * textmodes/picture.el (picture-clear-rectangle-to-register)
13124         (picture-yank-rectangle-from-register):
13125         * vc/emerge.el (emerge-combine-versions-register):
13126         Use register-read-with-preview to read registers.
13128 2014-02-03  João Távora  <joaotavora@gmail.com>
13130         * elec-pair.el (electric-pair-backward-delete-char): Don't error
13131         when at beginning of (possibly narrowed) buffer.
13133 2014-02-02  Daniel Colascione  <dancol@dancol.org>
13135         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
13136         Also try to display local help from just before point.
13138 2014-02-02  Alan Mackenzie  <acm@muc.de>
13140         c-parse-state.  Don't "append-lower-brace-pair" in certain
13141         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
13142         recognised as a comment.
13144         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
13145         as well as normal comment starter.
13146         (c-parse-state-get-strategy): Extra return possibility
13147         'back-and-forward.
13148         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
13149         return value list to indicate replacement of a brace-pair cons
13150         with its car.
13151         (c-parse-state-1): With 'back-and-forward, only call
13152         c-append-lower-brace-pair-to state-cache when cons-separated.
13154 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
13156         * term/ns-win.el (ns-suspend-error): New function.
13157         (ns-initialize-window-system): Add ns-suspend-error to
13158         suspend-hook (Bug#16612).
13160 2014-02-02  Daniel Colascione  <dancol@dancol.org>
13162         * progmodes/cc-defs.el (c-find-assignment-for-mode):
13163         Make loading cc-mode silent.
13165 2014-02-02  Daniel Colascione  <dancol@dancol.org>
13167         * comint.el (comint-prompt-read-only): Change doc to suggest
13168         remap keybinding.
13170 2014-02-02  Glenn Morris  <rgm@gnu.org>
13172         * register.el (register-read-with-preview, point-to-register)
13173         (window-configuration-to-register, frame-configuration-to-register)
13174         (jump-to-register, number-to-register, view-register, insert-register)
13175         (copy-to-register, append-to-register, prepend-to-register)
13176         (copy-rectangle-to-register): Doc fixes.
13178 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13180         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
13181         * emacs-lisp/find-func.el (find-function-C-source): Idem.
13182         * emacs-lisp/nadvice.el (advice--cd*r): New function.
13183         * help-fns.el (describe-function-1): Use it.
13185 2014-02-02  Glenn Morris  <rgm@gnu.org>
13187         * register.el (register-preview-default): New function,
13188         split from register-preview.
13189         (register-preview-function): Rename from register-preview-functions,
13190         make it not a hook.
13191         (register-preview): Use register-preview-function.
13192         (register-read-with-preview): Error on non-character event.  (Bug#16595)
13194 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
13196         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
13197         `:' before binary operators (bug#16609).  Don't check for `:'
13198         before `[' and `(', or their syntax status.  A percent literal
13199         can't end with either.
13200         (ruby-font-lock-keywords): For built-ins that require arguments,
13201         check that they're followed by something that looks like argument
13202         (bug#16610).
13204 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
13206         * subr.el (butlast): Document what an omitted N means (bug#13437).
13207         (nbutlast): Ditto.
13209 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
13211         * net/shr.el (shr-generic): Make into a defsubst to make the stack
13212         depth shallower (bug#16587).
13213         (shr-tag-svg): Respect `shr-inhibit-images'.
13214         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
13216 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
13218         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
13219         (ruby-smie-grammar): Make "." right-associative.  Make its priority
13220         lower than the ternary and all binary operators.
13221         (ruby-smie-rules): Indent "(" relative to the first non-"."
13222         parent, or the first "." parent at indentation.
13223         Use `ruby-align-chained-calls' for indentation of "." tokens.
13224         (Bug#16593)
13226 2014-01-31  Juri Linkov  <juri@jurta.org>
13228         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
13229         from `make-hash-table'.
13231         * textmodes/ispell.el (ispell-init-process): Change message format
13232         to be consistent with other messages.
13234 2014-01-31  Glenn Morris  <rgm@gnu.org>
13236         * delsel.el (delete-selection-mode): Doc fix.
13238         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
13239         (trace-function-background): Doc fixes.
13241         * ido.el (ido-use-virtual-buffers): Doc fix.
13242         Reset :version, since the default value has not changed.
13244         * register.el (register-preview-delay, register-read-with-preview):
13245         Doc fixes.
13247         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
13248         do not mess with mail-buffer position (fixes 2009-11-03 change).
13249         * progmodes/cc-mode.el (c-submit-bug-report):
13250         Check auto-fill-mode is bound.  (Bug#16592)
13252 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
13254         * startup.el (fancy-splash-image-file): New function,
13255         split from fancy-splash-head.
13256         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
13257         so that we are both using the same image.  (Bug#16574)
13259 2014-01-30  Glenn Morris  <rgm@gnu.org>
13261         * simple.el (eval-expression): Doc fix.
13263         * hexl.el (hexl-mode-hook):
13264         * ielm.el (ielm-mode-hook):
13265         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
13266         (lisp-interaction-mode-hook):
13267         * progmodes/cfengine.el (cfengine3-documentation-function):
13268         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
13270 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13272         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
13273         is a symbol (bug#16584).
13275 2014-01-30  Glenn Morris  <rgm@gnu.org>
13277         * help.el (help-for-help-internal): Add "P" to text.
13279 2014-01-29  Glenn Morris  <rgm@gnu.org>
13281         * simple.el (just-one-space, cycle-spacing): Doc fixes.
13283 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
13285         * window.el (fit-frame-to-buffer): Fix calculations for margins and
13286         height constraints.
13288 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
13290         * progmodes/hideif.el: Extend to full CPP expression syntax.
13291         (hif-token-alist): Add missing tokens.
13292         (hif-token-regexp): Add support for float/octal/hex immediates.
13293         (hif-string-literal-regexp): New const.
13294         (hif-tokenize): Recognize strings and float/octal/hex immediates.
13295         (hif-exprlist): New function.
13296         (hif-parse-if-exp): Use it.
13297         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
13298         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
13299         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
13300         (hif-logxor, hif-comma): New functions.
13302 2014-01-28  Glenn Morris  <rgm@gnu.org>
13304         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
13306         * indent.el (tab-stop-list): Doc fix.  Add :version.
13308         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
13309         (cvs-append-to-ignore): Add compatibility alias.
13311 2014-01-27  Glenn Morris  <rgm@gnu.org>
13313         * dired.el (dired-hide-details-mode): Don't autoload it,
13314         since it cannot be used outside Dired buffers anyway.
13316         * emulation/cua-base.el (cua-mode): Doc fix.
13318         * dired.el (dired-hide-details-hide-symlink-targets)
13319         (dired-hide-details-hide-information-lines)
13320         (dired-hide-details-mode): Doc fixes.
13322         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
13323         * strokes.el (strokes-file): Doc fix.  Bump :version.
13324         (strokes-help): Doc fix.
13325         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
13326         * emulation/viper.el (viper): Doc fix for custom group.
13327         (top-level): Remove oh-so-no-longer-relevant text about vip.
13328         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
13330         * ido.el (ido-save-directory-list-file):
13331         * saveplace.el (save-place-file):
13332         * calendar/timeclock.el (timeclock-file):
13333         * net/quickurl.el (quickurl-url-file):
13334         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13335         * progmodes/idlwave.el (idlwave-config-directory):
13336         * textmodes/remember.el (remember-data-file):
13337         Bump :version.
13339 2014-01-26  Glenn Morris  <rgm@gnu.org>
13341         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
13342         Doc fix.  Make obsolete.
13343         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
13345         * sort.el (delete-duplicate-lines): Doc fix.
13347 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13349         * progmodes/ada-mode.el (ada):
13350         * woman.el (woman): Link to info manual and Commentary section.
13352         * progmodes/flymake.el (flymake):
13353         * nxml/nxml-mode.el (nxml):
13354         * net/eww.el (eww):
13355         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
13356         * htmlfontify.el (htmlfontify):
13357         * ses.el (ses):
13358         * epa.el (epa):
13359         * ido.el (ido): Link to info manual.
13361 2014-01-25  Leo Liu  <sdl.web@gmail.com>
13363         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
13365 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
13367         * net/shr.el (shr-tag-img): Prefer the title over the alt text
13368         (bug#16537).
13370 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
13372         * net/eww.el (eww-download-callback):
13373         Fix reference to eww-download-directory.
13375         * emacs-lisp/bytecomp.el (byte-compile-file):
13376         Remove unused local variable `file-name'.
13378 2014-01-24  Glenn Morris  <rgm@gnu.org>
13380         * woman.el (woman-default-faces, woman-monochrome-faces):
13381         Fix obsolescence specification.
13383         * subr.el (with-demoted-errors): Doc fix.
13385 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13387         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
13388         (cl--macroexp-fboundp): New function.
13389         (cl--make-type-test): Use it.
13391 2014-01-23  Glenn Morris  <rgm@gnu.org>
13393         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
13394         * simple.el (eval-expression): Doc fixes.
13396 2014-01-22  Glenn Morris  <rgm@gnu.org>
13398         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
13400 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13402         * emacs-lisp/package.el: Write files silently.
13403         (package-autoload-ensure-default-file, package--write-file-no-coding)
13404         (package-generate-description-file, package--download-one-archive)
13405         (package-install-from-archive): Tell `write-region' to stay quiet.
13406         (package-menu-mode, package-menu--print-info): Omit the Archive column
13407         if there's only one archive.
13408         (package-all-keywords, package--has-keyword-p): Remove dead code.
13410 2014-01-22  Glenn Morris  <rgm@gnu.org>
13412         * version.el (emacs-bzr-version-bzr): Fix typo.
13414         * version.el (emacs-repository-get-version):
13415         Check either .bzr or .git, but not both.
13416         Make the git case actually use the DIR argument, and return nil
13417         rather than the empty string.
13418         Avoid error if .git exists but the git executable is not found.
13420 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
13422         Fixes in window size functions around Bug#16430 and Bug#16470.
13423         * window.el (window-total-size, window-size): New argument ROUND.
13424         (window--min-delta-1, window-min-delta, window--max-delta-1):
13425         Be more conservative when calculating the numbers of lines or
13426         columns a window can shrink (Bug#16430).
13427         (fit-window-to-buffer): Simplify code.
13428         * term.el (term-window-width): Call window-body-width again.
13430 2014-01-22  Glenn Morris  <rgm@gnu.org>
13432         * image.el (image-format-suffixes): Doc fix.
13434         * international/quail.el (quail-define-package): Doc fix.
13436         * emacs-lisp/authors.el (authors-valid-file-names)
13437         (authors-renamed-files-alist): Additions.
13439         * vc/vc-git.el (vc-git-print-log): Remove --follow;
13440         reverts 2014-01-09 change.  (Bug#16422)
13442         * calc/calc-embed.el (thing-at-point-looking-at):
13443         * emacs-lisp/map-ynp.el (x-popup-dialog):
13444         * obsolete/lmenu.el (x-popup-dialog):
13445         * emacs-lisp/package.el (url-recreate-url):
13446         * mail/mailclient.el (clipboard-kill-ring-save):
13447         * subr.el (x-popup-dialog): Update declaration.
13448         * mail/rmail.el (rmail-mime-message-p):
13449         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
13451 2014-01-21  Daniel Colascione  <dancol@dancol.org>
13453         * progmodes/sh-script.el (sh--inside-noncommand-expression):
13454         Correctly detect when we're inside an arithmetic expansion form
13455         containing nested parenthesis.
13456         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
13457         to detect cases where we shouldn't expand "<<" to a heredoc
13458         skeleton.
13460 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13462         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
13463         (eldoc--message-command-p): New function.
13464         (eldoc-display-message-p): Use it.
13465         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
13466         message is not automatically erased for us.
13467         (eldoc-print-current-symbol-info): Erase previous message, if any.
13469 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
13471         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
13472         specify it's an interactive function.
13474         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
13475         Fix regex used for scanning for citation keys which failed for
13476         citations with optional arguments.
13478 2014-01-21  Leo Liu  <sdl.web@gmail.com>
13480         * simple.el (read--expression): Don't enable eldoc-mode.
13482 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13484         * simple.el (move-beginning-of-line): Make sure we don't move forward
13485         (bug#16497).
13487 2014-01-20  Juri Linkov  <juri@jurta.org>
13489         * saveplace.el (toggle-save-place, save-place-to-alist)
13490         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13491         'dired-mode) before checking for dired-directory.  (Bug#16477)
13493 2014-01-20  Juri Linkov  <juri@jurta.org>
13495         * indent.el (indent-line-to): Use backward-to-indentation
13496         instead of back-to-indentation.  (Bug#16461)
13498 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
13500         Revert some of the CANNOT_DUMP fix (Bug#16494).
13501         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13502         but fixing this can wait until after the next release.
13503         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13505 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
13507         * eshell/esh-mode.el (eshell-password-prompt-regexp):
13508         Use `password-word-equivalents'.
13509         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13510         to t.  (Bug#5664, Bug#13124)
13512 2014-01-19  Alan Mackenzie  <acm@muc.de>
13514         Bind open-paren-in-column-0-is-defun-start to nil at some entry
13515         points.
13516         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13517         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13518         * progmodes/cc-mode.el (c-before-change, c-after-change)
13519         (c-font-lock-fontify-region): Bind it here.
13521 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
13523         * term.el (term-window-width): Call window-text-width instead of
13524         window-width (Bug#16470).
13526 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
13528         * simple.el (password-word-equivalents): Remove duplicates.
13529         Sort, to make this easier next time.
13530         Downcase.  Omit ": " after "jelszó".
13532 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
13534         * term/common-win.el (saved-region-selection): Defvar it.
13535         (x-select-text): Set saved-region-selection (Bug#16382).
13537 2014-01-18  Glenn Morris  <rgm@gnu.org>
13539         * emacs-lisp/authors.el (authors-aliases)
13540         (authors-renamed-files-alist): Add some entries.
13542 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
13544         * net/tramp.el (tramp-password-prompt-regexp):
13545         Use `password-word-equivalents' if available.
13546         (tramp-action-password, tramp-process-one-action)
13547         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
13549 2014-01-17  Chong Yidong  <cyd@gnu.org>
13551         * simple.el (password-word-equivalents): New defcustom.
13552         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
13553         to 24.4.
13554         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13555         to t.  (Bug#13124)
13557 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
13559         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13560         (ruby-align-to-stmt-keywords): Change the default value.
13561         Use `ruby-alignable-keywords' to generate the possible customization
13562         choices.
13563         (ruby-smie-rules): Instead of using a hardcoded list of alignable
13564         keywords, check against the value of `ruby-alignable-keywords'
13565         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13567 2014-01-17  Glenn Morris  <rgm@gnu.org>
13569         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13571         Make M-x authors return zero *Authors Errors* from current logs.
13572         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13573         (authors-ignored-files): Add some entries, remove others.
13574         (authors-ambiguous-files, authors-valid-file-names):
13575         Add some entries.
13576         (authors-renamed-files-alist): Add, remove, and adjust entries.
13577         (authors-renamed-files-regexps): Add some entries.
13578         Remove some very broad ones.  Make some entries `lax'.
13579         (authors-lax-changelogs): New constant.
13580         (authors-disambiguate-file-name): Treat top-level specially.
13581         (authors-lax-changelog-p): New function.
13582         (authors-canonical-file-name): Check file as written against
13583         authors-valid-file-names.  Do not special-case etc/.
13584         Handle `lax' logs and authors-renamed-files-regexps elements.
13586 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
13588         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13589         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
13590         callers.
13592 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13594         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13595         Assume we're already in the proper buffer.
13596         Inspired by Anders Lindgren <andlind@gmail.com>.
13597         (follow-post-command-hook): Call it from the right buffer.
13598         (follow-comint-scroll-to-bottom): Adjust call.
13599         (follow-all-followers): Use get-buffer-window-list.
13601 2014-01-15  Daniel Colascione  <dancol@dancol.org>
13603         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13604         `buffer-file-name' in interactive-form so that we don't leave
13605         pathless file names in `file-name-history'.
13607 2014-01-15  Juri Linkov  <juri@jurta.org>
13609         * indent.el (indent-rigidly): Set deactivate-mark to nil
13610         in transient indentation mode.  (Bug#16438)
13612 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
13614         * emacs-lisp/package.el (package-desc-keywords): New function
13615         (Bug#16222).
13616         (describe-package-1, package-all-keywords)
13617         (package--has-keyword-p): Use it.
13619 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
13621         * simple.el (define-alternatives): When creating the
13622         COMMAND-alternatives variable, assign COMMAND as its definition
13623         name so that `describe-variable' can relocate it.
13625 2014-01-14  Matthew Leach  <matthew@mattleach.net>
13627         * font-lock.el (font-lock-keywords): Fix typo in docstring
13628         (bug#16307).
13630 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13632         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13633         line instead of wrongly reset `add-coment' (bug#13577).
13635 2014-01-14  Daiki Ueno  <ueno@gnu.org>
13637         * epa-file.el (epa-file-write-region): Encode the region according
13638         to `buffer-file-format'.  Problem reported at:
13639         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
13641 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13643         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
13644         so it applies in the right buffer (bug#16410).
13646 2014-01-13  Daniel Colascione  <dancol@dancol.org>
13648         * textmodes/rst.el (rst-define-key): Provide deprecated
13649         keybindings through named functions instead of anonymous ones so
13650         that "??" doesn't appear in describe-mode output.
13652 2014-01-13  Bastien Guerry  <bzg@gnu.org>
13654         * simple.el (define-alternatives): Call the selected command
13655         interactively.  When setting `COMMAND--implementation' for the
13656         first time, tell the user how to chose another implementation.
13657         Enhance the docstring.
13659 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13661         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
13662         (log-edit--match-first-line): New function.
13663         (log-edit-font-lock-keywords): Use it.
13664         (log-edit-mode): Make jit-lock-defer-multiline work.
13666 2014-01-13  Bastien Guerry  <bzg@gnu.org>
13668         * rect.el (rectangle-mark-mode): When the region is not active,
13669         display a message saying that the mark as been set and that
13670         rectangle mode is in use.
13671         (rectangle--highlight-for-redisplay): Only put an overlay with a
13672         visible vertical bar when (display-graphic-p) is non-nil.
13673         This partially fixes Bug#16403.
13675 2014-01-13  Juri Linkov  <juri@jurta.org>
13677         * info.el (Info-find-file): Go to DIR before displaying the error
13678         about a nonexistent file if no previous Info file is visited.
13679         Use `user-error' instead of `error' for "Info file %s does not exist".
13680         (Info-find-node-2): In case of a nonexistent node in unwind forms
13681         go to the Top node if there is no previous node to revert to.
13682         (Bug#16405)
13684 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
13686         fit-frame/window-to-buffer code fixes including one for Bug#14096.
13687         * window.el (fit-frame-to-buffer): Fix doc-string.
13688         Respect window-min-height/-width.  Fit pixelwise when
13689         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
13690         when avoiding that frame goes partially off-screen.
13691         (fit-window-to-buffer): Respect window-min-height/-width
13692         (Bug#14096).
13694 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13696         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
13697         after an empty line.
13699 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13701         * net/shr.el (shr-render-region): Autoload.
13703 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
13705         * net/eww.el (eww-download-directory): Rename from
13706         `eww-download-path' (Bug#16419).
13708 2014-01-12  Leo Liu  <sdl.web@gmail.com>
13710         * dired-x.el (dired-mode-map): Fix last change.
13712         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
13714 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
13716         Spelling fixes.
13717         * emacs-lisp/generic.el (generic--normalize-comments):
13718         Rename from generic--normalise-comments.  All uses changed.
13719         * play/bubbles.el (bubbles--neighborhood-score)
13720         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
13721         (bubbles--neighborhood-available)
13722         (bubbles--update-neighborhood-score):
13723         Rename from names with 'neighbourhood'.  All uses changed.
13725 2014-01-12  Leo Liu  <sdl.web@gmail.com>
13727         Re-implement the feature of showing eldoc info after editing.
13728         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
13729         (eldoc-edit-message-commands): New function.
13730         (eldoc-print-after-edit): New variable.
13731         (eldoc-pre-command-refresh-echo-area): Emit message only by
13732         eldoc-message-commands.
13733         (eldoc-mode): Restrict eldoc-message-commands to editing commands
13734         if eldoc-print-after-edit is set.  (Bug#16346)
13735         * simple.el (read--expression): Enable eldoc-mode.
13736         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
13738 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
13739             Eric S. Raymond  <esr@thyrsus.com>
13741         * version.el (emacs-repository-get-version): Enhance so the
13742         function works correctly in either a Bazaar or Git repo.
13744 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
13746         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
13747         Goes with removal of the joke manpages from /etc.
13749 2014-01-10  Kenichi Handa  <handa@gnu.org>
13751         * mail/rmail.el (rmail-get-coding-system):
13752         Check rmail-get-coding-function before "funcall"ing it.
13754 2014-01-10  Glenn Morris  <rgm@gnu.org>
13756         * emacs-lisp/authors.el (authors-fixed-entries):
13757         Update for files that no longer exist.
13759 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
13761         * version.el (emacs-bzr-get-version): Restore compatibilty with
13762         24.3 (Tested).
13764 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
13766         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
13767         and Podfile.
13769 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
13771         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
13773 2014-01-10  Chong Yidong  <cyd@gnu.org>
13775         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
13777 2014-01-10  Anders Lindgren  <andlind@gmail.com>
13779         * follow.el (follow-cache-command-list): Include right-char and
13780         left-char.
13782 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
13784         Spelling fixes.
13785         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
13786         * woman.el (woman-mark-horizontal-position):
13787         Rename from woman-mark-horizonal-position.  Use changed.
13789 2014-01-10  Glenn Morris  <rgm@gnu.org>
13791         * info.el (info-initialize): If running uninstalled, ensure our
13792         own info files are always found first, even if INFOPATH is set.
13794         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
13796 2014-01-09  David Engster  <deng@randomsample.de>
13798         * emacs-lisp/eieio-custom.el:
13799         * emacs-lisp/eieio-opt.el: Set generated autoload file to
13800         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
13801         * emacs-lisp/eieio.el: Regenerate autoloads.
13803 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
13805         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
13806         following renames.  (Bug#8756)
13808 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13810         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
13811         (bug#16382).
13812         (activate-mark): Add `no-tmm' argument.
13813         (set-mark, push-mark-command): Use it instead of running
13814         activate-mark-hook by hand.
13816 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
13818         In preparation for the move to git, sanitize out some
13819         Bazaar-specific names.
13821         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
13823         * version.el (emacs-bzr-version): Name changed to
13824         emacs-repository-version.  Obsolete-variable alias made.
13825         * loadup.el: Follow through on this name change.
13826         * mail/emacsbug.el (report-emacs-bug): Factor out any
13827         assumption about the version control system in use.
13829 2014-01-08  David Engster  <deng@randomsample.de>
13831         * help-fns.el (help-fns-describe-function-functions):
13832         New variable to call functions for augmenting help buffers.
13833         (describe-function-1): Remove explicit calls to
13834         `help-fns--compiler-macro', `help-fns--parent-mode' and
13835         `help-fns--obsolete'.  Put them in above new variable instead, and
13836         call them through `run-hook-with-args'.
13837         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
13838         `eieio-describe-class'.  Not meant for interactive use anymore,
13839         but to augment existing help buffers.  Remove optional second
13840         argument.  Create proper button for file location.
13841         Rewrite function to use `insert' instead of `princ' and `prin1' where
13842         possible.
13843         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
13844         (eieio-method-def, eieio-class-def): Move further up.
13845         (describe-method, describe-generic, eieio-describe-method):
13846         Remove aliases.
13847         (eieio-help-constructor, eieio-help-generic): Rename from
13848         `eieio-describe-constructor' and `eieio-describe-generic', resp.
13849         Rewrite to use `insert' in the current buffer and use proper help
13850         buttons.
13851         (eieio-help-find-method-definition)
13852         (eieio-help-find-class-definition): Also accept symbols as
13853         arguments.
13854         (eieio-help-mode-augmentation-maybee): Remove.
13855         (eieio-describe-class-sb): Use `describe-function'.
13856         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
13857         Add `eieio-help-generic' and `eieio-help-constructor'.
13859 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
13861         Spelling fixes.
13862         * language/china-util.el (hz-ascii-designation):
13863         Rename from hz-ascii-designnation.
13864         (hz-ascii-designation): Rename from hz-ascii-designnation.
13865         All uses changed.
13867 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13869         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
13870         package-alist.
13872 2014-01-08  Bastien Guerry  <bzg@gnu.org>
13874         * emacs-lisp/package.el (package-delete):
13875         Correctly delete the package from package-alist.
13877 2014-01-08  Daiki Ueno  <ueno@gnu.org>
13879         * emacs-lisp/package.el (url-recreate-url): Declare.
13880         (url-http-target-url): Declare.
13881         (package-handle-response): Include requested URL in the error message.
13882         (package--check-signature): Don't re-signal errors from
13883         package--with-work-buffer.  Suggested by Stefan Monnier.
13885 2014-01-07  Bastien Guerry  <bzg@gnu.org>
13887         * minibuffer.el (completion--try-word-completion): When both a
13888         hyphen and a space are possible candidates for the character
13889         following a word, display both candidates.  (Bug#15980)
13891 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
13893         * window.el (balance-windows-2): While rounding don't give a
13894         window more than the remainder.  Bug#16351, bug#16383.
13896 2014-01-07  Glenn Morris  <rgm@gnu.org>
13898         * menu-bar.el (menu-bar-help-extra-packages): Remove.
13899         (menu-bar-help-menu): Use view-external-packages instead.
13901 2014-01-07  Bastien Guerry  <bzg@gnu.org>
13903         * emacs-lisp/package.el (package-delete): Also delete the package
13904         name from `package-alist', not its description only.
13906 2014-01-07  Glenn Morris  <rgm@gnu.org>
13908         * help.el (view-external-packages):
13909         * menu-bar.el (menu-bar-help-extra-packages):
13910         Visit efaq.info rather than etc/MORE.STUFF.
13912 2014-01-07  Juri Linkov  <juri@jurta.org>
13914         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
13915         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
13917         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
13918         that shadows RET.  (Bug#16342)
13920 2014-01-07  Chong Yidong  <cyd@gnu.org>
13922         * isearch.el (isearch-yank-char, isearch-yank-word)
13923         (isearch-yank-line): Doc fix.
13925 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13927         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
13928         * emacs-lisp/elint.el (elint-find-builtins):
13929         * emacs-lisp/eldoc.el (eldoc-symbol-function):
13930         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
13931         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
13932         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
13933         * apropos.el (apropos-safe-documentation):
13934         * subr.el (symbol-file): Remove redundant fboundp.
13935         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
13937 2014-01-06  Bastien Guerry  <bzg@gnu.org>
13939         * hl-line.el (global-hl-line-overlay): Make a local variable.
13940         (global-hl-line-overlays): New variable to store all overlays.
13941         (global-hl-line-mode): Don't delete overlays from the current
13942         buffer when `global-hl-line-sticky-flag' is non-nil.
13943         (global-hl-line-highlight): Add new overlays to
13944         `global-hl-line-overlays'.
13945         (global-hl-line-unhighlight-all): New function to delete all
13946         overlays when turning off `global-hl-line-mode'.
13947         This fixes Bug#16183.
13949 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13951         * subr.el (set-transient-map): Fix nested case and docstring.
13953 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
13955         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
13956         `Texinfo' entry.
13958 2014-01-06  Daniel Colascione  <dancol@dancol.org>
13960         Fix defun navigation in vc log view.
13962         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
13963         like `beginning-of-defun'.
13964         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
13965         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
13966         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
13967         (log-view-extract-comment): Call `log-view-current-entry' directly
13968         instead of relying on broken `log-view-beginning-of-defun' behavior.
13970 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
13972         Spelling fixes.
13973         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
13974         * emacs-lisp/debug.el (cancel-debug-on-entry):
13975         * epg.el (epg-error-to-string):
13976         * files.el (recover-file):
13977         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
13978         * mail/emacsbug.el (report-emacs-bug-hook):
13979         * mail/sendmail.el (mail-recover):
13980         * ses.el (ses-yank-resize):
13981         * term/ns-win.el (ns-print-buffer):
13982         Spelling fixes in diagnostics, mostly for "canceled" with one L.
13983         * epg.el (epg-key-capability-alist): Rename from misspelled version.
13984         All uses changed.
13985         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
13987 2014-01-06  Leo Liu  <sdl.web@gmail.com>
13989         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
13990         to avoid shadowing global key.  (Bug#16354)
13992 2014-01-06  Daniel Colascione  <dancol@dancol.org>
13994         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
13995         rst-mode.
13997 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
13999         * window.el (balance-windows): Add mising t to fix Bug#16351.
14001 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14003         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
14004         (bug#16285).
14005         (shr-insert): If we have a word that's longer than `shr-width',
14006         break after it anyway.  Otherwise we'll do no breaking once we get
14007         such a long word.
14009 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
14011         * net/eww.el (eww): Support single/double quote for search.
14012         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
14013         (eww-history-quit): Delete and use quit-window.
14014         (eww-history-kill): Delete, because it doesn't work well and
14015         not necessary.
14016         (eww-history-mode-map): Delete some keys and add easy-menu.
14018 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
14020         Fix misspelling of 'chinese' in rx (Bug#16237).
14021         * emacs-lisp/rx.el (rx-categories): Correct spelling of
14022         chinese-two-byte.
14024         Change subword regexps back to vars (Bug#16296).
14025         * progmodes/subword.el (subword-forward-regexp)
14026         (subword-backward-regexp): Change these back to variables.
14028 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14030         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
14031         syntax-begin-function (bug#16247).
14033 2014-01-03  Chong Yidong  <cyd@gnu.org>
14035         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
14036         (advice--docstring): Delete variable.
14037         (advice--make-1): Leave the docstring empty.
14038         (advice-add): Use function-documentation for advised docstring.
14040         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
14041         Ignore function-documentation property when getting documentation.
14042         (ad-activate-advised-definition): Use function-documentation
14043         generate the docstring.
14044         (ad-make-advised-definition): Don't call
14045         ad-make-advised-definition-docstring.
14046         (ad-make-advised-definition-docstring, ad-advised-definition-p):
14047         Delete functions.
14049         * progmodes/sql.el (sql-help): Use function-documentation instead
14050         of dynamic-docstring-function property.  No need to autoload now.
14051         (sql--help-docstring): New variable.
14052         (sql--make-help-docstring): Use it.
14054 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14056         * ielm.el (ielm-tab): Retarget.
14057         (ielm-map): Use ielm-tab for tab.
14058         (ielm-complete-filename): Use comint-filename-completion.
14059         (ielm-complete-symbol): Remove.
14060         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
14061         remove ielm-tab from completion-at-point-functions (bug#16224).
14063         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
14064         Beware signals raised by predicates (bug#16201).
14066 2014-01-02  Richard Stallman  <rms@gnu.org>
14068         * dired-aux.el (dired-do-print): Handle printer-name.
14070         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
14071         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
14072         (rmail-epa-decrypt): Turn off mime processing.
14074         * mail/rmail.el (rmail-make-in-reply-to-field):
14075         Add parens in message-id.
14077         * mail/rmail.el (rmail-get-coding-function): Variable.
14078         (rmail-get-coding-system): Use it.
14080 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
14082         * international/mule-conf.el: Unify the charset indian-is13194.
14083         (indian-is13194): Specify unify-map.
14085 2013-12-31  Leo Liu  <sdl.web@gmail.com>
14087         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
14089 2013-12-30  Daniel Colascione  <dancol@dancol.org>
14091         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
14092         of printing a useless when we resume from sleep.
14094         * progmodes/sh-script.el
14095         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
14096         in indentation code.  (Bug#16233)
14098 2013-12-28  João Távora  <joaotavora@gmail.com>
14100         * elec-pair.el (electric-pair-post-self-insert-function):
14101         Don't open extra newlines at beginning of buffer.  (Bug#16272)
14103 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
14105         * frame.el (window-system-for-display): Don't allow to create a
14106         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
14108 2013-12-28  Glenn Morris  <rgm@gnu.org>
14110         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
14111         Update callers.
14113         * apropos.el (apropos-match-face):
14114         * calculator.el (calculator-displayer):
14115         * dabbrev.el (dabbrev-search-these-buffers-only):
14116         * face-remap.el (buffer-face-mode-face):
14117         * simple.el (yank-handled-properties):
14118         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
14119         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
14120         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
14121         (hashcash-double-spend-database):
14122         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
14123         (ruby-deep-indent-paren-style):
14124         * textmodes/flyspell.el (flyspell-auto-correct-binding):
14125         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
14126         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
14127         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
14128         Specify custom types.
14130         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
14131         * bookmark.el (bookmark-bmenu-use-header-line):
14132         * doc-view.el (doc-view-scale-internally):
14133         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
14134         * register.el (register-preview-delay):
14135         * net/shr.el (shr-bullet):
14136         * progmodes/cfengine.el (cfengine-cf-promises)
14137         (cfengine-parameters-indent):
14138         * progmodes/octave.el (inferior-octave-error-regexp-alist):
14139         * textmodes/reftex-vars.el (reftex-label-regexps):
14140         * vc/log-edit.el (log-edit-setup-add-author): Add version.
14142         * net/tls.el (tls-certtool-program): Fix default value.
14144         * desktop.el (desktop-restore-in-current-display):
14145         * newcomment.el (comment-empty-lines):
14146         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
14147         (idlwave-pad-keyword):
14148         * progmodes/tcl.el (tcl-tab-always-indent):
14149         * textmodes/reftex-vars.el (reftex-index-default-tag):
14150         * elec-pair.el (electric-pair-skip-whitespace):
14151         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
14153         * emacs-lisp/authors.el (authors-ignored-files)
14154         (authors-valid-file-names, authors-renamed-files-alist): Additions.
14156 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
14158         * shell.el (shell-dynamic-complete-command): Doc fix.
14159         (shell--command-completion-data): Shell completion now matches
14160         executable filenames from the current buffer's directory, on
14161         systems in which this behavior is the default (windows-nt, ms-dos).
14163 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
14165         * net/shr.el (shr-insert): Don't infloop if the width is zero.
14167 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14169         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
14170         (bug#16251).
14172         * electric.el: Move all electric-pair-* to elec-pair.el.
14173         * elec-pair.el: New file, split from electric.el.
14175 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
14177         * net/shr.el (shr-find-fill-point): Don't try to fill if the
14178         indentation level is larger than the width, because that will
14179         infloop.
14180         (shr-insert): Fill repeatedly long texts, so that Japanese is
14181         formatted correctly (bug#16263).
14182         (shr-find-fill-point): Off by one error in comparison with the
14183         indentation.
14185 2013-12-26  João Távora  <joaotavora@gmail.com>
14187         * electric.el (electric-pair-mode): More flexible engine for skip-
14188         and inhibit predicates, new options for pairing-related functionality.
14189         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
14190         if that keeps or improves their balance in buffers.
14191         (electric-pair-delete-adjacent-pairs): Delete the pair when
14192         backspacing over adjacent matched delimiters.
14193         (electric-pair-open-extra-newline): Open extra newline when
14194         inserting newlines between adjacent matched delimiters.
14195         (electric--sort-post-self-insertion-hook):
14196         Sort post-self-insert-hook according to priority values when
14197         minor-modes are activated.
14198         * simple.el (newline-and-indent): Call newline with interactive
14199         set to t.
14200         (blink-paren-post-self-insert-function): Set priority to 100.
14201         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14202         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
14203         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
14204         electric-pair-open-newline-between-pairs to nil.
14206 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14208         * progmodes/python.el: Use lexical-binding.
14209         (python-nav-beginning-of-defun): Stop searching ASAP.
14211 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
14213         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
14214         Fix interactive spec.  Doc fix.  (Bug#15754)
14216 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
14218         * emacs-lisp/byte-run.el (eval-when-compile):
14219         * progmodes/cc-defs.el (cc-eval-when-compile):
14220         Fix edebug spec (bug#16184).
14222 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
14224         * net/shr.el (shr-visit-file): Remove debugging function.
14225         (shr-insert): Don't infloop if we can't find a good place to break
14226         the line (bug#16256).
14228 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14230         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
14231         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
14232         python-nav-lisp-forward-sexp-safe.
14233         (python-nav--forward-sexp): New argument SAFE allows switching
14234         forward sexp movement behavior for parens.
14235         (python-nav-forward-sexp): Throw errors on unterminated parens
14236         (Bug#16191).
14237         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
14238         (python-nav-backward-sexp-safe): New functions.
14239         (python-shell-buffer-substring):
14240         Use `python-nav-forward-sexp-safe'.
14242 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
14244         * net/shr.el (shr-find-fill-point): Don't break lines before a
14245         quotation mark.
14246         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
14247         (shr-find-fill-point): Remove the special checks for the quotation
14248         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
14250 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
14252         * net/eww.el (eww-form-textarea): Use a different face for
14253         textareas than text input since they have different keymaps
14254         (bug#16142).
14256 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14258         * progmodes/python.el (python-nav-beginning-of-statement):
14259         Speed up (Bug#15295).
14261 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
14263         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
14264         the window configuration.
14266 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
14268         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
14269         we run on MS-Windows or MS-DOS.
14271 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
14273         * window.el (balance-windows-area): Call window-size instead of
14274         window-height and window-width.  Bug#16241.
14276 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
14278         * net/eww.el (eww-bookmark-quit): Remove.
14279         (eww-bookmark-browse): Restore the window configuration when you
14280         choose a bookmark (bug#16144).
14282 2013-12-24  Daniel Colascione  <dancol@dancol.org>
14284         * icomplete.el: Remove redundant :group arguments to `defcustom'
14285         throughout.
14286         (icomplete-show-matches-on-no-input): New customizable variable.
14287         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
14288         we have something to show.
14289         (icomplete-exhibit): Compute completions even if we have no user input.
14291 2013-12-23  Daniel Colascione  <dancol@dancol.org>
14293         * icomplete.el: Move `provide' to end of file.
14295 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
14297         * net/gnutls.el (gnutls-verify-error): Add version tag.
14299 2013-12-23  Chong Yidong  <cyd@gnu.org>
14301         * subr.el (set-transient-map): Rename from
14302         set-temporary-overlay-map.  Doc fix.
14304         * face-remap.el (text-scale-adjust):
14305         * indent.el (indent-rigidly):
14306         * kmacro.el (kmacro-call-macro):
14307         * minibuffer.el (minibuffer-force-complete):
14308         * repeat.el (repeat):
14309         * simple.el (universal-argument--mode):
14310         * calendar/todo-mode.el (todo-insert-item--next-param):
14311         * progmodes/f90.el (f90-abbrev-start): Callers changed.
14313         * indent.el (indent-rigidly): Use substitute-command-keys.
14315 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
14317         * net/eww.el (eww-tag-select): Add text-property to jump to next
14318         select field.
14319         (eww): Add non-supported ftp error.
14321 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
14323         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
14324         comments.  Handle electric indent after typing `?' and `!'.
14326 2013-12-22  Chong Yidong  <cyd@gnu.org>
14328         * faces.el (face-spec-recalc): If the theme specs are not
14329         applicable to a frame, fall back on the defface spec.
14330         This prevents themes from obliterating faces on low-color terminals.
14332 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
14334         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14335         after `{'.  We need it after block openers, and it doesn't seem
14336         to hurt after hash openers.
14338 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
14340         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
14341         extracted from `ruby-smie-rules'.
14342         (ruby--electric-indent-chars): New variable.
14343         (ruby--electric-indent-p): New function.
14344         (ruby-mode): Use `electric-indent-functions' instead of
14345         `electric-indent-chars'.
14347 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
14349         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
14350         docstring.
14351         (ruby-smie-rules): Indent plus one level after `=>'.
14353 2013-12-21  Richard Stallman  <rms@gnu.org>
14355         * simple.el (newline): Doc fix.
14357 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
14359         * net/eww.el (eww-list-histories, eww-list-histories)
14360         (eww-history-browse, eww-history-quit, eww-history-kill)
14361         (eww-history-mode-map, eww-history-mode): New command and
14362         functions to list browser histories.
14363         (eww-form-text): Support text form with disabled
14364         and readonly attributes.
14365         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
14367 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14369         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
14370         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
14371         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
14372         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
14373         Use `user-error'.
14374         (eww-bookmark-mode-map): Add menu.
14375         (eww-render, eww-mode): Use `setq-local'.
14376         (eww-tool-bar-map): New variable.
14377         (eww-mode): Set `tool-bar-map'.
14378         (eww-view-source): Check for `html-mode' with `fboundp'.
14380 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14382         * net/shr.el (shr--extract-best-source): Don't bug out on audio
14383         elements with text inside.  Also remove debugging.
14385 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
14387         * cus-start.el (all): Add ns-use-srgb-colorspace.
14389 2013-12-21  Chong Yidong  <cyd@gnu.org>
14391         * custom.el (custom-theme-recalc-face): Do nothing if the face is
14392         undefined.  Thus, theme settings for undefined faces do not take
14393         effect until the faces are defined with defface, the same as with
14394         theme variables.
14396         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
14397         (face-spec-reset-face): Don't assign extra properties in temacs.
14398         (face-spec-recalc): Apply X resources too.
14400 2013-12-21  Chong Yidong  <cyd@gnu.org>
14402         * faces.el (face-spec-set):
14403         * cus-face.el (custom-theme-set-faces, custom-set-faces):
14404         * custom.el (defface): Doc fixes (Bug#16203).
14406         * indent.el (indent-rigidly-map): Add docstring, and move commands
14407         into named functions.
14408         (indent-rigidly-left, indent-rigidly-right)
14409         (indent-rigidly-left-to-tab-stop)
14410         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
14411         indentation direction based on bidi direction, and accumulate
14412         sequential commands in a single undo boundary.
14413         (indent-rigidly--pop-undo): New utility function.
14415 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
14417         * faces.el (read-face-name): Require crm.el when using crm-separator.
14419 2013-12-20  Daniel Colascione  <dancol@dancol.org>
14421         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
14422         so that we don't reflow comments into the shebang line.
14424 2013-12-20  Juri Linkov  <juri@jurta.org>
14426         * saveplace.el (save-place-to-alist): Add `dired-filename' as
14427         a position when `dired-directory' is non-nil.  Check integer
14428         positions with `integerp'.
14429         (toggle-save-place, save-places-to-alist): Add check for
14430         `dired-directory'.
14431         (save-place-find-file-hook): Check integer positions with
14432         `integerp'.
14433         (save-place-dired-hook): Use `dired-goto-file' when
14434         `dired-filename' is found in the assoc list.  Check integer
14435         positions with `integerp'.
14436         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
14438         * dired.el (dired-initial-position-hook): Rename back from
14439         `dired-initial-point-hook'.
14440         (dired-initial-position): Rename `dired-initial-point-hook' to
14441         `dired-initial-position-hook'.
14442         (dired-file-name-at-point): Doc fix.  (Bug#15329)
14444 2013-12-20  Juri Linkov  <juri@jurta.org>
14446         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
14447         (read-regexp-suggestions): New function.
14448         (read-regexp): Use `read-regexp-defaults-function' to get default values.
14449         Use `read-regexp-suggestions'.  Add non-empty default to history
14450         for empty input.
14451         (occur-read-regexp-defaults-function): Remove function.
14452         (occur-read-primary-args): Use `regexp-history-last' instead of
14453         `occur-read-regexp-defaults-function'.
14455         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
14456         (hi-lock-line-face-buffer, hi-lock-face-buffer)
14457         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
14458         `hi-lock-read-regexp-defaults-function'.  Doc fix.
14459         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
14460         with `find-tag-default-as-symbol-regexp'.  Doc fix.
14461         (hi-lock-read-regexp-defaults): Remove function.
14462         (hi-lock-regexp-okay): Add check for null.
14464         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
14465         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
14467         * subr.el (find-tag-default-as-symbol-regexp): New function.
14468         (find-tag-default-as-regexp): Move symbol regexp formatting to
14469         `find-tag-default-as-symbol-regexp'.
14471 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
14473         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
14474         (Bug#14179)
14476 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
14478         * calendar/todo-mode.el: New implementation of item insertion
14479         commands and key bindings.
14480         (todo-key-prompt): New face.
14481         (todo-insert-item): New command.
14482         (todo-insert-item--parameters): New defconst, replacing defvar
14483         todo-insertion-commands-args-genlist.
14484         (todo-insert-item--param-key-alist): New defconst, replacing
14485         defvar todo-insertion-commands-arg-key-list.
14486         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14487         (todo-insert-item--argsleft, todo-insert-item--apply-args)
14488         (todo-insert-item--next-param): New functions.
14489         (todo-insert-item--args, todo-insert-item--argleft)
14490         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14491         New variables.
14492         (todo-key-bindings-t): Change binding of "i" from
14493         todo-insertion-map to todo-insert-item.
14494         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14495         (todo-insertion-command-name, todo-insertion-commands-names)
14496         (todo-define-insertion-command, todo-insertion-commands)
14497         (todo-insertion-key-bindings, todo-insertion-map): Remove.
14499 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
14501         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14502         (todo-toggle-item-highlighting): Use eval-and-compile instead of
14503         eval-when-compile.
14504         (todo-move-category): Allow choosing a non-existing todo file to
14505         move the category to, and create that file.
14506         (todo-default-priority): New user option.
14507         (todo-set-item-priority): Use it.
14508         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14509         (desktop-restore-file-buffer): Declare.
14510         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14511         (todo-modes-set-2): Locally set desktop-save-buffer to
14512         todo-desktop-save-buffer.
14513         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14514         (auto-mode-alist): Add autoload cookie.
14516 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
14518         * emacs-lisp/subr-x.el: Renamed from helpers.el.
14519         helpers.el was a poor choice of name.
14520         (string-remove-prefix): New function.
14521         (string-remove-suffix): New function.
14523 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
14525         Fix assignment for new window total sizes.
14526         * window.el (window--pixel-to-size): Remove function.
14527         (window--pixel-to-total-1, window--pixel-to-total):
14528         Fix calculation of new total sizes.
14530 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
14532         * comint.el (comint-output-filter): Fix rear-nonsticky property
14533         placement (Bug#16010).
14535 2013-12-20  Chong Yidong  <cyd@gnu.org>
14537         * faces.el (read-color): Minor fix for completion function.
14539 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
14541         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14542         New option.  (Bug#16182)
14543         (ruby-smie--indent-to-stmt-p): Use it.
14544         (ruby-smie-rules): Revert the logic in the handling of `when'.
14545         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14546         (ruby-deep-arglist, ruby-deep-indent-paren)
14547         (ruby-deep-indent-paren-style): Update docstrings to note that the
14548         vars don't have any effect with SMIE.
14550 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
14552         * calc/calc.el (calc-enter, calc-pop): Use the variable
14553         `calc-context-sensitive-enter'.
14555 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14557         * net/shr.el (shr-insert): Protect against infloops in degenerate
14558         tables.
14560 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14562         * progmodes/octave.el (octave): Add link to manual and octave
14563         homepage.
14564         (octave-mode-menu): Link to octave-mode manual.
14566 2013-12-20  Leo Liu  <sdl.web@gmail.com>
14568         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14569         insertion using skeleton-end-newline.  (Bug#16138)
14571 2013-12-20  Juri Linkov  <juri@jurta.org>
14573         * replace.el (occur-engine): Use `add-face-text-property'
14574         to add the face property to matches and titles.  (Bug#14645)
14576         * hi-lock.el (hi-green): Use lighter color "light green" closer to
14577         the palette of other hi-lock colors.
14578         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14580 2013-12-19  Juri Linkov  <juri@jurta.org>
14582         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14583         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
14584         (minibuffer-history-symbol): Move variable declaration closer to
14585         its usage.
14587         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14588         (Bug#14785)
14590 2013-12-19  Juri Linkov  <juri@jurta.org>
14592         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14593         New function.
14594         (log-edit-hook): Add it to :options.  (Bug#16170)
14596 2013-12-19  Juri Linkov  <juri@jurta.org>
14598         * simple.el (eval-expression-print-format): Don't check for
14599         command names and the last command.  Always display additional
14600         formats of the integer result in the echo area, and insert them
14601         to the current buffer only with a zero prefix arg.
14602         Display character when char-displayable-p is non-nil.
14603         (eval-expression): With a zero prefix arg, set `print-length' and
14604         `print-level' to nil, and insert the integer values from
14605         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
14607         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14608         `eval-last-sexp-arg-internal'.  Doc fix.
14609         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14610         `eval-last-sexp-print-value'.  Doc fix.
14611         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14612         Set `print-length' and `print-level' to nil when arg is zero.
14613         (eval-last-sexp): Doc fix.
14614         (eval-defun-2): Print the integer values from
14615         `eval-expression-print-format' at the end.
14617         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14618         values from `eval-expression-print-format' at the end.
14620         * ielm.el (ielm-eval-input): Print the integer
14621         values from `eval-expression-print-format' at the end.
14623 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
14625         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14626         2013-12-11T19:01:44Z!tzz@lifelogs.com.
14628 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14630         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
14631         (hl-line-highlight, global-hl-line-highlight): Use it.
14632         (hl-line-overlay): Use defvar-local.
14634 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
14636         * term/ns-win.el: Require dnd.
14637         (global-map): Remove drag items.
14638         (ns-insert-text, ns-set-foreground-at-mouse)
14639         (ns-set-background-at-mouse):
14640         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
14641         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
14642         New functions.
14644 2013-12-19  Glenn Morris  <rgm@gnu.org>
14646         * emacs-lisp/ert.el (ert-select-tests):
14647         Fix string/symbol mixup.  (Bug#16121)
14649 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
14651         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
14652         keywords to their parent.
14654 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
14656         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14657         first arg to be a string (fixed dead code), or an operator symbol.
14658         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
14659         operator symbols.
14660         (ruby-smie-rules): Remove parent token check in the `.' clause, it
14661         did nothing.  Don't respond to `(:after ".")', it will be called
14662         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
14663         change anything.  Only return indentation for binary operators
14664         when they are hanging.  De-dent opening paren when its parent is
14665         `.', otherwise it looks bad when the dot is not at bol or eol
14666         (bug#16182).
14668 2013-12-19  Juri Linkov  <juri@jurta.org>
14670         * replace.el (query-replace-read-args): Split a non-negative arg
14671         and a negative arg into separate elements.
14672         (query-replace, query-replace-regexp, replace-string)
14673         (replace-regexp): Add arg `backward'.  Doc fix.
14674         (replace-match-maybe-edit): When new arg `backward' is non-nil,
14675         move point to the beginning of the match.
14676         (replace-search, replace-highlight): Use new arg `backward'
14677         to set the value of `isearch-forward'.
14678         (perform-replace): Add arg `backward' and use it to perform
14679         replacement backward.  (Bug#14979)
14681         * isearch.el (isearch-query-replace): Use a negative prefix arg
14682         to call `perform-replace' with a non-nil arg `backward'.
14684 2013-12-18  Juri Linkov  <juri@jurta.org>
14686         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
14687         to the default list.  Move `log-edit-show-files' to the end.
14688         Add more available functions to options.
14689         (log-edit): Move default specific settings to
14690         `log-edit-insert-message-template'.  Don't move point.
14691         (log-edit-insert-message-template): New function.
14692         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
14693         (Bug#16170)
14695 2013-12-18  Juri Linkov  <juri@jurta.org>
14697         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
14698         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
14700 2013-12-18  Leo Liu  <sdl.web@gmail.com>
14702         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
14703         (Bug#16186)
14705 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
14707         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
14708         formats for displaying file sizes when the -s switch is given.
14709         Instead, compute a separate format for displaying the size in
14710         blocks, which is displayed in addition to the "regular" size.
14711         When -h is given in addition to -s, produce size in blocks in
14712         human-readable form as well.  (Bug#16179)
14714 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
14716         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
14717         Reference tables with ~\ref{...} instead of only \ref{...}.
14719 2013-12-18  Chong Yidong  <cyd@gnu.org>
14721         * cus-edit.el (custom-magic-alist): Fix "themed" description
14722         (Bug#14348).
14724         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
14725         is non-nil, do not create a new entry in the symbol's theme-value
14726         or theme-face property; update theme-settings only (Bug#14664).
14727         (custom-available-themes): Doc fix.
14729         * cus-theme.el (custom-new-theme-mode-map): Add bindings
14730         (Bug#15674).
14732         * replace.el (occur-engine): Avoid infloop (Bug#7593).
14734 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
14736         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
14737         (Bug#13914).
14739 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
14741         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
14743 2013-12-18  Glenn Morris  <rgm@gnu.org>
14745         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
14746         * cus-start.el (load-prefer-newer): New option.
14748 2013-12-18  Le Wang  <l26wang@gmail.com>
14750         * comint.el (comint-previous-matching-input-from-input):
14751         Retain point (Bug#13404).
14753 2013-12-18  Chong Yidong  <cyd@gnu.org>
14755         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
14757 2013-12-18  Glenn Morris  <rgm@gnu.org>
14759         * mail/emacsbug.el (report-emacs-bug):
14760         Only mention enable-multibyte-characters if non-standard.
14762 2013-12-17  Juri Linkov  <juri@jurta.org>
14764         * arc-mode.el (archive-extract-by-file): Check if directory exists
14765         before deletion to not show irrelevant errors if it doesn't exist.
14767 2013-12-17  Juri Linkov  <juri@jurta.org>
14769         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
14770         (Bug#14751)
14772         * net/eww.el (browse-web): Add alias to `eww'.
14773         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
14774         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
14776         * net/browse-url.el (browse-url-browser-function): Move `eww'
14777         closer to similar functions.
14779         * startup.el (fancy-startup-screen, fancy-about-screen):
14780         Set browse-url-browser-function to eww-browse-url locally.
14781         (Bug#14751)
14783 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14785         * window.el (window--pixel-to-total): Remove unused `mini' var.
14786         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
14787         (split-window): Remove unused `new' var.
14788         (window--display-buffer): Remove unused `frame' and `delta' vars.
14789         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
14790         and display-width'.
14792 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
14794         * dired.el (dired-mark-pop-up):
14795         * register.el (register-preview): Don't bind
14796         split-height-threshold here since it's now done in
14797         display-buffer-below-selected.
14799 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
14801         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
14802         xterm-rgb-convert-to-16bit.
14803         (rxvt-register-default-colors): Standardize with
14804         xterm-register-default-colors (Bug#14078).
14806 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
14808         * simple.el (kill-region): Pass mark first, then point, so that
14809         kill-append works right (Bug#12819).
14810         (copy-region-as-kill, kill-ring-save): Likewise.
14812 2013-12-17  Leo Liu  <sdl.web@gmail.com>
14814         * net/rcirc.el (rcirc-add-face):
14815         * eshell/em-prompt.el (eshell-emit-prompt):
14816         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
14817         (Bug#16167)
14819 2013-12-17  Chong Yidong  <cyd@gnu.org>
14821         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
14822         Suggested by Xue Fuqiao.
14824 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
14826         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
14828 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14830         * net/shr.el (shr-insert-document): Remove unused var
14831         `shr-preliminary-table-render'.
14832         (shr-rescale-image): Remove unused arg `force'.
14833         (shr-put-image): Update calls accordingly.
14834         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
14836 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
14838         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
14839         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
14840         :close-all, to see which indentation method to use (Bug#16116).
14841         (smie-rules-function): Document the method :close-all.
14843 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14845         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
14847         * net/eww.el (eww-display-html): If we can't find the anchor we're
14848         looking for, then go to point-min.
14850 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
14852         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
14853         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
14854         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
14855         Expand dir too, in case it's relative.
14857 2013-12-16  Juri Linkov  <juri@jurta.org>
14859         * desktop.el (desktop-auto-save-timeout): Change default to
14860         `auto-save-timeout'.  Doc fix.
14861         (desktop-save): Skip the timestamp in desktop-saved-frameset
14862         when checking for auto-save changes.
14863         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
14864         `desktop-auto-save' is called repeatedly by the idle timer.
14865         (desktop-auto-save-set-timer): Replace `run-with-timer' with
14866         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
14867         (Bug#15331)
14869 2013-12-16  Juri Linkov  <juri@jurta.org>
14871         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
14872         (Bug#16035)
14873         (isearch-pre-command-hook): Check `this-command' for symbolp.
14875 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14877         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
14879 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
14881         * progmodes/cfengine.el (cfengine3--current-word): Remove.
14882         (cfengine3--current-function): Bring in the current-function
14883         functionality from `cfengine3--current-word'.
14884         (cfengine3-completion-function): Bring in the
14885         bounds-of-current-word functionality from
14886         `cfengine3--current-word'.
14888 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
14890         * window.el (display-buffer-below-selected):
14891         Bind split-height-threshold to 0 as suggested by Juri Linkov.
14893 2013-12-16  Leo Liu  <sdl.web@gmail.com>
14895         * progmodes/compile.el (compile-goto-error): Do not push-mark.
14896         Remove NOMSG arg and all uses changed.
14898 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14900         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
14901         (cua--deactivate-rectangle): Don't deactivate the mark.
14902         (cua-set-rectangle-mark): Don't set mark-active since
14903         cua--activate-rectangle already does it for us.
14904         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
14905         non-rectangular region.
14907         * emulation/cua-base.el (cua-repeat-replace-region):
14908         Use with-current-buffer.
14910         * net/gnutls.el: Use cl-lib.
14911         (gnutls-negotiate): `mapcan' -> cl-mapcan.
14913 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
14915         * emacs-lisp/package.el (package-built-in-p): Support both
14916         built-in and the package.el converted package descriptions.
14917         (package-show-package-list): Allow keywords.
14918         (package-keyword-button-action): Use it instead of
14919         `finder-list-matches'.
14920         (package-menu-filter-interactive): Interactive filtering (by
14921         keyword) function.
14922         (package-menu--generate): Support keywords and change keymappings
14923         and headers when they are given.
14924         (package--has-keyword-p): Helper function.
14925         (package-menu--refresh): Use it.
14926         (package--mapc): Helper function.
14927         (package-all-keywords): Use it.
14928         (package-menu-mode-map): Set up menu items and keybindings to
14929         provide a filtering UI.
14931 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
14933         * net/gnutls.el (gnutls-verify-error): New defcustom to control
14934         the behavior when a certificate fails validation.  Defaults to
14935         old behavior: never abort, just warn.
14936         (gnutls-negotiate): Use it.
14938 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
14940         * window.el (display-buffer-below-selected): Never split window
14941         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
14943 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
14945         * emacs-lisp/package.el (package--prepare-dependencies): New function.
14946         (package-buffer-info): Use it (bug#15108).
14948 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14950         * icomplete.el (icomplete-completions): Make sure the prefix is already
14951         displayed elsewhere before hiding it (bug#16219).
14953 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
14955         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
14956         open-paren tokens when preceded by a open-paren, too.
14957         (ruby-smie-rules): Handle virtual indentation after open-paren
14958         tokens specially.  If there is code between it and eol, return the
14959         column where is starts (Bug#16118).
14961 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
14963         * progmodes/cfengine.el: Fix `add-hook' doc.
14964         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
14965         (cfengine3--current-word): Fix parameters.
14966         (cfengine3-make-syntax-cache): Simplify further.
14967         (cfengine3-completion-function, cfengine3--current-function):
14968         Use `assq' for symbols.
14969         (cfengine3--current-function): Fix `cfengine3--current-word' call.
14971 2013-12-13  Glenn Morris  <rgm@gnu.org>
14973         * loadup.el (load-path): Warn if site-load or site-init changes it.
14974         No more need to reset it when bootstrapping.
14976 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
14978         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
14979         locations for cf-promises.
14980         (cfengine-mode-syntax-functions-regex): New caching variable.
14981         (cfengine3-fallback-syntax): Fallback syntax for cases where
14982         cf-promises doesn't run.
14983         (cfengine3--current-word): Reimplement using
14984         `cfengine-mode-syntax-functions-regex'.
14985         (cfengine3-completion-function, cfengine3--current-function):
14986         Use `cfengine3-make-syntax-cache' directly.
14987         (cfengine3-clear-syntax-cache): New function.
14988         (cfengine3-make-syntax-cache): Simplify and create
14989         `cfengine-mode-syntax-functions-regex' on demand.
14990         (cfengine3-format-function-docstring): Don't call
14991         `cfengine3-make-syntax-cache' explicitly.
14993 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
14995         Fix windmove-find-other-window broken after pixelwise resizing
14996         (Bug#16017).
14997         * windmove.el (windmove-other-window-loc): Revert change from
14998         2013-12-04.
14999         (windmove-find-other-window): Call window-in-direction.
15000         * window.el (window-in-direction): New arguments SIGN, WRAP and
15001         MINI to emulate original windmove-find-other-window behavior.
15003 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
15005         * simple.el (blink-matching--overlay): New variable.
15006         (blink-matching-open): Instead of moving point, highlight the
15007         matching paren with an overlay
15008         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
15010         * faces.el (paren-showing-faces, show-paren-match)
15011         (show-paren-mismatch): Move from paren.el.
15013 2013-12-13  Leo Liu  <sdl.web@gmail.com>
15015         * indent.el (indent-region): Disable progress reporter in
15016         minibuffer.  (Bug#16108)
15018         * bindings.el (visual-order-cursor-movement): Fix version.
15020 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15022         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
15023         Also match after beginning of line.
15024         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
15025         files.  Thanks to Russell Sim.  (Bug#15378)
15027 2013-12-13  Juri Linkov  <juri@jurta.org>
15029         * simple.el <Keypad support>: Remove key bindings duplicated
15030         with bindings.el.  (Bug#14397)
15032 2013-12-13  Juri Linkov  <juri@jurta.org>
15034         * comint.el (comint-mode-map): Replace `delete-char' with
15035         `delete-forward-char'.  (Bug#16109)
15037 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15039         * progmodes/python.el (python-indent-calculate-indentation):
15040         Fix de-denters cornercase.  (Bug#15731)
15042 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15044         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
15045         (advice--make): Pay attention to `depth'.
15046         (advice--make-1): Don't autoload commands eagerly.
15047         * emacs-lisp/elp.el (elp-instrument-function):
15048         * emacs-lisp/trace.el (trace-function-internal):
15049         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
15051         * iswitchb.el (iswitchb-mode): Don't belittle ido.
15053 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
15055         * term/w32-win.el (w32-handle-dropped-file):
15056         * startup.el (normal-top-level):
15057         * net/browse-url.el (browse-url-file-url):
15058         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
15059         decode file names using 'utf-8' rather than
15060         file-name-coding-system.
15062 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15064         * progmodes/python.el (python-indent-context)
15065         (python-indent-calculate-indentation): Fix auto-identation
15066         behavior for comment blocks.  (Bug#15916)
15068 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
15070         * progmodes/python.el (python-indent-calculate-indentation):
15071         When determining indentation, don't treat "return", "pass", etc., as
15072         operators when they are just string constituents.  (Bug#15812)
15074 2013-12-12  Juri Linkov  <juri@jurta.org>
15076         * uniquify.el (uniquify-buffer-name-style): Change default to
15077         `post-forward-angle-brackets'.
15079         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
15080         `uniquify'.  Change default to `post-forward-angle-brackets'.
15082 2013-12-11  Glenn Morris  <rgm@gnu.org>
15084         * emacs-lisp/package.el (finder-list-matches):
15085         Autoload rather than falsely declaring.
15087 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
15089         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
15090         (eww-mode-map): Use them.
15092 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
15094         * window.el (display-buffer-in-side-window): Fix doc-string
15095         (Bug#16115).
15097 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
15099         * vc/vc-git.el: Silence byte-compiler warnings.
15100         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
15101         (log-edit-set-header): Declare.
15103 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
15105         * Makefile.in (custom-deps, finder-data): Run output file names
15106         through unmsys--file-name.  (Bug#16099)
15108 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15110         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
15111         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
15113         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
15114         instead of deleting the selection "by hand" (bug#16098).
15115         Rely on insert-for-yank to yank rectangles.
15116         (cua-highlight-region-shift-only): Mark obsolete.
15117         (cua-mode): Don't enable/disable transient-mark-mode,
15118         shift-select-mode (cua-mode works both with and without them), and
15119         pc-selection-mode (obsolete).
15120         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
15121         (cua--deactivate-rectangle): Deactivate it.
15123         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
15124         (delete-selection-helper): Make sure yank starts at the top of the
15125         deleted region.
15126         (minibuffer-keyboard-quit): Use region-active-p.
15128         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
15130         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
15131         to `delete' (bug#16109).
15133 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15135         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
15136         info manual and show keybindings and set `:group' keyword.
15138 2013-12-11  Juri Linkov  <juri@jurta.org>
15140         * delsel.el (delete-active-region): Let-bind `this-command'
15141         to prevent `kill-region' from changing its original value.
15142         (delete-selection-helper): Handle `overwrite-mode' for the type
15143         `kill' exactly the same way as for the type `t'.
15144         (insert-char, quoted-insert, reindent-then-newline-and-indent):
15145         Support more commands.  (Bug#13312)
15147 2013-12-11  Juri Linkov  <juri@jurta.org>
15149         * bindings.el: Map kp keys to non-kp keys systematically
15150         with basic modifiers control, meta and shift.  (Bug#14397)
15152 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
15154         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
15155         "Close browser" menu items.  Fix wrong function of "List
15156         bookmarks".
15158 2013-12-11  Juri Linkov  <juri@jurta.org>
15160         * misearch.el (multi-isearch-buffers): Set the value of
15161         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
15162         arg of isearch-forward to t.
15163         (multi-isearch-buffers-regexp): Set the value of
15164         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
15165         arg of isearch-forward-regexp to t.
15166         (multi-isearch-files): Set the value of
15167         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
15168         arg of isearch-forward to t.
15169         (multi-isearch-files-regexp): Set the value of
15170         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
15171         arg of isearch-forward-regexp to t.  (Bug#16035)
15173         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
15174         arg of isearch-forward to t.
15175         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
15176         arg of isearch-forward-regexp to t.
15177         (dired-isearch-filter-filenames): Remove unnecessary check for
15178         `dired-isearch-filenames'.
15180         * comint.el (comint-history-isearch-backward):
15181         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
15182         (comint-history-isearch-backward-regexp):
15183         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
15185 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
15187         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
15188         unmsys--file-name.  (Bug#16099)
15190 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
15192         * emacs-lisp/package.el (package-keyword-button-action):
15193         Remove finder.el require dependency.
15195 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
15197         * emacs-lisp/package.el: Require finder.el.
15198         (describe-package-1): Add keyword buttons.
15199         (package-make-button): New convenience function.
15200         (package-keyword-button-action): Keyword button action using
15201         `finder-list-matches'.
15203 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
15205         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
15206         last commit.
15208 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
15210         * autorevert.el (auto-revert-notify-add-watch): Do not handle
15211         symlinked files.
15213 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
15215         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
15216         after the end of a percent literal.
15218 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
15220         * progmodes/ruby-mode.el (ruby-forward-string): Document.
15221         Handle caret-delimited strings (Bug#16079).
15223 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
15225         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
15226         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
15227         `ruby-parse-partial' (Bug#16078).
15229 2013-12-09  Leo Liu  <sdl.web@gmail.com>
15231         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
15233 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
15235         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
15236         (js-switch-indent-offset): New option.
15237         (js--proper-indentation): Use it.  And handle the case when
15238         "default" is actually a key in an object literal.
15239         (js--same-line): New function.
15240         (js--multi-line-declaration-indentation): Use it.
15241         (js--indent-in-array-comp, js--array-comp-indentation):
15242         New functions.
15243         (js--proper-indentation): Use them, to handle array comprehension
15244         continuations.
15246 2013-12-08  Leo Liu  <sdl.web@gmail.com>
15248         * progmodes/flymake.el (flymake-highlight-line): Re-write.
15249         (flymake-make-overlay): Remove arg MOUSE-FACE.
15250         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
15252 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15254         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
15255         New function.
15256         (redisplay-highlight-region-function): Use it.
15258         * emulation/cua-base.el (cua--explicit-region-start)
15259         (cua--last-region-shifted): Remove.
15260         (cua--deactivate): Use deactivate-mark.
15261         (cua--pre-command-handler-1): Don't handle shift-selection.
15262         (cua--post-command-handler-1): Don't change transient-mark-mode.
15263         (cua--select-keymaps): Use region-active-p rather than
15264         cua--explicit-region-start or cua--last-region-shifted.
15265         (cua-mode): Enable shift-select-mode.
15267 2013-12-08  Leo Liu  <sdl.web@gmail.com>
15269         * progmodes/flymake.el (flymake-popup-current-error-menu):
15270         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
15271         (flymake-posn-at-point-as-event, flymake-popup-menu)
15272         (flymake-make-emacs-menu): Remove.  (Bug#16077)
15274 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15276         * rect.el (rectangle-mark-mode): Activate mark even if
15277         transient-mark-mode is off (bug#16066).
15278         (rectangle--highlight-for-redisplay): Fix boundary condition when point
15279         is > mark and at bolp.
15281         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
15282         (region-extract-function): Use it.
15283         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
15284         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
15285         Delete functions.
15286         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
15287         kill-ring-save, kill-region, delete-char, delete-forward-char.
15288         Ignore self-insert-iso.
15290         * emulation/cua-gmrk.el (cua--init-global-mark):
15291         Ignore `self-insert-iso'.
15293         * emulation/cua-base.el (cua--prefix-copy-handler)
15294         (cua--prefix-cut-handler): Rely on region-extract-function rather than
15295         checking cua--rectangle.
15296         (cua-delete-region): Use region-extract-function.
15297         (cua-replace-region): Delete function.
15298         (cua-copy-region, cua-cut-region): Obey region-extract-function.
15299         (cua--pre-command-handler-1): Don't do the delete-selection thing.
15300         (cua--self-insert-char-p): Ignore `self-insert-iso'.
15301         (cua--init-keymaps): Don't remap delete-selection commands.
15302         (cua-mode): Use delete-selection-mode instead of rolling our own
15303         (bug#16085).
15305         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
15306         Obey region-extract-function.
15308         Make registers and delete-selection-mode work on rectangles.
15309         * register.el (describe-register-1): Don't modify the register's value.
15310         (copy-to-register): Obey region-extract-function.
15311         * delsel.el (delete-active-region): Obey region-extract-function.
15313 2013-12-08  Leo Liu  <sdl.web@gmail.com>
15315         * progmodes/flymake.el (flymake, flymake-error-bitmap)
15316         (flymake-warning-bitmap, flymake-fringe-indicator-position)
15317         (flymake-compilation-prevents-syntax-check)
15318         (flymake-start-syntax-check-on-newline)
15319         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
15320         (flymake-start-syntax-check-on-find-file, flymake-log-level)
15321         (flymake-xml-program, flymake-master-file-dirs)
15322         (flymake-master-file-count-limit)
15323         (flymake-allowed-file-name-masks): Relocate.
15324         (flymake-makehash, flymake-float-time)
15325         (flymake-replace-regexp-in-string, flymake-split-string)
15326         (flymake-get-temp-dir): Remove.
15327         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
15328         (flymake-current-row, flymake-selected-frame)
15329         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
15330         related functions.  (Bug#16077)
15332 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
15334         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
15336 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
15338         * help-fns.el (describe-function-1): Use new advice-* functions
15339         rather than old ad-* functions.  Fix function type description and
15340         source links for advised functions and subrs.
15342 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15344         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
15346 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
15348         * progmodes/compile.el (compilation-start):
15349         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
15351         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
15352         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
15354 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
15356         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
15357         Touch up the last change.
15359 2013-12-06  Leo Liu  <sdl.web@gmail.com>
15361         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
15362         (inferior-octave-startup): Always use "octave> " for prompt.
15363         (octave-goto-function-definition)
15364         (octave-sync-function-file-names)
15365         (octave-find-definition-default-filename): Remove redundant backquotes.
15367 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
15369         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
15370         syntax for `?'.
15371         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
15372         where appropriate already.
15373         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
15374         end of method names (Bug#15874).
15376 2013-12-06  Juri Linkov  <juri@jurta.org>
15378         * isearch.el (isearch--saved-overriding-local-map):
15379         New internal variable.
15380         (isearch-mode): Set it to the initial value of
15381         `overriding-terminal-local-map'.
15382         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
15383         with `isearch--saved-overriding-local-map'.  (Bug#16035)
15385 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
15387         * progmodes/octave.el (inferior-octave-completion-table):
15388         Turn back into function, use `completion-table-with-cache'
15389         (Bug#11906).  Update all references.
15391         * minibuffer.el (completion-table-with-cache): New function.
15393 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
15395         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
15397 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
15399         * net/eww.el (eww-current-source): New variable to store page
15400         source.
15401         (eww-display-html, eww-mode, eww-save-history)
15402         (eww-restore-history): Use it.
15403         (eww-view-source): New command to view page source.
15404         Opportunistically uses `html-mode' to highlight the buffer.
15405         (eww-mode-map): Install it.
15407 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
15409         * net/dbus.el (dbus-unregister-service)
15410         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
15411         Fix docstring.
15412         (dbus-unregister-service): Skip :serial entries in
15413         `dbus-registered-objects-table'.
15414         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
15416 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
15418         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
15419         around keywords with extra `split-string' argument.
15421 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
15423         * windmove.el (windmove-other-window-loc): Handle navigation
15424         between windows (excluding the minibuffer window - Bug#16017).
15426 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
15428         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
15429         in D-Bus type syntax.
15430         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
15431         preserve unibyte strings.  (Bug#16048)
15433 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15435         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
15436         Call force-mode-line-update is the proper buffer (bug#16042).
15438 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
15440         * vc/log-edit.el (log-edit-add-new-comment): Rename to
15441         `log-edit-remember-comment', make argument optional.  Adjust all
15442         callers.
15443         (log-edit-mode): Add `log-edit-remember-comment' to
15444         `kill-buffer-hook' locally.
15445         (log-edit-kill-buffer): Don't remember comment explicitly since
15446         the buffer is killed anyway.
15448 2013-12-04  Juri Linkov  <juri@jurta.org>
15450         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
15451         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
15453 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
15455         * notifications.el (notifications-close-notification): Call the
15456         D-Bus method with ID being a `:uint32'.  (Bug#16030)
15458 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
15460         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
15462 2013-12-03  Juri Linkov  <juri@jurta.org>
15464         * progmodes/compile.el (compilation-start): Rename window alist
15465         entry `no-display-ok' to `allow-no-window'.
15467         * simple.el (shell-command): Add window alist entry
15468         `allow-no-window' to `display-buffer'.
15469         (async-shell-command): Doc fix.
15471         * window.el (display-buffer-no-window): New action function.
15472         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
15474 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
15476         * vc/log-edit.el (log-edit-set-header): Extract from
15477         `log-edit-toggle-header'.
15478         (log-edit-extract-headers): Separate the summary, when extracted
15479         from header, from the rest of the message with an empty line.
15481         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
15482         line, if present, to the Summary header.
15484 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15486         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15487         in current-buffer (bug#16029).
15489 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
15491         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15492         (debugger-mode-map): Bind it.
15493         (debugger--backtrace-base): New function.
15494         (debugger-eval-expression): Use it.
15495         (debugger-frame-number): Skip local vars when present.
15496         (debugger--locals-visible-p, debugger--insert-locals)
15497         (debugger--show-locals, debugger--hide-locals): New functions.
15499 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
15501         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15502         "LC_ALL".
15503         (tramp-get-remote-locale): New defun.
15504         (tramp-open-connection-setup-interactive-shell): Use it.
15506 2013-12-02  Leo Liu  <sdl.web@gmail.com>
15508         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
15510         * progmodes/sh-script.el (sh-shell-process):
15511         * progmodes/octave.el (inferior-octave-process-live-p):
15512         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15513         (gdb-inferior-io-sentinel):
15514         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15516 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
15518         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15519         `save-selected-window' to `log-edit-hide-buf'.  This makes
15520         `log-edit-show-files' idempotent.
15521         (log-edit-show-files): Mark the new window as dedicated.
15523 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
15525         * vc/log-edit.el (log-edit-mode-map): Add binding for
15526         `log-edit-kill-biffer'.
15527         (log-edit-hide-buf): Add a FIXME comment.
15528         (log-edit-add-new-comment): New function, extracted from
15529         `log-edit-done'.
15530         (log-edit-done, log-edit-add-to-changelog): Use it.
15531         (log-edit-kill-buffer): New command.
15533 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15535         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15536         instead of killing the buffer.
15538 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15540         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15542 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15544         * net/eww.el (eww-form-checkbox-selected-symbol)
15545         (eww-form-checkbox-symbol): New customizable variable.
15546         (eww-form-checkbox, eww-toggle-checkbox):
15547         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15549         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15550         (shr--get-media-pref, shr--extract-best-source): New function.
15551         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15552         no :src tag was specified.
15554         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15555         (eww-render): Handle `eww-use-external-browser-for-content-type'.
15556         Use \\` to match beginning of string instead of ^.
15557         (eww-browse-with-external-browser): Provide optional URL parameter.
15558         (eww-render): Set `eww-current-title' back to "".
15560         * net/shr.el (shr-tag-video): Display content for video if no
15561         poster is available.
15562         (shr-tag-audio): Add support for <audio> tag.
15564         * net/eww.el (eww-text-input-types): New const.
15565         (eww-process-text-input): Treat input types in
15566         `eww-text-input-types' as text.
15568         * net/shr.el (shr-tag-table): Fix comment typo.
15570 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15572         * net/eww.el (eww-follow-link): New command to avoid reloading
15573         pages when we follow #target links (bug#15243).
15574         (eww-quit): Special mode buffers shouldn't query before exiting.
15576 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
15578         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15579         forms.
15581 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15583         * net/eww.el (eww-restore-history): Update the window title after
15584         moving in the history.
15585         (eww-current-dom): New variable used to save the current DOM.
15587 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
15589         * vc/log-edit.el (log-edit-mode-map): Add binding for
15590         `log-edit-beginning-of-line'.
15591         (log-edit-setup-add-author): New user option.
15592         (log-edit-beginning-of-line): New command.
15593         (log-edit): Move major mode call above the contents setup so that
15594         the local variable values are already applied.
15595         (log-edit): Only insert "Author: " when
15596         `log-edit-setup-add-author' is non-nil.
15597         (log-edit): When SETUP is non-nil, position point after ": "
15598         instead of point-min.
15600 2013-12-01  Glenn Morris  <rgm@gnu.org>
15602         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15604 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
15606         * startup.el (fancy-splash-frame): On MS-Windows, trigger
15607         redisplay to make sure the initial frame gets a chance to become
15608         visible.  (Bug#16014)
15610 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
15612         Support resizing frames and windows pixelwise.
15613         * cus-start.el (frame-resize-pixelwise)
15614         (window-resize-pixelwise): New entries.
15615         * emacs-lisp/debug.el (debug): Use window-total-height instead
15616         of window-total-size.
15617         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15618         * help.el (describe-bindings-internal): Use help-buffer as
15619         argument for with-help-window.
15620         (temp-buffer-max-width): New option.
15621         (resize-temp-buffer-window, help-window-setup)
15622         (with-help-window): Rewrite.
15623         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
15624         dragging dividers.
15625         * window.el (frame-char-size, window-min-pixel-height)
15626         (window-safe-min-pixel-height, window-safe-min-pixel-width)
15627         (window-min-pixel-width, window-safe-min-pixel-size)
15628         (window-combination-p, window-safe-min-size)
15629         (window-resizable-p, window--size-to-pixel)
15630         (window--pixel-to-size, window--resize-apply-p): New functions.
15631         (window-safe-min-height): Fix doc-string.
15632         (window-size, window-min-size, window--min-size-1)
15633         (window-sizable, window-sizable-p, window--min-delta-1)
15634         (window-min-delta, window--max-delta-1, window-max-delta)
15635         (window--resizable, window--resizable-p, window-resizable)
15636         (window-full-height-p, window-full-width-p, window-at-side-p)
15637         (window--in-direction-2, window-in-direction)
15638         (window--resize-reset-1, window--resize-mini-window)
15639         (window-resize, window-resize-no-error)
15640         (window--resize-child-windows-normal)
15641         (window--resize-child-windows, window--resize-siblings)
15642         (window--resize-this-window, window--resize-root-window)
15643         (window--resize-root-window-vertically)
15644         (adjust-window-trailing-edge, enlarge-window, shrink-window)
15645         (maximize-window, minimize-window, delete-window)
15646         (quit-restore-window, window-split-min-size, split-window)
15647         (balance-windows-2, balance-windows)
15648         (balance-windows-area-adjust, balance-windows-area)
15649         (window--state-get-1, window-state-get, window--state-put-1)
15650         (window--state-put-2, window-state-put)
15651         (display-buffer-record-window, window--display-buffer):
15652         Make functions handle pixelwise sizing of windows.
15653         (display-buffer--action-function-custom-type)
15654         (display-buffer-fallback-action):
15655         Add display-buffer-in-previous-window.
15656         (display-buffer-use-some-window): Resize window to height it had
15657         before.
15658         (fit-window-to-buffer-horizontally): New option.
15659         (fit-frame-to-buffer): Describe new values.
15660         (fit-frame-to-buffer-bottom-margin): Replace with
15661         fit-frame-to-buffer-margins.
15662         (window--sanitize-margin): New function.
15663         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
15664         using window-text-pixel-size.
15666 2013-11-30  Glenn Morris  <rgm@gnu.org>
15668         * emacs-lisp/bytecomp.el (byte-compile-form):
15669         Make the `interactive-only' warning like the `obsolete' one.
15670         * comint.el (comint-run):
15671         * files.el (insert-file-literally, insert-file):
15672         * replace.el (replace-string, replace-regexp):
15673         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
15674         (goto-line, insert-buffer, next-line, previous-line):
15675         Tweak `interactive-only' spec.
15677         Stop keeping (most) generated cedet grammar files in the repository.
15678         * Makefile.in (semantic): New.
15679         (compile-main): Depend on semantic.
15681 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15683         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
15684         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
15686         * uniquify.el (uniquify-buffer-name-style): Change default.
15688         * loadup.el: Preload "uniquify".
15690         * time.el (display-time-update): Update all mode lines (bug#15999).
15692         * electric.el (electric-indent-mode): Enable by default.
15693         * loadup.el: Preload "electric".
15695 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
15697         * emacs-lisp/helpers.el (string-empty-p): New function.
15698         (string-blank-p): New function.
15700 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
15702         * imenu.el (imenu--index-alist): Add missing dot to the docstring
15703         (Bug#14029).
15705 2013-11-29  Andreas Politz  <politza@fh-trier.de>
15706         * imenu.el (imenu--subalist-p): Don't error on non-conses and
15707         allow non-lambda lists as functions.
15708         (imenu--in-alist): Don't recurse into non-subalists.
15709         (imenu): Don't pass function itself as an argument (Bug#14029).
15711 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15713         * progmodes/python.el (python-mode-map): Remove binding for ":".
15714         (python-indent-electric-colon): Remove command.
15715         (python-indent-post-self-insert-function): Integrate the previous code
15716         of python-indent-electric-colon.  Make it conditional on
15717         electric-indent-mode.
15718         (python-mode): Add ?: to electric-indent-chars.
15719         Move python-indent-post-self-insert-function to the end of
15720         post-self-insert-hook.
15722 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15724         * doc-view.el (doc-view-goto-page): Update mode-line.
15726         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
15728 2013-11-27  Glenn Morris  <rgm@gnu.org>
15730         * international/charprop.el, international/uni-bidi.el:
15731         * international/uni-category.el, international/uni-combining.el:
15732         * international/uni-comment.el, international/uni-decimal.el:
15733         * international/uni-decomposition.el, international/uni-digit.el:
15734         * international/uni-lowercase.el, international/uni-mirrored.el:
15735         * international/uni-name.el, international/uni-numeric.el:
15736         * international/uni-old-name.el, international/uni-titlecase.el:
15737         * international/uni-uppercase.el:
15738         Remove generated files from VCS repository.
15740 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
15742         * filenotify.el (file-notify-add-watch): Don't special-case
15743         w32notify when computing the directory to watch.
15745 2013-11-27  Glenn Morris  <rgm@gnu.org>
15747         Make bootstrap without generated uni-*.el files possible again.
15748         * loadup.el: Update command-line-args checking for unidata-gen.
15749         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
15750         * composite.el, international/characters.el:
15751         Handle unicode tables being undefined.
15753         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
15754         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
15755         (compile-main): Depend on leim rule.
15756         (leim): New rule.
15757         * loadup.el: Move leim-list.el to leim/ subdirectory.
15758         * startup.el (normal-top-level): No more leim directory.
15759         * international/ja-dic-cnv.el (skkdic-convert):
15760         Disable version-control and autoloads in output files.
15761         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
15762         Disable version-control and autoloads in output files.
15763         * leim/quail: Move here from ../leim.
15764         * leim/quail/hangul.el (hangul-input-method-activate):
15765         Add autoload cookie.
15766         (generated-autoload-load-name): Set file-local value.
15767         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
15768         (generated-autoload-load-name): Set file-local value.
15770 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
15772         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
15773         (eww-add-bookmark): Ask confirmation when add to bookmarks.
15774         (eww-quit): Ask confirmation before quitting eww.
15776 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
15778         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
15779         reading output from Diff on MS-Windows and MS-DOS.
15781 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
15783         * emacs-lisp/helpers.el (string-reverse): New function.
15785 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
15787         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
15788         names on MS Windows, like "/[::1]:".
15790         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
15791         SWITCHES.
15793 2013-11-26  Glenn Morris  <rgm@gnu.org>
15795         * progmodes/python.el (python-indent-guess-indent-offset):
15796         Avoid corner-case error.  (Bug#15975)
15798         Preload leim-list.el.  (Bug#4789)
15799         * loadup.el: Load leim-list.el when found.
15800         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
15802 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
15804         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
15806         * emacs-lisp/helpers.el (string-join): New function.
15808 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
15810         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15811         Mark as obsolete and replace it with a symbol property.
15812         (byte-compile-form): Use new 'interactive-only property.
15813         * comint.el, files.el, replace.el, simple.el:
15814         Apply new 'interactive-only properly.
15816 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
15818         * window.el (display-buffer-at-bottom): Make sure that
15819         split-window-sensibly creates the new window on bottom
15820         (Bug#15961).
15822 2013-11-23  David Kastrup  <dak@gnu.org>
15824         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
15825         on the conflict markers when available.
15826         (smerge--get-marker): New function.
15827         (smerge-end-re, smerge-base-re): Add subgroup.
15829 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15831         * frame.el (handle-focus-in, handle-focus-out): Add missing
15832         interactive spec.
15834 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
15836         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15837         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
15839 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15841         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
15842         (gomoku--last-pos): New var.
15843         (gomoku--intangible-chars): New const.
15844         (gomoku--intangible): New function.
15845         (gomoku-mode): Use it.  Derive from special-mode.
15846         (gomoku-move-up): Adjust line count.
15847         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
15848         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
15849         Simplify accordingly.
15851         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
15852         Remove blink-cursor code.
15853         (blink-cursor-timer-function, blink-cursor-suspend):
15854         Don't special-case GUIs.
15855         (blink-cursor-mode): Use focus-in/out-hook.
15857 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
15859         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
15860         work when annotation is invisible (Bug#13886).
15862 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
15864         * json.el (json-alist-p): Only return non-nil if the alist has
15865         simple keys (Bug#13518).
15867 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
15869         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
15870         when control-statement is the first statement in a buffer (Bug#15956).
15872 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
15874         * imenu.el (imenu-generic-skip-comments-and-strings):
15875         New option (Bug#15560).
15876         (imenu--generic-function): Use it.
15878 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
15880         * minibuffer.el (completion--in-region-1): Scroll the correct window.
15881         (Bug#13898)
15883 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
15885         * emacs-lisp/helpers.el: Add some string helpers.
15886         (string-trim-left): Removes leading whitespace.
15887         (string-trim-right): Removes trailing whitespace.
15888         (string-trim): Removes leading and trailing whitespace.
15890         * subr.el (string-suffix-p): New function.
15892 2013-11-23  Glenn Morris  <rgm@gnu.org>
15894         * progmodes/python.el (python-shell-send-file):
15895         Add option to delete file when done.  (Bug#15647)
15896         (python-shell-send-string, python-shell-send-region): Use it.
15898 2013-11-23  Ivan Shmakov  <ivan@siamics.net>
15900         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
15901         to set buffer-read-only to t, never to nil.  (Bug#15938)
15903         * textmodes/tex-mode.el (latex-noindent-environments):
15904         Add safe-local-variable property.  (Bug#15936)
15906 2013-11-23  Glenn Morris  <rgm@gnu.org>
15908         * textmodes/enriched.el (enriched-mode): Doc fix.
15909         * emacs-lisp/authors.el (authors-renamed-files-alist):
15910         Add enriched.doc -> enriched.txt.
15912         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
15914 2013-11-22  Leo Liu  <sdl.web@gmail.com>
15916         * progmodes/octave.el (inferior-octave-startup): Spit out error
15917         message.
15919 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
15921         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15922         Improve docstring.
15923         Add :version.
15924         (ruby-encoding-magic-comment-style): Add :version.
15926 2013-11-22  Leo Liu  <sdl.web@gmail.com>
15928         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
15929         (Bug#15076)
15930         (octave-help-mode): Adapt to change to help-mode-finish to use
15931         derived-mode-p on 2013-09-17.
15932         (inferior-octave-prompt): Also match octave-gui.
15933         (octave-kill-process): Don't ask twice.  (Bug#10564)
15935 2013-11-22  Leo Liu  <sdl.web@gmail.com>
15937         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
15938         (inferior-octave-startup, inferior-octave-check-process)
15939         (inferior-octave-track-window-width-change)
15940         (octave-completion-at-point, octave-eldoc-function): Use it.
15941         (octave-kill-process): Provide confirmation.  (Bug#10564)
15943 2013-11-21  Leo Liu  <sdl.web@gmail.com>
15945         * progmodes/octave.el (octave-mode, inferior-octave-mode):
15946         Fix obsolete variable comment-use-global-state.
15948 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15950         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
15951         Add `octave-source-file'.
15952         (octave-source-file): New function.  (Bug#15935)
15954 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
15956         * net/eww.el (eww-local-regex): New variable.
15957         (eww): Use it to detect localhost and similar.
15959 2013-11-21  Leo Liu  <sdl.web@gmail.com>
15961         Add completion for command `ag'.
15962         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
15963         (pcomplete/ag): New function.
15964         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
15966 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15968         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
15969         (bug#14646).
15970         (make-obsolete): Remove interactive spec.
15972 2013-11-21  Glenn Morris  <rgm@gnu.org>
15974         * startup.el (command-line-1): Use path-separator with -L.
15976 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
15978         * emacs-lisp/package.el (describe-package-1): Add package archive
15979         to shown fields.
15981 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
15983         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15984         Change default to "# encoding: %s" to differentiate it from the
15985         default Ruby encoding comment template.
15987 2013-11-20  Era Eriksson  <era+emacsbugs@iki.fi>
15989         * ses.el (ses-mode): Doc fix.  (Bug#14748)
15991 2013-11-20  Leo Liu  <sdl.web@gmail.com>
15993         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
15995 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
15997         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
15998         when rebase or bisect are in progress.
16000 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
16002         * filenotify.el (file-notify-add-watch): Doc fix.
16004 2013-11-19  Leo Liu  <sdl.web@gmail.com>
16006         * obsolete/rcompile.el: Mark obsolete.
16008         * progmodes/compile.el (compilation-start)
16009         (compilation-goto-locus, compilation-find-file):
16010         Pass no-display-ok and handle nil value from display-buffer.
16011         (Bug#13594)
16013         * window.el (display-buffer-alist, display-buffer): Document the
16014         new parameter no-display-ok.  Return either a window or nil
16015         but never a non-window value.
16017 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16019         * electric.el (electric-indent-mode-map): Remove.
16020         (electric-indent-mode): Change the global-map instead (bug#15915).
16022         * textmodes/text-mode.el (paragraph-indent-minor-mode):
16023         Use add-function.
16025 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16027         * emacs-lisp/nadvice.el (remove-function): Align with
16028         add-function's behavior.
16030         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
16031         (gdb--string-regexp): New constant.
16032         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
16033         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
16034         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
16035         submatch 1.
16036         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
16037         Adjust use accordingly.
16038         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
16040 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
16042         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
16043         interpolation curlies (Bug#15914).
16045 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
16047         * calc/calc.el (calc-context-sensitive-enter): New variable.
16048         (calc-enter): Use `calc-context-sensitive-enter'.
16050 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
16052         * progmodes/cfengine.el: Version bump.
16053         (cfengine-cf-promises): New defcustom to locate cf-promises.
16054         (cfengine3-vartypes): Add new "data" type.
16055         (cfengine3--current-word): New function to get current name-like
16056         word or its bounds.
16057         (cfengine3--current-function): New function to look up a CFEngine
16058         function's definition.
16059         (cfengine3-format-function-docstring): New function.
16060         (cfengine3-make-syntax-cache): New function.
16061         (cfengine3-documentation-function): New function: ElDoc glue.
16062         (cfengine3-completion-function): New function: completion glue.
16063         (cfengine3-mode): Set `compile-command',
16064         `eldoc-documentation-function', and add to
16065         `completion-at-point-functions'.
16067 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
16069         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
16070         `tramp-current-connection'.
16072 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
16074         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
16075         nil/self/true/false with "end of symbol".
16077 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
16079         * subr.el (version-regexp-alist): Fix a typo.
16081 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
16083         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
16084         "en_US.utf8" and "LC_CTYPE" to "".
16085         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
16086         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
16088 2013-11-15  Leo Liu  <sdl.web@gmail.com>
16090         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
16092 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16094         * progmodes/gud.el (ctl-x-map):
16095         Remove C-x SPC binding.  (Bug#12342)
16096         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
16098 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
16100         * subr.el (version-regexp-alist):
16101         Recognize hg, svn and darcs versions as snapshot versions.
16103         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
16104         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
16105         (ruby--encoding-comment-required-p): Extract from
16106         `ruby-mode-set-encoding'.
16107         (ruby-mode-set-encoding): Add the ability to always insert an
16108         utf-8 encoding comment.  Fix and simplify coding comment update
16109         logic.
16111 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
16113         * net/tramp-gvfs.el (top): Run init code only when
16114         `tramp-gvfs-enabled' is not nil.
16115         (tramp-gvfs-enabled): Check also :system bus.
16117 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16119         Sync with upstream verilog-mode revision 78e66ba.
16120         * progmodes/verilog-mode.el (verilog-end-of-defun)
16121         (verilog-type-completion, verilog-get-list): Remove unused funcs.
16122         (verilog-get-end-of-defun): Remove unused argument.
16123         (verilog-comment-depth): Remove unused local `e'.
16124         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
16125         Don't pass arg to verilog-get-end-of-defun.
16127 2013-11-14  Glenn Morris  <rgm@gnu.org>
16129         * obsolete/assoc.el (aget): Prefix dynamic variable.
16131         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
16133 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16135         * widget.el, hfy-cmap.el: Remove bogus package version number.
16137 2013-11-13  Glenn Morris  <rgm@gnu.org>
16139         * replace.el (replace-eval-replacement):
16140         Try to give more helpful error message.  (Bug#15836)
16142         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16143         (archive-7z-update): Avoid custom type mismatches.
16145         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
16147 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
16149         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
16150         address can be empty.
16152         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
16153         Accept nil SWITCHES.
16154         (tramp-gvfs-handle-write-region): Implement APPEND.
16156 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
16158         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
16159         binary "|" operator and closing block args delimiter.
16160         Remove FIXME comment referring to Ruby 1.8-only syntax.
16161         (ruby-smie--implicit-semi-p): Not after "|" operator.
16162         (ruby-smie--closing-pipe-p): New function.
16163         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
16164         (ruby-smie-rules): Indent after "|".
16166 2013-11-12  Glenn Morris  <rgm@gnu.org>
16168         * ps-print.el (ps-face-attribute-list):
16169         Handle anonymous faces.  (Bug#15827)
16171 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
16173         * window.el (display-buffer-other-frame): Fix doc-string.
16174         (Bug#15868)
16176 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16178         * subr.el (force-mode-line-update): Delete, move to buffer.c.
16180 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
16182         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
16183         (tramp-sh-handle-file-local-copy): Don't write a message when
16184         saving temporary files.
16186         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
16187         both directories are remote.
16188         (tramp-smb-handle-directory-files): Do not return double entries.
16189         Do not expand full file names.
16190         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
16191         (tramp-smb-handle-write-region): Implement APPEND.
16192         (tramp-smb-get-stat-capability): Fix a stupid bug.
16194 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16196         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
16198 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
16200         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
16201         throwing error over malformed let/let* (bug#15814).
16203 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16205         * iswitchb.el (iswitchb-mode): Mark obsolete.
16207 2013-11-11  Glenn Morris  <rgm@gnu.org>
16209         * international/uni-bidi.el, international/uni-category.el:
16210         * international/uni-name.el, international/uni-numeric.el:
16211         Regenerate for Unicode 6.3.0.
16213 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
16215         * net/tramp.el (tramp-methods):
16216         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
16217         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
16219 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
16221         * progmodes/sh-script.el (sh-font-lock-keywords-var):
16222         Force highlighting text after Summary keyword in doc face for rpm.
16224 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
16226         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
16227         available and the word has no wildcards, append one to the grep pattern.
16228         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
16229         (ispell-complete-word): Call `ispell-lookup-words' with the value
16230         independent of `ispell-look-p'.
16232 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
16234         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
16235         Not after "||".
16236         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
16237         their parent.
16239 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16241         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
16242         (ruby-font-lock-keywords): Use backquote.
16244 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
16246         * progmodes/ruby-mode.el (ruby-smie--forward-token)
16247         (ruby-smie--backward-token): Only consider full-string matches.
16249 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
16251         * faces.el (describe-face): Add distant-foreground.
16253 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
16255         * progmodes/ruby-mode.el: Improve encoding comment handling.
16256         (ruby-encoding-magic-comment-style): New option.
16257         (ruby-custom-encoding-magic-comment-template): New option.
16258         (ruby--insert-coding-comment, ruby--detect-encoding):
16259         New functions extracted from `ruby-mode-set-encoding'.
16260         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
16261         to control the style of the auto-inserted encoding comment.
16263 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
16265         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
16266         Use `smie-backward-sexp' with token argument.
16268 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
16270         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16271         Remove instrumentation code.
16273 2013-11-08  Glenn Morris  <rgm@gnu.org>
16275         * progmodes/autoconf.el (autoconf-mode):
16276         Tweak comment-start-skip.  (Bug#15822)
16278 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16280         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
16281         at bobp (bug#15826).
16282         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
16284 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
16286         * man.el (Man-start-calling): New macro, extracted from
16287         Man-getpage-in-background.
16288         (Man-getpage-in-background): Use it.
16289         (Man-update-manpage): New command.
16290         (Man-mode-map): Bind it.
16292 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
16294         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
16295         of "and", "or", "&&" and "||".
16296         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
16297         argument.  Prohibit opening curly brace because it could only be a
16298         block opener in that position.
16299         (ruby-smie--forward-token, ruby-smie--backward-token):
16300         Separate "|" from "&" or "*" going after it.  That can happen in block
16301         arguments.
16302         (ruby-smie--indent-to-stmt): New function, seeks the end of
16303         previous statement or beginning of buffer.
16304         (ruby-smie-rules): Use it.
16305         (ruby-smie-rules): Check if there's a ":" before a curly block
16306         opener candidate; if there is, it's a hash.
16308 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16310         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
16311         (cl--block-wrapper): Fix last accidental change.
16313 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
16315         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16316         Instrument, in order to hunt failure on hydra.
16318 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
16320         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
16321         malformed bindings form (bug#15814).
16323 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
16325         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
16326         "." compared to " @ ".  This incidentally fixes some indentation
16327         examples with "do".
16328         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
16329         (ruby-smie-grammar): New tokens: "and" and "or".
16330         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
16331         Exclude "and" and "or".  Remove "do" in order to work around token
16332         priorities.
16333         (ruby-smie-rules): Add all infix tokens.  Handle the case of
16334         beginning-of-buffer.
16336 2013-11-06  Glenn Morris  <rgm@gnu.org>
16338         * Makefile.in (setwins_almost, setwins_for_subdirs):
16339         Avoid accidental matches.
16341 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16343         * menu-bar.el (popup-menu): Use key-binding.
16345 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
16347         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
16348         menus, support also the menus produced by minor modes.
16349         (Bug#15817)
16351 2013-11-06  Leo Liu  <sdl.web@gmail.com>
16353         * thingatpt.el (thing-at-point-looking-at): Add optional arg
16354         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
16356 2013-11-06  Glenn Morris  <rgm@gnu.org>
16358         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
16359         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
16360         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
16362 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16364         * electric.el (electric-indent-just-newline): New command.
16365         (electric-indent-mode-map): New keymap.
16366         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
16367         Re-add :group which weren't redundant.
16369         * electric.el (electric-indent-local-mode): New minor mode.
16370         (electric-indent-functions-without-reindent): New var.
16371         (electric-indent-post-self-insert-function): Use it.
16372         * emacs-lisp/gv.el (buffer-local-value): Add setter.
16374 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
16376         * international/quail.el (quail-help): Be more explicit about the
16377         meaning of the labels shown on the keys.  (Bug#15800)
16379         * startup.el (normal-top-level): Load the subdirs.el files before
16380         setting the locale environment.  (Bug#15805)
16382 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16384         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
16385         via arguments so as to get the right ones (bug#15418).
16387         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
16389 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
16391         Fix problems found while writing a test suite.
16393         * net/tramp-compat.el (tramp-compat-load): New defun.
16394         * net/tramp.el (tramp-handle-load): Use it.
16396         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
16397         "(numberp ok-if-already-exists)" correctly.
16399 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
16401         * international/characters.el (glyphless-char-display-control):
16402         Add usage note.
16404 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
16406         * progmodes/python.el (python-mode):
16407         * progmodes/scheme.el (scheme-mode):
16408         * progmodes/prolog.el (prolog-mode):
16409         * progmodes/ruby-mode.el (ruby-mode):
16410         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
16411         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
16413 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16415         * rect.el (rectangle--highlight-for-redisplay):
16416         * emacs-lisp/smie.el (smie--next-indent-change):
16417         Use buffer-chars-modified-tick.
16419         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
16421         * electric.el (electric-indent-post-self-insert-function):
16422         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
16424 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
16426         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
16428 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
16430         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
16431         (bug#15786).
16433 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16435         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
16437         * progmodes/python.el: Fix up last change.
16438         (python-shell--save-temp-file): New function.
16439         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
16440         `string' comes from the current buffer.
16441         (python-shell-send-string-no-output): Remove `msg' arg.
16442         (python--use-fake-loc): New var.
16443         (python-shell-buffer-substring): Obey it.  Try to compensate for the
16444         extra coding line added by python-shell--save-temp-file.
16445         (python-shell-send-region): Use python-shell--save-temp-file and
16446         python-shell-send-file directly.  Add `nomain' argument.
16447         (python-shell-send-buffer): Use python-shell-send-region.
16448         (python-electric-pair-string-delimiter): New function.
16449         (python-mode): Use it.
16451 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
16453         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
16454         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
16455         environment and decoding all of the default-directory's to here
16456         from command-line.
16457         (command-line): Decode also argv[0].
16459         * loadup.el: Error out if default-directory is a multibyte string
16460         when we are dumping.
16462         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
16464 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
16466         * emacs-lisp/package.el (package-menu-mode)
16467         (package-menu--print-info, package-menu--archive-predicate):
16468         Add Archive column to package list.
16470 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
16472         Fix problems found while writing a test suite.
16474         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
16475         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
16476         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
16477         to nil when running original file name handler.  Otherwise,
16478         there are problems with constructs like "$$FOO".
16480         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
16481         for `localname'.
16483 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
16485         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16487         * subr.el (version<, version<=, version=):
16488         Update docstrings with information for snapshot versions.
16490         * helpers.el: New library for misc helper functions.
16491         (hash-table-keys): New function returning a list of hash keys.
16492         (hash-table-values): New function returning a list of hash values.
16494 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
16496         * progmodes/ruby-mode.el (ruby-smie--forward-token)
16497         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16499 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
16501         * textmodes/fill.el (fill-single-char-nobreak-p): New function
16502         checking whether point is after a 1-letter word.
16504 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
16506         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16507         Don't infloop when expanding region over `multiline' syntax-type that
16508         begins a line (bug#15778).
16510 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16512         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16513         Make it into a proper minor mode.
16514         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16515         (rectangle-mark-mode-map): New keymap.
16516         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16518 2013-11-04  Glenn Morris  <rgm@gnu.org>
16520         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16522 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16524         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16525         (ruby-smie-rules): Use smie-rule-parent instead.
16527         * emacs-lisp/smie.el (smie-rule-parent): Always call
16528         smie-indent-virtual rather than only for hanging tokens.
16529         (smie--next-indent-change): New helper command.
16531 2013-11-03  Glenn Morris  <rgm@gnu.org>
16533         * Makefile.in (abs_srcdir): Remove.
16534         (emacs): Unset EMACSLOADPATH.
16536 2013-11-02  Glenn Morris  <rgm@gnu.org>
16538         * Makefile.in (EMACS): Use a relative filename.
16539         (abs_top_builddir): Remove.
16540         (custom-deps, finder-data, autoloads): Use --chdir.
16542         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16544         Use relative filenames in TAGS files.
16545         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16546         (lisptagsfiles4, TAGS): Use relative file names.
16547         (TAGS-LISP): Remove.
16548         (maintainer-clean): No more TAGS-LISP file.
16550         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16551         (lisptagsfiles4): Use absolute filenames again.
16552         (TAGS, TAGS-LISP): Not everything needs to run in one line.
16553         Remove all *loaddefs files, not just the first.  Remove esh-groups.
16554         (maintainer-clean): Delete TAGS, TAGS-LISP.
16556 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
16558         * emacs-lisp/package.el (package-version-join):
16559         Recognize snapshot versions.
16561 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
16563         * subr.el (version-regexp-alist): Add support for snapshot versions.
16565 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
16567         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16568         New function, replacement for `smie-rule-parent' for when we want to
16569         skip over our direct parent if it's an assignment token..
16570         (ruby-smie-rules): Use it.
16572 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
16574         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16575         unconditionally.  Remove now unnecessary forward declarations.
16576         Remove XEmacs-specific setup.
16577         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16578         (ruby-font-lock-syntactic-keywords)
16579         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16580         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16581         (ruby-here-doc-end-syntax): Remove.
16582         (ruby-mode): Don't check whether `syntax-propertize-rules' is
16583         defined as function.
16585 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
16587         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16589 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
16591         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16592         table and abbrev table, `define-derived-mode' does that for us
16593         anyway.
16595 2013-11-01  Glenn Morris  <rgm@gnu.org>
16597         * Makefile.in: Remove manual mh-e dependencies (writing .elc
16598         files is atomic for some time, so no parallel compilation issues).
16600 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
16602         * faces.el (face-x-resources): Add :distant-foreground.
16603         (region): Use :distant-foreground for gtk and ns.
16605 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
16607         Allow multiple bibliographies when BibLaTeX is used rather than
16608         BibTeX.
16609         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16610         (reftex-locate-bibliography-files): Us it.
16612 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
16614         * image.el (image-type-header-regexps): Fix the 'pbm' part to
16615         allow comments in pbm files.
16617         * term/w32-win.el (dynamic-library-alist): Support newer versions
16618         of libjpeg starting with v7: look only for the DLL from the
16619         version against which Emacs was built.
16620         Support versions of libpng beyond 1.4.x.
16621         Support libtiff v4.x.
16623 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
16625         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16626         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16627         Add property :safe.
16628         (ruby-deep-arglist): Add property :type.
16630 2013-10-31  Glenn Morris  <rgm@gnu.org>
16632         * Makefile.in (custom-deps, finder-data): No need to setq the target
16633         variables, we are in the right directory and the defaults work fine.
16635 2013-10-30  Glenn Morris  <rgm@gnu.org>
16637         * Makefile.in (autoloads): Do not use abs_lisp.
16639         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16640         `newline' does not respect `standard-output', so use `princ'.
16642 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
16644         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
16645         * buff-menu.el (Buffer-menu--unmark): New function.
16646         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
16648 2013-10-30  Glenn Morris  <rgm@gnu.org>
16650         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
16652         * emacs-lisp/package.el (lm-homepage): Declare.
16654         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
16655         Fix doc typos.
16657         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
16659         * Makefile.in (finder-data, autoloads, update-subdirs)
16660         (compile-main, compile-clean, compile-always, bootstrap-clean):
16661         Check return value of cd.
16662         (compile-calc): Remove.
16664 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16666         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
16668         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
16669         (byte-compile-and-folded): New function.
16670         (=, <, >, <=, >=): Use it.
16672         * dos-w32.el (minibuffer-history-case-insensitive-variables)
16673         (path-separator, null-device, buffer-file-coding-system)
16674         (lpr-headers-switches): Check system-type before modifying them.
16675         (find-buffer-file-type-coding-system): Mark obsolete.
16676         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
16677         find-file-not-found-set-buffer-file-coding-system.
16678         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
16679         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
16680         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
16681         (w32-direct-print-region-helper, w32-direct-print-region-function)
16682         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
16683         * startup.el (normal-top-level-add-subdirs-to-load-path):
16684         * ps-print.el (ps-print-region-function):
16685         * lpr.el (print-region-function): Use new name.
16687         * subr.el (custom-declare-variable-early): Remove function.
16688         (custom-declare-variable-list): Remove var.
16689         (error, user-error): Remove `while' loop.
16690         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
16691         (user-emacs-directory-warning, locate-user-emacs-file):
16692         Move to files.el.
16693         * simple.el (read-quoted-char-radix, read-quoted-char):
16694         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
16695         Move from subr.el.
16696         * custom.el (custom-declare-variable-list): Don't process
16697         custom-declare-variable-list.
16699         * progmodes/python.el (python-shell-get-buffer): New function.
16700         (python-shell-get-process): Use it.
16701         (python-shell-send-string): Always use utf-8 and add a cookie to tell
16702         Python which encoding was used.  Don't split-string since we only care
16703         about the first line.  Return the temp-file, if applicable.
16704         (python-shell-send-region): Tell compile.el how to turn locations in
16705         the temp-file into locations in the source buffer.
16707 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16709         * subr.el (undefined): Add missing behavior from the C code for
16710         unbound keys.
16712         * rect.el: Use lexical-binding.  Add new rectangular region support.
16713         (rectangle-mark): New command.
16714         (rectangle--region): New var.
16715         (deactivate-mark-hook): Reset rectangle--region.
16716         (rectangle--extract-region, rectangle--insert-for-yank)
16717         (rectangle--highlight-for-redisplay)
16718         (rectangle--unhighlight-for-redisplay): New functions.
16719         (region-extract-function, redisplay-unhighlight-region-function)
16720         (redisplay-highlight-region-function): Use them to handle
16721         rectangular region.
16722         * simple.el (region-extract-function): New var.
16723         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
16724         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16725         (kill-region): Replace obsolete `yank-handler' arg with `region'.
16726         (copy-region-as-kill, kill-ring-save): Add `region' argument.
16727         (redisplay-unhighlight-region-function)
16728         (redisplay-highlight-region-function): New vars.
16729         (redisplay--update-region-highlight): New function.
16730         (pre-redisplay-function): Use it.
16731         (exchange-point-and-mark): Don't deactivate the mark before
16732         reactivate-it anyway.
16733         * comint.el (comint-kill-region): Remove yank-handler argument.
16734         * delsel.el (delete-backward-char, backward-delete-char-untabify)
16735         (delete-char): Remove property, since it's now part of their
16736         default behavior.
16737         (self-insert-iso): Remove property since this command doesn't exist.
16739         * emacs-lisp/package.el (package--download-one-archive)
16740         (describe-package-1): Don't query the user about final newline.
16742 2013-10-29  Daniel Colascione  <dancol@dancol.org>
16744         * net/tramp.el (tramp-methods): Document new functionality.
16745         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
16746         tramp-hostname-checker if method provides one instead of scanning
16747         argument list for "%h" to decide hostname acceptability.
16749 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
16751         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16752         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16753         Handle COPY-CONTENTS.  (Bug#15737)
16755 2013-10-28  Daiki Ueno  <ueno@gnu.org>
16757         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16758         Document that this option has no effect with GnuPG 2.0 (bug#15552).
16760 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
16762         * image.el (defimage, image-load-path): Doc fixes.
16764 2013-10-27  Alan Mackenzie  <acm@muc.de>
16766         Indent statements in macros following "##" correctly.
16767         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16768         Modify the "#" arm of a cond form to handle "#" and "##" operators.
16770 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
16772         * linum.el (linum-update-window): Fix boundary test (bug#13446).
16774 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
16776         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
16777         after `=' is probably a new expression.
16779 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16781         * man.el (man-imenu-title): New option.
16782         (Man-mode-map): Add menu.  (Bug#15722)
16783         (Man-mode): Add imenu to menu.
16785 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
16787         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
16788         specific in what the first arg can be: a non-keyword word,
16789         string/regexp/percent literal opener, opening paren, or unary
16790         operator followed directly by word.
16792 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16794         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
16795         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
16796         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
16797         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
16798         Remove vars, they do not apply any more.
16799         (prolog-mode-abbrev-table): Remove redundant declaration.
16800         (prolog-upper-case-string, prolog-lower-case-string): Remove.
16801         (prolog-use-smie): Remove.
16802         (prolog-smie-rules): Add indentation rule for the if-then-else layout
16803         supported by prolog-electric-if-then-else-flag.
16804         (prolog-mode-variables, prolog-menu): Use setq-local.
16805         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
16806         Remove binding to `Backspace' since this key doesn't exist anyway.
16807         Remove bindings for electric self-inserting keys.
16808         (prog-mode): Assume it's defined.
16809         (prolog-post-self-insert): New function.
16810         (prolog-mode): Use it.
16811         (prolog-indent-line, prolog-indent-level)
16812         (prolog-find-indent-of-matching-paren)
16813         (prolog-indentation-level-of-line, prolog-goto-comment-column)
16814         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
16815         (prolog-goto-next-paren, prolog-in-string-or-comment)
16816         (prolog-tokenize, prolog-inside-mline-comment)
16817         (prolog-find-start-of-mline-comment): Remove functions.
16818         (prolog-find-unmatched-paren, prolog-clause-end)
16819         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
16820         (prolog-electric--if-then-else): Rename from
16821         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
16822         (prolog-tokenize-searchkey): Remove const.
16823         (prolog-clause-info): Use forward-sexp.
16824         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
16825         (prolog-electric-if-then-else): Remove commands.
16826         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
16827         for use in post-self-insert-hook.
16828         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
16829         for use in post-self-insert-hook.
16830         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
16831         for use in post-self-insert-hook.
16832         (prolog-electric--underscore): Rename from prolog-electric--underscore;
16833         adapt it for use in post-self-insert-hook.
16835 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
16837         * emacs-lisp/ert.el (ert-run-tests-interactively):
16838         Use `completing-read'.  (Bug#9756)
16840 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
16842         * simple.el (line-move): Call line-move-1 instead of
16843         line-move-visual when the current window hscroll is zero, but
16844         temporary-goal-column indicates we will need to hscroll as result
16845         of the movement.  (Bug#15712)
16847 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
16849         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
16850         capitalization.  Use :visible instead of :active.
16851         Fix `ruby-indent-exp' reference.  Add menu items for the generic
16852         commands that are used with SMIE.
16853         (ruby-do-end-to-brace): Insert space after `{'.
16855 2013-10-25  John Anthony  <john@jo.hnanthony.com>
16857         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
16859         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
16861 2013-10-25  Glenn Morris  <rgm@gnu.org>
16863         * vc/vc.el (vc-print-log): Don't use a working revision unless
16864         one was explicitly specified.  (Bug#15322)
16866 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16868         * subr.el (add-to-list): Preserve return value in compiler-macro
16869         (bug#15692).
16871 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16873         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
16874         result.  Ask user to retry using '-all' flag.  (Bug#15701)
16876 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16878         * emacs-lisp/smie.el: New smie-config system.
16879         (smie-config): New defcustom.
16880         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
16881         (smie-config-guess, smie-config-save): New commands.
16882         (smie-config--mode-local, smie-config--buffer-local)
16883         (smie-config--trace, smie-config--modefuns): New vars.
16884         (smie-config--advice, smie-config--mode-hook)
16885         (smie-config--setter, smie-config-local, smie-config--get-trace)
16886         (smie-config--guess-value, smie-config--guess): New functions.
16887         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
16888         text properties.  Treat "string fence" syntax like string syntax.
16890         * progmodes/sh-script.el (sh-use-smie): Change default.
16891         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
16892         (sh-var-value): Simplify by CSE.
16893         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
16894         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
16895         is used.
16896         (sh-guess-basic-offset): Use cl-incf.
16897         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
16899 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
16901         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
16902         (bug#15699).
16904 2013-10-24  Glenn Morris  <rgm@gnu.org>
16906         * Makefile.in (abs_top_srcdir): Remove.
16907         (update-subdirs): Use relative path to update-subdirs.
16909 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
16911         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
16912         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
16913         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
16914         Call unmsys--file-name before expand-file-name, not after it.
16916 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
16918         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
16919         (ert-test-skipped): New error.
16920         (ert-skip, ert-stats-skipped): New defuns.
16921         (ert--skip-unless): New macro.
16922         (ert-test-skipped): New struct.
16923         (ert--run-test-debugger, ert-test-result-type-p)
16924         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
16925         (ert--stats-set-test-and-result, ert-char-for-test-result)
16926         (ert-string-for-test-result, ert-run-tests-batch)
16927         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
16928         Handle skipped tests.  (Bug#9803)
16930 2013-10-24  Glenn Morris  <rgm@gnu.org>
16932         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
16934         * Makefile.in (abs_top_srcdir): New, set by configure.
16935         (update-subdirs): Correct build-aux location.
16937 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
16939         * vc/vc.el (vc-print-root-log): Always set `default-directory'
16940         value, whether we could auto-deduce `backend', or not.
16942         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
16943         with parameters" example.  Simplify the "is it block or is it
16944         hash" check, but also make it more thorough.
16946 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
16948         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
16950 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16952         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
16953         { if it is hanging.
16955         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
16956         :before ";".
16958 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
16960         * progmodes/compile.el (compilation-directory-matcher)
16961         (compilation-page-delimiter):
16962         Support GNU Make-4.0 directory quoting.  (Bug#15678)
16964 2013-10-23  Leo Liu  <sdl.web@gmail.com>
16966         * ido.el (ido-tidy): Handle read-only text.
16968 2013-10-23  Glenn Morris  <rgm@gnu.org>
16970         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
16971         (emacs, compile, compile-always):
16972         Quote entities that might contain whitespace.
16973         (custom-deps, finder-data, autoloads): Use abs_lisp.
16974         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16975         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16976         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
16978 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
16980         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
16981         Use `following-char'.
16983 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16985         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
16986         * progmodes/ruby-mode.el (ruby-smie-rules):
16987         Remove corresponding workaround.  Fix indentation rule of ";" so it
16988         also applies when ";" is the parent.
16990 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
16992         * frame.el (display-screens, display-pixel-height)
16993         (display-pixel-width, display-mm-width, display-backing-store)
16994         (display-save-under, display-planes, display-color-cells)
16995         (display-visual-class, display-monitor-attributes-list):
16996         Mention the optional ‘display’ argument in doc strings.
16998 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
17000         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
17001         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
17003 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
17005         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
17006         TODO.  Add "." after " @ ".
17007         (ruby-smie--at-dot-call): New function.  Checks if point at method
17008         call with explicit target.
17009         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
17010         to the method name tokens when it precedes them.
17011         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
17012         (ruby-smie-rules): Add rule for indentation before and after "."
17013         token.
17015 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17017         * textmodes/remember.el (remember-diary-extract-entries):
17018         Avoid add-to-list.
17020         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
17021         an instruction.
17023 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
17025         * progmodes/ruby-mode.el (ruby-smie-grammar):
17026         Add (almost) all infix operators.
17027         (ruby-smie--implicit-semi-p): Add new operator chars.
17029         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
17030         `smie-down-list'.
17031         (ruby-smie--args-separator-p): Check that there's no newline
17032         between method call and its arguments.
17034 2013-10-20  Alan Mackenzie  <acm@muc.de>
17036         Allow comma separated lists after Java "implements".
17038         * progmodes/cc-engine.el (c-backward-over-enum-header):
17039         Parse commas.
17040         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
17041         from a "disallowed" list in enum fontification.
17043 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
17045         * startup.el (default-frame-background-mode): Remove unused defvar.
17047         * progmodes/verilog-mode.el (verilog-mode): Don't set
17048         comment-indent-function globally.
17050 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
17052         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
17053         Move Info menu item creation to ns-win.el.
17055         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
17056         in menu bar.
17058         * menu-bar.el: Move GNUstep specific menus...
17060         * term/ns-win.el (ns-initialize-window-system): ... to here.
17062 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17064         * simple.el (newline): Only run post-self-insert-hook when
17065         called interactively.
17067 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
17069         * icomplete.el (icomplete-with-completion-tables): Add :version.
17071 2013-10-19  Alan Mackenzie  <acm@muc.de>
17073         Fix fontification bugs with constructors and const.
17075         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
17076         CASE 2) Remove the check for the absence of a suffix construct
17077         after a function declaration with only types (no identifiers) in
17078         the parentheses.  Also, accept a function declaration with just a
17079         type inside the parentheses, if this type can be positively
17080         recognised as such, or if a prefix keyword like "explicit" nails
17081         down the construct as a declaration.
17083 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
17085         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
17086         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
17087         the problem whereby selecting a menu item that leads to a
17088         minibuffer prompt moves the cursor out of the minibuffer window,
17089         making it hard to type at the prompt.  Suggested by Stefan Monnier
17090         <monnier@iro.umontreal.ca>.
17092 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
17094         * menu-bar.el: Don't make Services menu.
17096 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17098         * ffap.el: Handle "/usr/include/c++/<version>" directories.
17099         (ffap-alist): Use ffap-c++-mode for c++-mode.
17100         (ffap-c++-path): New variable.
17101         (ffap-c++-mode): New function.
17103 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
17105         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
17107 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
17109         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
17110         introduced on 2013-09-08, which results in an infinite loop
17111         requesting a password.
17113 2013-10-18  Glenn Morris  <rgm@gnu.org>
17115         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
17117 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
17119         Sync with upstream verilog-mode revision 1a6ecec7.
17120         * progmodes/verilog-mode.el (verilog-mode-version): Update.
17121         (verilog-mode-release-date): Remove.
17122         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
17123         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
17124         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
17125         (verilog-auto-tieoff-ignore-regexp)
17126         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
17127         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
17128         (verilog-signals-with, verilog-dir-cache-preserving)
17129         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
17130         Doc fixes.
17131         (verilog-case-fold): New option, to control case folding in
17132         regexp searches, bug597.
17133         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
17134         (verilog-string-match-fold, verilog-in-paren-count)
17135         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
17136         (verilog-at-close-struct-p): New functions.
17137         (verilog-beg-block-re-ordered, verilog-extended-case-re)
17138         (verilog-forward-sexp, verilog-set-auto-endcomments)
17139         (verilog-leap-to-case-head): Handle "unique0" case.
17140         (verilog-in-constraint-re): New constant.
17141         (verilog-keywords, verilog-type-font-keywords):
17142         Add some SystemVerilog 1800-2012 keywords.
17143         (verilog-label-be): Remove unimplemented argument, bug669.
17144         (verilog-batch-execute-func): When batch expanding clear
17145         create-lockfiles to prevent spurious user locks when a file ends
17146         up not changing.
17147         (verilog-calculate-indent, verilog-calc-1)
17148         (verilog-at-close-constraint-p, verilog-at-constraint-p)
17149         (verilog-do-indent): Fix indentation of nested constraints
17150         and structures.
17151         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
17152         (verilog-auto-inst-param): Use verilog-string-match-fold.
17153         (verilog-read-inst-module-matcher):
17154         Fix AUTOINST on gate primitives with #1.
17155         (verilog-read-decls): Fix double-declaring user-defined typed signals.
17156         Reads all user-defined typed variables.
17157         (verilog-read-defines): Fix reading definitions inside comments, bug647.
17158         (verilog-signals-matching-regexp)
17159         (verilog-signals-not-matching-regexp, verilog-auto):
17160         Respect verilog-case-fold.
17161         (verilog-diff-report): Fix line count.
17162         (verilog-auto-assign-modport): Remove unused local `modi'.
17163         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
17164         better handle multidimensional arrays.
17165         Fix packed array ports misadding bit index in AUTOINST, bug637.
17166         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
17167         to not double-declare existing outputs and inputs, respectively.
17168         (verilog-template-map): Bind U to verilog-sk-uvm-component.
17169         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
17170         (verilog-sk-uvm-component): New skeleton.
17171         (verilog-submit-bug-report): Add verilog-case-fold,
17172         remove verilog-mode-release-date.
17174 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
17176         * subr.el (sit-for): Call (input-pending-p t) so as to behave
17177         as before.
17179 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
17181         * textmodes/remember.el (remember): Set buffer-offer-save in
17182         remember buffers (bug#13566).
17184 2013-10-18  Daniel Colascione  <dancol@dancol.org>
17186         When evaluating forms in ielm, direct standard output to ielm
17187         buffer.  Add new ielm-return-for-effect command.  Remove trailing
17188         whitespace throughout.
17190         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
17191         (ielm-return-for-effect): New command.
17192         (ielm-send-input): Accept optional `for-effect' parameter.
17193         (ielm-eval-input): Accept optional `for-effect' parameter.
17194         Bind `standard-output' to stream we create using
17195         `ielm-standard-output-impl'.  Suppress printing result when
17196         `for-effect'.
17197         (ielm-standard-output-impl): New function.
17198         (inferior-emacs-lisp-mode): Explain new features in documentation.
17200 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
17202         Code cleanup.
17204         * net/tramp.el (tramp-debug-message): Do not check for connection
17205         buffer.
17206         (tramp-message): Use "vector" connection property.
17208         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
17209         (tramp-equal-remote, tramp-eshell-directory-change)
17210         * net/tramp-adb.el (tramp-adb-handle-copy-file)
17211         (tramp-adb-handle-rename-file)
17212         * net/tramp-cmds.el (tramp-list-remote-buffers)
17213         (tramp-cleanup-connection, tramp-cleanup-this-connection)
17214         * net/tramp-compat.el (tramp-compat-process-running-p)
17215         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
17216         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
17217         (tramp-gvfs-handle-rename-file)
17218         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17219         (tramp-set-file-uid-gid)
17220         * net/tramp-smb.el (tramp-smb-handle-copy-file)
17221         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
17222         of `file-remote-p'.
17224         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
17225         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17226         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
17227         (tramp-gw-open-network-stream): Suppress unrelated traces.
17229         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
17230         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17231         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17232         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
17233         connection property.
17235         * net/tramp-cache.el (top): Suppress traces when reading
17236         persistency file.
17238         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
17239         Refactor common code.  Improve debug message.
17240         (tramp-maybe-open-connection)
17241         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
17242         connection buffer too early.
17244         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
17245         from `tramp-smb-actions-with-acl'.
17246         (tramp-smb-actions-set-acl): New defconst.
17247         (tramp-smb-handle-copy-directory)
17248         (tramp-smb-action-get-acl): New defun, renamed from
17249         `tramp-smb-action-with-acl'.
17250         (tramp-smb-action-set-acl): New defun.
17251         (tramp-smb-handle-set-file-acl): Rewrite.
17253 2013-10-17  Glenn Morris  <rgm@gnu.org>
17255         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
17257 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17259         * skeleton.el (skeleton-newline): Remove.
17260         (skeleton-internal-1): Use (insert "\n") instead.
17262         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
17263         let-bindings.
17265         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
17266         forward-sexp-function while we redo its job (bug#15613).
17268 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
17270         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
17271         represented by lists.
17273 2013-10-16  Glenn Morris  <rgm@gnu.org>
17275         * tmm.el (tmm--history): New dynamic variable.
17276         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
17278 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
17280         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
17281         (tramp-smb-errors): Add error messages.
17282         (tramp-smb-actions-with-acl): New defconst.
17283         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
17284         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
17285         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
17286         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
17287         (tramp-smb-get-stat-capability): Fix tests.
17289 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
17291         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
17292         (bug#15580).
17294 2013-10-16  Glenn Morris  <rgm@gnu.org>
17296         * ansi-color.el (ansi-color-drop-regexp):
17297         Add 1J, 1K, 2K.  (Bug#15617)
17299         * files.el (hack-local-variables--warned-lexical): New.
17300         (hack-local-variables):
17301         Warn about misplaced lexical-binding.  (Bug#15616)
17303         * net/eww.el (eww-render): Always set eww-current-url,
17304         and update header line.  (Bug#15622)
17305         (eww-display-html): ... Rather than just doing it here.
17307 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
17309         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
17310         menu navigations commands.
17312 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
17314         * progmodes/subword.el (subword-capitalize): Be careful when
17315         the search for [[:alpha:]] fails (bug#15580).
17317 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
17319         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
17320         to commands that scroll the menu.
17322 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
17324         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
17325         Handle methods ending with `?' and `!'.
17327 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
17329         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
17330         `japanese-cp932' to `cp932' to fix the problem where saving a
17331         source file written in Shift_JIS twice would end up having
17332         `coding: japanese-cp932' which Ruby could not recognize.
17333         (ruby-mode-set-encoding): Add support for encodings mapped to nil
17334         in `ruby-encoding-map'.
17335         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
17336         doesn't need to be explicitly declared in magic comment.
17337         (ruby-encoding-map): Add type declaration for better customize UI.
17339 2013-10-13  Glenn Morris  <rgm@gnu.org>
17341         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
17342         Occur buffers are read-only.  http://bugs.debian.org/720775
17344         * emacs-lisp/authors.el (authors-fixed-entries):
17345         Comment out old alpha stuff.
17347 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
17349         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
17350         to `after-save-hook' instead of `before-save-hook'.
17351         (ruby-mode-set-encoding): Use the value of coding system used to
17352         write the file.  Call `basic-save-buffer-1' after modifying the
17353         buffer.
17355 2013-10-13  Alan Mackenzie  <acm@muc.de>
17357         Fix indentation/fontification of Java enum with
17358         "implements"/generic.
17360         * progmodes/cc-engine.el (c-backward-over-enum-header):
17361         Extracted from the three other places and enhanced to handle generics.
17362         (c-inside-bracelist-p): Uses new function above.
17363         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
17364         function above.
17365         (c-font-lock-enum-tail): Uses new function above.
17367 2013-10-13  Kenichi Handa  <handa@gnu.org>
17369         * international/mule-cmds.el (select-safe-coding-system): Remove a
17370         superfluous condition in chekcing whether a coding system is safe
17371         or not.
17373 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
17375         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
17377 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
17379         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
17381 2013-10-13  Glenn Morris  <rgm@gnu.org>
17383         * menu-bar.el (menu-bar-update-buffers):
17384         Unify Buffers menu prompt string.  (Bug#15576)
17386         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
17388         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
17389         Add some entries.
17390         (authors-fixed-entries): Use accented form of name.
17392 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17394         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
17395         method calls (bug#15594).
17396         (ruby-smie--args-separator-p): New function.
17397         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
17398         recognize paren-free method calls.
17400         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
17401         internals of universal-argument.
17403 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
17405         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
17406         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
17407         dropped menu on second mouse click on the menu bar.
17409 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17411         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
17412         (explicit-shell-file-name): Declare.
17413         (sh--vars-before-point, sh--cmd-completion-table): New functions.
17414         (sh-completion-at-point-function): New function.
17415         (sh-mode): Use it.
17416         (sh-smie--keyword-p): Remove unused argument.
17417         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
17418         vars.
17419         (sh-set-shell): Always setup SMIE, even if we use the
17420         old indentation code.
17422 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
17424         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
17425         cases of ? and =.
17426         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
17427         predicate would return nil are almost non-existent.
17428         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
17430         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
17431         cache also after commands that modify the buffer but don't move
17432         point.
17434 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17436         * env.el (substitute-env-in-file-name): New function.
17437         (substitute-env-vars): Extend the meaning of the optional arg.
17439 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
17441         * term/w32-win.el (dynamic-library-alist): Define separate lists
17442         of GIF DLLs for versions before and after 5.0.0 of giflib.
17443         (Bug#15531)
17445 2013-10-10  João Távora  <joaotavora@gmail.com>
17447         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
17448         not locked, use last revision and current source as
17449         defaults.  (Bug#15569)
17451 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
17453         * menu-bar.el (menu-bar-open): Don't use popup-menu if
17454         menu-bar is hidden.
17456 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
17458         * window.el (pop-to-buffer-same-window): Fix doc-string.
17459         (Bug#15492)
17461 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17463         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
17465 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
17467         * calendar/icalendar.el (icalendar-import-file):
17468         Fix interactive spec.  (Bug#15482)
17470 2013-10-10  Glenn Morris  <rgm@gnu.org>
17472         * desktop.el (desktop-save): Default to saving in .emacs.d,
17473         since PWD is no longer in desktop-path by default.  (Bug#15319)
17475         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
17476         now that text mode has a menu with the same entry.
17477         (menu-bar-text-mode-auto-fill): Remove now unused func.
17478         * textmodes/text-mode.el (text-mode-map):
17479         Use auto-fill help text from menu-bar.el.
17481 2013-10-10  John Anthony  <john@jo.hnanthony.com>
17483         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
17485 2013-10-09  Juri Linkov  <juri@jurta.org>
17487         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17488         instead of this-command-keys.  Add universal-argument-more and
17489         universal-argument-minus to the list of prefix commands.  (Bug#15568)
17491 2013-10-09  Glenn Morris  <rgm@gnu.org>
17493         * vc/vc-svn.el (vc-svn-create-repo):
17494         Expand paths in file://... url.  (Bug#15446)
17496         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17497         Add some entries.
17498         (authors): Remove unused local variables.
17500 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
17502         * profiler.el: Create a more coherent calltree from partial backtraces.
17503         (profiler-format): Hide the tail with `invisible' so that C-s can still
17504         find the hidden elements.
17505         (profiler-calltree-depth): Don't recurse so enthusiastically.
17506         (profiler-function-equal): New hash-table-test.
17507         (profiler-calltree-build-unified): New function.
17508         (profiler-calltree-build): Use it.
17509         (profiler-report-make-name-part): Indent the calltree less.
17510         (profiler-report-mode): Add visibility specs for profiler-format.
17511         (profiler-report-expand-entry, profiler-report-toggle-entry):
17512         Expand the whole subtree when provided with a prefix arg.
17514 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
17516         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17517         iuwu-mod token.
17518         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17519         hanging iuwu-mod token.
17520         (ruby-smie--forward-token): Do not include a dot after a token in
17521         that token.
17522         (ruby-smie--backward-token): Likewise.
17524 2013-10-08  Juri Linkov  <juri@jurta.org>
17526         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17527         to isearch-other-control-char.
17528         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17529         and isearch-post-command-hook to post-command-hook.
17530         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17531         and isearch-post-command-hook from post-command-hook.
17532         (isearch-unread-key-sequence)
17533         (isearch-reread-key-sequence-naturally)
17534         (isearch-lookup-scroll-key, isearch-other-control-char)
17535         (isearch-other-meta-char): Remove functions.
17536         (isearch-pre-command-hook, isearch-post-command-hook):
17537         New functions based on isearch-other-meta-char rewritten
17538         relying on the new behavior of overriding-terminal-local-map
17539         that does not replace the local keymaps any more.  (Bug#15200)
17541 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
17543         Support menus on text-mode terminals.
17544         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17545         functionality.
17547         * tooltip.el (tooltip-mode): Don't error out on TTYs.
17549         * menu-bar.el (popup-menu, popup-menu-normalize-position):
17550         Move here from mouse.el.
17551         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17552         and arrow keys.
17553         (tty-menu-navigation-map): New map for TTY menu navigation.
17555         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17557         * frame.el (display-mouse-p): Report text-mode mouse as available
17558         on w32.
17559         (display-popup-menus-p): Report availability if mouse is
17560         available; don't condition on window-system.
17562         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17563         (tty-menu-selected-face): New faces.
17565 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17567         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17568         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17569         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17570         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17571         New constants.
17572         (lisp-mode-variables): New `elisp' argument.
17573         (emacs-lisp-mode): Use it.
17574         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17575         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17577         * indent.el: Use lexical-binding.
17578         (indent-region): Add progress reporter.
17579         (tab-stop-list): Make it implicitly extend to infinity by repeating the
17580         last step.
17581         (indent--next-tab-stop): New function to implement this behavior.
17582         (tab-to-tab-stop, move-to-tab-stop): Use it.
17584 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
17586         * indent.el (indent-rigidly--current-indentation): New function.
17587         (indent-rigidly-map): New var.
17588         (indent-rigidly): Use it to provide interactive mode (bug#8196).
17590 2013-10-08  Bastien Guerry  <bzg@gnu.org>
17592         * register.el (insert-register): Fix 2013-10-07 change.
17594 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17596         * progmodes/perl-mode.el: Use lexical-binding.
17597         Remove redundant :group args.
17598         (perl-nochange): Change default to be closer to other major modes's
17599         standard behavior.
17600         (perl-indent-line): Don't consider text on current line as a
17601         valid beginning of function from which to indent.
17603         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17604         with more than one argument (bug#15538).
17606         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17608         * vc/pcvs.el: Use lexical-binding.
17609         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17610         environment of `eval'.
17611         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17612         than a list of expressions.  Adjust callers.
17613         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17615 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
17617         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17618         case of the dot in a chained method call being on the following line.
17620 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17622         * electric.el (electric-indent-inhibit): New var.
17623         (electric-indent-post-self-insert-function): Use it.
17624         * progmodes/python.el (python-mode): Set it.
17626         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17627         open braces.
17629         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17631         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17632         (css-mode): Use electric-indent-chars.
17634         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17635         (font-lock-beg, font-lock-end): Move before first use.
17636         (nxml-mode): Use syntax-propertize-function.
17637         (nxml-after-change, nxml-after-change1): Adjust accordingly.
17638         (nxml-extend-after-change-region): Remove.
17639         * nxml/xmltok.el: Use lexical-binding.
17640         (xmltok-save): Use `declare'.
17641         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
17642         * nxml/nxml-util.el: Use lexical-binding.
17643         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
17644         Use `declare'.
17645         * nxml/nxml-ns.el: Use lexical-binding.
17646         (nxml-ns-save): Use `declare'.
17647         (nxml-ns-prefixes-for): Avoid add-to-list.
17648         * nxml/rng-match.el: Use lexical-binding.
17649         (rng--ipattern): Use cl-defstruct.
17650         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
17651         (rng-cons-group-after, rng-subst-group-after)
17652         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
17653         Use closures instead of `(lambda...).
17655 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
17657         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
17658         of BEG and END.
17660         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17661         Use `tramp-handle-insert-file-contents'.
17662         (tramp-gvfs-handle-insert-file-contents): Remove function.
17664         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17665         Use `save-restriction' in order to keep markers.
17667         * net/trampver.el: Update release number.
17669 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17671         * progmodes/compile.el (compilation-parse-errors):
17672         Use compilation--put-prop.
17673         (compilation--ensure-parse): Check compilation-multiline.
17675         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
17677         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
17678         lexical-binding.
17680         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
17682         * progmodes/ruby-mode.el: Fix recently added tests.
17683         (ruby-smie-grammar): Add - and +.
17684         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
17685         (ruby-smie--backward-id): New functions.
17686         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
17687         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
17688         any more.
17690 2013-10-07  Leo Liu  <sdl.web@gmail.com>
17692         * register.el (register-preview-delay)
17693         (register-preview-functions): New variables.
17694         (register-read-with-preview, register-preview)
17695         (register-describe-oneline): New functions.
17696         (point-to-register, window-configuration-to-register)
17697         (frame-configuration-to-register, jump-to-register)
17698         (number-to-register, view-register, insert-register)
17699         (copy-to-register, append-to-register, prepend-to-register)
17700         (copy-rectangle-to-register): Use register-read-with-preview to
17701         read register.  (Bug#15525)
17703 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
17705         * net/network-stream.el (network-stream-open-starttls): Don't add
17706         --insecure if it's already present, because that gnutls-cli
17707         rejects getting that parameter twice.
17709 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
17711         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
17712         keyword, too.
17714 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
17716         * newcomment.el (comment-use-global-state): Change default value
17717         to t, mark obsolete (Bug#15251).
17718         (comment-beginning): In addition to `comment-to-syntax', check the
17719         value of `comment-use-global-state'.
17721 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17723         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
17724         (ruby-comment-column): Follow the global default, by default.
17725         (ruby-smie-grammar): Add assignment syntax.
17726         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
17727         open-paren, a comma, or a \.
17728         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
17729         and line continuations.
17730         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
17731         followed by implicit semi-colons.  Add rule for string concatenation
17732         and for indentation at BOB.
17733         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
17735         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
17736         calling next-sexp, since next-token may have skipped chars which
17737         next-sexp doesn't know should be skipped!
17739 2013-10-05  Leo Liu  <sdl.web@gmail.com>
17741         * progmodes/octave.el (octave-send-region):
17742         Call compilation-forget-errors.
17744 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
17746         * vc/vc-svn.el (vc-svn-find-admin-dir):
17747         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
17748         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
17749         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
17750         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
17752 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17754         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
17756 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17758         * subr.el (read-passwd): Hide chars even when called within a context
17759         where after-change-functions is disabled (bug#15501).
17760         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
17761         until we removed ourself from overriding-terminal-local-map.
17763 2013-10-04  Leo Liu  <sdl.web@gmail.com>
17765         * progmodes/octave.el (inferior-octave-mode):
17766         Call compilation-forget-errors.
17768 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
17770         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
17772 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
17774         * net/secrets.el (secrets-create-collection): Add optional
17775         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
17776         dbus-call-method argument.  (Bug#15516)
17778 2013-10-04  Leo Liu  <sdl.web@gmail.com>
17780         * progmodes/octave.el (inferior-octave-error-regexp-alist)
17781         (inferior-octave-compilation-font-lock-keywords): New variables.
17782         (compilation-error-regexp-alist)
17783         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
17784         (inferior-octave-mode): Use compilation-shell-minor-mode.
17786 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
17788         * minibuffer.el (completion--replace): Be careful that `end' might be
17789         a marker.
17791 2013-10-03  Daiki Ueno  <ueno@gnu.org>
17793         Add support for package signature checking.
17794         * emacs-lisp/package.el (url-http-file-exists-p)
17795         (epg-make-context, epg-context-set-home-directory)
17796         (epg-verify-string, epg-context-result-for)
17797         (epg-signature-status, epg-signature-to-string)
17798         (epg-check-configuration, epg-configuration)
17799         (epg-import-keys-from-file): Declare.
17800         (package-check-signature): New user option.
17801         (package-unsigned-archives): New user option.
17802         (package-desc): Add `signed' field.
17803         (package-load-descriptor): Set `signed' field if .signed file exists.
17804         (package--archive-file-exists-p): New function.
17805         (package--check-signature): New function.
17806         (package-install-from-archive): Check package signature.
17807         (package--download-one-archive): Check archive signature.
17808         (package-delete): Remove .signed file.
17809         (package-import-keyring): New command.
17810         (package-refresh-contents): Import default keyring.
17811         (package-desc-status): Add "unsigned" status.
17812         (describe-package-1, package-menu--print-info)
17813         (package-menu-mark-delete, package-menu--find-upgrades)
17814         (package-menu--status-predicate): Support "unsigned" status.
17816 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17818         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
17819         the new compilation scheme using the new byte-codes.
17821         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
17822         (byte-pophandler): New byte codes.
17823         (byte-goto-ops): Adjust accordingly.
17824         (byte-compile--use-old-handlers): New var.
17825         (byte-compile-catch): Use new byte codes depending on
17826         byte-compile--use-old-handlers.
17827         (byte-compile-condition-case--old): Rename from
17828         byte-compile-condition-case.
17829         (byte-compile-condition-case--new): New function.
17830         (byte-compile-condition-case): New function that dispatches depending
17831         on byte-compile--use-old-handlers.
17832         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
17833         when we can.
17835         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
17836         Optimize under `condition-case' and `catch' if
17837         byte-compile--use-old-handlers is nil.
17838         (disassemble-offset): Handle new bytecodes.
17840 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17842         * subr.el (error): Use `declare'.
17843         (decode-char, encode-char): Use advertised-calling-convention instead
17844         of the docstring to discourage use of the `restriction' arg.
17846 2013-10-03  Daiki Ueno  <ueno@gnu.org>
17848         * epg.el (epg-verify-file): Add a comment saying that it does not
17849         notify verification error as a return value nor a signal.
17850         (epg-verify-string): Ditto.
17852 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
17854         * progmodes/compile.el (compilation-start): Try globbing the arg to
17855         `cd' (bug#15417).
17857 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
17859         Sync with Tramp 2.2.8.
17861         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
17862         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
17863         * net/trampver.el: Update release number.
17865 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
17867         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17868         and default-process-coding-system for darwin only.
17870 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17872         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
17874 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
17876         * vc/vc-git.el (vc-git-grep): Disable pager.
17878 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
17880         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
17881         Use :url instead of :homepage, as per
17882         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
17884         * newcomment.el (comment-beginning): When `comment-use-syntax' is
17885         non-nil, use `syntax-ppss' (Bug#15251).
17887 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17889         * progmodes/octave.el (inferior-octave-startup-file):
17890         Prefer ~/.emacs.d/init_octave.m.
17892 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
17894         * emacs-lisp/package.el (package-desc-from-define):
17895         Accept additional arguments as plist, convert them to an alist and store
17896         them in the `extras' slot.
17897         (package-generate-description-file): Convert extras alist back to
17898         plist and append to the `define-package' form arguments.
17899         (package--alist-to-plist): New function.
17900         (package--ac-desc): Add `extras' slot.
17901         (package--add-to-archive-contents): Check if the archive-contents
17902         vector is long enough, and if it is, pass its `extras' slot value
17903         to `package-desc-create'.
17904         (package-buffer-info): Call `lm-homepage', pass the returned value
17905         to `package-desc-from-define'.
17906         (describe-package-1): Render the homepage button (Bug#13291).
17908         * emacs-lisp/package-x.el (package-upload-buffer-internal):
17909         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
17911 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
17913         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17914         and default-process-coding-system to utf-8-unix (Bug#15402).
17916 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
17918         * subr.el (looking-back): Do not recommend using looking-back.
17920 2013-09-28  Alan Mackenzie  <acm@muc.de>
17922         Fix indentation/fontification of Java enum with "implements".
17924         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
17925         regexp which matches "implements", etc., in Java.
17926         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
17927         specifier clauses coming after "enum".
17928         * progmodes/cc-fonts.el (c-font-lock-declarations)
17929         (c-font-lock-enum-tail): Check for extra specifier clauses coming
17930         after "enum".
17932 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
17934         * faces.el (region): Change ns_selection_color to
17935         ns_selection_fg_color, add ns_selection_bg_color.
17937 2013-09-28  Leo Liu  <sdl.web@gmail.com>
17939         * progmodes/octave.el (inferior-octave-completion-table)
17940         (inferior-octave-completion-at-point): Minor tweaks.
17942         * textmodes/ispell.el (ispell-lookup-words): Rename from
17943         lookup-words.  (Bug#15460)
17944         (lookup-words): Obsolete.
17945         (ispell-complete-word, ispell-command-loop): All uses changed.
17947 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17949         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
17950         (octave-mode-menu): Add octave-send-buffer.
17951         (octave-send-buffer): New function.
17953 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17955         * progmodes/octave.el (octave-mode-map): Add key binding for
17956         octave-lookfor.
17957         (octave-mode-menu): Add octave-lookfor.
17958         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
17959         octave-lookfor.
17960         (octave-lookfor): New function.
17962 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17964         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
17965         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
17966         its convention.
17967         (cl--loop-set-iterator-function): New function.
17968         (cl-loop): Adjust accordingly, so as not to use cl-subst.
17969         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
17970         Bind `it' with `let' instead of substituting it with `cl-subst'.
17971         (cl--unused-var-p): New function.
17972         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
17973         Eliminate some unused variable warnings (bug#15326).
17975 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
17977         * doc-view.el (doc-view-scale-reset): Rename from
17978         `doc-view-reset-zoom-level'.
17979         (doc-view-scale-adjust): New command.
17980         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
17981         `doc-view-scale-adjust'.
17983 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
17985         * doc-view.el (doc-view-reset-zoom-level): New command.
17986         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
17987         zoom commands (bug#15466).
17989 2013-09-26  Kenichi Handa  <handa@gnu.org>
17991         * international/quail.el (quail-help): Make it not a command.
17993 2013-09-26  Leo Liu  <sdl.web@gmail.com>
17995         * minibuffer.el (completion-all-sorted-completions): Make args
17996         optional as they are.
17998 2013-09-25  Daniel Colascione  <dancol@dancol.org>
18000         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
18001         specs are and that they're not evaluated.
18003 2013-09-24  Sam Steingold  <sds@gnu.org>
18005         * midnight.el (clean-buffer-list-kill-regexps)
18006         (clean-buffer-list-kill-buffer-names): Update for the new Man
18007         buffer naming which includes the object name.
18009 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18011         * eshell/esh-cmd.el (eshell--sep-terms): New var.
18012         (eshell-parse-command, eshell-parse-pipeline): Use it since
18013         eshell-separate-commands requires a dynamic scoped var.
18014         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
18016 2013-09-23  Leo Liu  <sdl.web@gmail.com>
18018         * autoinsert.el (auto-insert-alist): Make the value of
18019         lexical-binding match its file setting.
18021 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
18023         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
18025         * autoarg.el (autoarg-kp-digit-argument):
18026         * electric.el (Electric-command-loop):
18027         * kmacro.el (kmacro-step-edit-insert):
18028         Do not set universal-argument-num-events.
18030 2013-09-22  Leo Liu  <sdl.web@gmail.com>
18032         * files.el (interpreter-mode-alist): Add octave.
18034 2013-09-21  Alan Mackenzie  <acm@muc.de>
18036         C++: fontify identifier in declaration following "public:" correctly.
18037         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
18038         to match "public", etc.
18039         (c-decl-prefix-re): Add ":" into the C++ value.
18040         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
18041         bit.  Add a check for a ":" preceded by "public", etc.
18043 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
18045         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
18046         recognized by GDB 7.5 and later.
18048 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
18050         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
18052 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18054         * subr.el (internal--call-interactively): New const.
18055         (called-interactively-p): Use it (bug#3984).
18057 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
18059         * vc/pcvs.el (cvs-mode-ignore):
18060         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
18061         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
18063 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18065         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
18066         (eshell-ls-orig-insert-directory): Remove.
18067         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
18068         (eshell-ls-use-in-dired): Use advice-add/remove.
18069         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
18070         Add `orig-fun' arg for use in :around advice.
18071         Make it check (redundantly) eshell-ls-use-in-dired.
18073 2013-09-19  Glenn Morris  <rgm@gnu.org>
18075         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
18077         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
18079         * emacs-lisp/eieio.el (class-parent): Undo previous change.
18081 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
18083         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
18084         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
18085         (tramp-get-remote-python): New defuns.
18086         (tramp-get-remote-uid-with-perl)
18087         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
18088         contributed by yary <not.com@gmail.com> (tiny change).
18089         (tramp-get-remote-uid-with-python)
18090         (tramp-get-remote-gid-with-python): New defuns.  Python code
18091         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
18092         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
18094 2013-09-19  Glenn Morris  <rgm@gnu.org>
18096         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
18098         * eshell/em-unix.el (eshell-remove-entries):
18099         Rename argument to avoid name-clash with global `top-level'.
18101         * eshell/esh-proc.el (eshell-kill-process-function):
18102         Remove eshell-reset-after-proc from eshell-kill-hook if present.
18103         (eshell-reset-after-proc): Remove unused arg `proc'.
18105         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
18106         (directory-files-and-attributes): Mark unused arg.
18108         * eshell/em-unix.el (eshell-remove-entries):
18109         Remove unused arg `path'.  Update callers.
18111         * eshell/em-hist.el (eshell-hist-parse-arguments):
18112         Remove unused arg `silent'.  Update callers.
18114         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
18115         Fix (f)boundp mix-up.
18117         * eshell/em-smart.el (eshell-smart-scroll-window)
18118         (eshell-disable-after-change):
18119         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
18121 2013-09-18  Alan Mackenzie  <acm@muc.de>
18123         Fix fontification of type when followed by "const".
18124         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
18125         "known" types from fontification.
18127 2013-09-18  Glenn Morris  <rgm@gnu.org>
18129         * emacs-lisp/chart.el (x-display-color-cells): Declare.
18130         (chart-face-list): Drop Emacsen without display-color-p.
18132         * net/eww.el (libxml-parse-html-region): Declare.
18133         (eww-display-html): Explicit error if no libxml2 support.
18135         * doc-view.el (doc-view-mode): Silence --without-x compilation.
18137         * image.el (image-type-from-buffer, image-multi-frame-p):
18138         Remove --without-x warning/error.
18140         * mouse.el (mouse-yank-primary):
18141         * term.el (term-mouse-paste):
18142         Reorder to silence --without-x compilation.
18144         * mpc.el (doc-view-mode): Silence --without-x compilation.
18146         * mail/rmailmm.el (rmail-mime-set-bulk-data):
18147         Silence --without-x compilation.
18149         * progmodes/gud.el (gud-find-file, gud-mode):
18150         Silence --without-x compilation.
18151         (tooltip-mode): Declare.
18153         * wdired.el (dired-backup-overwrite): Remove declaration.
18154         (wdired-mode-map): Add doc string.
18156         * custom.el (x-get-resource): Declare.
18158         * eshell/em-glob.el (ange-cache):
18159         * eshell/em-unix.el (ange-cache): Declare.
18161         * faces.el (x-display-list, x-open-connection, x-get-resource):
18162         Declare.
18164         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
18165         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
18166         Declare.
18168         * frame.el (x-display-grayscale-p, x-display-name): Declare.
18170         * net/gnutls.el (gnutls-log-level): Declare.
18172         * net/shr.el (image-size, image-animate): Declare.
18174         * simple.el (font-info): Declare.
18176         * subr.el (x-popup-dialog): Declare.
18178         * term/common-win.el (x-select-enable-primary)
18179         (x-last-selected-text-primary, x-last-selected-text-clipboard):
18180         Declare.
18182         * term/ns-win.el (x-handle-args): Declare.
18184         * term/x-win.el (x-select-enable-clipboard): Declare.
18186         * term/w32-win.el (create-default-fontset): Declare.
18188         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
18189         Declare.
18191         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
18192         (fit-frame-to-buffer): Explicit error if --without-x.
18193         (mouse-autoselect-window-select): Silence compiler.
18195         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18197         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
18198         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
18199         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
18200         * eshell/esh-util.el (eshell-sublist):
18201         Remove unused local variables.
18203         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
18205         * textmodes/two-column.el: Make 2C-split work for --without-x.
18206         (scroll-bar-columns): Autoload.
18207         (top-level): Require fringe when compiling.
18209 2013-09-18  Leo Liu  <sdl.web@gmail.com>
18211         * subr.el (add-hook): Robustify to handle closure as well.
18213 2013-09-17  Glenn Morris  <rgm@gnu.org>
18215         * simple.el (messages-buffer-mode-map): Unbind "g".
18217 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18219         * help-mode.el (help-mode-finish): Use derived-mode-p.
18220         Remove obsolete highlighting.
18222         * play/life.el (life-mode): Use define-derived-mode.  Derive from
18223         special-mode.
18224         (life): Let-bind inhibit-read-only.
18225         (life-setup): Avoid `setq'.  Use `life-mode'.
18227         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
18228         which should not be needed any more.
18229         (package-menu-refresh, package-menu-describe-package): Use user-error.
18231         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
18232         (eshell-post-rewrite-command-hook): Make obsolete.
18233         (eshell-parse-command): Simplify.
18234         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
18235         (eshell--cmd): Declare.
18236         (eshell-parse-pipeline): Remove unused var `final-p'.
18237         Pass a dynvar to eshell-post-rewrite-command-hook.
18238         Implement the new eshell-post-rewrite-command-function.
18239         (eshell-invoke-directly): Remove unused arg `input'.
18240         * eshell/esh-io.el (eshell-io-initialize):
18241         Use eshell-post-rewrite-command-function (bug#15399).
18242         (eshell--apply-redirections): Rename from eshell-apply-redirections;
18243         adjust to new calling convention.
18244         (eshell-create-handles): Rename args to avoid clashing with dynvar
18245         `standard-output'.
18247 2013-09-17  Glenn Morris  <rgm@gnu.org>
18249         * simple.el (messages-buffer-mode): New major mode.
18250         (messages-buffer): New function.
18251         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
18252         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
18253         (ert-run-test): Use `messages-buffer' function.
18254         (ert--force-message-log-buffer-truncation): Ignore read-only.
18255         * help.el (view-echo-area-messages): Use `messages-buffer' function.
18256         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
18258 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18260         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
18262         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
18264 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18266         * icomplete.el (icomplete-in-buffer): New var.
18267         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
18268         vars and replace them with functions.
18269         (icomplete-minibuffer-setup): Adjust accordingly.
18270         (icomplete--completion-table, icomplete--completion-predicate)
18271         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
18272         New functions.
18273         (icomplete-forward-completions, icomplete-backward-completions)
18274         (icomplete-simple-completing-p, icomplete-exhibit)
18275         (icomplete-completions): Use them.
18276         (icomplete--in-region-buffer): New var.
18277         (icomplete--in-region-setup): New function.
18278         (icomplete-mode): Use it.
18280         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
18281         (bug#15379).
18282         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
18283         return args and options.
18284         (eshell-eval-using-options): Use the new return value of
18285         eshell--do-opts to set the options's vars in their scope.
18286         (eshell--set-option): Rename from eshell-set-option.
18287         Add arg `opt-vals'.
18288         (eshell--process-option): Rename from eshell-process-option.
18289         Add arg `opt-vals'.
18290         (eshell--process-args): Use an `opt-vals' alist to store the options's
18291         values during their processing and return them additionally to the
18292         remaining args.
18294 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
18296         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
18297         continuation character an operator, as far as indentation is
18298         concerned (Bug#15369).
18300 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
18302         * window.el (window--state-put-2): Don't process buffer state
18303         when buffer doesn't exist any more (Bug#15382).
18305 2013-09-15  Glenn Morris  <rgm@gnu.org>
18307         * eshell/em-unix.el (eshell/rm):
18308         Make -f ignore missing files.  (Bug#15373)
18310         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
18311         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
18312         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
18314 2013-09-14  Glenn Morris  <rgm@gnu.org>
18316         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
18318 2013-09-13  Glenn Morris  <rgm@gnu.org>
18320         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
18321         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
18323 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
18325         * frame.el (x-focus-frame): Mark as declared in frame.c.
18327 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18329         * ls-lisp.el: Use advice-add.
18330         (original-insert-directory): Remove.
18331         (ls-lisp--insert-directory): Rename from insert-directory; add
18332         `orig-fun' argument.
18333         (insert-directory): Advise.
18335 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
18337         * term.el (term-emulate-terminal): Decode the command string
18338         before passing it to term-command-hook.  (Bug#15337)
18340 2013-09-13  Glenn Morris  <rgm@gnu.org>
18342         * eshell/esh-util.el (ange-cache): Move declaration earlier.
18344         * eshell/esh-ext.el (eshell-search-path): Declare.
18346         * eshell/em-prompt.el (eshell/pwd): Autoload it.
18347         Otherwise an error occurs if eshell-dirs module not loaded.
18349         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
18351 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
18353         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
18354         `tramp-check-proper-host'.  Check for a valid method name.
18356         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18357         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18358         * net/tramp-sh.el (tramp-maybe-open-connection):
18359         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
18361         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
18362         also for hash values.
18364 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18366         * term/ns-win.el (parameters): Don't declare as dynamic.
18367         (before-make-frame-hook): Don't add ineffective function.
18369         * eshell/*.el: Use lexical-binding (bug#15231).
18371 2013-09-12  Kenichi Handa  <handa@gnu.org>
18373         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
18375 2013-09-12  Glenn Morris  <rgm@gnu.org>
18377         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
18378         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
18380         * subr.el (do-after-load-evaluation): Also give compiler warnings
18381         when obsolete files are used (except by obsolete files).
18383         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
18384         in the status output, assume `filename' is the first.  (Bug#15322)
18386         * vc/vc.el (vc-deduce-fileset): Doc fix.
18388         * calc/calc-help.el (Info-goto-node):
18389         * progmodes/cperl-mode.el (Info-find-node):
18390         * vc/ediff.el (Info-goto-node): Update declarations.
18392         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
18394         * vc/vc-bzr.el (vc-compilation-mode): Declare.
18395         (vc-bzr-pull): Require vc-dispatcher.
18396         * vc/vc-git.el (vc-compilation-mode): Declare.
18397         (vc-git-pull): Require vc-dispatcher.
18399         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
18401         * progmodes/octave.el (help-button-action): Declare.
18403         * shell.el (shell-directory-tracker): Output error as a message
18404         rather than just returning it as a string.
18405         (shell-process-pushd): Remove useless use of message.
18407         * dframe.el (dframe-timer-fn):
18408         * files.el (dir-locals-read-from-file):
18409         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
18410         (mpc-format):
18411         * reveal.el (reveal-post-command):
18412         * saveplace.el (load-save-place-alist-from-file):
18413         * shell.el (shell-resync-dirs):
18414         * w32-common-fns.el (x-get-selection-value):
18415         * emacs-lisp/copyright.el (copyright-find-copyright):
18416         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
18417         * emulation/tpu-edt.el (tpu-copy-keyfile):
18418         * play/bubbles.el (bubbles--mark-neighbourhood):
18419         * progmodes/executable.el
18420         (executable-make-buffer-file-executable-if-script-p):
18421         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
18423 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18425         Cleanup Eshell to rely less on dynamic scoping.
18426         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
18427         last-value, and ext-command here.  Bind `args' closer to `body'.
18428         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
18429         (eshell--args): Declare new dynamic var.
18430         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
18431         last-value, and ext-command.  Pass `args' to `body'.
18432         (eshell-process-args): Bind eshell--args.
18433         (eshell-set-option): Use eshell--args.
18434         * eshell/eshell.el (eshell): Use derived-mode-p.
18435         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
18436         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
18437         (eshell-glob-function): Declare.
18438         * eshell/esh-util.el: Require cl-lib.
18439         (eshell-read-hosts-file): Avoid add-to-list.
18440         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
18441         `err'.
18442         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
18443         Declare.
18444         (eshell/diff): Remove unused var `err'.
18445         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
18446         `killflag'.
18447         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
18448         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
18449         first use.
18450         * eshell/em-glob.el (eshell-glob-matches, message-shown):
18451         Move declaration before first use.
18452         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
18453         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
18454         rely on cl-return.
18456 2013-09-12  Glenn Morris  <rgm@gnu.org>
18458         * term/ns-win.el (global-map): Remove binding for ispell-next,
18459         deleted 1999-05-29.  (Bug#15357)
18461 2013-09-11  Glenn Morris  <rgm@gnu.org>
18463         * echistory.el (electric-command-history): Remove call to deleted func.
18465         * play/landmark.el (landmark-mode): Fix typos.
18467         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
18468         Check cvs-sort-ignore-file is bound.
18470         * savehist.el: No need for cl when compiling on Emacs.
18472 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18474         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
18475         (bug#15338).
18476         (eshell-self-insert-command, eshell-send-invisible):
18477         Remove unused argument.
18478         (eshell-handle-control-codes): Remove unused var `orig'.
18479         Avoid delete-backward-char.
18481         * files.el (set-auto-mode): Simplify a bit further.
18483 2013-09-11  Glenn Morris  <rgm@gnu.org>
18485         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18486         (set-auto-mode): Don't regexp-quote elements.
18487         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18488         * progmodes/cc-mode.el (interpreter-mode-alist):
18489         * progmodes/ruby-mode.el (interpreter-mode-alist):
18490         Revert previous change.
18492 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18494         * play/snake.el (snake-mode):
18495         * play/mpuz.el (mpuz-mode):
18496         * play/landmark.el (lm-mode):
18497         * play/blackbox.el (blackbox-mode):
18498         * play/5x5.el (5x5-mode):
18499         * obsolete/options.el (Edit-options-mode):
18500         * net/quickurl.el (quickurl-list-mode):
18501         * net/newst-treeview.el (newsticker-treeview-mode):
18502         * mail/rmailsum.el (rmail-summary-mode):
18503         * mail/mspools.el (mspools-mode):
18504         * locate.el (locate-mode):
18505         * ibuffer.el (ibuffer-mode):
18506         * emulation/ws-mode.el (wordstar-mode):
18507         * emacs-lisp/debug.el (debugger-mode):
18508         * array.el (array-mode):
18509         * net/eudc.el (eudc-mode): Use define-derived-mode.
18510         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18511         Move initialization into declaration.
18512         (mairix-searches-mode): Use define-derived-mode.
18513         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18514         (eudc-edit-hotlist): Use dolist.
18515         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18516         (Man-mode): Use define-derived-mode.
18517         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18518         (Info-edit-mode): Use define-derived-mode.
18519         (Info-cease-edit): Use Info-mode.
18520         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18521         into declaration.
18522         (eshell-mode): Use define-derived-mode.
18523         * chistory.el (command-history-mode-map): Rename from
18524         command-history-map.
18525         (command-history-mode): Use define-derived-mode.
18526         (Command-history-setup): Remove function.
18527         * calc/calc.el (calc-trail-mode-map): New var.
18528         (calc-trail-mode): Use define-derived-mode.
18529         (calc-trail-buffer): Set calc-main-buffer manually.
18530         * bookmark.el (bookmark-insert-annotation): New function.
18531         (bookmark-edit-annotation): Use it.
18532         (bookmark-edit-annotation-mode): Make it a proper major mode.
18533         (bookmark-send-edited-annotation): Use derived-mode-p.
18534         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18535         closer to its ideal place.  Use \' to match EOS.
18537         * profiler.el (profiler-calltree-find): Use function-equal.
18539 2013-09-10  Glenn Morris  <rgm@gnu.org>
18541         * files.el (interpreter-mode-alist): Convert to regexps.
18542         (set-auto-mode): Adapt for this.  (Bug#15306)
18543         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18544         Comment out unused variable.
18545         * progmodes/cc-mode.el (interpreter-mode-alist):
18546         * progmodes/python.el (interpreter-mode-alist):
18547         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18548         * progmodes/sh-script.el (sh-set-shell):
18549         No longer use interpreter-mode-alist to get list of shells.
18551         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18553 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18555         * simple.el: Use set-temporary-overlay-map for universal-argument.
18556         (universal-argument-map): Don't use default-bindings (bug#15317).
18557         Bind switch-frame explicitly.  Replace universal-argument-minus with
18558         a conditional binding.
18559         (universal-argument-num-events, saved-overriding-map): Remove.
18560         (restore-overriding-map): Remove.
18561         (universal-argument--mode): Rename from save&set-overriding-map,
18562         and rewrite.
18563         (universal-argument, universal-argument-more, negative-argument)
18564         (digit-argument): Adjust accordingly.
18565         (universal-argument-minus): Remove.
18566         (universal-argument-other-key): Remove.
18568         * subr.el (with-demoted-errors): Add `format' argument.
18570 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
18572         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
18573         `tramp-cleanup-connection'.
18575         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18576         parameters KEEP-DEBUG and KEEP-PASSWORD.
18578         * net/tramp.el (tramp-file-name-handler):
18579         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18580         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18581         (tramp-maybe-open-connection):
18582         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18583         Use `tramp-cleanup-connection'.
18585         * net/tramp-sh.el (tramp-maybe-open-connection):
18586         Catch 'uname-changed inside the progress reporter.
18588 2013-09-10  Glenn Morris  <rgm@gnu.org>
18590         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
18592         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18593         returns "alternate access method" in mode (eg "-rw-r--r--.").
18595 2013-09-08  Glenn Morris  <rgm@gnu.org>
18597         * saveplace.el (load-save-place-alist-from-file):
18598         Demote errors.  (Bug#15305)
18600 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
18602         Improve compatibility with older Emacsen, and XEmacs.
18604         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18605         only if it is bound.  It isn't for XEmacs.
18606         (with-tramp-progress-reporter): Do not let-bind `result'.
18607         This yields to scoping errors in XEmacs.
18608         (tramp-handle-make-auto-save-file-name): New function, moved from
18609         tramp-sh.el.
18611         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18612         for `make-auto-save-file-name'.
18613         (tramp-adb--gnu-switches-to-ash):
18614         Use `tramp-compat-replace-regexp-in-string'.
18616         * net/tramp-cache.el (tramp-cache-print): Call
18617         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
18619         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18620         bound.  It isn't for XEmacs.
18622         * net/tramp-compat.el (tramp-compat-copy-file):
18623         Catch `wrong-number-of-arguments' error.
18624         (tramp-compat-replace-regexp-in-string): New defun.
18626         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18627         for `make-auto-save-file-name'.
18628         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18629         `copy-file'.
18630         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18631         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18632         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18634         * net/tramp-gw.el (tramp-gw-open-network-stream):
18635         Use `tramp-compat-replace-regexp-in-string'.
18637         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18638         Call `tramp-handle-make-auto-save-file-name'.
18639         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
18640         (tramp-sh-file-gvfs-monitor-dir-process-filter)
18641         (tramp-sh-file-inotifywait-process-filter):
18642         Use `tramp-compat-replace-regexp-in-string'.
18643         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
18645         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
18646         for `make-auto-save-file-name'.
18647         (tramp-smb-handle-copy-directory):
18648         Call `tramp-compat-replace-regexp-in-string'.
18649         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
18650         (tramp-smb-handle-copy-file): Improve error message.
18651         (tramp-smb-handle-rename-file): Rename directly only in case
18652         `newname' does not exist yet.  This is a restriction of smbclient.
18653         (tramp-smb-maybe-open-connection): Rerun the function only when
18654         `auth-sources' is non-nil.
18656 2013-09-08  Kenichi Handa  <handa@gnu.org>
18658         * international/characters.el: Set category "^" (Combining) for
18659         more characters.
18661 2013-09-07  Alan Mackenzie  <acm@muc.de>
18663         Correctly fontify Java class constructors.
18664         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
18665         in Java Mode.
18666         (c-recognize-typeless-decls): Set the Java value to t.
18667         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18668         While handling a "(", add a check for, effectively, Java, and handle a
18669         "typeless" declaration there.
18671 2013-09-07  Roland Winkler  <winkler@gnu.org>
18673         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
18674         field subtitle for entry type book.
18676 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18678         * minibuffer.el: Make minibuffer-complete call completion-in-region
18679         rather than other way around.
18680         (completion--some, completion-pcm--find-all-completions):
18681         Don't delay signals when debugging.
18682         (minibuffer-completion-contents): Beware fields within the
18683         minibuffer contents.
18684         (completion-all-sorted-completions): Use defvar-local.
18685         (completion--do-completion, completion--cache-all-sorted-completions)
18686         (completion-all-sorted-completions, minibuffer-force-complete):
18687         Add args `beg' and `end'.
18688         (completion--in-region-1): New fun, extracted from minibuffer-complete.
18689         (minibuffer-complete): Use completion-in-region.
18690         (completion-complete-and-exit): New fun, extracted from
18691         minibuffer-complete-and-exit.
18692         (minibuffer-complete-and-exit): Use it.
18693         (completion--complete-and-exit): Rename from
18694         minibuffer--complete-and-exit.
18695         (completion-in-region--single-word): New function, extracted from
18696         minibuffer-complete-word.
18697         (minibuffer-complete-word): Use it.
18698         (display-completion-list): Make `common-substring' argument obsolete.
18699         (completion--in-region): Call completion--in-region-1 instead of
18700         minibuffer-complete.
18701         (completion-help-at-point): Pass boundaries to
18702         minibuffer-completion-help as args rather than via an overlay.
18703         (completion-pcm--string->pattern): Use `any-delim'.
18704         (completion-pcm--optimize-pattern): New function.
18705         (completion-pcm--pattern->regex): Handle `any-delim'.
18706         * icomplete.el (icomplete-forward-completions)
18707         (icomplete-backward-completions, icomplete-completions):
18708         Adjust calls to completion-all-sorted-completions and
18709         completion--cache-all-sorted-completions.
18710         (icomplete-with-completion-tables): Default to t.
18711         * emacs-lisp/crm.el (crm--current-element): Rename from
18712         crm--select-current-element.  Don't put an overlay but return the
18713         boundaries instead.
18714         (crm--completion-command): Take two new args to bind to the boundaries.
18715         (crm-completion-help): Adjust accordingly.
18716         (crm-complete): Use completion-in-region.
18717         (crm-complete-word): Use completion-in-region--single-word.
18718         (crm-complete-and-exit): Use completion-complete-and-exit.
18720 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18722         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
18723         than dynamically.
18725 2013-09-06  Juri Linkov  <juri@jurta.org>
18727         * info.el (Info-display-images-node): When image file doesn't exist
18728         display text version of the image if it's provided in the Info file.
18729         Otherwise, display the location of missing image from SRC attribute.
18730         Add help-echo text property from ALT attribute.  (Bug#15279)
18732 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18734         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
18735         (edit-abbrevs-mode): Use define-derived-mode.
18737         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
18738         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
18739         that it's defined.
18740         (epa-key-list-mode, epa-key-mode, epa-info-mode):
18741         Use define-derived-mode.
18743         * epg.el (epg-start-encrypt): Minor CSE simplification.
18745 2013-09-06  William Xu  <william.xwl@gmail.com>
18747         * arc-mode.el: Add support for 7za (bug#15264).
18748         (archive-7z-program): New var.
18749         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
18750         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
18751         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
18753 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
18755         Remove URL syntax.
18757         * net/tramp.el (tramp-syntax, tramp-prefix-format)
18758         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
18759         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
18760         (tramp-postfix-host-format, tramp-file-name-regexp)
18761         (tramp-completion-file-name-regexp)
18762         (tramp-completion-dissect-file-name)
18763         (tramp-handle-substitute-in-file-name): Remove 'url case.
18764         (tramp-file-name-regexp-url)
18765         (tramp-completion-file-name-regexp-url): Remove constants.
18767 2013-09-06  Glenn Morris  <rgm@gnu.org>
18769         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
18771 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
18773         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
18774         keywords" below "here-doc beginnings" (Bug#15270).
18776 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18778         * subr.el (pop): Use `car-safe'.
18779         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
18780         to detect unused `pop' return value.
18782         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
18783         var `block-regexp'.
18784         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
18785         (python-fill-string): Remove unused var `marker'.
18786         (python-skeleton-add-menu-items): Remove unused var `items'.
18788         * international/mule-cmds.el: Require CL.
18789         (find-coding-systems-for-charsets): Avoid add-to-list.
18790         (sanitize-coding-system-list): New function, extracted from
18791         select-safe-coding-system-interactively.
18792         (select-safe-coding-system-interactively): Use it.
18793         (read-input-method-name): Accept symbols for `default'.
18795         * emacs-lisp/advice.el (defadvice): Add indent rule.
18797 2013-09-05  Daniel Hackney  <dan@haxney.org>
18799         * dired-x.el:
18800         * net/ange-ftp.el:
18801         * net/browse-url.el:
18802         * net/dbus.el:
18803         * net/eudc.el:
18804         * net/eudcb-ldap.el:
18805         * net/eww.el:
18806         * net/imap.el:
18807         * printing.el:
18808         * vc/ediff-diff.el:
18809         * vc/ediff-init.el:
18810         * vc/ediff-merg.el:
18811         * vc/ediff-mult.el:
18812         * vc/ediff-util.el:
18813         * vc/ediff-wind.el:
18814         * vc/ediff.el:
18815         * vc/emerge.el:
18816         * vc/pcvs.el:
18817         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
18818         byte compiler.  Remove some unused let-bound variables.
18820 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18822         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
18823         a "ref-cell", since it gets better optimized (bug#14883).
18825 2013-09-05  Glenn Morris  <rgm@gnu.org>
18827         * progmodes/cc-awk.el (c-forward-sws): Declare.
18829 2013-09-04  Glenn Morris  <rgm@gnu.org>
18831         * generic-x.el [rul-generic-mode]: Require cc-mode.
18832         (c++-mode-syntax-table): Declare.
18833         (rul-generic-mode-syntax-table): Init in the defvar.
18835 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18837         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
18838         (vc-do-command, vc-set-async-update):
18839         * vc/vc-mtn.el (vc-mtn-dir-status):
18840         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
18841         (vc-hg-pull, vc-hg-merge-branch):
18842         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
18843         (vc-git-merge-branch):
18844         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
18845         (vc-cvs-dir-status-files):
18846         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
18847         (vc-bzr-dir-status-files):
18848         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
18849         * vc/vc-annotate.el: Use lexical-binding.
18850         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
18851         (vc-sentinel-movepoint): Declare.
18852         (vc-annotate): Don't use `goto-line'.
18853         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
18854         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
18855         (vc-sentinel-movepoint): Declare.
18856         * vc/vc-svn.el: Use lexical-binding.
18857         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
18858         * vc/vc-sccs.el:
18859         * vc/vc-rcs.el: Use lexical-binding.
18861         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
18862         `deleted'.  Don't drop errors silently.
18864         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
18866 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
18868         * vc/vc.el (vc-ignore): Rewrite.
18869         (vc-default-ignore): New function.
18870         (vc-default-ignore-completion-table): Use find-ignore-file.
18872         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
18873         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
18874         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
18875         Remove.  Most code moved to vc.el.
18877 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18879         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
18880         * net/tramp-smb.el (tramp-smb-get-file-entries):
18881         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
18882         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
18884         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
18885         Update call to it.
18886         (eww-change-select): Remove unused var `properties'.
18887         (eww-make-unique-file-name): Remove unused var `base'.
18889         * finder.el (finder-compile-keywords): Don't mess with windows.
18891         * calculator.el (calculator-funcall): Fix typo in last change.
18893         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
18895         * emacs-lisp/package.el (package-activate-1): Don't let a missing
18896         <pkg>-autoloads.el file stop us.
18898         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
18899         warnings, and factor out common code.
18901 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
18903         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
18904         two-character operators and whether the character preceding them
18905         changes their meaning (Bug#15208).
18907 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
18909         Format code sent to Python shell for robustness.
18910         * progmodes/python.el (python-shell-buffer-substring):
18911         New function.
18912         (python-shell-send-region, python-shell-send-buffer): Use it.
18914 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
18916         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
18917         * net/tramp.el (tramp-user-error): ... here.
18918         (tramp-find-method, tramp-check-proper-host)
18919         (tramp-dissect-file-name, tramp-debug-message)
18920         (tramp-handle-shell-command):
18921         * net/tramp-adb.el (tramp-adb-handle-shell-command):
18922         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
18924         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
18926 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
18928         * avoid.el (mouse-avoidance-point-position)
18929         (mouse-avoidance-too-close-p): Handle case where posn-at-point
18930         returns nil.
18932 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
18934         * progmodes/python.el (python-shell-completion-get-completions):
18935         Drop use of deleted `comint-last-prompt-overlay'.
18936         (python-nav-if-name-main): New command.
18938 2013-09-01  Glenn Morris  <rgm@gnu.org>
18940         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
18941         Avoid leading space in $wins.  Otherwise the sed command used by
18942         eg compile-main ends up containing "/*.el".  (Bug#15170)
18944         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
18946 2013-08-30  Glenn Morris  <rgm@gnu.org>
18948         * emacs-lisp/bytecomp.el (byte-recompile-directory):
18949         Fix is-this-a-directory logic.  (Bug#15220)
18951 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18953         * textmodes/css-mode.el: Use SMIE.
18954         (css-smie-grammar): New var.
18955         (css-smie--forward-token, css-smie--backward-token)
18956         (css-smie-rules): New functions.
18957         (css-mode): Use them.
18958         (css-navigation-syntax-table): Remove var.
18959         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
18960         (css-indent-calculate, css-indent-line): Remove functions.
18962         Misc changes to reduce use of `(lambda...); and other cleanups.
18963         * cus-edit.el: Use lexical-binding.
18964         (customize-push-and-save, customize-apropos)
18965         (custom-buffer-create-internal): Use closures.
18966         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
18967         * progmodes/ada-xref.el: Use setq.
18968         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
18969         * dframe.el: Use lexical-binding.
18970         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
18971         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
18972         * descr-text.el: Use lexical-binding.
18973         (describe-text-widget, describe-text-sexp, describe-property-list):
18974         Use closures.
18975         * comint.el (comint-history-isearch-push-state): Use a closure.
18976         * calculator.el: Use lexical-binding.
18977         (calculator-number-to-string): Make it work with lexical-binding.
18978         (calculator-funcall): Same and use cl-letf.
18980         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
18981         (lisp--company-doc-string, lisp--company-location): New functions.
18982         (lisp-completion-at-point): Use them to improve Company support.
18984         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
18985         params of lambda expressions.
18986         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
18987         (ruby-smie--opening-pipe-p): New function.
18988         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
18989         symbols and matched |...| for formal params.
18990         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
18991         from being treated as hanging.  Handle "rescue".
18993 2013-08-29  Glenn Morris  <rgm@gnu.org>
18995         * progmodes/cc-engine.el (c-pull-open-brace):
18996         Move definition before use.
18998 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19000         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
19001         are immutable.  Don't use `unsafe' any more.
19002         (cl--defsubst-expand): Don't substitute at the same time as keeping
19003         a residual unused let-binding.  Don't use `unsafe' any more.
19005 2013-08-29  Glenn Morris  <rgm@gnu.org>
19007         * calendar/cal-china.el (calendar-chinese-year-cache):
19008         Recenter on 2015.
19010         * nxml/nxml-util.el (nxml-debug-clear-inside):
19011         Use cl-loop rather than loop.
19013         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
19015         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
19017 2013-08-28  Glenn Morris  <rgm@gnu.org>
19019         * progmodes/antlr-mode.el: No need to require cc-mode twice.
19021         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
19023         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
19025 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19027         * simple.el (repeat-complex-command--called-interactively-skip):
19028         New function.
19029         (repeat-complex-command): Use it (bug#14136).
19031         * progmodes/cc-mode.el: Minor cleanup of var declarations.
19032         (c-define-abbrev-table): Add `doc' argument.
19033         (c-mode-abbrev-table, c++-mode-abbrev-table)
19034         (objc-mode-abbrev-table, java-mode-abbrev-table)
19035         (idl-mode-abbrev-table, pike-mode-abbrev-table)
19036         (awk-mode-abbrev-table): Use it.
19037         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
19038         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
19039         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
19040         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
19041         Move initialization into the declaration; and remove any
19042         autoload cookie.
19044         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
19045         and dynamic let binding.
19047         * vc/smerge-mode.el: Remove redundant :group args.
19049         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
19050         to load-path.
19052 2013-08-28  Juri Linkov  <juri@jurta.org>
19054         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
19055         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
19056         (isearch-other-meta-char): Handle an undefined shifted printing
19057         character by downshifting it.  (Bug#15200)
19059 2013-08-28  Juri Linkov  <juri@jurta.org>
19061         * isearch.el (isearch-search): Change regexp error message for
19062         non-regexp searches.  (Bug#15166)
19064 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
19066         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
19067         for portability to hosts where /bin/sh has problems.
19069 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19071         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
19073 2013-08-27  Juri Linkov  <juri@jurta.org>
19075         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
19076         in the keyboard macro.  (Bug#15126)
19078 2013-08-27  Juri Linkov  <juri@jurta.org>
19080         * isearch.el (isearch-quote-char): Comment out converting unibyte
19081         to multibyte, thus syncing with its `quoted-insert' counterpart.
19082         (Bug#15166)
19084 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
19086         * window.el (display-buffer-use-some-window): Add missing
19087         argument in call of get-largest-window (Bug#15185).
19088         Reported by Stephen Leake.
19090 2013-08-27  Glenn Morris  <rgm@gnu.org>
19092         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
19094 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19096         * progmodes/python.el (python-font-lock-keywords): Don't return nil
19097         from a matcher-function unless there's no more matches (bug#15161).
19099 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
19101         * minibuffer.el: Revert change from 2013-08-20.
19103         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
19104         with text property `tramp-default', if appropriate.
19105         (tramp-check-proper-host): New defun.
19106         (tramp-dissect-file-name): Do not check hostname.  Revert change
19107         of 2013-03-18.
19108         (tramp-backtrace): Make VEC-OR-PROC optional.
19110         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
19111         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19112         * net/tramp-sh.el (tramp-maybe-open-connection):
19113         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
19114         Apply `tramp-check-proper-host'.
19116 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
19118         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
19119         lambda expression in order to have `describe-variable' display it.
19121 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
19123         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
19124         BUF can be optional.  (Bug#15186)
19126 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
19128         * progmodes/flymake.el (flymake-get-real-file-name-function):
19129         Fix broken customization.  (Bug#15184)
19131 2013-08-25  Alan Mackenzie  <acm@muc.de>
19133         Improve indentation of bracelists defined by macros (without "=").
19135         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
19136         expansion begins with "{", regard it as bracelist when it doesn't
19137         contain a ";".
19139         Parse C++ inher-intro when there's a template split over 2 lines.
19141         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
19142         rigorously the search for "class" etc. followed by ":".
19144         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
19145         random languages a regexp which never matches rather than nil.
19147         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
19149         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
19150         (c-awk-regexp-one-line-possibly-open-char-list-re)
19151         (c-awk-one-line-possibly-open-regexp-re)
19152         (c-awk-one-line-non-syn-ws*-re): Remove.
19153         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
19154         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
19155         (c-awk-space*-unclosed-regexp-/-re): New constants.
19156         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
19157         aren't regexp delimiters.
19159         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
19160         handling for a rare situation in AWK Mode involving unterminated
19161         strings/regexps.
19163 2013-08-23  Glenn Morris  <rgm@gnu.org>
19165         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
19167         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
19169         * files.el (create-file-buffer): If the result would begin with
19170         spaces, prepend a "|" instead of removing them.  (Bug#15162)
19172 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19174         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
19175         text-properties (bug#15155).
19177         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
19178         exist any more.
19179         (calc-keypad-redraw): Remove unused var `pad'.
19180         (calc-keypad-press): Remove unused var `menu'.
19182 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
19184         * window.el (display-buffer-pop-up-frame):
19185         Call pop-up-frame-function with BUFFER current so `make-frame' will
19186         use it as the new frame's buffer (Bug#15133).
19188 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19190         * calendar/timeclock.el: Minor cleanups.
19191         (timeclock-ask-before-exiting, timeclock-use-display-time):
19192         Use `symbol'.
19193         (timeclock-modeline-display): Define as alias before the
19194         actual definition.
19195         (timeclock-mode-line-display): Use define-minor-mode.
19196         (timeclock-day-list-template): Make it a function, add an argument.
19197         (timeclock-day-list-required, timeclock-day-list-length)
19198         (timeclock-day-list-debt, timeclock-day-list-span)
19199         (timeclock-day-list-break): Adjust calls accordingly.
19201 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19203         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
19204         Use read--expression so that completion works again.
19206 2013-08-21  Sam Steingold  <sds@gnu.org>
19208         Add rudimentary inferior shell interaction
19209         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
19210         (sh-set-shell): Reset it.
19211         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
19212         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
19214 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19216         * align.el: Use lexical-binding.
19217         (align-region): Simplify accordingly.
19219 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
19221         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
19223         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
19224         `non-essential' up.
19226 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
19228         * net/tramp.el:
19229         * net/tramp-adb.el:
19230         * net/tramp-cmds.el:
19231         * net/tramp-ftp.el:
19232         * net/tramp-gvfs.el:
19233         * net/tramp-gw.el:
19234         * net/tramp-sh.el: Don't wrap external variable declarations by
19235         `eval-when-compile'.
19237 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19239         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
19240         now that Emacs supports ImageMagick animations.
19242 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
19244         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
19245         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
19247 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
19249         * window.el (mouse-autoselect-window-select): Do autoselect when
19250         mouse pointer is on margin.
19252 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
19254         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
19256 2013-08-16  Glenn Morris  <rgm@gnu.org>
19258         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
19259         Handle "Remote Directory" response of some clients.  (Bug#15058)
19261         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
19262         Tweak warning.  (Bug#14926)
19264         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
19265         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
19267         * image-mode.el (image-mode-map): Add menu items to reverse,
19268         increase, decrease, reset animation speed.
19269         (image--set-speed, image-increase-speed, image-decrease-speed)
19270         (image-reverse-speed, image-reset-speed): New functions.
19271         (image-mode-map): Add bindings for speed commands.
19273         * image.el (image-animate-get-speed, image-animate-set-speed):
19274         New functions.
19275         (image-animate-timeout): Respect image :speed property.
19277 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19279         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
19280         previous line (bug#15101).
19281         (debugger-eval-expression, debugger-record-expression):
19282         Use read--expression (bug#15102).
19284 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
19286         Remove byte compiler warnings, visible when compiling with
19287         `byte-compile-force-lexical-warnings' set to t.
19289         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
19290         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
19291         (tramp-handle-unhandled-file-name-directory)
19292         (tramp-handle-file-notify-add-watch, tramp-action-login)
19293         (tramp-action-succeed, tramp-action-permission-denied)
19294         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
19295         arguments with "_".
19297         * net/tramp-adb.el (tramp-adb-parse-device-names)
19298         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
19299         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
19300         (tramp-adb-handle-file-truename): Remove unused arguments.
19302         * net/tramp-cache.el (tramp-flush-directory-property)
19303         (tramp-flush-connection-property, tramp-list-connections)
19304         (tramp-parse-connection-properties): Prefix unused arguments with "_".
19306         * net/tramp-compat.el (tramp-compat-make-temp-file):
19307         Rename FILENAME to F.
19309         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
19310         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
19311         (tramp-zeroconf-parse-workstation-device-names)
19312         (tramp-zeroconf-parse-webdav-device-names)
19313         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
19315         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
19316         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
19318         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
19319         arguments.
19320         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
19321         (tramp-sh-handle-insert-file-contents-literally)
19322         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
19323         with "_".
19324         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
19325         Remove unused variables.
19327         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
19328         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
19329         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
19331         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
19332         Make them a defconst.
19333         (tramp-uuencode-region): Remove unused variable.
19335 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
19337         * frameset.el (frameset--prop-setter): New function.
19338         (frameset-prop): Add gv-setter declaration.
19339         (frameset-filter-minibuffer): Deal with the case that the minibuffer
19340         parameter was already set in FILTERED.  Doc fix.
19341         (frameset--record-minibuffer-relationships): Allow saving a
19342         minibufferless frame without its corresponding minibuffer frame.
19343         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
19344         frame, if the frame id matches.
19345         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
19346         frames before orphaned ones.
19347         (frameset-restore): Warn about orphaned windows, instead of error out.
19349 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
19351         * window.el (window-make-atom): Don't overwrite parameter
19352         already present.
19353         (display-buffer-in-atom-window): Handle special case where we
19354         split an already atomic window.
19355         (window--major-non-side-window, display-buffer-in-side-window)
19356         (window--side-check): Ignore minibuffer window when walking
19357         window tree.
19358         (window-deletable-p): Return 'frame only if no other frame uses
19359         our minibuffer window.
19360         (record-window-buffer): Run buffer-list-update-hook.
19361         (split-window): Make sure window--check-frame won't destroy an
19362         existing atomic window in case the new window gets nested
19363         inside.
19364         (display-buffer-at-bottom): Ignore minibuffer window when
19365         walking window tree.  Don't split a side window.
19366         (pop-to-buffer): Don't set-buffer here, the select-window call
19367         should do that.
19368         (mouse-autoselect-window-select): Autoselect only if we are in the
19369         text portion of the window.
19371 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19373         * net/shr.el (shr-parse-image-data): New function to grab both the
19374         data itself and the Content-Type.
19375         (shr-put-image): Use it.
19377         * net/eww.el (eww-display-image): Ditto.
19379         * image.el (image-content-type-suffixes): New variable.
19381 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
19383         * progmodes/python.el (python-imenu--build-tree)
19384         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
19386 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
19388         * simple.el (backward-word): Mention the optional argument.
19390 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19392         * frameset.el (frameset--make): Rename constructor from make-frameset.
19393         (frameset-p, frameset-valid-p): Don't autoload.
19394         (frameset-valid-p): Use normal accessors.
19396 2013-08-13  Glenn Morris  <rgm@gnu.org>
19398         * progmodes/compile.el (compile-command): Tweak example in doc.
19399         * obsolete/scribe.el (scribe-mode):
19400         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
19402         * mail/feedmail.el (feedmail-confirm-outgoing)
19403         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
19405         * cus-start.el (truncate-partial-width-windows): Fix type.
19407         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
19409         * net/shr.el (shr-table-horizontal-line): Fix custom type.
19411 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19413         * emacs-lisp/timer.el (timer--time-setter): New function.
19414         (timer--time): Use it as gv-setter.
19416         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
19417         setter is not a symbol.
19419 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
19421         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
19422         if sending fails.  This makes debugging easier.
19424 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
19426         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
19427         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
19428         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
19430 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
19432         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
19434 2013-08-12  Glenn Morris  <rgm@gnu.org>
19436         * format.el (format-annotate-function):
19437         Handle read-only text properties in the source.  (Bug#14887)
19439 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19441         * net/eww.el (eww-display-html): Ignore coding system errors.
19442         One web site uses "utf-8lias" as the coding system.
19444 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
19446         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
19448 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
19450         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
19451         (tutorial--detailed-help): Remove unused local variables.
19452         (tutorial--save-tutorial-to): Use ignore-errors.
19453         (help-with-tutorial): Use looking-at-p.
19455         * view.el (view-buffer-other-window, view-buffer-other-frame):
19456         Mark unused arguments.
19458         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
19459         (woman-select-symbol-fonts, woman, woman-find-file)
19460         (woman-insert-file-contents, woman-non-underline-faces):
19461         Use string-match-p.
19462         (woman1-unquote): Move declaration.
19464         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
19465         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
19466         argument.  Remove unused local variable.
19467         (xml-parse-elem-type): Use string-match-p.
19468         (xml-substitute-numeric-entities): Use ignore-errors.
19470         * calculator.el (calculator): Mark unused argument.
19471         (calculator-paste, calculator-quit, calculator-integer-p):
19472         Use ignore-errors.
19473         (calculator-string-to-number, calculator-decimal, calculator-exp)
19474         (calculator-op-or-exp): Use string-match-p.
19476         * dired.el (dired-buffer-more-recently-used-p): Declare.
19477         (dired-insert-set-properties, dired-insert-old-subdirs):
19478         Use ignore-errors.
19480         * dired-aux.el (dired-compress): Use ignore-errors.
19481         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
19482         (dired-do-async-shell-command, dired-do-shell-command)
19483         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
19484         (dired-insert-subdir-validate): Use string-match-p.
19485         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19486         (dired-add-entry): Use string-match-p, looking-at-p.
19487         (dired-insert-subdir-newpos): Remove unused local variable.
19489         * filenotify.el (file-notify-callback): Remove unused local variable.
19491         * filesets.el (filesets-error): Mark unused argument.
19492         (filesets-which-command-p, filesets-filter-dir-names)
19493         (filesets-directory-files, filesets-get-external-viewer)
19494         (filesets-ingroup-get-data): Use string-match-p.
19496         * find-file.el (ff-other-file-name, ff-other-file-name)
19497         (ff-find-the-other-file, ff-cc-hh-converter):
19498         Remove unused local variables.
19499         (ff-get-file-name): Use string-match-p.
19500         (ff-all-dirs-under): Use ignore-errors.
19502         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19503         (follow-select-if-visible): Remove unused local variable.
19505         * forms.el (read-file-filter): Move declaration.
19506         (forms--make-format, forms--make-parser, forms-insert-record):
19507         Quote function with #'.
19508         (forms--update): Use string-match-p.  Quote function with #'.
19510         * help-mode.el (help-dir-local-var-def): Mark unused argument.
19511         (help-make-xrefs): Use looking-at-p.
19512         (help-xref-on-pp): Use looking-at-p, ignore-errors.
19514         * ibuffer.el (ibuffer-ext-visible-p): Declare.
19515         (ibuffer-confirm-operation-on): Use string-match-p.
19517         * msb.el (msb-item-handler, msb-dired-item-handler):
19518         Mark unused arguments.
19520         * ses.el (ses-decode-cell-symbol)
19521         (ses-kill-override): Remove unused local variable.
19522         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19523         (ses-load): Use ignore-errors, looking-at-p.
19524         (ses-jump-safe): Use ignore-errors.
19525         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19527         * tabify.el (untabify, tabify): Mark unused arguments.
19529         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19530         Mark unused argument.
19531         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19532         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19534         * emacs-lisp/timer.el (timer--time): Define setter with
19535         gv-define-setter to avoid deprecation warning.
19537         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19538         (*record-cmpl-statistics-p*): Remove (was commented out).
19539         (cmpl-statistics-block): Remove (body was commented out).
19540         All callers changed.
19541         (add-completions-from-buffer, load-completions-from-file):
19542         Remove unused variables.
19544 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
19546         * filecache.el (file-cache-delete-file-list):
19547         Print message only when told so.
19548         (file-cache-files-matching): Use #' in mapconcat argument.
19550         * ffap.el (ffap-url-at-point): Fix reference to variable
19551         thing-at-point-default-mail-uri-scheme.
19553 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19555         * subr.el (define-error): New function.
19556         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19557         error-file-not-found and define with define-error.
19558         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19559         and define with define-error.
19560         * userlock.el (file-locked, file-supersession):
19561         * simple.el (mark-inactive):
19562         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19563         * progmodes/ada-mode.el (ada-mode-errors):
19564         * play/life.el (life-extinct):
19565         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19566         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19567         * nxml/rng-util.el (rng-error):
19568         * nxml/rng-uri.el (rng-uri-error):
19569         * nxml/rng-match.el (rng-compile-error):
19570         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19571         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19572         * nxml/nxml-rap.el (nxml-scan-error):
19573         * nxml/nxml-outln.el (nxml-outline-error):
19574         * net/soap-client.el (soap-error):
19575         * net/gnutls.el (gnutls-error):
19576         * net/ange-ftp.el (ftp-error):
19577         * mpc.el (mpc-proc-error):
19578         * json.el (json-error, json-readtable-error, json-unknown-keyword)
19579         (json-number-format, json-string-escape, json-string-format)
19580         (json-key-format, json-object-format):
19581         * jka-compr.el (compression-error):
19582         * international/quail.el (quail-error):
19583         * international/kkc.el (kkc-error):
19584         * emacs-lisp/ert.el (ert-test-failed):
19585         * calc/calc.el (calc-error, inexact-result, math-overflow)
19586         (math-underflow):
19587         * bookmark.el (bookmark-error-no-filename):
19588         * epg.el (epg-error): Define with define-error.
19590         * time.el (display-time-event-handler)
19591         (display-time-next-load-average): Don't call sit-for since it seems
19592         unnecessary (bug#15045).
19594         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19595         Use #' instead of ' to quote functions.
19596         (checkdoc-output-mode): Use setq-local.
19597         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19598         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19599         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19600         (checkdoc-ispell, checkdoc-ispell-current-buffer)
19601         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19602         (checkdoc-ispell-message-text, checkdoc-ispell-start)
19603         (checkdoc-ispell-continue, checkdoc-ispell-comments)
19604         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19606         * ido.el (ido-completion-help): Fix up compiler warning.
19608 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
19610         * frameset.el (frameset-p): Add autoload cookie.
19611         (frameset--jump-to-register): New function, based on code moved from
19612         register.el.
19613         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
19615         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19616         (frameset-restore, frameset-save, frameset-session-filter-alist):
19617         Remove declarations.
19618         (register-alist): Doc fix.
19619         (frameset-to-register): Move to frameset.el.
19620         (jump-to-register, describe-register-1): Remove frameset-specific code.
19622 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
19624         * allout-widgets.el (allout-widgets-pre-command-business)
19625         (allout-widgets-post-command-business)
19626         (allout-widgets-after-change-handler)
19627         (allout-decorate-item-and-context, allout-set-boundary-marker)
19628         (allout-body-modification-handler)
19629         (allout-graphics-modification-handler): Mark ignored arguments.
19630         (allout-widgets-post-command-business)
19631         (allout-widgets-exposure-change-processor)
19632         (allout-widgets-exposure-undo-processor)
19633         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19634         (allout-parse-item-at-point, allout-decorate-item-guides)
19635         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19636         * allout.el (epa-passphrase-callback-function): Declare.
19637         (allout-overlay-insert-in-front-handler)
19638         (allout-overlay-interior-modification-handler)
19639         (allout-isearch-end-handler, allout-chart-siblings)
19640         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
19641         (allout-yank-processing, allout-process-exposed)
19642         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
19643         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
19644         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
19645         (lisp-indent-defform): Mark ignored arguments.
19646         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
19647         (calculate-lisp-indent): Remove unused variables.
19648         * international/characters.el (indian-2-column, arabic-2-column)
19649         (tibetan): Mark ignored arguments.
19650         (use-cjk-char-width-table): Mark ignored arguments.
19651         Remove unused variables.
19652         * international/fontset.el (build-default-fontset-data)
19653         (x-compose-font-name, create-fontset-from-fontset-spec):
19654         Mark ignored arguments.
19655         (fontset-plain-name): Remove unused variables.
19656         * international/mule.el (charset-id, charset-bytes, generic-char-p)
19657         (keyboard-coding-system): Mark ignored arguments.
19658         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
19659         * help.el (resize-temp-buffer-window):
19660         * window.el (display-buffer-in-major-side-window)
19661         (display-buffer-in-side-window, display-buffer-in-previous-window):
19662         Remove unused variables.
19663         * isearch.el (isearch-forward-symbol):
19664         * version.el (emacs-bzr-version-bzr):
19665         * international/mule-cmds.el (current-language-environment):
19666         * term/common-win.el (x-handle-iconic, x-handle-geometry)
19667         (x-handle-display):
19668         * term/pc-win.el (x-list-fonts, x-display-planes)
19669         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
19670         (x-server-version, x-display-screens, x-display-mm-height)
19671         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
19672         (x-selection-owner-p, x-own-selection-internal)
19673         (x-disown-selection-internal, x-get-selection-internal)
19674         (msdos-initialize-window-system):
19675         * term/tty-colors.el (tty-color-alist, tty-color-clear):
19676         * term/x-win.el (x-handle-no-bitmap-icon):
19677         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
19678         (vc-default-find-file-hook, vc-default-extra-menu):
19679         Mark ignored arguments.
19681 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19683         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
19684         break-condition in the context of the debugged code (bug#12685).
19686 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
19688         * comint.el:
19689         Do not use an overlay to highlight the last prompt.  (Bug#14744)
19690         (comint-mode): Make comint-last-prompt buffer local.
19691         (comint-last-prompt): New variable.
19692         (comint-last-prompt-overlay): Remove.  Superseded by
19693         comint-last-prompt.
19694         (comint-snapshot-last-prompt, comint-output-filter):
19695         Use comint-last-prompt.
19697 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
19699         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
19700         (frameset-save): Check validity of the resulting frameset.
19702 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
19704         * ido.el (ido-record-command): Add doc string.
19706 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
19708         * frameset.el (frameset): Do not disable creation of the default
19709         frameset-p predicate.  Doc fix.
19710         (frameset-valid-p): New function, copied from the old predicate-p.
19711         Add additional checks.
19712         (frameset-restore): Check with frameset-valid-p.
19713         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
19714         (frameset-name, frameset-description, frameset-properties)
19715         (frameset-states): Add docstring.
19716         (frameset-session-filter-alist, frameset-persistent-filter-alist)
19717         (frameset-filter-alist): Doc fixes.
19719 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
19721         * frameset.el (frameset-p, frameset-prop): Doc fixes.
19723 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19725         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19726         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
19727         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
19728         (byte-compile-normal-call): Remove obsolescence check.
19730 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
19732         * frameset.el (frameset-restore): Doc fix.
19734         * register.el (frameset-frame-id, frameset-frame-with-id)
19735         (frameset-p, frameset-restore, frameset-save): Declare.
19736         (register-alist): Document framesets.
19737         (frameset-session-filter-alist): Declare.
19738         (frameset-to-register): New function.
19739         (jump-to-register): Implement jumping to framesets.  Doc fix.
19740         (describe-register-1): Describe framesets.
19742         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
19744 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
19746         * desktop.el (desktop-save-frameset): Use new frameset-save args.
19747         Use lexical-binding.
19749         * frameset.el (frameset): Use type vector, not list (incompatible
19750         change).  Do not declare a new constructor, use the default one.
19751         Upgrade suggested properties `app', `name' and `desc' to slots `app',
19752         `name' and `description', respectively, and add read-only slot
19753         `timestamp'.  Doc fixes.
19754         (frameset-copy, frameset-persistent-filter-alist)
19755         (frameset-filter-alist, frameset-switch-to-gui-p)
19756         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
19757         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
19758         (frameset-filter-iconified, frameset-keep-original-display-p):
19759         Doc fixes.
19760         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
19761         Rename from frameset-filter-(save|restore)-param.  All callers changed.
19762         Doc fix.
19763         (frameset-p): Adapt to change to vector and be more thorough.
19764         Change arg name to OBJECT.  Doc fix.
19765         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
19766         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
19767         All callers changed.
19768         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
19769         All callers changed.
19770         (frameset--record-minibuffer-relationships): Rename from
19771         frameset--process-minibuffer-frames.  All callers changed.
19772         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
19773         Use new default constructor (again).  Doc fix.
19774         (frameset--find-frame-if): Rename from `frameset--find-frame'.
19775         All callers changed.
19776         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
19777         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
19778         Doc fix.
19779         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
19780         PARAMETERS and WINDOW-STATE, respectively.
19781         (frameset-restore): Add new keyword argument PREDICATE.
19782         Reset frameset--target-display to nil.  Doc fix.
19784 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
19786         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
19787         (bat-mode): Use it.
19788         (bat-mode-syntax-table): Mark \n as end-of-comment.
19789         (bat-font-lock-keywords): Remove comment rule.
19791         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
19792         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
19794         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
19795         (byte-compile-callargs-warn): Use `push'.
19796         (byte-compile-arglist-warn): Ignore higher-order "calls".
19797         (byte-compile-file-form-autoload): Use `pcase'.
19798         (byte-compile-function-form): If quoting a symbol, check that it exists.
19800 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
19802         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
19803         and add a few popular commands found in batch files.
19804         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
19805         (dos-mode): Doc fixes.
19807 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
19809         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
19810         (dos-mode): Use setq-local.  Add space after "rem".
19811         (dos-mode-syntax-table): Don't use "w" for symbol chars.
19812         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
19814 2013-08-07  Arni Magnusson  <arnima@hafro.is>
19816         * progmodes/dos.el: New file.
19817         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
19818         dos-mode.
19820 2013-08-06  Glenn Morris  <rgm@gnu.org>
19822         * calendar/calendar.el: Add new faces, and day-header-array.
19823         (calendar-weekday-header, calendar-weekend-header)
19824         (calendar-month-header): New faces.
19825         (calendar-day-header-construct): New function.
19826         (calendar-day-header-width): Also :set calendar-day-header-array.
19827         (calendar-american-month-header, calendar-european-month-header)
19828         (calendar-iso-month-header): Use calendar- faces.
19829         (calendar-generate-month):
19830         Use calendar-day-header-array for day headers; apply faces to them.
19831         (calendar-mode): Check calendar-font-lock-keywords non-nil.
19832         (calendar-abbrev-construct): Add optional maxlen argument.
19833         (calendar-day-name-array): Doc fix.
19834         (calendar-day-name-array, calendar-abbrev-length)
19835         (calendar-day-abbrev-array):
19836         Also :set calendar-day-header-array, and maybe redraw.
19837         (calendar-day-header-array): New option.  (Bug#15007)
19838         (calendar-font-lock-keywords): Set to nil and make obsolete.
19839         (calendar-day-name): Add option to use header array.
19841 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19843         * net/shr.el (shr-render-td): Remove debugging.
19844         (shr-render-td): Make width computation consistent by defaulting
19845         all zero-width columns to 10 characters.  This may not be optimal,
19846         but it's at least consistent.
19847         (shr-make-table-1): Redo last change to fix the real problem in
19848         colspan handling.
19850 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
19852         * files.el (cache-long-line-scans):
19853         Make obsolete alias to `cache-long-scans'.
19855 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
19857         * frameset.el (frameset, frameset-filter-alist)
19858         (frameset-filter-params, frameset-save, frameset--reuse-frame)
19859         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
19860         (frameset-compute-pos): Rename from frameset--compute-pos,
19861         and add docstring.
19862         (frameset-move-onscreen): Use frameset-compute-pos.
19863         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19865         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
19866         Fix typos in docstrings.
19868 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
19870         * frame.el (get-other-frame): Tiny cleanup.
19872 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
19874         * vc/vc.el (vc-default-ignore-completion-table):
19875         Silence byte-compiler warning.
19877         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
19878         slot, which can indeed be nil.
19879         (frameset-live-filter-alist, frameset-persistent-filter-alist):
19880         Move entry for `left' from persistent to live filter alist.
19881         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
19882         Doc fixes.
19883         (frameset-filter-params): When restoring a frame, copy items added to
19884         `filtered', to avoid unwittingly modifying the original parameters.
19885         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
19886         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
19888         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
19889         to use looking-at-p instead of looking-at.  (Bug#15028)
19891 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19893         Revert introduction of isearch-filter-predicates (bug#14714).
19894         Rely on add-function instead.
19895         * isearch.el (isearch-filter-predicates): Rename it back to
19896         isearch-filter-predicate.
19897         (isearch-message-prefix): Use advice-function-mapc and advice
19898         properties to get the isearch-message-prefix.
19899         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
19900         instead of run-hook-with-args-until-failure.
19901         (isearch-filter-visible): Not obsolete any more.
19902         * loadup.el: Preload nadvice.
19903         * replace.el (perform-replace): Revert to funcall
19904         instead of run-hook-with-args-until-failure.
19905         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
19906         * dired-aux.el (dired-isearch-filenames-mode): Rename from
19907         dired-isearch-filenames-toggle; make it into a proper minor mode.
19908         Use add/remove-function.
19909         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
19910         Call the minor-mode rather than add/remove-hook.
19911         (dired-isearch-filter-filenames):
19912         Remove isearch-message-prefix property.
19913         * info.el (Info--search-loop): New function, extracted from Info-search.
19914         Funcall isearch-filter-predicate instead of
19915         run-hook-with-args-until-failure isearch-filter-predicates.
19916         (Info-search): Use it.
19917         (Info-mode): Use isearch-filter-predicate instead of
19918         isearch-filter-predicates.
19920 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
19922         Do not call to `selected-window' where it is assumed by default.
19923         Affected functions are `window-minibuffer-p', `window-dedicated-p',
19924         `window-hscroll', `window-width', `window-height', `window-buffer',
19925         `window-frame', `window-start', `window-point', `next-window'
19926         and `window-display-table'.
19927         * abbrev.el (abbrev--default-expand):
19928         * bs.el (bs--show-with-configuration):
19929         * buff-menu.el (Buffer-menu-mouse-select):
19930         * calc/calc.el (calc):
19931         * calendar/calendar.el (calendar-generate-window):
19932         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
19933         (diary-make-entry):
19934         * comint.el (send-invisible, comint-dynamic-complete-filename)
19935         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
19936         * completion.el (complete):
19937         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
19938         * disp-table.el (describe-current-display-table):
19939         * doc-view.el (doc-view-insert-image):
19940         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
19941         * ehelp.el (with-electric-help):
19942         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19943         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
19944         * emacs-lisp/helper.el (Helper-help-scroller):
19945         * emulation/cua-base.el (cua--post-command-handler-1):
19946         * eshell/esh-mode.el (eshell-output-filter):
19947         * ffap.el (ffap-gnus-wrapper):
19948         * help-macro.el (make-help-screen):
19949         * hilit-chg.el (highlight-compare-buffers):
19950         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
19951         * hl-line.el (global-hl-line-highlight):
19952         * icomplete.el (icomplete-simple-completing-p):
19953         * isearch.el (isearch-done):
19954         * jit-lock.el (jit-lock-stealth-fontify):
19955         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
19956         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
19957         * mpc.el (mpc-tagbrowser, mpc):
19958         * net/rcirc.el (rcirc-any-buffer):
19959         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
19960         * play/landmark.el (landmark-max-width, landmark-max-height):
19961         * play/zone.el (zone):
19962         * progmodes/compile.el (compilation-goto-locus):
19963         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19964         * progmodes/etags.el (find-tag-other-window):
19965         * progmodes/fortran.el (fortran-column-ruler):
19966         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
19967         * progmodes/verilog-mode.el (verilog-point-text):
19968         * reposition.el (reposition-window):
19969         * rot13.el (toggle-rot13-mode):
19970         * server.el (server-switch-buffer):
19971         * shell.el (shell-dynamic-complete-command)
19972         (shell-dynamic-complete-environment-variable):
19973         * simple.el (insert-buffer, set-selective-display)
19974         (delete-completion-window):
19975         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
19976         (speedbar-recenter):
19977         * startup.el (fancy-splash-head):
19978         * textmodes/ispell.el (ispell-command-loop):
19979         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
19980         * tutorial.el (help-with-tutorial):
19981         * vc/add-log.el (add-change-log-entry):
19982         * vc/compare-w.el (compare-windows):
19983         * vc/ediff-help.el (ediff-indent-help-message):
19984         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
19985         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
19986         (ediff-setup-control-frame):
19987         * vc/emerge.el (emerge-position-region):
19988         * vc/pcvs-util.el (cvs-bury-buffer):
19989         * window.el (walk-windows, mouse-autoselect-window-select):
19990         * winner.el (winner-set-conf, winner-undo): Related users changed.
19992 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
19994         * frameset.el (frameset--set-id): Doc fix.
19995         (frameset-frame-id, frameset-frame-id-equal-p)
19996         (frameset-locate-frame-id): New functions.
19997         (frameset--process-minibuffer-frames, frameset--reuse-frame)
19998         (frameset-restore): Use them.
20000 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
20002         Do not call to `selected-frame' where it is assumed by default.
20003         Affected functions are `raise-frame', `redraw-frame',
20004         `frame-first-window', `frame-terminal' and `delete-frame'.
20005         * calendar/appt.el (appt-disp-window):
20006         * epg.el (epg-wait-for-completion):
20007         * follow.el (follow-delete-other-windows-and-split)
20008         (follow-avoid-tail-recenter):
20009         * international/mule.el (set-terminal-coding-system):
20010         * mail/rmail.el (rmail-mail-return):
20011         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
20012         * progmodes/f90.el (f90-add-imenu-menu):
20013         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
20014         * server.el (server-switch-buffer):
20015         * simple.el (delete-completion-window):
20016         * talk.el (talk):
20017         * term/xterm.el (terminal-init-xterm-modify-other-keys)
20018         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
20019         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
20020         * vc/ediff.el (ediff-documentation): Related users changed.
20021         * frame.el (selected-terminal): Remove the leftover.
20023 2013-08-05  Glenn Morris  <rgm@gnu.org>
20025         * calendar/calendar.el (calendar-generate-month):
20026         Fix for calendar-column-width != 1 + calendar-day-digit-width.
20027         (calendar-generate-month, calendar-font-lock-keywords):
20028         Fix for calendar-day-header-width > length of any day name.
20030 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
20032         * desktop.el (desktop-clear): Use new name of sort predicate.
20034         * frameset.el (frameset): Add docstring.  Move :version property to its
20035         own `version' slot.
20036         (frameset-copy): Rename from copy-frameset.
20037         (frameset-p): Check more thoroughly.
20038         (frameset-prop): Do not check for :version, which is no longer a prop.
20039         (frameset-live-filter-alist, frameset-persistent-filter-alist):
20040         Use new :never value instead of t.
20041         (frameset-filter-alist): Expand and clarify docstring.
20042         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
20043         (frameset-filter-minibuffer, frameset-filter-save-param)
20044         (frameset-filter-restore-param, frameset-filter-iconified):
20045         Add pointer to docstring of frameset-filter-alist.
20046         (frameset-filter-params): Rename filter values to be more meaningful:
20047         :never instead of t, and reverse the meanings of :save and :restore.
20048         (frameset--process-minibuffer-frames): Clarify error message.
20049         (frameset-save): Avoid unnecessary and confusing call to framep.
20050         Use new BOA constructor for framesets.
20051         (frameset--reuse-list): Doc fix.
20052         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
20053         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
20054         (frameset-minibufferless-first-p): Doc fix.
20055         Rename from frameset-sort-frames-for-deletion.
20056         (frameset-restore): Doc fixes.  Use new function names.
20057         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
20059 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
20061         * desktop.el (desktop-restore-forces-onscreen)
20062         (desktop-restore-reuses-frames): Document :keyword constant values.
20063         (desktop-filter-parameters-alist): Remove, now identical to
20064         frameset-filter-alist.
20065         (desktop--filter-tty*): Remove, moved to frameset.el.
20066         (desktop-save-frameset, desktop-restore-frameset):
20067         Do not pass :filters argument.
20069         * frameset.el (frameset-live-filter-alist)
20070         (frameset-persistent-filter-alist): New variables.
20071         (frameset-filter-alist): Use them.  Add autoload cookie.
20072         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
20073         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
20074         `frameset--id' (it's supposed to be internal to frameset.el).
20075         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
20076         (frameset--initial-params): New function.
20077         (frameset--get-frame): Use it.  Doc fix.
20078         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
20079         Accept :all, not 'all.
20080         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
20081         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
20082         with fbound symbols.  Fix frame id matching, and remove matching ids if
20083         the frame being restored is deleted.  Obey :delete.
20085 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20087         * subr.el (macrop): New function.
20088         (text-clone--maintaining): New var.
20089         (text-clone--maintain): Rename from text-clone-maintain.  Use it
20090         instead of inhibit-modification-hooks.
20092         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
20093         a proxy, so as handle autoloads and redefinitions of the target.
20094         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
20096         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
20097         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
20098         (pcase--mutually-exclusive-p): New function.
20099         (pcase--split-consp): Use it.
20100         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
20101         mutually exclusive with the current predicate.
20103         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
20104         (edebug-macrop): Remove.  Use `macrop' instead.
20105         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
20106         (ad-macro-p):
20107         * eshell/esh-cmd.el (eshell-macrop):
20108         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
20110 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20112         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
20113         (advice-mapc): New function, using it.
20114         (advice-function-member-p): New function.
20115         (advice--normalize): Store the cdr in advice--saved-rewrite since
20116         that's the part that will be changed.
20117         (advice--symbol-function): New function.
20118         (advice-remove): Handle removal before the function is defined.
20119         Adjust to new advice--saved-rewrite.
20120         (advice-member-p): Use advice-function-member-p and
20121         advice--symbol-function.
20123 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
20125         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
20126         (frameset-filter-minibuffer): Doc fix.
20127         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
20128         (frameset--set-id, frameset--process-minibuffer-frames)
20129         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
20130         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
20132         * desktop.el (desktop-clear): Only delete frames when called
20133         interactively and desktop-restore-frames is non-nil.  Doc fix.
20134         (desktop-read): Set desktop-saved-frameset to nil.
20136 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
20138         * vc/vc.el (vc-ignore): Rewrite.
20139         (vc-default-ignore-completion-table, vc--read-lines)
20140         (vc--add-line, vc--remove-regexp): New functions.
20142         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
20143         (vc-svn-ignore-completion-table): New function.
20145         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
20146         (vc-hg-ignore-completion-table)
20147         (vc-hg-find-ignore-file): New functions.
20149         * vc/vc-git.el (vc-git-ignore): Rewrite.
20150         (vc-git-ignore-completion-table)
20151         (vc-git-find-ignore-file): New functions.
20153         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
20155         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
20156         (vc-bzr-ignore-completion-table)
20157         (vc-bzr-find-ignore-file): New functions.
20159 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
20161         * frameset.el (frameset-prop): New function and setter.
20162         (frameset-save): Do not modify frame list passed by the caller.
20164 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
20166         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
20168 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
20170         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
20171         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
20173         * custom.el (custom-initialize-default, custom-initialize-set)
20174         (custom-initialize-reset, custom-initialize-changed): Affect the
20175         toplevel-default-value (bug#6275, bug#14586).
20176         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
20177         for bug#6275.
20179 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
20181         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
20182         Add cl-def* expressions.
20184         * frameset.el (frameset-filter-params): Fix order of arguments.
20186 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
20188         Move code related to saving frames to frameset.el.
20189         * desktop.el: Require frameset.
20190         (desktop-restore-frames): Doc fix.
20191         (desktop-restore-reuses-frames): Rename from
20192         desktop-restoring-reuses-frames.
20193         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
20194         (desktop-clear): Clear frames too.
20195         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
20196         (desktop--filter-tty*, desktop-save, desktop-read):
20197         Use frameset functions.
20198         (desktop-before-saving-frames-functions, desktop--filter-*-color)
20199         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20200         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
20201         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
20202         (desktop--process-minibuffer-frames, desktop-save-frames)
20203         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
20204         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
20205         (desktop--sort-states, desktop-restoring-frames-p)
20206         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
20207         (desktop-restoring-frameset-p, desktop-restore-frameset)
20208         (desktop--check-dont-save, desktop-save-frameset): New functions.
20209         (desktop--app-id): New constant.
20210         (desktop-first-buffer, desktop-buffer-ok-count)
20211         (desktop-buffer-fail-count): Move before first use.
20212         * frameset.el: New file.
20214 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20216         * files.el: Use lexical-binding.
20217         (dir-locals-read-from-file): Remove unused `err' variable.
20218         (hack-dir-local-variables--warned-coding): New var.
20219         (hack-dir-local-variables): Use it to avoid repeated warnings.
20220         (make-backup-file-name--default-function): New function.
20221         (make-backup-file-name-function): Use it as default.
20222         (buffer-stale--default-function): New function.
20223         (buffer-stale-function): Use it as default.
20224         (revert-buffer-insert-file-contents--default-function): New function.
20225         (revert-buffer-insert-file-contents-function): Use it as default.
20226         (insert-directory): Avoid add-to-list.
20228         * autorevert.el (auto-revert-handler): Simplify.
20229         Use buffer-stale--default-function.
20231 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
20233         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
20235         * whitespace.el (whitespace-ensure-local-variables): New function.
20236         (whitespace-cleanup-region): Call it.
20237         (whitespace-turn-on): Call it.
20239 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
20241         Complete file name handlers.
20243         * net/tramp.el (tramp-handle-set-visited-file-modtime)
20244         (tramp-handle-verify-visited-file-modtime)
20245         (tramp-handle-file-notify-rm-watch): New functions.
20246         (tramp-call-process): Do not bind `default-directory'.
20248         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20249         Order alphabetically.
20250         <access-file, add-name-to-file, dired-call-process>:
20251         <dired-compress-file, file-acl, file-notify-rm-watch>:
20252         <file-ownership-preserved-p, file-selinux-context>:
20253         <make-directory-internal, make-symbolic-link, set-file-acl>:
20254         <set-file-selinux-context, set-visited-file-modtime>:
20255         <verify-visited-file-modtime>: Add handler.
20256         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
20258         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
20259         <file-notify-add-watch, file-notify-rm-watch>:
20260         <set-file-times, set-visited-file-modtime>:
20261         <verify-visited-file-modtime>: Add handler.
20262         (with-tramp-gvfs-error-message)
20263         (tramp-gvfs-handle-set-visited-file-modtime)
20264         (tramp-gvfs-fuse-file-name): Remove.
20265         (tramp-gvfs-handle-file-notify-add-watch)
20266         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
20267         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
20269         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20270         Order alphabetically.
20271         <file-notify-rm-watch>: Use default Tramp handler.
20272         <executable-find>: Remove private handler.
20273         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
20274         `default-directory'.
20275         (tramp-sh-handle-executable-find)
20276         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
20277         (tramp-sh-file-gvfs-monitor-dir-process-filter)
20278         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
20279         Do not use `format' in `tramp-message'.
20281         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
20282         <file-notify-rm-watch, set-visited-file-modtime>:
20283         <verify-visited-file-modtime>: Add handler.
20284         (tramp-smb-call-winexe): Do not bind `default-directory'.
20286 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
20288         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
20290 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
20292         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
20293         use it.
20294         (log-view-diff-changeset): Same.
20295         (log-view-diff-common): Call backend command `previous-revision'
20296         to find out the previous revision, in both cases.  Swap the
20297         variables `to' and `fr', so that `fr' usually refers to the
20298         earlier revision (Bug#14989).
20300 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
20302         * ibuf-ext.el (ibuffer-filter-by-filename):
20303         Make it work with dired buffers too.
20305 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
20307         * emacs-lisp/re-builder.el (reb-color-display-p):
20308         * files.el (save-buffers-kill-terminal):
20309         * net/browse-url.el (browse-url):
20310         * server.el (server-save-buffers-kill-terminal):
20311         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
20312         Prefer nil to selected-frame for the first arg of frame-parameter.
20314 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
20316         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
20318 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
20320         * minibuffer.el (completion--twq-all): Try and preserve each
20321         completion's case choice (bug#14907).
20323 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20325         * net/network-stream.el (open-network-stream): Mention the new
20326         :nogreeting parameter.
20327         (network-stream-open-starttls): Use the :nogreeting parameter
20328         (bug#14938).
20330         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
20332         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
20333         more natural than popping.
20335         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
20336         (shr-urlify): Highlight under mouse.
20338 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
20340         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
20342         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
20344         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
20345         buffer for output.
20347         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
20348         point-min==1.  Fix search string.  Fix parentheses missing.
20350         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
20351         assume point-min==1.  Fix search string.  Fix parentheses missing.
20353         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
20355         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
20356         buffer for output.
20358 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
20360         * frame.el (frame-notice-user-settings): Avoid inflooping when the
20361         initial frame is minibuffer-less.  (Bug#14841)
20363 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
20365         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
20366         option.
20368         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20369         (tramp-maybe-open-connection): Use it.
20371 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
20373         * desktop.el (desktop--make-frame): Include `minibuffer' in the
20374         minimal set of parameters passed when creating a frame, because
20375         the minibuffer status of a frame cannot be changed later.
20377 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
20379         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
20380         replace-regexp-in-string and inadvertent omissions in previous change.
20381         (todo-filter-items): Ensure only file names are comma-separated in
20382         name of filtered items buffer.
20384 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
20386         * desktop.el: Optionally force offscreen frames back onscreen.
20387         (desktop-restoring-reuses-frames): New option.
20388         (desktop--compute-pos, desktop--move-onscreen): New functions.
20389         (desktop--make-frame): Use desktop--move-onscreen.
20391 2013-07-27  Alan Mackenzie  <acm@muc.de>
20393         Fontify a Java generic method as a function.
20394         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
20395         value to t.
20397 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
20399         * calendar/todo-mode.el: Add command to rename todo files.
20400         (todo-rename-file): New command.
20401         (todo-key-bindings-t): Add key binding for it.  Change the
20402         bindings of todo-filter-regexp-items(-multifile) to use `x'
20403         instead of `r', since the latter is better suited to the new
20404         renaming command.
20406 2013-07-27  Alan Mackenzie  <acm@muc.de>
20408         Make Java try-with-resources statement parse properly.
20409         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
20410         (c-block-stmt-1-2-key): New language constants/variables.
20411         * progmodes/cc-engine.el (c-beginning-of-statement-1)
20412         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
20413         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
20414         with c-block-stmt-1-2-key.
20416 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
20418         * desktop.el (desktop--make-frame): Apply most frame parameters after
20419         creating the frame to force (partially or totally) offscreen frames to
20420         be restored as such.
20422 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
20424         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
20425         (Bug#14948)
20427 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20429         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
20430         `base' arg of backtrace-frame.
20432 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
20434         * simple.el (list-processes): Doc fix.
20436 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
20438         * desktop.el (desktop--select-frame):
20439         Try harder to reuse existing frames.
20441 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20443         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
20444         (edebug-eval): Use backtrace-eval.
20445         (edebug--display, edebug--recursive-edit): Don't let-bind the
20446         edebug-outer-* vars that keep track of variables we locally let-bind.
20447         (edebug-outside-excursion): Don't restore outside values of locally
20448         let-bound vars.
20449         (edebug--display): Use user-error.
20450         (cl-lexical-debug, cl-debug-env): Remove.
20452 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
20454         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
20455         are restored to be sure that they are visible before deleting any
20456         remaining ones.
20458 2013-07-26  Matthias Meulien  <orontee@gmail.com>
20460         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
20461         vc-print-root-log.  (Bug#14948)
20463 2013-07-26  Richard Stallman  <rms@gnu.org>
20465         Add aliases for encrypting mail.
20466         * epa.el (epa-mail-aliases): New option.
20467         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
20468         Bind inhibit-read-only so read-only text doesn't ruin everything.
20469         (epa-mail-default-recipients): New subroutine broken out.
20470         Handle epa-mail-aliases.
20472 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20474         Add support for lexical variables to the debugger's `e' command.
20475         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
20476         vars, except for debugger-outer-match-data.
20477         (debugger-frame-number): Move check for "on a function call" from
20478         callers into it.  Add `skip-base' argument.
20479         (debugger-frame, debugger-frame-clear): Simplify accordingly.
20480         (debugger-env-macro): Only reset the state stored in non-variables,
20481         i.e. current-buffer and match-data.
20482         (debugger-eval-expression): Rewrite using backtrace-eval.
20483         * subr.el (internal--called-interactively-p--get-frame): Remove.
20484         (called-interactively-p):
20485         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20486         `base' arg of backtrace-frame instead.
20488 2013-07-26  Glenn Morris  <rgm@gnu.org>
20490         * align.el (align-regexp): Doc fix.  (Bug#14857)
20491         (align-region): Explicit error if subexpression missing/does not match.
20493         * simple.el (global-visual-line-mode):
20494         Do not duplicate the mode lighter.  (Bug#14858)
20496 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
20498         * window.el (display-buffer): In display-buffer bind
20499         split-window-keep-point to t, bug#14829.
20501 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
20503         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20504         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20505         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20506         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20507         Change accordingly.
20508         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20509         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20511 2013-07-25  Glenn Morris  <rgm@gnu.org>
20513         * dired-x.el (dired-mark-extension): Convert comment to doc string.
20515 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
20517         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20518         parameter to modify-frame-parameters if the value has not changed;
20519         this is a workaround for bug#14949.
20520         (desktop--make-frame): On cl-delete-if call, check parameter name,
20521         not full parameter.
20523 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
20525         * vc/vc.el (vc-ignore): New function.
20527         * vc/vc-svn.el (vc-svn-ignore): New function.
20529         * vc/vc-hg.el (vc-hg-ignore): New function.
20531         * vc/vc-git.el (vc-git-ignore): New function.
20533         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20534         (vc-dir-ignore): New function.
20536         * vc/vc-cvs.el (vc-cvs-ignore): New function.
20537         (cvs-append-to-ignore): Move here from pcvs.el.
20539         * vc/vc-bzr.el (vc-bzr-ignore): New function.
20541         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20543 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
20545         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20546         (desktop-restore-frames): Warn when deleting an existing frame failed.
20548 2013-07-24  Glenn Morris  <rgm@gnu.org>
20550         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
20552 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
20554         * filenotify.el (file-notify-supported-p):
20555         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20556         Remove functions.
20558         * autorevert.el (auto-revert-use-notify)
20559         (auto-revert-notify-add-watch):
20560         * net/tramp.el (tramp-file-name-for-operation):
20561         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20562         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20563         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20564         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20565         Remove `file-notify-supported-p' entry.
20567 2013-07-24  Glenn Morris  <rgm@gnu.org>
20569         * printing.el: Replace all uses of deleted ps-windows-system,
20570         ps-lp-system, ps-flatten-list with lpr- versions.
20572 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20574         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20575         checked with memq (bug#14935).
20577         * files.el (revert-buffer-function): Use a non-nil default.
20578         (revert-buffer-preserve-modes): Declare var to
20579         provide access to the `preserve-modes' argument.
20580         (revert-buffer): Let-bind it.
20581         (revert-buffer--default): New function, extracted from revert-buffer.
20583 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20585         * lpr.el: Signal print errors more prominently.
20586         (print-region-function): Don't default to nil.
20587         (lpr-print-region): New function, extracted from print-region-1.
20588         Check lpr's return value and signal an error in case of problem.
20589         (print-region-1): Use it.
20590         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
20591         versions instead.
20592         (ps-printer-name): Default to nil.
20593         (ps-printer-name-option): Default to lpr-printer-switch.
20594         (ps-print-region-function): Don't default to nil.
20595         (ps-postscript-code-directory): Simplify default.
20596         (ps-do-despool): Use lpr-print-region to properly check the outcome.
20597         (ps-string-list, ps-eval-switch, ps-flatten-list)
20598         (ps-flatten-list-1): Remove.
20599         (ps-multibyte-buffer): Avoid setq.
20600         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20601         (print-region-function, ps-print-region-function): Don't set them here.
20603 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
20605         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20606         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20607         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20608         (ido-decorations): Doc fix.
20610         * ansi-color.el: Fix old URL.
20612 2013-07-23  Michael R. Mauger  <michael@mauger.com>
20614         * progmodes/sql.el: Version 3.3
20615         (sql-product-alist): Improve oracle :prompt-cont-regexp.
20616         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20617         (sql-interactive-remove-continuation-prompt): Rewrite, use
20618         functions above.  Fix continuation prompt and complete output line
20619         handling.
20620         (sql-redirect-one, sql-execute): Use `read-only-mode' on
20621         redirected output buffer.
20622         (sql-mode): Restore deleted code (Bug#13591).
20624 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
20626         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20628 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
20630         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20632         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20633         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20634         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20636 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
20638         * desktop.el (desktop-clear): Simplify; remove useless checks
20639         against invalid buffer names.
20640         (desktop-list*): Use cl-list*.
20641         (desktop-buffer-info, desktop-create-buffer): Simplify.
20643 2013-07-23  Leo Liu  <sdl.web@gmail.com>
20645         * bookmark.el (bookmark-make-record): Restore NAME as a default
20646         value.  (Bug#14933)
20648 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
20650         * emacs-lisp/autoload.el (autoload--setup-output): New function,
20651         extracted from autoload--insert-text.
20652         (autoload--insert-text): Remove.
20653         (autoload--print-cookie-text): New function, extracted from
20654         autoload--insert-cookie-text.
20655         (autoload--insert-cookie-text): Remove.
20656         (autoload-generate-file-autoloads): Adjust calls accordingly.
20658         * winner.el (winner-hook-installed-p): Remove.
20659         (winner-mode): Simplify accordingly.
20661         * subr.el (add-to-list): Fix compiler-macro when `append' is
20662         not constant.  Don't use `cl-member' for the base case.
20664         * progmodes/subword.el: Fix boundary case (bug#13758).
20665         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
20666         own group.
20667         (subword-backward-regexp): Make it a constant.
20668         (subword-forward-internal): Don't treat a trailing capital as the
20669         beginning of a word.
20671 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
20673         * emacs-lisp/package.el (package-menu-mode): Don't modify the
20674         global value of tabulated-list-revert-hook (bug#14930).
20676 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
20678         * desktop.el: Require 'cl-lib.
20679         (desktop-before-saving-frames-functions): New hook.
20680         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
20681         for frames being saved.  Rename from desktop--save-minibuffer-frames.
20682         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
20683         Do not save frames with non-nil `desktop-dont-save' parameter.
20684         Filter out deleted frames.
20685         (desktop--find-frame): Use cl-find-if.
20686         (desktop--select-frame): Use cl-(first|second|third) to access values
20687         of desktop-mini.
20688         (desktop--make-frame): Use cl-delete-if.
20689         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
20690         (desktop-restore-frames): Use cl-(first|second|third) to access values
20691         of desktop-mini.  Look for visible frame at the end, not while
20692         restoring frames.
20694         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
20695         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
20696         Use string-match-p, looking-at-p (bug#14927).
20698 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
20700         * desktop.el (desktop-saved-frame-states):
20701         Rename from desktop--saved-states; all users changed.
20702         (desktop-save-frames): Rename from desktop--save-frames.
20703         Do not save state to desktop file.
20704         (desktop-save): Save desktop-saved-frame-states to desktop file
20705         and reset to nil.
20706         (desktop-restoring-frames-p): New function.
20707         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
20708         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
20709         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
20711         * desktop.el: Correctly restore iconified frames.
20712         (desktop--filter-iconified-position): New function.
20713         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
20715 2013-07-20  Glenn Morris  <rgm@gnu.org>
20717         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
20718         Let `message' do the formatting.
20719         (def-gdb-preempt-display-buffer): Add explicit format.
20721         * image-dired.el (image-dired-track-original-file):
20722         Use with-current-buffer.
20723         (image-dired-track-thumbnail): Use with-current-buffer.
20724         Avoid changing point of wrong window.
20726         * image-dired.el (image-dired-track-original-file):
20727         Avoid changing point of wrong window.  (Bug#14909)
20729 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
20731         * progmodes/gdb-mi.el (gdb-done-or-error):
20732         Guard against "%" in gdb output.  (Bug#14127)
20734 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
20736         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
20737         (Bug#14826)
20739         * international/mule.el (coding-system-iso-2022-flags): Fix last
20740         change.
20742 2013-07-20  Kenichi Handa  <handa@gnu.org>
20744         * international/mule.el (coding-system-iso-2022-flags):
20745         Add `8-bit-level-4'.  (Bug#8522)
20747 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20749         * net/shr.el (shr-mouse-browse-url): New command and keystroke
20750         (bug#14815).
20752         * net/eww.el (eww-process-text-input): Allow inputting when the
20753         point is at the start of the line, as the properties aren't
20754         front-sticky.
20756         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
20757         degenerate widths.
20759 2013-07-19  Richard Stallman  <rms@gnu.org>
20761         * epa.el (epa-popup-info-window): Doc fix.
20763         * subr.el (split-string): New arg TRIM.
20765 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
20767         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
20768         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
20770 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
20772         * filenotify.el (file-notify--library): Rename from
20773         `file-notify-support'.  Do not autoload.  Adapt all uses.
20774         (file-notify-supported-p): New defun.
20776         * autorevert.el (auto-revert-use-notify):
20777         Use `file-notify-supported-p' instead of `file-notify-support'.
20778         Adapt docstring.
20779         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
20781         * net/tramp.el (tramp-file-name-for-operation):
20782         Add `file-notify-supported-p'.
20784         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20785         New defun.
20786         (tramp-sh-file-name-handler-alist): Add it as handler for
20787         `file-notify-supported-p '.
20789         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20790         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20791         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20792         Add `ignore' as handler for `file-notify-*' functions.
20794 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
20796         * simple.el (line-move-partial, line-move): Don't start vscroll or
20797         scroll-up if the current line is not taller than the window.
20798         (Bug#14881)
20800 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
20802         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
20803         highlight question marks in the method names as strings.
20804         (ruby-block-beg-keywords): Inline.
20805         (ruby-font-lock-keyword-beg-re): Extract from
20806         `ruby-font-lock-keywords'.
20808 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
20810         * frame.el (blink-cursor-blinks): New defcustom.
20811         (blink-cursor-blinks-done): New defvar.
20812         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
20813         (blink-cursor-timer-function): Check if number of blinks has been
20814         done on X and NS.
20815         (blink-cursor-suspend, blink-cursor-check): New defuns.
20817 2013-07-15  Glenn Morris  <rgm@gnu.org>
20819         * edmacro.el (edmacro-format-keys): Fix previous change.
20821 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
20823         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
20824         The hack didn't work outside English locales anyway.
20826 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
20828         * simple.el (define-alternatives): Rename from alternatives-define,
20829         per RMS' suggestion.
20831 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
20833         * desktop.el (desktop-restore-frames): Change default to t.
20834         (desktop-restore-in-current-display): Now offer more options.
20835         (desktop-restoring-reuses-frames): New customization option.
20836         (desktop--saved-states): Doc fix.
20837         (desktop-filter-parameters-alist): New variable, renamed and expanded
20838         from desktop--excluded-frame-parameters.
20839         (desktop--target-display): New variable.
20840         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
20841         (desktop--filter-tty*, desktop--filter-*-color)
20842         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20843         (desktop--filter-save-desktop-parm)
20844         (desktop-restore-in-original-display-p): New functions.
20845         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
20846         (desktop--save-minibuffer-frames): New function, inspired by a similar
20847         function from Martin Rudalics.
20848         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
20849         (desktop--restore-in-this-display-p): Remove.
20850         (desktop--find-frame): Rename from desktop--find-frame-in-display
20851         and add predicate argument.
20852         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
20853         (desktop--reuse-list): New variable.
20854         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
20855         New functions.
20856         (desktop--restore-frames): Add support for "minibuffer-special" frames.
20858 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
20860         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
20862 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
20864         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20865         Highlight conversion methods on Kernel.
20867 2013-07-13  Alan Mackenzie  <acm@muc.de>
20869         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
20870         and comment it out.  This out-commenting enables certain C++
20871         declarations to be parsed correctly.
20873 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
20875         * international/mule.el (define-coding-system): Doc fix.
20877         * simple.el (default-font-height): Don't call font-info if the
20878         frame's default font didn't change since the frame was created.
20879         (Bug#14838)
20881 2013-07-13  Leo Liu  <sdl.web@gmail.com>
20883         * ido.el (ido-read-file-name): Guard against non-symbol value.
20885 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
20887         * progmodes/python.el (python-imenu--build-tree): Fix corner case
20888         in nested defuns.
20890 2013-07-13  Leo Liu  <sdl.web@gmail.com>
20892         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
20893         ido-set-matches call.  (Bug#6852)
20895 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
20897         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
20898         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
20899         Ruby 2.0.
20900         (ruby-font-lock-keywords): Distinguish calls to functions with
20901         module-like names from module references.  Highlight character
20902         literals.
20904 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
20906         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
20907         (gdb-send): Handle continued commands.  (Bug#14847)
20909 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
20911         * desktop.el (desktop--v2s): Remove unused local variable.
20912         (desktop-save-buffer): Make defvar-local; adjust docstring.
20913         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
20914         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
20916 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
20918         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
20920 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
20922         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
20923         (Bug#14842)
20925 2013-07-12  Glenn Morris  <rgm@gnu.org>
20927         * doc-view.el: Require cl-lib at runtime too.
20928         (doc-view-remove-if): Remove.
20929         (doc-view-search-next-match, doc-view-search-previous-match):
20930         Use cl-remove-if.
20932         * edmacro.el: Require cl-lib at runtime too.
20933         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
20934         (edmacro-mismatch, edmacro-subseq): Remove.
20936         * shadowfile.el: Require cl-lib.
20937         (shadow-remove-if): Remove.
20938         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
20939         Use cl-remove-if.
20941         * wid-edit.el: Require cl-lib.
20942         (widget-choose): Use cl-remove-if.
20943         (widget-remove-if): Remove.
20945         * progmodes/ebrowse.el: Require cl-lib at runtime too.
20946         (ebrowse-delete-if-not): Remove.
20947         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
20948         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
20949         Use cl-delete-if-not.
20951 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
20953         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
20954         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
20956 2013-07-12  Leo Liu  <sdl.web@gmail.com>
20958         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
20960 2013-07-11  Glenn Morris  <rgm@gnu.org>
20962         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
20963         (edebug-gensym-index, edebug-gensym):
20964         Remove reimplementation of cl-gensym.
20965         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
20967         * thumbs.el: Require cl-lib at run-time too.
20968         (thumbs-gensym-counter, thumbs-gensym):
20969         Remove reimplementation of cl-gensym.
20970         (thumbs-temp-file): Use cl-gensym.
20972         * emacs-lisp/ert.el: Require cl-lib at runtime too.
20973         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
20974         (ert--intersection, ert--set-difference, ert--set-difference-eq)
20975         (ert--union, ert--gensym-counter, ert--gensym-counter)
20976         (ert--coerce-to-vector, ert--remove*, ert--string-position)
20977         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
20978         (ert-make-test-unbound, ert--expand-should-1)
20979         (ert--expand-should, ert--should-error-handle-error)
20980         (should-error, ert--explain-equal-rec)
20981         (ert--plist-difference-explanation, ert-select-tests)
20982         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
20983         Use cl-lib functions rather than reimplementations.
20985 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
20987         * net/tramp.el (tramp-methods): Extend docstring.
20988         (tramp-connection-timeout): New defcustom.
20989         (tramp-error-with-buffer): Reset timestamp only when appropriate.
20990         (with-tramp-progress-reporter): Simplify.
20991         (tramp-process-actions): Improve messages.
20993         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
20994         * net/tramp-sh.el (tramp-maybe-open-connection):
20995         Use `tramp-connection-timeout'.
20996         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
20997         (Bug#14808)
20999 2013-07-11  Leo Liu  <sdl.web@gmail.com>
21001         * ido.el (ido-read-file-name): Conform to the requirements of
21002         read-file-name.  (Bug#11861)
21003         (ido-read-directory-name): Conform to the requirements of
21004         read-directory-name.
21006 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
21008         * subr.el (delay-warning): New function.
21010 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
21012         * simple.el (default-line-height): New function.
21013         (line-move-partial, line-move): Use it instead of computing the
21014         line height inline.
21015         (line-move-partial): Always compute ROWH.  If the last line is
21016         partially-visible, but its text is completely visible, allow
21017         cursor to enter such a partially-visible line.
21019 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
21021         Improve error messages.  (Bug#14808)
21023         * net/tramp.el (tramp-current-connection): New defvar, moved from
21024         tramp-sh.el.
21025         (tramp-message-show-progress-reporter-message): Remove, not
21026         needed anymore.
21027         (tramp-error-with-buffer): Show message in minibuffer.
21028         Discard input before waiting.  Reset connection timestamp.
21029         (with-tramp-progress-reporter): Improve messages.
21030         (tramp-process-actions): Use progress reporter.  Delete process in
21031         case of error.  Improve messages.
21033         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
21034         Call `tramp-error-with-buffer' with vector and buffer.
21035         (tramp-current-connection): Remove.
21036         (tramp-maybe-open-connection): The car of
21037         `tramp-current-connection' are the first 3 slots of the vector.
21039 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
21041         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
21042         inside continued strings.
21044 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
21046         Timestamp fixes for undo (Bug#14824).
21047         * files.el (clear-visited-file-modtime): Move here from fileio.c.
21049 2013-07-10  Leo Liu  <sdl.web@gmail.com>
21051         * files.el (require-final-newline): Allow safe local value.
21052         (Bug#14834)
21054 2013-07-09  Leo Liu  <sdl.web@gmail.com>
21056         * ido.el (ido-read-directory-name): Handle fallback.
21057         (ido-read-file-name): Update DIR to ido-current-directory.
21058         (Bug#1516)
21059         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
21061 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
21063         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
21064         "autoload".  Remove "warn lower camel case" section, previously
21065         commented out.  Highlight negation char.  Do not highlight the
21066         target in singleton method definitions.
21068 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
21070         * faces.el (tty-setup-hook): Declare the hook.
21072         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
21073         and detect when a guard/pred depends on local vars (bug#14773).
21074         (pcase--u1): Adjust caller.
21076 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
21078         * simple.el (line-move-partial, line-move): Account for
21079         line-spacing.
21080         (line-move-partial): Avoid setting vscroll when the last
21081         partially-visible line in window is of default height.
21083 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21085         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
21086         been used a while.
21088 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
21090         * subr.el (read-quoted-char): Remove unused local variable `char'.
21092 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
21094         * vc/ediff.el (ediff-version): Version update.
21095         (ediff-files-command, ediff3-files-command, ediff-merge-command)
21096         (ediff-merge-with-ancestor-command, ediff-directories-command)
21097         (ediff-directories3-command, ediff-merge-directories-command)
21098         (ediff-merge-directories-with-ancestor-command): New functions.
21099         All are command-line interfaces to ediff: to facilitate calling
21100         Emacs with the appropriate ediff functions invoked.
21102         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
21103         New function.
21104         (viper-save-kill-buffer): Check if buffer is modified.
21106         * emulation/viper.el (viper-version): Version update.
21107         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
21109 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
21111         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
21112         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
21113         (viper-intercept-ESC-key): Simplify.
21114         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
21115         don't use kbd.
21116         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
21117         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
21118         (viper-setup-ESC-to-escape): New functions.
21119         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
21120         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
21122 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
21124         * simple.el (default-font-height, window-screen-lines):
21125         New functions.
21126         (line-move, line-move-partial): Use them instead of
21127         frame-char-height and window-text-height.  This makes scrolling
21128         text smoother when the buffer's default face uses a font that is
21129         different from the frame's default font.
21131 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
21133         * files.el (write-file): Do not display confirm dialog for NS,
21134         it does its own dialog, which can't be canceled (Bug#14578).
21136 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
21138         * simple.el (line-move-partial): Adjust the row returned by
21139         posn-at-point for the current window-vscroll.  (Bug#14567)
21141 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
21143         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
21144         (tramp-sh-file-inotifywait-process-filter): Handle file names with
21145         spaces.
21147 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
21149         * window.el (window-state-put-stale-windows): New variable.
21150         (window--state-put-2): Save list of windows without matching buffer.
21151         (window-state-put): Remove "bufferless" windows if possible.
21153 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
21155         * simple.el (alternatives-define): Remove leftover :group keyword.
21156         Tweak docstring.
21158 2013-07-06  Leo Liu  <sdl.web@gmail.com>
21160         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
21161         (ido-enable-virtual-buffers): New variable.
21162         (ido-buffer-internal, ido-toggle-virtual-buffers)
21163         (ido-make-buffer-list): Use it.
21164         (ido-exhibit): Support turning on and off virtual buffers
21165         automatically.
21167 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
21169         * simple.el (alternatives-define): New macro.
21171 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
21173         * subr.el (read-quoted-char): Use read-key.
21174         (sit-for): Let read-event decode tty input (bug#14782).
21176 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
21178         * calendar/todo-mode.el: Add handling of file deletion, both by
21179         mode command and externally.  Fix various related bugs.
21180         Clarify Commentary and improve some documentation strings and code.
21181         (todo-delete-file): New command.
21182         (todo-check-file): New function.
21183         (todo-show): Handle external deletion of the file we're trying to
21184         show (bug#14688).  Replace called-interactively-p by an optional
21185         prefix argument to avoid problematic interaction with catch form
21186         when byte compiled (bug#14702).
21187         (todo-quit): Handle external deletion of the archive's todo file.
21188         Make sure the buffer that was visiting the archive file is still
21189         live before trying to bury it.
21190         (todo-category-completions): Handle external deletion of any
21191         category completion files.
21192         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
21193         of todo files, in case of external deletion.
21194         (todo-add-file): Replace unnecessary setq by let-binding.
21195         (todo-find-archive): Check whether there are any archives.
21196         Replace unnecessary setq by let-binding.
21197         (todo-archive-done-item): Use find-file-noselect to get the
21198         archive buffer whether or not the archive already exists.
21199         Remove superfluous code.  Use file size instead of buffer-file-name to
21200         check if the archive is new; if it is, update list of archives.
21201         (todo-default-todo-file): Allow nil to be a valid value for when
21202         there are no todo files.
21203         (todo-reevaluate-default-file-defcustom): Use corrected definition
21204         of todo-default-todo-file.
21205         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
21206         (todo-delete-category, todo-show-categories-table)
21207         (todo-category-number): Clarify comment.
21208         (todo-filter-items): Clarify documentation string.
21209         (todo-show-current-file, todo-display-as-todo-file)
21210         (todo-reset-and-enable-done-separator): Tweak documentation string.
21211         (todo-done-separator): Make separator length window-width, since
21212         bug#2749 is now fixed.
21214 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
21216         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
21217         Support both "gvfs-monitor-dir" and "inotifywait".
21218         (tramp-sh-file-inotifywait-process-filter): Rename from
21219         `tramp-sh-file-notify-process-filter'.
21220         (tramp-sh-file-gvfs-monitor-dir-process-filter)
21221         (tramp-get-remote-gvfs-monitor-dir): New defuns.
21223 2013-07-05  Leo Liu  <sdl.web@gmail.com>
21225         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
21227 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21229         * frame.el (display-pixel-height, display-pixel-width)
21230         (display-mm-height, display-mm-width): Mention behavior on
21231         multi-monitor setups in docstrings.
21232         (w32-display-monitor-attributes-list): Declare function.
21233         (display-monitor-attributes-list): Use it.
21235 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
21237         * filenotify.el: New package.
21239         * autorevert.el (top): Require filenotify.el.
21240         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
21241         instead.
21242         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21243         (auto-revert-notify-handler): Use `file-notify-*' functions.
21245         * subr.el (file-notify-handle-event): Move function to filenotify.el.
21247         * net/tramp.el (tramp-file-name-for-operation):
21248         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
21250         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
21251         for `file-notify-add-watch' and `file-notify-rm-watch'.
21252         (tramp-process-sentinel): Improve trace.
21253         (tramp-sh-handle-file-notify-add-watch)
21254         (tramp-sh-file-notify-process-filter)
21255         (tramp-sh-handle-file-notify-rm-watch)
21256         (tramp-get-remote-inotifywait): New defuns.
21258 2013-07-03  Juri Linkov  <juri@jurta.org>
21260         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
21261         call of `occur-read-primary-args' to interactive spec.
21263         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
21264         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
21266 2013-07-03  Matthias Meulien  <orontee@gmail.com>
21268         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
21269         `Buffer-menu-multi-occur'.  Add it to the menu.
21270         (Buffer-menu-mode): Document it in docstring.
21271         (Buffer-menu-multi-occur): New command.  (Bug#14673)
21273 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
21275         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
21276         keywords and built-ins.
21278 2013-07-03  Glenn Morris  <rgm@gnu.org>
21280         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
21282         Make info-xref checks case-sensitive by default
21283         * info.el (Info-find-node, Info-find-in-tag-table)
21284         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
21285         Add option for exact case matching of nodes.
21286         * info-xref.el (info-xref): New custom group.
21287         (info-xref-case-fold): New option.
21288         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
21290 2013-07-03  Leo Liu  <sdl.web@gmail.com>
21292         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
21294 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
21296         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
21297         middle of block statement initially, lower the depth.  Remove
21298         FIXME comment, not longer valid.  Remove middle of block statement
21299         detection, no need to do that anymore since we've been using
21300         `ruby-parse-region' here.
21302 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
21304         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
21306 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
21308         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
21310 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
21312         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
21313         (desktop-restore-in-current-display): New customization option.
21314         (desktop--excluded-frame-parameters): Add `font'.
21315         (desktop--save-frames): Rename from desktop--save-windows.
21316         (desktop--restore-in-this-display-p): New function.
21317         (desktop--make-full-frame): Remove unwanted width/height from
21318         full(width|height) frames.
21319         (desktop--restore-frames): Rename from desktop--restore-windows.
21320         Obey desktop-restore-current-display.  Do not delete old frames or
21321         select a new frame unless we were able to restore at least one frame.
21323 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
21325         * files.el (find-file-noselect): Simplify conditional expression.
21327         * textmodes/remember.el (remember-append-to-file):
21328         Don't mix `find-buffer-visiting' and `get-file-buffer'.
21330         Add `remember-notes' function to store random notes across Emacs
21331         restarts.
21332         * textmodes/remember.el (remember-data-file): Add :set callback to
21333         affect notes buffer (if any).
21334         (remember-notes): New command.
21335         (remember-notes-buffer-name, bury-remember-notes-on-kill):
21336         New defcustoms for the `remember-notes' function.
21337         (remember-notes-save-and-bury-buffer): New command.
21338         (remember-notes-mode-map): New variable.
21339         (remember-mode): New minor mode.
21340         (remember-notes--kill-buffer-query): New function.
21341         * startup.el (initial-buffer-choice): Add notes to custom type.
21343 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
21345         * bindings.el (right-char, left-char): Don't call sit-for, this is
21346         no longer needed.  Use arithmetic comparison only for numerical
21347         arguments.
21349         * international/mule-cmds.el (select-safe-coding-system):
21350         Handle the case of FROM being a string correctly.  (Bug#14755)
21352 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21354         * net/shr.el (shr-make-table-1): Add a sanity check that allows
21355         progression on degenerate tables.
21356         (shr-rescale-image): ImageMagick animated images currently don't work.
21358 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
21360         Some fixes and improvements for desktop frame restoration.
21361         It is still experimental and disabled by default.
21362         * desktop.el (desktop--save-windows): Put the selected frame at
21363         the head of the list.
21364         (desktop--make-full-frame): New function.
21365         (desktop--restore-windows): Try to re-select the frame that was
21366         selected upon saving.  Do not abort if some frames fail to restore,
21367         just show an error message and continue.  Set up maximized frames
21368         so they have default non-maximized dimensions.
21370 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
21372         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
21373         Don't start heredoc inside a string or comment.
21375 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
21377         * bindings.el (visual-order-cursor-movement): New defcustom.
21378         (right-char, left-char): Provide visual-order cursor motion by
21379         calling move-point-visually.  Update the doc strings.
21381 2013-06-28  Kenichi Handa  <handa@gnu.org>
21383         * international/mule.el (define-coding-system): New coding system
21384         properties :inhibit-null-byte-detection,
21385         :inhibit-iso-escape-detection, and :prefer-utf-8.
21386         (set-buffer-file-coding-system): If :charset-list property of
21387         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
21388         appropriate for setting.
21390         * international/mule-cmds.el (select-safe-coding-system):
21391         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
21392         multibyte characters, return utf-8 (or one of its siblings).
21394         * international/mule-conf.el (prefer-utf-8): New coding system.
21395         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
21396         files.
21398 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
21400         * net/shr.el (shr-render-region): New function.
21402         * net/eww.el: Autoload `eww-browse-url'.
21404 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
21406         * emacs-lisp/package-x.el (package-upload-buffer-internal):
21407         Adapt to `package-desc-version' being a list.
21408         Use `package--ac-desc-version' to retrieve version from a package
21409         archive element.
21411 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
21413         New experimental feature to save&restore window and frame setup.
21414         * desktop.el (desktop-save-windows): New defcustom.
21415         (desktop--saved-states): New var.
21416         (desktop--excluded-frame-parameters): New defconst.
21417         (desktop--filter-frame-parms, desktop--find-frame-in-display)
21418         (desktop--restore-windows, desktop--save-windows): New functions.
21419         (desktop-save): Call `desktop--save-windows'.
21420         (desktop-read): Call `desktop--restore-windows'.
21422 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21424         * net/shr.el (add-face-text-property): Remove compat definition.
21426 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
21428         * info.el (Info-try-follow-nearest-node): Move search for footnote
21429         above search for node name to prevent missing a footnote (bug#14717).
21431 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
21433         * obsolete/otodo-mode.el: Add obsolescence info to file header.
21435 2013-06-27  Leo Liu  <sdl.web@gmail.com>
21437         * net/eww.el (eww-read-bookmarks): Check file size.
21439 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
21441         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
21442         advice--pending if newdef is nil or an autoload (bug#13820).
21443         (advice-mapc): New function.
21445 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21447         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
21448         probably.
21449         (eww-mode-map): Add a menu bar.
21450         (eww-add-bookmark): New command.
21451         (eww-bookmark-mode): New mode and commands.
21452         (eww-add-bookmark): Remove newlines from the title.
21453         (eww-bookmark-browse): Don't bug out if it's the only window.
21455 2013-06-26  Glenn Morris  <rgm@gnu.org>
21457         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
21458         (hfy-size): Handle ttys.  (Bug#14668)
21460         * info-xref.el: Update for Texinfo 5 change in *note format.
21461         (info-xref-node-re, info-xref-note-re): New constants.
21462         (info-xref-check-buffer): Use info-xref-note-re.
21464 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
21466         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
21468         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
21469         nil terminate the loop (bug#14718).
21471 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21473         * net/eww.el: Rework history traversal.  When going forward/back,
21474         put these actions into the history, too, so that they can be
21475         replayed.
21476         (eww-render): Move the history reset to the correct buffer.
21478 2013-06-25  Juri Linkov  <juri@jurta.org>
21480         * files-x.el (modify-dir-local-variable): Change the header comment
21481         in the file with directory local variables.  (Bug#14692)
21483         * files-x.el (read-file-local-variable-value): Add `default'.
21484         (Bug#14710)
21486 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21488         * net/eww.el (eww-make-unique-file-name): Create a unique file
21489         name before saving to entering `y' accidentally asynchronously.
21491 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
21493         * net/eww.el (eww-download): New command and keystroke.
21495 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21497         * net/eww.el (eww-copy-page-url): Change name of command.
21499         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21500         be more consistent with Info and dired.
21502         * net/eww.el (eww-mode-map): Ditto.
21504 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21506         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
21507         packages from archives.
21508         (package-archive-contents): Change format; include obsolete packages.
21509         (package-desc): Use `dir' to mark builtin packages.
21510         (package--from-builtin): Set the `dir' field to `builtin'.
21511         (generated-autoload-file, version-control): Declare.
21512         (package-compute-transaction): Change first arg and return value to be
21513         lists of package-descs.  Adjust to new package-archive-contents format.
21514         (package--add-to-archive-contents): Adjust to new
21515         package-archive-contents format.
21516         (package-download-transaction): Arg is now a list of package-descs.
21517         (package-install): If `pkg' is a package name, pass it as
21518         a requirement, so it is subject to the usual (e.g. disabled) checks.
21519         (describe-package): Accept package-desc as well.
21520         (describe-package-1): Describe a specific package-desc.  Add links to
21521         other package-descs for the same package name.
21522         (package-menu-describe-package): Pass the actual package-desc.
21523         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21524         works correctly.
21525         (package-desc-status): New function.
21526         (package-menu--refresh): New function, extracted
21527         from package-menu--generate.
21528         (package-menu--generate): Use it.
21529         (package-delete): Update package-alist.
21530         (package-menu-execute): Don't call package-initialize.
21532         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21533         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21534         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21535         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21536         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21537         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21539 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
21541         * window.el (window--state-get-1): Workaround for bug#14527.
21542         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21544 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21546         * net/eww.el (eww-back-url): Implement the history by stashing all
21547         the data into a list.
21548         (eww-forward-url): Allow going forward in the history, too.
21550 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21552         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21553         for values and use read--expression for expressions (bug#14710).
21554         (read-file-local-variable): Avoid setq.
21555         (read-file-local-variable-mode): Use minor-mode-list.
21557 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
21559         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21560         for DOI URLs.
21562 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
21564         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21565         Update imenu-support when dialect changes.
21567 2013-06-25  Leo Liu  <sdl.web@gmail.com>
21569         * ido.el (ido-read-internal): Allow forward slash on windows.
21571 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21573         * net/eww.el (eww): Start of strings is \\`, not ^.
21575 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
21577         * net/shr.el (shr-browse-url): Fix interactive spec.
21579         * net/eww.el (eww): Add a trailing slash to domain names.
21581 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
21583         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21585 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21587         * net/shr.el (shr-browse-url): Use an external browser if given a
21588         prefix.
21590         * net/eww.el (eww-external-browser): Move to shr.
21592 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
21594         * net/eww.el (eww): Work more correctly for file: URLs.
21595         (eww-detect-charset): Allow quoted charsets.
21596         (eww-yank-page-url): New command and keystroke.
21598 2013-06-24  Daiki Ueno  <ueno@gnu.org>
21600         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21601         file name of gpg executable.
21602         (epg-context-program): New function.
21603         (epg-context-home-directory): New function.
21604         (epg-context-set-program): New function.
21605         (epg-context-set-home-directory): New function.
21606         (epg--start): Use `epg-context-program' instead of
21607         'epg-gpg-program'.
21608         (epg--list-keys-1): Likewise.
21610 2013-06-24  Leo Liu  <sdl.web@gmail.com>
21612         * ido.el (ido-read-internal): Fix bug#14620.
21614 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
21616         * faces.el (face-documentation): Simplify.
21617         (read-face-attribute, tty-find-type, x-resolve-font-name):
21618         Use `string-match-p'.
21619         (list-faces-display): Use `string-match-p'.  Simplify.
21620         (face-spec-recalc): Check face to avoid face alias loops.
21621         (read-color): Use `string-match-p' and non-capturing parenthesis.
21623 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21625         * net/shr.el (shr-rescale-image): Use the new
21626         :max-width/:max-height functionality.
21628 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
21630         * net/eww.el (eww-search-prefix): New variable.
21631         (eww): Use it.
21632         (eww-external-browser): New variable.
21633         (eww-mode-map): New keystroke.
21634         (eww-browse-with-external-browser): New command.
21636         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
21638 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
21640         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
21641         Don't skip aligning the next header field when padding is 0;
21642         otherwise, field width is not respected unless the title is as
21643         wide as the field.
21645 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
21647         * emacs-lisp/package.el (package-el-version): Remove.
21648         (package-process-define-package): Fix inf-loop.
21649         (package-install): Allow symbols as arguments again.
21651 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
21653         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
21654         add some more keyword-like methods.
21655         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
21657 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
21659         * bs.el (bs-buffer-show-mark): Make defvar-local.
21660         (bs-mode): Use setq-local.
21662         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
21663         (emacs-lock--try-unlocking): Make defvar-local.
21665 2013-06-22  Glenn Morris  <rgm@gnu.org>
21667         * play/cookie1.el (cookie-apropos): Minor simplification.
21669         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
21671 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
21673         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
21674         `regexp-opt', it breaks the build during dumping.
21676 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
21678         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21679         Highlight keyword-like methods on Kernel and Module with
21680         font-lock-builtin-face.
21681         (auto-mode-alist): Consolidate different entries into one regexp
21682         and add more *file-s.
21684 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
21686         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
21688         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
21689         (diary-entry): Use it in the action of this button type instead of
21690         diary-goto-entry.
21692         * calendar/todo-mode.el: New version.
21693         (todo-add-category): Append new category to end of file and give
21694         it the highest number, instead of putting it at the beginning and
21695         giving it 0.  Incorporate noninteractive functionality.
21696         (todo-forward-category): Adapt to 1-based category numbering.
21697         Allow skipping over archived categories.
21698         (todo-backward-category): Derive from todo-forward-category.
21699         (todo-backward-item, todo-forward-item): Make noninteractive and
21700         delegate interactive part to new commands.  Make sensitive to done items.
21701         (todo-categories): Make value an alist of category names and
21702         vectors of item counts.
21703         (todo-category-beg): Make a defconst.
21704         (todo-category-number): Use 1 instead of 0 as initial value.
21705         (todo-category-select): Make sensitive to overlays, optional item
21706         highlighting and done items.
21707         (todo-delete-item): Make sensitive to overlays and marked and done items.
21708         (todo-edit-item): Make sensitive to overlays and editing of
21709         date/time header optional.  Add format checks.
21710         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
21711         no-op if point is not on an item.  Advertise using todo-edit-quit.
21712         (todo-edit-mode): Make sensitive to new format, font-locking, and
21713         multiple todo files.
21714         (todo-insert-item, todo-insert-item-here): Derive from
21715         todo-basic-insert-item and extend functionality.
21716         (todo-item-end, todo-item-start): Make sensitive to done items.
21717         (todo-item-string): Don't return text properties.  Restore point.
21718         (todo-jump-to-category): Make sensitive to multiple todo files and
21719         todo archives.  Use extended category completion.
21720         (todo-lower-item, todo-raise-item): Rename to *-priority and
21721         derive from todo-set-item-priority.
21722         (todo-mode): Derive from special-mode.  Make sensitive to new
21723         format, font-locking and multiple todo files.  Make read-only.
21724         (todo-mode-map): Don't suppress digit keys, so they can supply
21725         prefix arguments.  Add many new key bindings.
21726         (todo-prefix): Insert as an overlay instead of file text.
21727         Change semantics from diary date expression to purely visual mark.
21728         (todo-print): Rename to todo-print-buffer.  Make buffer display
21729         features printable.  Remove option to restrict number of items
21730         printed.  Add option to print to file.
21731         (todo-print-function): Rename to todo-print-buffer-function.
21732         (todo-quit): Extend to handle exiting new todo modes.
21733         (todo-remove-item): Make sensitive to overlays.
21734         (todo-save): Extend to buffers of filtered items.
21735         (todo-show): Make sensitive to done items, multiple todo files and
21736         new todo modes.  Offer to convert legacy todo file before creating
21737         first new todo file.
21738         (todo-show-priorities): Rename to todo-top-priorities.
21739         Change semantics of value 0.
21740         (todo-top-priorities): Rename to todo-filter-top-priorities,
21741         derive from todo-filter-items and extend functionality.
21742         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
21743         and extend functionality to other types of filtered items.
21744         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
21745         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
21746         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
21747         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
21748         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
21749         (todo-edit-mode-hook, todo-entry-prefix-function)
21750         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
21751         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
21752         (todo-initials, todo-insert-threshold, todo-item-string-start)
21753         (todo-line-string, todo-menu, todo-mode-hook)
21754         (todo-more-important-p, todo-previous-answer, todo-previous-line)
21755         (todo-print-priorities, todo-remove-separator)
21756         (todo-save-top-priorities-too, todo-string-count-lines)
21757         (todo-string-multiline-p, todo-time-string-format)
21758         (todo-tmp-buffer-name): Remove.
21759         (todo-add-file, todo-archive-done-item, todo-choose-archive)
21760         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
21761         (todo-edit-category-diary-inclusion)
21762         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
21763         (todo-edit-file, todo-edit-item-date-day)
21764         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
21765         (todo-edit-item-date-month, todo-edit-item-date-to-today)
21766         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
21767         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
21768         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
21769         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
21770         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
21771         (todo-filter-top-priorities-multifile, todo-find-archive)
21772         (todo-find-filtered-items-file, todo-go-to-source-item)
21773         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
21774         (todo-jump-to-archive-category, todo-lower-category)
21775         (todo-mark-category, todo-marked-item-p, todo-merge-category)
21776         (todo-move-category, todo-move-item, todo-next-button)
21777         (todo-next-item, todo-padded-string, todo-powerset)
21778         (todo-previous-button, todo-previous-item)
21779         (todo-print-buffer-to-file, todo-raise-category)
21780         (todo-rename-category, todo-repair-categories-sexp, todo-search)
21781         (todo-set-category-number, todo-set-item-priority)
21782         (todo-set-top-priorities-in-category)
21783         (todo-set-top-priorities-in-file, todo-show-categories-table)
21784         (todo-sort-categories-alphabetically-or-numerically)
21785         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
21786         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
21787         (todo-toggle-item-header, todo-toggle-item-highlighting)
21788         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
21789         (todo-toggle-view-done-items, todo-toggle-view-done-only)
21790         (todo-unarchive-items, todo-unmark-category): New commands.
21791         (todo-absolute-file-name, todo-add-to-buffer-list)
21792         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
21793         (todo-basic-insert-item, todo-category-completions)
21794         (todo-category-number, todo-category-string-matcher-1)
21795         (todo-category-string-matcher-2, todo-check-filtered-items-file)
21796         (todo-check-format, todo-clear-matches)
21797         (todo-comment-string-matcher, todo-convert-legacy-date-time)
21798         (todo-current-category, todo-date-string-matcher)
21799         (todo-define-insertion-command, todo-diary-expired-matcher)
21800         (todo-diary-goto-entry, todo-diary-item-p)
21801         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
21802         (todo-display-categories, todo-display-sorted, todo-done-item-p)
21803         (todo-done-item-section-p, todo-done-separator)
21804         (todo-done-string-matcher, todo-files, todo-filter-items)
21805         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
21806         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
21807         (todo-insert-category-line, todo-insert-item-from-calendar)
21808         (todo-insert-sort-button, todo-insert-with-overlays)
21809         (todo-insertion-command-name, todo-insertion-key-bindings)
21810         (todo-label-to-key, todo-longest-category-name-length)
21811         (todo-make-categories-list, todo-mode-external-set)
21812         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
21813         (todo-modes-set-3, todo-multiple-filter-files)
21814         (todo-nondiary-marker-matcher, todo-prefix-overlays)
21815         (todo-read-category, todo-read-date, todo-read-dayname)
21816         (todo-read-file-name, todo-read-time)
21817         (todo-reevaluate-category-completions-files-defcustom)
21818         (todo-reevaluate-default-file-defcustom)
21819         (todo-reevaluate-filelist-defcustoms)
21820         (todo-reevaluate-filter-files-defcustom)
21821         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
21822         (todo-reset-done-separator, todo-reset-done-separator-string)
21823         (todo-reset-done-string, todo-reset-global-current-todo-file)
21824         (todo-reset-highlight-item, todo-reset-nondiary-marker)
21825         (todo-reset-prefix, todo-set-categories)
21826         (todo-set-date-from-calendar, todo-set-show-current-file)
21827         (todo-set-top-priorities, todo-short-file-name)
21828         (todo-show-current-file, todo-sort, todo-time-string-matcher)
21829         (todo-total-item-counts, todo-update-buffer-list)
21830         (todo-update-categories-display, todo-update-categories-sexp)
21831         (todo-update-count, todo-validate-name, todo-y-or-n-p):
21832         New functions.
21833         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
21834         New major modes.
21835         (todo-categories, todo-display, todo-edit, todo-faces)
21836         (todo-filtered): New defgroups.
21837         (todo-archived-only, todo-button, todo-category-string, todo-date)
21838         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
21839         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
21840         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
21841         (todo-add-item-if-new-category, todo-always-add-time-string)
21842         (todo-categories-align, todo-categories-archived-label)
21843         (todo-categories-category-label, todo-categories-diary-label)
21844         (todo-categories-done-label, todo-categories-number-separator)
21845         (todo-categories-todo-label, todo-categories-totals-label)
21846         (todo-category-completions-files, todo-completion-ignore-case)
21847         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
21848         (todo-done-separator-string, todo-done-string)
21849         (todo-files-function, todo-filter-done-items, todo-filter-files)
21850         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
21851         (todo-initial-category, todo-initial-file, todo-item-mark)
21852         (todo-legacy-date-time-regexp, todo-mode-line-function)
21853         (todo-nondiary-marker, todo-number-prefix)
21854         (todo-print-buffer-function, todo-show-current-file)
21855         (todo-show-done-only, todo-show-first, todo-show-with-done)
21856         (todo-skip-archived-categories, todo-top-priorities-overrides)
21857         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
21858         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
21859         New defcustoms.
21860         (todo-category-done, todo-date-pattern, todo-date-string-start)
21861         (todo-diary-items-buffer, todo-done-string-start)
21862         (todo-filtered-items-buffer, todo-item-start)
21863         (todo-month-abbrev-array, todo-month-name-array)
21864         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
21865         (todo-top-priorities-buffer): New defconsts.
21866         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
21867         (todo-categories-with-marks, todo-category-string-face)
21868         (todo-comment-face, todo-comment-string, todo-current-todo-file)
21869         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
21870         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
21871         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
21872         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
21873         (todo-font-lock-keywords, todo-global-current-todo-file)
21874         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
21875         (todo-insertion-commands-args)
21876         (todo-insertion-commands-args-genlist)
21877         (todo-insertion-commands-names, todo-insertion-map)
21878         (todo-key-bindings-t, todo-key-bindings-t+a)
21879         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
21880         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
21881         (todo-nondiary-face, todo-print-buffer, todo-time-face)
21882         (todo-visited): New variables.
21884 2013-06-21  Glenn Morris  <rgm@gnu.org>
21886         * play/cookie1.el (cookie-apropos): Add optional display argument.
21887         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
21888         (psychoanalyze-pinhead): Use cookie-doctor.
21890 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
21892         * emacs-lisp/package.el (tar-get-file-descriptor)
21893         (tar--extract): Declare.
21895 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
21897         Extend flymake's warning predicate to be a function (bug#14217).
21898         * progmodes/flymake.el (flymake-warning-predicate): New.
21899         (flymake-parse-line): Use it.
21900         (flymake-warning-re): Make obsolete alias to
21901         `flymake-warning-predicate'.
21903 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21905         * emacs-lisp/package.el (package-alist): Include obsolete packages.
21906         (package-obsolete-list): Remove.
21907         (package-activate): Remove min-version argument.  Add `force' argument.
21908         Adjust to new package-alist format.
21909         (package-mark-obsolete): Remove.
21910         (package-unpack): Force reload of the package's autoloads.
21911         (package-installed-p): Check builtins if the installed package is not
21912         recent enough.
21913         (package-initialize): Don't reset package-obsolete-list.
21914         Don't specify which package version to activate.
21915         (package-process-define-package, describe-package-1)
21916         (package-menu--generate): Adjust to new package-alist format.
21918 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
21920         * allout-widgets.el (allout-widgets-mode-off)
21921         (allout-widgets-mode-on, allout-widgets-pre-command-business)
21922         (allout-widgets-post-command-business)
21923         (allout-widgets-after-copy-or-kill-function)
21924         (allout-widgets-after-undo-function, allout-test-range-overlaps)
21925         (allout-decorate-item-and-context)
21926         (allout-graphics-modification-handler): Fix typos in docstrings.
21927         (allout-get-or-create-parent-widget): Use `looking-at-p'.
21929         * cmuscheme.el (scheme-start-file): Doc fix.
21930         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
21931         (scheme-input-filter): Use `string-match-p'.
21933         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
21935         * dired-x.el: Use Dired consistently in docstrings.
21937         * dired.el: Use Dired consistently in docstrings.
21938         (dired-readin, dired-mode): Use `setq-local'.
21939         (dired-switches-alist): Make defvar-local.
21940         (dired-buffers-for-dir): Use `zerop'.
21941         (dired-safe-switches-p, dired-switches-escape-p)
21942         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
21943         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
21944         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
21945         (dired-goto-next-nontrivial-file): Use `string-match-p'.
21946         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
21947         (dired-toggle-marks, dired-mark-files-containing-regexp)
21948         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
21949         (dired-flag-auto-save-files, dired-flag-backup-files):
21950         Use `looking-at-p'.
21951         (dired-mark-files-regexp, dired-build-subdir-alist):
21952         Use `string-match-p', `looking-at-p'.
21954         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
21955         (direct-print-region-helper): Use `string-match-p'.
21957 2013-06-21  Leo Liu  <sdl.web@gmail.com>
21959         * comint.el (comint-redirect-results-list-from-process):
21960         Fix infinite loop.
21962 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21964         * net/eww.el (eww-update-header-line-format): Quote % characters.
21966 2013-06-21  Glenn Morris  <rgm@gnu.org>
21968         * play/cookie1.el (cookie): New custom group.
21969         (cookie-file): New option.
21970         (cookie-check-file): New function.
21971         (cookie): Make it interactive.  Make start and end messages optional.
21972         Interactively, display the result.  Default to cookie-file.
21973         (cookie-insert): Default to cookie-file.
21974         (cookie-snarf): Make start and end messages optional.
21975         Default to cookie-file.  Use with-temp-buffer.
21976         (cookie-read): Rename from read-cookie.
21977         Make start and end messages optional.  Default to cookie-file.
21978         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
21979         Do not autoload it.
21980         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
21981         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
21983 2013-06-21  Leo Liu  <sdl.web@gmail.com>
21985         * progmodes/octave.el (octave-mode): Backward compatibility fix.
21987 2013-06-21  Glenn Morris  <rgm@gnu.org>
21989         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
21991 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21992             Daniel Hackney  <dan@haxney.org>
21994         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
21995         Consolidate the single-file vs tarball code.
21996         (package-desc-suffix): New function.
21997         (package-desc-full-name): Don't bother inlining it.
21998         (package-load-descriptor): Return the new package-desc.
21999         (package-mark-obsolete): Remove unused arg `package'.
22000         (package-unpack): Make it work for single files as well.
22001         Make it update package-alist.
22002         (package--make-autoloads-and-stuff): Rename from
22003         package--make-autoloads-and-compile.  Don't compile any more.
22004         (package--compile): New function.
22005         (package-generate-description-file): New function, extracted from
22006         package-unpack-single.
22007         (package-unpack-single): Remove.
22008         (package--with-work-buffer): Add indentation and debugging info.
22009         (package-download-single): Remove.
22010         (package-install-from-archive): Rename from package-download-tar, make
22011         it take a pkg-desc, and make it work for single files as well.
22012         (package-download-transaction): Simplify.
22013         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
22014         external tar program.
22015         (package-install-from-buffer): Remove `pkg-desc' argument.
22016         Use package-tar-file-info for tar-mode buffers.
22017         (package-install-file): Simplify accordingly.
22018         (package-archive-base): Change to take a pkg-desc.
22019         * tar-mode.el (tar--check-descriptor): New function, extracted from
22020         tar-get-descriptor.
22021         (tar-get-descriptor): Use it.
22022         (tar-get-file-descriptor): New function.
22023         (tar--extract): New function, extracted from tar-extract.
22024         (tar--extract): Use it.
22025         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
22026         case the summary uses non-ascii.  Adjust to new calling convention of
22027         package-tar-file-info.
22029 2013-06-21  Leo Liu  <sdl.web@gmail.com>
22031         * comint.el (comint-redirect-results-list-from-process):
22032         Fix random delay.  (Bug#14681)
22034 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
22036         * profiler.el (profiler-format-number): Use log, not log10.
22038 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
22040         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
22042 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22044         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
22045         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
22046         yet available.
22047         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
22048         (AUTOGENEL): ... here.
22049         * emacs-lisp/cl-macs.el (cl--sublis): New function.
22050         (cl--defsubst-expand): Use it.
22052 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
22054         * subr.el (log10): Move here from C code, and declare as obsolete.
22055         All uses of (log10 X) replaced with (log X 10).
22057 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
22059         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
22060         Declare with `defvar-local'.
22061         (tabulated-list-use-header-line, tabulated-list-entries)
22062         (tabulated-list-padding, tabulated-list-printer)
22063         (tabulated-list-sort-key): Declare with `defvar-local'.
22064         (tabulated-list-init-header, tabulated-list-print-fake-header):
22065         Use `setq-local'.
22067 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
22069         * arc-mode.el (archive-mode): Add `archive-write-file' to
22070         `write-contents-functions' also for remote files.  (Bug#14652)
22072 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
22074         * cus-edit.el (custom-commands): Fix typos.
22075         (custom-display): Fix tooltip text.
22076         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
22077         Fix typos in docstrings.
22078         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
22079         (custom-unlispify-menu-entry, custom-magic-value-create)
22080         (custom-add-see-also, custom-group-value-create): Use ?\s.
22081         (custom-guess-type, customize-apropos, editable-field)
22082         (custom-face-value-create): Use `string-match-p'.
22083         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
22085         * custom.el (custom-load-symbol): Use `string-match-p'.
22087         * ansi-color.el: Convert to lexical binding.
22088         (ansi-colors): Fix URL.
22089         (ansi-color-context, ansi-color-context-region): Use defvar-local.
22090         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
22091         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
22093 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22095         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
22097         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
22099 2013-06-19  Tom Tromey  <tromey@redhat.com>
22101         * net/eww.el (eww-top-url): Remove.
22102         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
22103         (eww-render): Set new variables.  Don't set eww-top-url.
22104         (eww-handle-link): Handle "prev", "home", and "contents".
22105         Downcase the rel text.
22106         (eww-top-url): Choose best top URL.
22108 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22110         * net/eww.el: Rewrite to implement form elements "by hand" instead of
22111         relying in widget.el.  Using widget.el leads to too many
22112         user interface inconsistencies.
22113         (eww-self-insert): Implement entering commands in text fields.
22114         (eww-process-text-input): New function to make text input field editing
22115         work.
22116         (eww-submit): Rewrite to use the new-style form methods.
22117         (eww-select-display): Display the correct selected item.
22118         (eww-change-select): Implement changing the select value.
22119         (eww-toggle-checkbox): Implement radio/checkboxes.
22120         (eww-update-field): Fix compilation error.
22121         (eww-tag-textarea): Implement <textarea>.
22123         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
22124         we don't shadow mode-specific bindings.
22126         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
22127         nothing to push.
22129         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
22131 2013-06-19  Glenn Morris  <rgm@gnu.org>
22133         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
22135 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
22137         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
22138         not needed.
22140         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
22142 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22144         * net/browse-url.el (browse-url-browser-function):
22145         `eww-browse-url' has the right calling signature, `eww' does not.
22147 2013-06-19  Glenn Morris  <rgm@gnu.org>
22149         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
22150         Only eval autoloaded macros.
22151         (byte-compile-autoload): Only give the macro warning for macros.
22153         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
22154         (ps-underlined-faces): Declare.
22156         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
22157         (speedbar-add-supported-extension): Declare.
22159         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
22160         Don't include a date stamp in the header of the generated file;
22161         it leads to needless differences between output files.
22163 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
22165         * net/secrets.el (secrets-struct-secret-content-type):
22166         Replace check of introspection data by a test call of "CreateItem".
22167         Some servers do not offer introspection.
22169 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
22171         * electric.el (electric-pair-mode): Improve interaction with
22172         electric-layout-mode.
22173         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
22174         (electric-pair-syntax): Use text-mode-syntax-table in comments
22175         and strings.
22176         (electric-pair--insert): New function.
22177         (electric-pair-post-self-insert-function): Use it and
22178         electric--after-char-pos.
22180 2013-06-19  Leo Liu  <sdl.web@gmail.com>
22182         * progmodes/octave.el (octave-help): Fix regexp.
22184 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22186         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
22187         (shr-table-horizontal-line): Allow nil as a value, and change the
22188         default.
22189         (shr-insert-table-ruler): Respect the nil value.
22191 2013-06-18  Tom Tromey  <tromey@barimba>
22193         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22194         New defvars.
22195         (eww-open-file): New defun.
22196         (eww-render): Initialize new variables.
22197         (eww-display-html): Handle "link" and "a".
22198         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
22199         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
22200         (eww-back-url): Rename from eww-previous-url.
22201         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22202         New defuns.
22204 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
22206         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
22207         Distinguish ternary operator tokens from slash symbol and slash
22208         char literal.
22210 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
22212         Convert symbol prettification into minor mode and global minor mode.
22214         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
22215         `prog-prettify-symbols', and make a local defvar instead of defcustom.
22216         (prettify-symbols--keywords): Rename from
22217         `prog-prettify-symbols-alist' and make a local defvar.
22218         (prettify-symbols--compose-symbol): Rename from
22219         `prog--prettify-font-lock-compose-symbol'.
22220         (prettify-symbols--make-keywords): Rename from
22221         `prog-prettify-font-lock-symbols-keywords' and simplify.
22222         (prog-prettify-install): Remove.
22223         (prettify-symbols-mode): New minor mode, based on
22224         `prog-prettify-install'.
22225         (turn-on-prettify-symbols-mode): New function.
22226         (global-prettify-symbols-mode): New globalized minor mode.
22228         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22229         * progmodes/cfengine.el (cfengine3-mode):
22230         * progmodes/perl-mode.el (perl-mode): Don't call
22231         `prog-prettify-install'; set `prettify-symbols-alist' instead.
22233 2013-06-18  Juri Linkov  <juri@jurta.org>
22235         * files-x.el (modify-file-local-variable-message): New function.
22236         (modify-file-local-variable)
22237         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
22238         and call `modify-file-local-variable-message' when it's non-nil.
22239         (add-file-local-variable, delete-file-local-variable)
22240         (add-file-local-variable-prop-line)
22241         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
22242         and use it.  (Bug#9820)
22244 2013-06-18  Juri Linkov  <juri@jurta.org>
22246         * emulation/vi.el (vi-shell-op):
22247         * emulation/vip.el (vip-execute-com, ex-command):
22248         * emulation/viper-cmd.el (viper-exec-bang):
22249         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
22250         the call of `shell-command-on-region'.  (Bug#14637)
22252         * simple.el (shell-command-on-region): Doc fix.
22254 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
22256         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
22257         (bug#14633).
22259 2013-06-18  Glenn Morris  <rgm@gnu.org>
22261         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
22263         * newcomment.el (comment-search-forward, comment-search-backward):
22264         Doc fix.  (Bug#14376)
22266 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
22268         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
22269         (buffer-face-mode-invoke): Doc fix.
22271 2013-06-18  Matthias Meulien  <orontee@gmail.com>
22273         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
22274         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
22276 2013-06-18  Glenn Morris  <rgm@gnu.org>
22278         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
22279         Replace obsolete function generic-make-keywords with its expansion.
22281         * progmodes/python.el (ffap-alist): Declare.
22283         * textmodes/reftex.el (bibtex-mode-map): Declare.
22285 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
22287         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
22288         (package-unpack, package-unpack-single): Return the pkg-dir.
22289         (package-download-transaction): Use it to update package-alist.
22291 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22293         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
22294         possible choice.
22296 2013-06-17  Juri Linkov  <juri@jurta.org>
22298         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
22300 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
22302         * emacs-lisp/package.el (package-load-descriptor):
22303         Remove `with-syntax-table' call, `read' doesn't need it.
22304         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
22306 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
22308         * startup.el (command-line): Expand package name returned by
22309         `package--description-file' (bug#14639).
22311 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
22313         * emacs-lisp/package.el (package-load-descriptor): Do not call
22314         `emacs-lisp-mode', just use its syntax table.
22316 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
22318         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
22319         `font-lock-extra-managed-props' if any prettifying keyword is added.
22320         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
22321         (prog-mode): Use `setq-local'.
22323 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
22325         * international/characters.el (standard-case-table): Set syntax of ?»
22326         and ?« to punctuation.
22328 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
22330         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
22331         Save relevant match data before calling `syntax-ppss' (bug#14595).
22333 2013-06-15  Juri Linkov  <juri@jurta.org>
22335         * files-x.el (modify-file-local-variable-prop-line): Add local
22336         variables to the end of the existing comment on the first line.
22337         Use `file-auto-mode-skip' to skip interpreter magic line,
22338         and also skip XML declaration.
22340 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22342         * startup.el (package--builtin-versions): New var.
22343         (package-subdirectory-regexp): Remove.
22344         (package--description-file): Hard code its value instead.
22346         * emacs-lisp/package.el: Don't activate packages older than builtin.
22347         (package-obsolete-list): Rename from package-obsolete-alist, and make
22348         it into a simple list of package-desc.
22349         (package-strip-version): Remove.
22350         (package-built-in-p): Use package--builtin-versions.
22351         (package-mark-obsolete): Simplify.
22352         (package-process-define-package): Mark it obsolete if older than the
22353         builtin version.
22354         (package-handle-response): Use line-end-position.
22355         (package-read-archive-contents, package--download-one-archive):
22356         Simplify.
22357         (package--add-to-archive-contents): Skip if older than the builtin or
22358         installed version.
22359         (package-menu-describe-package): Fix last change.
22360         (package-list-unversioned): New var.
22361         (package-menu--generate): Use it.
22363         * emacs-lisp/autoload.el: Manage package--builtin-versions.
22364         (autoload--insert-text, autoload--insert-cookie-text): New functions.
22365         (autoload-builtin-package-versions): New variable.
22366         (autoload-generate-file-autoloads): Use them.
22367         Remove the list of autoloaded functions/macros from the
22368         (autoload...) comments.
22370         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
22372 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
22374         * simple.el (line-move-partial): Don't jump to the next screen
22375         line as soon as it becomes visible.  Instead, continue enlarging
22376         the vscroll until the portion of a tall screen line that's left on
22377         display is about the height of the frame's default font.
22378         (Bug#14567)
22380 2013-06-15  Glenn Morris  <rgm@gnu.org>
22382         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
22383         compilation-error-regexp-alist void, or local while let-bound.
22385         * progmodes/make-mode.el (makefile-mode-syntax-table):
22386         Treat "=" as punctuation.  (Bug#14614)
22388 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
22390         * help-fns.el (describe-variable):
22391         Add extra line for permanent-local variables.
22393 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
22395         * progmodes/scheme.el (scheme-font-lock-keywords-2):
22396         Add export, import, library.  (Bug#9164)
22397         (library): Set indent function.
22399 2013-06-14  Glenn Morris  <rgm@gnu.org>
22401         * term/xterm.el (xterm--query):
22402         Stop after first matching handler.  (Bug#14615)
22404 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
22406         Add support for dired in saveplace.
22407         * dired.el (dired-initial-position-hook): New variable.
22408         (dired-initial-position): Call hook to place cursor position.
22409         * saveplace.el (save-place-to-alist): Add dired position.
22410         (save-place-dired-hook): New function.
22412 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
22414         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
22415         through a symbol rather than letrec.
22417         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
22418         (package-desc): Add `dir' field.
22419         (package-desc-full-name): New function.
22420         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
22421         (package-maybe-load-descriptor): Remove.
22422         (package-load-all-descriptors): Just call package-load-descriptor.
22423         (package--disabled-p): New function.
22424         (package-desc-vers, package-desc-doc): Remove aliases.
22425         (package--dir): Remove function.
22426         (package-activate): Check if a package is disabled.
22427         (package-process-define-package): New function, extracted from
22428         define-package.
22429         (define-package): Turn into a place holder.
22430         (package-unpack-single, package-tar-file-info):
22431         Use package--description-file.
22432         (package-compute-transaction): Use package--disabled-p.
22433         (package-download-transaction): Don't call
22434         package-maybe-load-descriptor since they're all loaded anyway.
22435         (package-install): Change argument to be a pkg-desc.
22436         (package-delete): Use a single pkg-desc argument.
22437         (describe-package-1): Use package-desc-dir instead of package--dir.
22438         Use package-desc property instead of package-symbol.
22439         (package-install-button-action): Adjust accordingly.
22440         (package--push): Rewrite.
22441         (package-menu--print-info): Adjust accordingly.  Change the ID format
22442         to be a pkg-desc.
22443         (package-menu-describe-package, package-menu-get-status)
22444         (package-menu--find-upgrades, package-menu-mark-upgrades)
22445         (package-menu-execute, package-menu--name-predicate):
22446         Adjust accordingly.
22447         * startup.el (package--description-file): New function.
22448         (command-line): Use it.
22449         * emacs-lisp/package-x.el (package-upload-buffer-internal):
22450         Use package-desc-version.
22452         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
22453         (byte-compile-preprocess): Use it.
22454         (byte-compile-file-form-defalias): Try a bit harder to use macros we
22455         can't quite recognize.
22456         (byte-compile-add-to-list): Remove.
22457         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
22458         (cconv-closure-convert): Add assertion.
22460         * emacs-lisp/map-ynp.el: Use lexical-binding.
22461         (map-y-or-n-p): Remove unused vars `tail' and `object'.
22462         Factor out some repeated code.
22464 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
22466         * subr.el (with-eval-after-load): New macro.
22467         (eval-after-load): Allow form to be a function.
22468         take advantage of lexical-binding.
22469         (do-after-load-evaluation): Use dolist and adjust to new format.
22470         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
22472 2013-06-13  Juri Linkov  <juri@jurta.org>
22474         * replace.el (perform-replace): Display "symbol " and other search
22475         modes from `isearch-message-prefix' in the *Help* buffer.
22477         * isearch.el (isearch-query-replace): Add " symbol" and other
22478         possible search modes from `isearch-message-prefix' to the prompt.
22479         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
22480         when reading a regexp to collect.
22482 2013-06-13  Juri Linkov  <juri@jurta.org>
22484         * isearch.el (word-search-regexp): Match whitespace if the search
22485         string begins or ends in whitespace.  The LAX arg is applied to
22486         both ends of the search string.  Use `regexp-quote' and explicit
22487         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
22488         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22489         boundaries are replaced with symbol boundaries, and characters
22490         between symbols match non-word non-symbol syntax.  (Bug#14602)
22492 2013-06-13  Juri Linkov  <juri@jurta.org>
22494         * isearch.el (isearch-del-char): Don't exceed the length of
22495         `isearch-string' by the prefix arg.  (Bug#14563)
22497 2013-06-13  Juri Linkov  <juri@jurta.org>
22499         * isearch.el (isearch-yank-word, isearch-yank-line)
22500         (isearch-char-by-name, isearch-quote-char)
22501         (isearch-printing-char, isearch-process-search-char):
22502         Add optional count prefix arg.  (Bug#14563)
22504         * international/isearch-x.el
22505         (isearch-process-search-multibyte-characters):
22506         Add optional count prefix arg.
22508 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
22510         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22511         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22512         lexical-binding.
22514 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
22516         * subr.el (set-temporary-overlay-map): Add on-exit argument.
22518 2013-06-13  Glenn Morris  <rgm@gnu.org>
22520         * startup.el (tty-handle-args):
22521         Don't just discard "--" and anything after.  (Bug#14608)
22523         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22525 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
22527         Implement changes in Secret Service API.  Make it backward compatible.
22528         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22529         (secrets-create-item): Use it.  Prefix properties with interface.
22531 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
22533         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
22534         (term-emulate-terminal): Respect term-suppress-hard-newline.
22536 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
22538         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22539         Only remove a `thumb-file' overlay.  (Bug#14548)
22541 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
22543         * mail/reporter.el (reporter-submit-bug-report):
22544         Handle missing package-name.  (Bug#14600)
22546 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
22548         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22549         (reftex-citation-prompt, reftex-default-bibliography)
22550         (reftex-bib-or-thebib, reftex-get-bibfile-list)
22551         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22552         (reftex-bib-sort-author, reftex-bib-sort-year)
22553         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22554         (reftex-extract-bib-entries-from-thebibliography)
22555         (reftex-get-bibkey-default, reftex-get-bib-names)
22556         (reftex-parse-bibtex-entry, reftex-get-bib-field)
22557         (reftex-format-bib-entry, reftex-parse-bibitem)
22558         (reftex-format-bibitem, reftex-do-citation)
22559         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22560         (reftex-restrict-bib-matches, reftex-extract-bib-file)
22561         (reftex-insert-bib-matches, reftex-format-citation)
22562         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22563         (reftex-create-bibtex-file): Add docstrings, mostly by converting
22564         existing comments into docstrings.
22566 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
22568         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22570 2013-06-12  Andreas Schwab  <schwab@suse.de>
22572         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22573         for auto-save files.
22575 2013-06-12  Glenn Morris  <rgm@gnu.org>
22577         * ido.el (ido-delete-ignored-files): Remove.
22578         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22579         Go back to calling ido-ignore-item-p directly.
22581 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
22583         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22585         * ido.el (ido-delete-ignored-files): New function,
22586         split from ido-make-file-list-1.
22587         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
22588         (ido-make-file-list-1): Use ido-delete-ignored-files.
22590 2013-06-12  Leo Liu  <sdl.web@gmail.com>
22592         * progmodes/octave.el (inferior-octave-startup)
22593         (inferior-octave-completion-table)
22594         (inferior-octave-track-window-width-change)
22595         (octave-eldoc-function-signatures, octave-help)
22596         (octave-find-definition): Use single quoted strings.
22597         (inferior-octave-startup-args): Change default value.
22598         (inferior-octave-startup): Do not hard code "-i" and
22599         "--no-line-editing".
22600         (inferior-octave-resync-dirs): Add optional arg NOERROR.
22601         (inferior-octave-directory-tracker): Use it.
22602         (octave-goto-function-definition): Robustify.
22603         (octave-help): Support highlighting operators in 'See also'.
22604         (octave-find-definition): Find subfunctions only in Octave mode.
22606 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22608         * help-fns.el (help-fns--compiler-macro): If the handler function is
22609         named, then put a link to it.
22610         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22611         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22612         (cl-typep): Use it.
22613         (cl-eval-when): Simplify debug spec.
22614         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
22615         compiler-macro function instead of setting `compiler-macro-file'.
22617 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
22619         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22620         * vc/vc-hooks.el (vc-stay-local): Doc fix.
22622 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22623             Daniel Hackney  <dan@haxney.org>
22625         First part of Daniel Hackney's patch to package.el.
22626         * emacs-lisp/package.el: Use defstruct.
22627         (package-desc): New, main struct.
22628         (package--bi-desc, package--ac-desc): New structs, used to describe the
22629         format in external files.
22630         (package-desc-vers): Replace with package-desc-version accessor.
22631         (package-desc-doc): Replace with package-desc-summary accessor.
22632         (package-activate-1): Remove `package' arg since the pkg-vec now
22633         includes the name.
22634         (define-package): Use package-desc-from-define.
22635         (package-unpack-single): Change file-name arg to be a symbol.
22636         (package--add-to-archive-contents): Use package-desc-create and new
22637         accessor functions to package--ac-desc.
22638         (package-buffer-info, package-tar-file-info): Return a package-desc.
22639         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
22640         arg to be a package-desc.
22641         (package-install-file): Adjust accordingly.  Use \' to match EOS.
22642         (package--from-builtin): New function.
22643         (describe-package-1, package-menu--generate): Use it.
22644         (package--make-autoloads-and-compile): Change name arg to be a symbol.
22645         (package-generate-autoloads): Idem and return the name of the file.
22646         * emacs-lisp/package-x.el (package-upload-buffer-internal):
22647         Change pkg-info arg to be a package-desc.
22648         Use package-make-ac-desc.
22649         (package-upload-file): Use \' to match EOS.
22650         * finder.el (finder-compile-keywords): Use package-make-builtin.
22652 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
22654         * vc/vc.el (vc-deduce-fileset): Change error message.
22655         (vc-read-backend): New function.
22656         (vc-next-action): Use it.
22658         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
22660         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
22661         (prolog-font-lock-keywords): Use regexp-opt instead.
22662         Don't manually highlight strings.
22663         (prolog-mode-variables): Simplify comment-start-skip.
22664         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
22666         * emacs-lisp/generic.el (generic--normalise-comments)
22667         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
22668         (generic-mode-set-comments): Use them.
22669         (generic-bracket-support): Use setq-local.
22670         (generic-make-keywords-list): Declare obsolete.
22672 2013-06-11  Glenn Morris  <rgm@gnu.org>
22674         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22675         Prettify after setting font-lock-defaults.  (Bug#14574)
22677 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
22679         * replace.el (query-replace, occur-read-regexp-defaults-function)
22680         (replace-search):
22681         * subr.el (declare-function, number-sequence, local-set-key)
22682         (substitute-key-definition, locate-user-emacs-file)
22683         (with-silent-modifications, split-string, eval-after-load):
22684         Fix typos, remove unneeded backslashes and reflow some docstrings.
22686 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
22688         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
22689         default for Elisp files.
22691 2013-06-11  Glenn Morris  <rgm@gnu.org>
22693         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
22694         although define-derived-mode was doing this anyway.  (Bug#14583)
22696 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
22698         * allout.el (allout-encryption-plaintext-sanitization-regexps):
22699         Fix make-variable-buffer-local call to refer to the correct variable.
22701 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
22703         * eshell/em-term.el (eshell-visual-commands)
22704         (eshell-visual-subcommands, eshell-visual-options):
22705         Add summary line to docstrings.  Add cross-references.
22707 2013-06-10  Glenn Morris  <rgm@gnu.org>
22709         * epa.el (epa-read-file-name): New function.  (Bug#14510)
22710         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
22712 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
22714         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
22715         output redirection to be ignored with visual commands.
22717 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
22719         * eshell/em-term.el (eshell-visual-command-p): New function.
22720         (eshell-term-initialize): Move long lambda to separate function
22721         eshell-visual-command-p.
22722         * eshell/em-dirs.el (eshell-dirs-initialize):
22723         * eshell/em-script.el (eshell-script-initialize):
22724         Add missing #' to lambda.
22726 2013-06-08  Leo Liu  <sdl.web@gmail.com>
22728         * progmodes/octave.el (octave-add-log-current-defun): New function.
22729         (octave-mode): Set add-log-current-defun-function.
22730         (octave-goto-function-definition): Do not move point if not found.
22731         (octave-find-definition): Enhance to try subfunctions first.
22733 2013-06-08  Glenn Morris  <rgm@gnu.org>
22735         * emacs-lisp/bytecomp.el (byte-compile-char-before)
22736         (byte-compile-backward-char, byte-compile-backward-word):
22737         Improve previous change, to handle non-explicit nil.
22739 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
22741         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
22742         (smie--opener/closer-at-point): New function.
22743         (smie--matching-block-data): Use it.  Don't match from right after an
22744         opener or right before a closer.  Obey smie-blink-matching-inners.
22745         Don't signal a mismatch for repeated inners like "switch..case..case".
22747 2013-06-07  Leo Liu  <sdl.web@gmail.com>
22749         * progmodes/octave.el (octave-mode): Set comment-use-global-state
22750         to t.  (Bug#14303)
22751         (octave-function-header-regexp): Fix.  (Bug#14570)
22752         (octave-help-mode-finish-hook, octave-help-mode-finish):
22753         Remove.  Just use temp-buffer-show-hook.
22755         * newcomment.el (comment-search-backward): Revert last change.
22756         (Bug#14434)
22758         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
22760 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
22762         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
22763         through xargs, to avoid failure due to MS-Windows limitations on
22764         command-line length.
22766 2013-06-06  Glenn Morris  <rgm@gnu.org>
22768         * font-lock.el (lisp-font-lock-keywords-2):
22769         Treat user-error like error.
22771         * emacs-lisp/bytecomp.el (byte-compile-char-before)
22772         (byte-compile-backward-char, byte-compile-backward-word):
22773         Handle explicit nil arguments.  (Bug#14565)
22775 2013-06-05  Alan Mackenzie  <acm@muc.de>
22777         * isearch.el (isearch-allow-prefix): New user option.
22778         (isearch-other-meta-char): Don't exit isearch when a prefix
22779         argument is typed whilst `isearch-allow-prefix' is non-nil.
22780         (Bug#9706)
22782 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22784         * autorevert.el (auto-revert-notify-handler): Use memq.
22785         Hide assertion failure.
22787         * skeleton.el: Use cl-lib.
22788         (skeleton-further-elements): Use defvar-local.
22789         (skeleton-insert): Use cl-progv.
22791 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
22793         * progmodes/prog-mode.el (prog-prettify-symbols)
22794         (prog-prettify-install): Update docstrings.
22796 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22798         * simple.el: Move all the prog-mode code to prog-mode.el.
22799         * progmodes/prog-mode.el: New file.
22800         * loadup.el: Add prog-mode.el.
22802 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
22804         * simple.el (prog-prettify-symbols): Add version.
22805         (prog-prettify-install): Add convenience function to prettify symbols.
22807         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
22808         (perl--augmented-font-lock-keywords-1)
22809         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
22810         variables and use it.
22812         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22813         (cfengine3-mode): Remove unneeded variable and use it.
22815         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22816         (lisp--augmented-font-lock-keywords-1)
22817         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
22818         Remove unneeded variables and use it.
22820 2013-06-05  João Távora  <joaotavora@gmail.com>
22822         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
22823         to point when opening the connection.  (Bug#14380)
22825 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22827         * subr.el (load-history-regexp, load-history-filename-element)
22828         (eval-after-load, after-load-functions, do-after-load-evaluation)
22829         (eval-next-after-load, display-delayed-warnings)
22830         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
22831         definition of save-match-data.
22832         (overriding-local-map): Remove accidental obsolescence declaration.
22834         * emacs-lisp/edebug.el (edebug-result): Move before first use.
22836 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
22838         Generalize symbol prettify support to prog-mode and implement it
22839         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
22840         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
22841         (prog--prettify-font-lock-compose-symbol)
22842         (prog-prettify-font-lock-symbols-keywords): New variables and
22843         functions to support symbol prettification.
22844         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22845         (lisp--augmented-font-lock-keywords-1)
22846         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
22847         (lisp--prettify-symbols-alist): Implement prettify of lambda.
22848         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22849         (cfengine3--prettify-symbols-alist, cfengine3-mode):
22850         Implement prettify of -> => :: strings.
22851         * progmodes/perl-mode.el (perl-prettify-symbols)
22852         (perl--font-lock-compose-symbol)
22853         (perl--font-lock-symbols-keywords): Move to prog-mode.
22854         (perl--prettify-symbols-alist): Prettify -> => :: strings.
22855         (perl-font-lock-keywords-1)
22856         (perl-font-lock-keywords-2): Remove explicit prettify support.
22857         (perl--augmented-font-lock-keywords)
22858         (perl--augmented-font-lock-keywords-1)
22859         (perl--augmented-font-lock-keywords-2, perl-mode):
22860         Implement prettify support.
22862 2013-06-05  Leo Liu  <sdl.web@gmail.com>
22864         Re-implement SMIE matching block highlight using
22865         show-paren-data-function.  (Bug#14395)
22866         * emacs-lisp/smie.el (smie-matching-block-highlight)
22867         (smie--highlight-matching-block-overlay)
22868         (smie--highlight-matching-block-lastpos)
22869         (smie-highlight-matching-block)
22870         (smie-highlight-matching-block-mode): Remove.
22871         (smie--matching-block-data-cache): New variable.
22872         (smie--matching-block-data): New function.
22873         (smie-setup): Use smie--matching-block-data for
22874         show-paren-data-function.
22876         * progmodes/octave.el (octave-mode-menu): Fix.
22877         (octave-find-definition): Skip garbage lines.
22879 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22881         Fix compilation error with simultaneous dynamic+lexical scoping.
22882         Add warning when a defvar appears after the first let-binding.
22883         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
22884         (byte-compile-close-variables): Initialize it.
22885         (byte-compile--declare-var): New function.
22886         (byte-compile-file-form-defvar)
22887         (byte-compile-file-form-define-abbrev-table)
22888         (byte-compile-file-form-custom-declare-variable): Use it.
22889         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
22890         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
22891         (byte-compile-bind): Handle dynamic bindings that shadow
22892         lexical bindings.
22893         (byte-compile-unbind): Make arg non-optional.
22894         (byte-compile-let): Simplify.
22895         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
22896         (cconv--analyse-function, cconv-analyse-form): Populate it.
22897         Protect byte-compile-bound-variables to limit the scope of defvars.
22898         (cconv-analyse-form): Add missing rule for (defvar <foo>).
22899         Remove unneeded rule for `declare'.
22901         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
22902         so as to avoid depending on cl-adjoin at run-time.
22903         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
22905         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
22906         (macroexp--warn-and-return): Use it.
22908 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22910         * subr.el: Convert to lexical binding.
22911         (overriding-local-map): Make obsolete.
22912         (add-to-list): Doc fix.  Add compiler macro.
22913         (read-key): Swap values of local maps.
22915 2013-06-05  Leo Liu  <sdl.web@gmail.com>
22917         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
22919 2013-06-04  Leo Liu  <sdl.web@gmail.com>
22921         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
22922         (compilation-auto-jump): Suppress the "Mark set" message to give
22923         way to exit message.
22925 2013-06-04  Alan Mackenzie  <acm@muc.de>
22927         Remove faulty optimization from indentation calculation.
22928         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
22929         search limit based on 2000 characters back from indent-point.
22931 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
22933         * eshell/em-term.el (cl-lib): Require `cl-lib'.
22935 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
22937         * emacs-lisp/lisp.el: Use lexical-binding.
22938         (lisp--local-variables-1, lisp--local-variables): New functions.
22939         (lisp--local-variables-completion-table): New var.
22940         (lisp-completion-at-point): Use it complete let-bound vars.
22942         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
22943         eagerly (bug#14422).
22945 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
22947         * autorevert.el (auto-revert-notify-enabled)
22948         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
22949         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
22950         (auto-revert-notify-handler): Handle also gfilenotify.
22952         * subr.el (file-notify-handle-event): New defun.  Replacing ...
22953         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
22954         Remove.
22956 2013-06-03  Juri Linkov  <juri@jurta.org>
22958         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
22959         `M-s h .'.  (Bug#14427)
22961         * hi-lock.el (highlight-symbol-at-point): New alias for the new
22962         command `hi-lock-face-symbol-at-point'.
22963         (hi-lock-face-symbol-at-point): New command.
22964         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
22965         (hi-lock-menu): Add `highlight-symbol-at-point'.
22966         (hi-lock-mode): Doc fix.
22968         * isearch.el (isearch-forward-symbol-at-point): New command.
22969         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
22970         (isearch-highlight-regexp): Add a regexp which matches
22971         words/symbols for word/symbol mode.
22973         * subr.el (find-tag-default-bounds): New function with the body
22974         mostly moved from `find-tag-default'.
22975         (find-tag-default): Move most code to `find-tag-default-bounds',
22976         call it and apply `buffer-substring-no-properties' afterwards.
22978 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
22980         * eshell/em-term.el (eshell-term-initialize):
22981         Use `cl-intersection' rather than `intersection'.
22983 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
22985         * vc/log-view.el: Doc fix.
22986         (log-view-mode-map): Copy keymap from `special-mode-map'.
22988 2013-06-02  Eric Ludlam  <zappo@gnu.org>
22990         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
22991         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
22992         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
22993         (eieio-unbound, eieio-default-superclass)
22994         (eieio--define-field-accessors, method-static, method-before)
22995         (method-primary, method-after, method-num-lists)
22996         (method-generic-before, method-generic-primary)
22997         (method-generic-after, method-num-slots)
22998         (eieio-specialized-key-to-generic-key)
22999         (eieio--check-type, class-v, class-p)
23000         (eieio-class-name, define-obsolete-function-alias)
23001         (eieio-class-parents-fast, eieio-class-children-fast)
23002         (same-class-fast-p, class-constructor, generic-p)
23003         (generic-primary-only-p, generic-primary-only-one-p)
23004         (class-option-assoc, class-option, eieio-object-p)
23005         (class-abstract-p, class-method-invocation-order)
23006         (eieio-defclass-autoload-map, eieio-defclass-autoload)
23007         (eieio-class-un-autoload, eieio-defclass)
23008         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
23009         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
23010         (eieio--defgeneric-init-form, eieio-defgeneric-form)
23011         (eieio-defgeneric-reset-generic-form)
23012         (eieio-defgeneric-form-primary-only)
23013         (eieio-defgeneric-reset-generic-form-primary-only)
23014         (eieio-defgeneric-form-primary-only-one)
23015         (eieio-defgeneric-reset-generic-form-primary-only-one)
23016         (eieio-unbind-method-implementations)
23017         (eieio--defmethod, eieio--typep)
23018         (eieio-perform-slot-validation, eieio-validate-slot-value)
23019         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
23020         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
23021         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
23022         (eieio-slot-name-index, eieio-class-slot-name-index)
23023         (eieio-set-defaults, eieio-initarg-to-attribute)
23024         (eieio-attribute-to-initarg, eieio-c3-candidate)
23025         (eieio-c3-merge-lists, eieio-class-precedence-c3)
23026         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
23027         (eieio-class-precedence-list, eieio-generic-call-methodname)
23028         (eieio-generic-call-arglst, eieio-generic-call-key)
23029         (eieio-generic-call-next-method-list)
23030         (eieio-pre-method-execution-functions, eieio-generic-call)
23031         (eieio-generic-call-primary-only, eieiomt-method-list)
23032         (eieiomt-optimizing-obarray, eieiomt-install)
23033         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
23034         (eieio-generic-form, eieio-defmethod, make-obsolete)
23035         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
23036         (defclass): Remove `eval-and-compile' from macro.
23037         (call-next-method, shared-initialize): Instead of using
23038         `scoped-class' variable, use new eieio--scoped-class, and
23039         eieio--with-scoped-class.
23040         (initialize-instance): Rename local variable 'scoped-class' to
23041         'this-class' to remove ambiguitity from old global.
23043         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
23044         eieio.el.
23045         (eieio--scoped-class-stack): New variable.
23046         (eieio--scoped-class): New fcn.
23047         (eieio--with-scoped-class): New scoping macro.
23048         (eieio-defclass): Use pushnew instead of add-to-list.
23049         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
23050         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
23051         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
23052         `scoped-class' variable, use new eieio--scoped-class, and
23053         eieio--with-scoped-class.
23055         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
23057 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
23059         * eshell/esh-ext.el (eshell-external-command): Pass args to
23060         `eshell-find-interpreter'.
23061         (eshell-find-interpreter): Add new second parameter ARGS.
23063         * eshell/em-script.el (eshell-script-initialize): Add second arg
23064         to the function added as MATCH to `eshell-interpreter-alist'.
23066         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
23067         the function added as MATCH to `eshell-interpreter-alist'.
23069         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
23070         (eshell-visual-options): New defcustom.
23071         (eshell-escape-control-x): Adapt docstring.
23072         (eshell-term-initialize): Test `eshell-visual-subcommands' and
23073         `eshell-visual-options' in addition to `eshell-visual-commands'.
23074         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
23076 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
23078         * progmodes/python.el (python-indent-block-enders): Add break,
23079         continue and raise keywords.
23081 2013-06-01  Glenn Morris  <rgm@gnu.org>
23083         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
23085         Plain (f)boundp silences compilation warnings since Emacs 22.1.
23086         * progmodes/cc-cmds.el (delete-forward-p):
23087         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
23088         * progmodes/cc-engine.el (buffer-syntactic-context):
23089         * progmodes/cc-fonts.el (face-property-instance):
23090         * progmodes/cc-mode.el (set-keymap-parents):
23091         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
23092         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
23093         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
23094         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
23095         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
23097         * progmodes/cc-vars.el (other): Emacs has this widget since
23098         at least 21.1, so don't (re)define it.
23100         * eshell/em-cmpl.el (eshell-cmpl-initialize):
23101         Replace the obsolete alias pcomplete-arg-quote-list.
23103 2013-06-01  Leo Liu  <sdl.web@gmail.com>
23105         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
23106         punctuation syntax.
23107         (inferior-octave-minimal-columns)
23108         (inferior-octave-last-column-width): New variables.
23109         (inferior-octave-track-window-width-change): New function.
23110         (inferior-octave-mode): Adjust column width so that Octave output,
23111         for example from 'ls', can fit into the window nicely.
23113 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
23115         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23116         Highlight expansions inside regexp literals.
23118 2013-05-31  Glenn Morris  <rgm@gnu.org>
23120         * obsolete/sym-comp.el (symbol-complete):
23121         Replace obsolete completion-annotate-function.
23123         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
23125 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
23127         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23128         New function, checks if point is inside a literal that allows
23129         expression expansion.
23130         (ruby-syntax-propertize-expansion): Use it.
23131         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
23132         around the body.
23134 2013-05-30  Juri Linkov  <juri@jurta.org>
23136         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
23137         to "\M-si".
23138         (isearch-invisible): New variable.
23139         (isearch-forward): Doc fix.
23140         (isearch-mode): Set `isearch-invisible'
23141         to the value of `search-invisible'.
23142         (isearch-toggle-case-fold): Doc fix.
23143         (isearch-toggle-invisible): New command.
23144         (isearch-query-replace): Let-bind `search-invisible'
23145         to the value of `isearch-invisible'.
23146         (isearch-search): Use `isearch-invisible' instead of
23147         `search-invisible'.  Let-bind `search-invisible'
23148         to the value of `isearch-invisible'.  (Bug#11378)
23150 2013-05-30  Juri Linkov  <juri@jurta.org>
23152         * replace.el (perform-replace): Avoid `isearch-range-invisible'
23153         call when `query-flag' is nil and `search-invisible' is non-nil.
23154         (Bug#11746)
23156 2013-05-30  Glenn Morris  <rgm@gnu.org>
23158         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
23160         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
23161         (cc-require): Suppress spurious "noruntime" warnings.
23162         (cc-require-when-compile): Use fboundp, for sake of compiler.
23164         * progmodes/cc-mode.el: Move load of cc-vars before that of
23165         cc-langs (which in turn loads cc-vars), to quieten compiler.
23167 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
23169         * paren.el: Simplify the code.
23170         (show-paren-mode): Always start the timer.
23171         (show-paren--idle-timer): Rename from show-paren-idle-timer.
23172         (show-paren--overlay, show-paren--overlay-1): Rename from
23173         show-paren-overlay and show-paren-overlay-1, and initialize to an
23174         overlay rather than to nil.
23175         (show-paren-function): Misc cleanup and simplifications.
23177 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
23179         * paren.el (show-paren-data-function): New hook.
23180         (show-paren--default): New function, extracted from show-paren-function.
23181         (show-paren-function): Use show-paren-data-function.
23183 2013-05-30  Glenn Morris  <rgm@gnu.org>
23185         * ielm.el (ielm-map, ielm-complete-symbol):
23186         Use completion-at-point rather than obsolete functions.
23187         (inferior-emacs-lisp-mode): Doc fix.
23188         Set completion-at-point-functions, rather than
23189         comint-dynamic-complete-functions.
23191         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
23192         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
23193         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
23195         * image.el (image-animated-p): Tweak definition.
23197         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
23198         (rlogin-process-connection-type): Tweak default.  Add set-after.
23199         (rlogin-host): Doc fix.
23200         (rlogin): Tweak prompt.
23201         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
23203         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
23204         * progmodes/tcl.el (inferior-tcl-mode-map):
23205         Use completion-at-point rather than obsolete alias.
23207         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
23209         * minibuffer.el (read-file-name-completion-ignore-case):
23210         Move before completion--in-region, for eager macro expansion.
23212 2013-05-29  Juri Linkov  <juri@jurta.org>
23214         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
23215         for total count of matching lines.  Add `global-matches' for total
23216         count of matches.  Rename `matches' to `lines' for count of
23217         matching lines.  Add `matches' for count of matches.
23218         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
23219         to `prev-line' for line number of prev match endpt.
23220         Increment `matches' for every match.  Print the number of
23221         matching lines in the header.
23222         (occur-context-lines): Rename `lines' to `curr-line'.
23223         Rename `prev-lines' to `prev-line'.  (Bug#14017)
23225 2013-05-29  Juri Linkov  <juri@jurta.org>
23227         * replace.el (perform-replace): Add `skip-read-only-count',
23228         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
23229         Increment them for corresponding conditions and report the number
23230         of skipped occurrences in the final message.  (Bug#11746)
23231         (query-replace, query-replace-regexp, query-replace-regexp-eval)
23232         (replace-string, replace-regexp): Doc fix.
23234 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
23236         * emacs-lisp/trace.el (trace--read-args): Provide a default.
23238         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
23239         prog-mode-map (bug#14504).
23241 2013-05-29  Leo Liu  <sdl.web@gmail.com>
23243         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
23244         (octave-help): Small simplification.
23246         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
23247         off the highlight first.
23249 2013-05-29  Glenn Morris  <rgm@gnu.org>
23251         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
23252         Handle idlwave-last-system-routine-info-cons-cell being nil.
23254         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
23255         (idlwave-write-paths): Simplify via with-temp-buffer.
23257         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
23258         * emulation/cua-rect.el: Also load cua-base at run time.
23260         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
23261         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
23262         (cperl-imenu-on-info): Require imenu.
23264 2013-05-28  Alan Mackenzie  <acm@muc.de>
23266         Handle "capitalised keywords" correctly.
23267         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
23269 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
23271         * eshell/em-unix.el: Add -r option to cp.
23273 2013-05-28  Glenn Morris  <rgm@gnu.org>
23275         * vc/vc-arch.el (vc-exec-after): Declare.
23276         (vc-switches): Autoload.
23277         * vc/vc-bzr.el: No need to require vc when compiling.
23278         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
23279         (vc-resynch-buffer, vc-dir-refresh): Declare.
23280         (vc-setup-buffer, vc-switches): Autoload.
23281         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
23282         (vc-resynch-buffer): Declare.
23283         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
23284         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
23285         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
23286         (grep-read-regexp, grep-read-files, grep-expand-template)
23287         (vc-dir-refresh): Declare.
23288         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
23289         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
23290         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
23291         * vc/vc-mtn.el (vc-exec-after): Declare.
23292         (vc-switches): Autoload.
23293         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
23294         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
23295         (vc-file-tree-walk): Declare.
23296         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
23297         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
23298         (vc-tag-precondition, vc-rename-master): Autoload.
23299         * vc/vc-svn.el (vc-exec-after): Declare.
23300         (vc-switches, vc-setup-buffer): Autoload.
23301         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
23302         Autoload.
23303         (vc-resynch-buffer): Declare.
23305         * obsolete/fast-lock.el (byte-compile-warnings):
23306         Don't warn about obsolete features in this obsolete file.
23308         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
23309         Move definition before use.
23311         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
23312         (dun-unix-verbs): Remove dun-zippy.
23313         (dun-zippy): Remove function.
23315         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
23317 2013-05-27  Juri Linkov  <juri@jurta.org>
23319         * replace.el (replace-search): New function with code moved out
23320         from `perform-replace'.
23321         (replace-highlight, replace-dehighlight): Move function definitions
23322         up closer to `replace-search'.  (Bug#11746)
23324 2013-05-27  Juri Linkov  <juri@jurta.org>
23326         * replace.el (perform-replace): Ignore invisible matches.
23327         In addition to checking `query-replace-skip-read-only', also
23328         filter out matches by calling `run-hook-with-args-until-failure'
23329         on `isearch-filter-predicates', and also check `search-invisible'
23330         for t or call `isearch-range-invisible'.
23331         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
23333 2013-05-27  Juri Linkov  <juri@jurta.org>
23335         * isearch.el (isearch-filter-predicates): Rename from
23336         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
23337         (isearch-message-prefix): Display text from the property
23338         `isearch-message-prefix' of the currently active filters.
23339         (isearch-search): Don't compare `isearch-filter-predicate' with
23340         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
23341         on `isearch-filter-predicates'.  Also check `search-invisible' for t
23342         or call `isearch-range-invisible'.
23343         (isearch-filter-visible): Make obsolete.
23344         (isearch-lazy-highlight-search):
23345         Call `run-hook-with-args-until-failure' on
23346         `isearch-filter-predicates' and use `isearch-range-invisible'.
23348         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
23349         `isearch-filter-predicates' instead of `funcall'ing
23350         `isearch-filter-predicate'.
23351         (Info-mode): Set `Info-isearch-filter' to
23352         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
23354         * dired-aux.el (dired-isearch-filter-predicate-orig):
23355         Remove variable.
23356         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
23357         (dired-isearch-filenames-end): Add and remove
23358         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
23359         instead of changing the value of `isearch-filter-predicate'.
23360         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
23361         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
23362         Put property `isearch-message-prefix' to "filename " on
23363         `dired-isearch-filter-filenames'.
23365         * wdired.el (wdired-change-to-wdired-mode):
23366         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
23367         locally instead of changing `isearch-filter-predicate'.
23368         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
23370 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
23372         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
23373         return the commit hash (Bug#14459).  Also set the
23374         `vc-git-detached' property.
23375         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
23376         (vc-git-mode-line-string): Use the same help-echo format whether
23377         in detached mode or not, because we know the actual revision now.
23378         When in detached mode, shorten the revision to 7 chars.
23380 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
23382         * emacs-lisp/easy-mmode.el (define-minor-mode):
23383         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
23384         mode hook and provide a docstring.
23386 2013-05-27  Alan Mackenzie  <acm@muc.de>
23388         Remove spurious syntax-table text properties inserted by C-y.
23389         * progmodes/cc-mode.el (c-after-change): Also clear hard
23390         syntax-table property with value nil.
23392 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
23394         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
23395         when reading the events; the buffer layout shall not be changed.
23397 2013-05-27  Leo Liu  <sdl.web@gmail.com>
23399         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
23400         New variable.
23401         (inferior-octave-directory-tracker): Automatically re-sync
23402         default-directory.
23403         (octave-help): Improve handling of 'See also'.
23405 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
23407         * doc-view.el: Minor naming convention tweaks.
23408         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
23410         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
23411         even if there's no `display' property yet (bug#14435).
23413 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
23415         * subr.el (unmsys--file-name): Rename from reveal-filename.
23417         * Makefile.in (custom-deps, finder-data, autoloads)
23418         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23419         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23420         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
23422 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
23424         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
23425         error-completion on the first 2 args of condition-case (bug#14446).
23426         Don't burp at EOB.
23428 2013-05-25  Leo Liu  <sdl.web@gmail.com>
23430         * comint.el (comint-previous-matching-input): Do not flood the
23431         *Messages* buffer with trivial messages.
23433 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
23435         * progmodes/flymake.el (flymake-nop): Don't return a string.
23436         (flymake-set-at): Fix typo.
23438         * simple.el (read--expression): New function, extracted from
23439         eval-expression.  Set completion-at-point-functions (bug#14465).
23440         (eval-expression, eval-minibuffer): Use it.
23442 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
23444         * progmodes/flymake.el (flymake-save-buffer-in-file)
23445         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
23446         (flymake-selected-frame, flymake-log, flymake-ins-after)
23447         (flymake-set-at, flymake-get-buildfile-from-cache)
23448         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
23449         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
23450         Refine the doc string.
23451         (flymake-get-file-name-mode-and-masks): Reformat.
23452         (flymake-get-real-file-name-function): Fix a minor bug.
23454 2013-05-24  Juri Linkov  <juri@jurta.org>
23456         * progmodes/grep.el (grep-mode-font-lock-keywords):
23457         Support =linenumber= format used by git-grep for lines with
23458         function names.  (Bug#13549)
23460 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
23462         * progmodes/octave.el (octave-smie-rules): Return nil rather than
23463         0 after a semi-colon; it works better for smie-auto-fill.
23464         (octave--indent-new-comment-line): New function.
23465         (octave-indent-new-comment-line): Use it (indirectly).
23466         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
23467         modify comment-line-break-function.
23469         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
23470         (smie-setup): Use add-function to set it.
23472 2013-05-24  Sam Steingold  <sds@gnu.org>
23474         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
23475         argument (before the `interactive' argument).
23477 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
23479         * image-mode.el (image-mode-winprops): Add winprops to
23480         image-mode-winprops-alist before running
23481         image-mode-new-window-functions.
23482         * doc-view.el (doc-view-new-window-function): Don't delay
23483         doc-view-goto-page via timers (bug#14435).
23485 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
23487         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
23488         (doc-view-desktop-save-buffer): New function.
23489         (doc-view-restore-desktop-buffer): New function.
23490         (desktop-buffer-mode-handlers):
23491         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23492         handler.
23493         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23494         `desktop-save-buffer' function.
23496 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
23498         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23499         (tramp-gvfs-file-name-handler): Raise a user error when
23500         `tramp-gvfs-enabled' is nil.
23501         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23502         Do not raise a user error when loading package.  (Bug#14447)
23504         * net/xesam.el: Move to obsolete/.
23506 2013-05-24  Glenn Morris  <rgm@gnu.org>
23508         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23510         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23512         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23513         (Info-find-node, Man-getpage-in-background): Declare.
23515         * mail/unrmail.el (unrmail):
23516         Replace obsolete detect-coding-with-priority.
23518         * net/socks.el (socks-split-string): Use this rather than split-string.
23519         (socks-nslookup-host): Update for above change.
23520         (dynamic-choice, s5-dynamic-choice-match)
23521         (s5-dynamic-choice-match-inline, s5-widget-value-create):
23522         Comment out unused code.
23524         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23525         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23526         (gud-tooltip-echo-area): Make obsolete.
23527         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23529         * progmodes/js.el (js--optimize-arglist): Declare.
23531         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23533         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23534         (ediff-window-C): Declare.
23536         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23537         Tweak requires to silence compiler.
23539         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23540         (he-search-string, he-tried-table, he-expand-list)
23541         (he-init-string, he-string-member, he-substitute-string)
23542         (he-reset-string): Declare.
23544         * obsolete/options.el (list-options): Use custom-variable-p,
23545         rather than obsolete alias.
23547 2013-05-23  Sam Steingold  <sds@gnu.org>
23549         * simple.el (shell-command-on-region): Pass the `replace' argument
23550         down to `call-process-region' to comply with the doc as reported on
23551         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23553 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
23555         * emacs-lisp/smie.el (smie-indent-forward-token)
23556         (smie-indent-backward-token): Handle string tokens (bug#14381).
23558 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
23560         * ielm.el (ielm-menu): New menu.
23561         (inferior-emacs-lisp-mode): Set comment-start.
23563 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
23565         * textmodes/reftex.el (reftex-ref-style-toggle):
23566         Fix deactivate action.
23568         * textmodes/reftex-vars.el (reftex-ref-style-alist):
23569         Add cleveref macros.
23571         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23572         Accept options for bibliography commands.
23573         * textmodes/reftex-vars.el (reftex-bibliography-commands):
23574         Add addbibresource.  Basic Biblatex support.
23576 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
23578         * net/tramp-gvfs.el (top):
23579         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23580         when loading package.  (Bug#14447)
23582 2013-05-23  Glenn Morris  <rgm@gnu.org>
23584         * progmodes/js.el: No need to load comint when compiling.
23585         (ring-insert, comint-send-string, comint-send-input)
23586         (comint-last-input-end, ido-chop): Declare.
23588         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23589         * vc/ediff-mult.el: Adjust requires.
23590         (ediff-directories-internal, ediff-directory-revisions-internal)
23591         (ediff-patch-file-internal): Declare.
23592         * vc/ediff-ptch.el: Adjust requires.
23593         (ediff-use-last-dir, ediff-buffers-internal): Declare.
23594         (ediff-find-file): Autoload.
23595         * vc/ediff-util.el: No need to load ediff when compiling.
23596         (ediff-regions-internal): Declare.
23597         * vc/ediff-wind.el: Adjust requires.
23598         (ediff-compute-toolbar-width): Define when compiling.
23599         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23600         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23601         (dired-get-filename, dired-get-marked-files)
23602         (ediff-last-dir-patch, ediff-patch-default-directory)
23603         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23604         (ediff-patch-buffer-internal): Declare.
23606         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23607         (ispell-process, ispell-buffer-local-words, lm-summary)
23608         (lm-section-start, lm-section-end): Declare.
23609         (checkdoc-ispell-init): Simplify.
23611         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23612         (he-string-member, he-reset-string, he-substitute-string): Declare.
23614         * eshell/em-ls.el: Adjust requires.
23615         (eshell-glob-regexp): Declare.
23616         * eshell/em-tramp.el: Adjust requires.
23617         (eshell-parse-command): Autoload.
23618         * eshell/em-xtra.el: Adjust requires.
23619         (eshell-parse-command): Autoload.
23620         * eshell/esh-ext.el: Adjust requires.
23621         (eshell-parse-command, eshell-close-handles): Autoload.
23622         * eshell/esh-io.el: Adjust requires.
23623         (eshell-output-filter): Autoload.
23624         * eshell/esh-util.el: No need to load tramp when compiling.
23625         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23626         Declare.
23627         (eshell-parse-ange-ls): Require ange-ftp and tramp.
23628         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23629         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23630         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23631         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23632         * eshell/esh-opt.el, eshell/esh-proc.el:
23633         * eshell/esh-var.el: Adjust requires.
23634         * eshell/eshell.el: Do not require esh-util twice.
23635         (eshell-add-input-to-history): Declare.
23636         (eshell-command): Check history module is active before using it.
23638         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
23640 2013-05-22  Leo Liu  <sdl.web@gmail.com>
23642         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
23644 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
23646         * autorevert.el (auto-revert-notify-add-watch)
23647         (auto-revert-notify-handler): Add `attrib' for the inotify case,
23648         it indicates changes in file modification time.
23650 2013-05-22  Glenn Morris  <rgm@gnu.org>
23652         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
23653         Always delete the autoloaded function from the noruntime and
23654         unresolved functions lists.
23656         * allout.el: No need to load epa, epg, overlay when compiling.
23657         (epg-context-set-passphrase-callback, epg-list-keys)
23658         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
23659         (epg-key-user-id-list): Declare.
23661         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
23662         (viper-set-parsing-style-toggling-macro)
23663         (viper-set-emacs-state-searchstyle-macros):
23664         Use called-interactively-p on Emacs.
23665         (viper-looking-back): Make it an obsolete alias.  Update callers.
23666         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
23667         Use looking-back rather than viper-looking-back.
23668         (viper-tmp-insert-at-eob, viper-enlarge-region)
23669         (viper-read-string-with-history, viper-register-to-point)
23670         (viper-append-to-register, viper-change-state-to-vi)
23671         (viper-backward-char-carefully, viper-forward-char-carefully)
23672         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
23673         (viper-change-state-to-emacs): Declare.
23674         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
23675         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
23676         * emulation/viper-mous.el: Do not load viper-cmd.
23677         (viper-backward-char-carefully, viper-forward-char-carefully)
23678         (viper-forward-word, viper-adjust-window): Declare.
23680         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
23682         * progmodes/idlw-help.el (idlwave-help-fontify):
23683         Use called-interactively-p.
23685         * term/w32console.el (w32-get-console-codepage)
23686         (w32-get-console-output-codepage): Declare.
23688         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
23689         Remove unnecessary declarations.
23690         (dframe-message): Doc fix.
23692         * info.el (dframe-select-attached-frame, dframe-current-frame):
23693         Declare.
23695         * speedbar.el (speedbar-message): Make it an obsolete alias.
23696         Update all callers.
23697         (speedbar-with-attached-buffer)
23698         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
23699         (speedbar-with-writable): Use backquote.
23700         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
23701         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
23702         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
23703         rather than speedbar- aliases.
23704         * mail/rmail.el: Load dframe rather than speedbar when compiling.
23705         (speedbar-make-specialized-keymap, speedbar-insert-button)
23706         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
23707         (speedbar-do-function-pointer): Declare.
23708         (rmail-speedbar-button, rmail-speedbar-find-file)
23709         (rmail-speedbar-move-message):
23710         Use dframe-with-attached-buffer rather than speedbar- alias.
23711         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
23712         (dframe-message, speedbar-make-specialized-keymap)
23713         (speedbar-add-expansion-list, speedbar-mode-functions-list)
23714         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
23715         (speedbar-insert-button, dframe-select-attached-frame)
23716         (dframe-maybee-jump-to-attached-frame)
23717         (speedbar-change-initial-expansion-list)
23718         (speedbar-previously-used-expansion-list-name): Declare.
23719         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
23720         Use dframe-message, dframe-with-attached-buffer rather than
23721         speedbar- aliases.
23722         (gud-sentinel): Silence compiler.
23723         * progmodes/vhdl-mode.el (speedbar-refresh)
23724         (speedbar-do-function-pointer, speedbar-add-supported-extension)
23725         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
23726         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
23727         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
23728         (speedbar-file-lists, speedbar-make-tag-line)
23729         (speedbar-line-directory, speedbar-goto-this-file)
23730         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
23731         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
23732         (speedbar-make-button, speedbar-reset-scanners)
23733         (speedbar-files-item-info, speedbar-line-text)
23734         (speedbar-find-file-in-frame, speedbar-set-timer)
23735         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
23736         (speedbar-with-writable): Do not (re)define it.
23737         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
23738         rather than speedbar- alias.
23740 2013-05-21  Leo Liu  <sdl.web@gmail.com>
23742         * progmodes/octave.el (octave-mode-menu): Update and re-organize
23743         menu items.
23744         (octave-mode): Tweak fill-nobreak-predicate.
23745         (inferior-octave-startup): Check process to avoid infinite loop.
23746         (inferior-octave): Pop to buffer first to show abornmal process
23747         exit information.
23749 2013-05-21  Glenn Morris  <rgm@gnu.org>
23751         * printing.el (pr-menu-bar): Define when compiling.
23753 2013-05-21  Leo Liu  <sdl.web@gmail.com>
23755         * progmodes/octave.el (octave-auto-fill): Remove.
23756         (octave-indent-new-comment-line): Improve.
23757         (octave-mode): Use auto fill mode through
23758         comment-line-break-function and fill-nobreak-predicate.
23759         (octave-goto-function-definition): Support DEFUN_DLD.
23760         (octave-beginning-of-defun): Small tweak.
23761         (octave-help): Show parent directory.
23763 2013-05-21  Glenn Morris  <rgm@gnu.org>
23765         * files.el (dired-unmark):
23766         * progmodes/gud.el (gdb-input): Update declarations.
23768         * calculator.el (electric, ehelp): No need to load when compiling.
23769         (Electric-command-loop, electric-describe-mode): Declare.
23771         * doc-view.el (doc-view-current-converter-processes): Move before use.
23773         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
23774         Move MODE-set-explicitly definition before use.
23776         * international/mule-diag.el (mule-diag):
23777         Don't use obsolete window-system-version.
23779         * mail/feedmail.el (smtpmail): No need to load when compiling.
23780         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
23782         * mail/mail-utils.el (rfc822): No need to load when compiling.
23783         (rfc822-addresses): Autoload it.
23784         (mail-strip-quoted-names): Trivial simplification.
23786         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
23787         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
23789         * net/snmp-mode.el (tempo): Don't duplicate requires.
23791         * progmodes/prolog.el (info): No need to load when compiling.
23792         (comint): Require before shell requires it.
23793         (Info-goto-node): Autoload it.
23794         (Info-follow-nearest-node): Declare.
23795         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
23797         * textmodes/artist.el (picture-mode-exit): Declare.
23799         * textmodes/reftex-parse.el (reftex-parse-from-file):
23800         Trivial rewrite so the compiler can parse it better.
23802 2013-05-20  Leo Liu  <sdl.web@gmail.com>
23804         * progmodes/octave.el (octave-help-mode-map)
23805         (octave-help-mode-finish-hook): New variables.
23806         (octave-help-mode, octave-help-mode-finish): New functions.
23807         (octave-help): Use octave-help-mode.
23809 2013-05-20  Glenn Morris  <rgm@gnu.org>
23811         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
23813 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
23815         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
23816         start at point, so that expansion starting right after opening
23817         slash in a regexp is recognized.
23818         (ruby-syntax-before-regexp-re): New defvar, extracted from
23819         ruby-syntax-propertize-function.  Since the value of this regexp
23820         is looked up at runtime now, we should be able to turn
23821         `ruby-syntax-methods-before-regexp' into a defcustom later.
23822         (ruby-syntax-propertize-function): Split regexp matching into two
23823         parts, for opening and closing slashes.  That allows us to skip
23824         over string interpolations and support multiline regexps.
23825         Don't call `ruby-syntax-propertize-expansions', instead use another rule
23826         for them, which calls `ruby-syntax-propertize-expansion'.
23827         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
23828         call to `ruby-syntax-propertize-function'.
23829         (ruby-syntax-propertize-expansion): Extracted from
23830         `ruby-syntax-propertize-expansions'.  Handles one expansion.
23831         (ruby-syntax-propertize-percent-literal): Leave point right after
23832         the percent symbol, so that the expression expansion rule can
23833         propertize the contents.
23834         (ruby-syntax-propertize-heredoc): Leave point at bol following the
23835         heredoc openers.
23836         (ruby-syntax-propertize-expansions): Remove.
23838 2013-05-18  Juri Linkov  <juri@jurta.org>
23840         * man.el (Man-default-man-entry): Remove `-' from the end
23841         of the default value.  (Bug#14400)
23843 2013-05-18  Glenn Morris  <rgm@gnu.org>
23845         * comint.el (comint-password-prompt-regexp):
23846         Allow "password for XXX" where XXX contains colons (eg https://...).
23848 2013-05-18  Leo Liu  <sdl.web@gmail.com>
23850         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
23851         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
23852         (octave-source-directories): Don't check process.
23853         (octave-source-directories, octave-find-definition): Doc fix.
23855 2013-05-18  Glenn Morris  <rgm@gnu.org>
23857         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
23858         Remove backspace/delete bindings.  (Bug#14392)
23860         * cus-dep.el (custom-make-dependencies): Sort the output.
23861         (custom-versions-load-alist): Convert comment to doc.
23863 2013-05-17  Leo Liu  <sdl.web@gmail.com>
23865         * newcomment.el (comment-search-backward): Stricter in finding
23866         comment start.  (Bug#14303)
23868         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
23869         (octave-comment-start-skip): Properly anchored.
23871 2013-05-17  Leo Liu  <sdl.web@gmail.com>
23873         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
23874         Clean up when turned off.  (Bug#14395)
23875         (smie--highlight-matching-block-overlay): No longer buffer-local.
23876         (smie-highlight-matching-block): Adjust.
23878 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
23880         Doc string fix for "nanoseconds" (Bug#14406).
23881         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
23882         Fix doc string typo that had "nanoseconds" instead of "microseconds".
23884 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
23886         * calc/calc-units.el (math-extract-units): Preserve powers
23887         of units.
23889 2013-05-17  Leo Liu  <sdl.web@gmail.com>
23891         * subr.el (delete-consecutive-dups): New function.
23892         * ido.el (ido-set-matches-1): Use it.
23893         * progmodes/octave.el (inferior-octave-completion-table): Use it.
23894         * ido.el (ido-remove-consecutive-dups): Remove.
23896 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
23898         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23899         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
23900         regexp-opt's `words'.
23902 2013-05-16  Leo Liu  <sdl.web@gmail.com>
23904         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
23905         (smie--highlight-matching-block-overlay)
23906         (smie--highlight-matching-block-lastpos)
23907         (smie--highlight-matching-block-timer): New variables.
23908         (smie-highlight-matching-block): New function.
23909         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
23910         (smie-setup): Conditionally enable smie-blink-matching-open.
23912 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
23914         Sync with upstream verilog-mode r840.
23915         * progmodes/verilog-mode.el (verilog-mode-version)
23916         (verilog-mode-release-date): Update.
23917         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
23918         (verilog-sig-tieoff): Fix string error on
23919         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
23920         (verilog-read-decls): Fix parameters confusing
23921         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
23923 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
23925         * subr.el (reveal-filename): New function.
23927         * loadup.el: Compute Emacs executable versions on MS-Windows,
23928         where executables have the .exe extension.  Add a hard link
23929         emacs-XX.YY.ZZ.exe on MS-Windows.
23931         * Makefile.in (XARGS_LIMIT): New variable.
23932         (custom-deps, finder-data, autoloads)
23933         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23934         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23935         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
23936         (compile-main): Limit xargs according to $(XARGS_LIMIT).
23938 2013-05-16  Leo Liu  <sdl.web@gmail.com>
23940         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
23941         (octave-mode-menu, octave-mode-map): Remove its uses.
23943 2013-05-16  Reto Zimmermann  <reto@gnu.org>
23945         Sync with upstream vhdl mode v3.34.2.
23946         * progmodes/vhdl-mode.el: Use `push' throughout.
23947         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
23948         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
23949         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
23950         (vhdl-actual-generic-name): New option to derive actual generic name.
23951         (vhdl-port-paste-signals): Replace formal by actual generics.
23952         (vhdl-beautify): New name for old group vhdl-align.  Update users.
23953         (vhdl-beautify-options): New option.
23954         (vhdl-last-input-event): New compat alias.  Use throughout.
23955         (vhdl-goto-line): Replace user level function `goto-line'.
23956         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
23957         vhdl-fix-statement-buffer.
23958         (vhdl-create-mode-menu): Add some entries.
23959         (vhdl-align-region-groups): Respect vhdl-beautify-options.
23960         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
23961         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
23962         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
23963         to force statements on one line.
23964         (vhdl-remove-trailing-spaces-region):
23965         New, split from vhdl-remove-trailing-spaces.
23966         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
23967         Respect vhdl-beautify-options.
23968         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
23969         (vhdl-update-sensitivity-list): Not add with index if exists without.
23970         Not include array index with signal.  Ignore keywords in comments.
23971         (vhdl-get-visible-signals): Regexp tweaks.
23972         (vhdl-template-component-inst): Handle empty library.
23973         (vhdl-template-type): Add template for 'enum' type.
23974         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
23975         Use vhdl-replace-string.
23976         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
23977         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
23978         (vhdl-speedbar-initialize): Update for above name change.
23979         (vhdl-compose-wire-components): Fix in handling of constants.
23980         (vhdl-error-regexp-emacs-alist): New variable.
23981         (vhdl-error-regexp-add-emacs): New function;
23982         adds support for new compile.el (Emacs 22+)
23983         (vhdl-generate-makefile-1): Change target order for single lib. units.
23984         Allow use of absolute file names.
23986 2013-05-16  Leo Liu  <sdl.web@gmail.com>
23988         * simple.el (prog-indent-sexp): Indent enclosing defun.
23990 2013-05-15  Glenn Morris  <rgm@gnu.org>
23992         * cus-start.el (show-trailing-whitespace): Move to editing basics.
23993         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
23994         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
23995         (whitespace-highlight): Move to whitespace group.
23997         * comint.el (comint-source):
23998         * pcmpl-linux.el (pcmpl-linux):
23999         * shell.el (shell-faces):
24000         * eshell/esh-opt.el (eshell-opt):
24001         * international/ccl.el (ccl): Remove empty custom groups.
24003         * completion.el (dynamic-completion-mode):
24004         * jit-lock.el (jit-lock-debug-mode):
24005         * minibuffer.el (completion-in-region-mode):
24006         * type-break.el (type-break-mode-line-message-mode)
24007         (type-break-query-mode):
24008         * emulation/tpu-edt.el (tpu-edt-mode):
24009         * progmodes/subword.el (global-subword-mode, global-superword-mode):
24010         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
24011         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
24013         * term/xterm.el (xterm): Change parent group to terminals.
24015         * master.el (master): Remove empty custom group.
24016         (master-mode): Remove unused :group argument.
24017         * textmodes/refill.el (refill): Remove empty custom group.
24018         (refill-mode): Remove unused :group argument.
24020         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
24022         * cus-dep.el: Provide a feature.
24023         (custom-make-dependencies): Ignore dotfiles (dir-locals).
24024         Don't mistakenly ignore files whose basenames match a basename
24025         from preloaded-file-list (eg cedet/ede/simple.el).
24026         Add a fallback method for getting :group.
24028 2013-05-15  Juri Linkov  <juri@jurta.org>
24030         * isearch.el (isearch-char-by-name): Rename from
24031         `isearch-insert-char-by-name'.  Doc fix.
24032         (isearch-forward): Mention `isearch-char-by-name' in
24033         the docstring.  (Bug#13348)
24035         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
24036         `exit-minibuffer' instead of
24037         `isearch-nonincremental-exit-minibuffer'.
24038         (isearch-edit-string): Remove mention of
24039         `isearch-nonincremental-exit-minibuffer' from docstring.
24040         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
24041         (isearch-forward-exit-minibuffer)
24042         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
24044 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24046         * loadup.el: Just use unversioned DOC.
24048         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
24049         literals as extending to EOB.
24050         (nxml-last-fontify-end): Remove unused variable.
24051         (nxml-after-change1): Use with-silent-modifications.
24052         (nxml-extend-after-change-region): Simplify.
24053         (nxml-extend-after-change-region1): Remove function.
24054         (nxml-after-change1): Don't adjust for dependent regions.
24055         (nxml-fontify-matcher): Simplify.
24056         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
24057         (xmltok-add-dependent): Remove function.
24058         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
24059         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
24060         (xmltok-scan-prolog-after-processing-instruction-open): Treat
24061         unclosed <[[, <?, comment, and other literals as extending to EOB.
24062         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
24063         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
24064         Remove functions.
24065         (rng-do-some-validation-1): Don't mark dependent regions.
24066         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
24067         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
24068         (nxml-clear-dependent-regions): Remove functions.
24069         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
24070         (nxml-ensure-scan-up-to-date):
24071         Don't clear&mark dependent regions.
24073 2013-05-15  Leo Liu  <sdl.web@gmail.com>
24075         * progmodes/octave.el (octave-goto-function-definition):
24076         Improve and fix callers.
24078 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24080         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
24081         the setter (bug#14387).
24083         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
24084         surrounding group (bug#14402).
24086 2013-05-14  Juri Linkov  <juri@jurta.org>
24088         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
24089         (Bug#14390)
24091 2013-05-14  Glenn Morris  <rgm@gnu.org>
24093         * progmodes/f90.el (f90-imenu-generic-expression):
24094         Fix typo in 2013-05-08 change.  (Bug#14402)
24096 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
24098         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
24099         Remove signals for which replies are never received.
24101 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
24103         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
24104         (gdb-handler-alist, gdb-handler-number): Remove variables.
24105         (gdb-handler-list): New variable.
24106         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
24107         (gdb-pending-handler-p, gdb-handle-reply)
24108         (gdb-remove-all-pending-triggers): New functions.
24109         (gdb-discard-unordered-replies): New defcustom.
24110         (gdb-handler): New defstruct.
24111         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
24112         instead of gdb-pending-triggers.  Update docstring.
24113         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
24114         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
24115         (gdb-var-update-handler, def-gdb-auto-update-trigger)
24116         (def-gdb-auto-update-handler, gdb-get-changed-registers)
24117         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
24118         (gdb-frame-handler): Pending triggers are now automatically managed.
24119         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
24120         Remove argument.
24121         (gdb-input): Automatically handles pending triggers.  Update docstring.
24122         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
24123         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
24124         Update comments.
24125         (gdb-done-or-error): Now use gdb-handle-reply.
24127 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
24129         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
24130         gdb-debug-log.
24132 2013-05-14  Glenn Morris  <rgm@gnu.org>
24134         * subr.el (user-emacs-directory-warning): New option.
24135         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
24137 2013-05-14  Leo Liu  <sdl.web@gmail.com>
24139         * progmodes/octave.el (octave-font-lock-keywords): Fix error
24140         during redisplay.
24141         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
24142         (octave-font-lock-texinfo-comment): Fix invalid search bound
24143         error: wrong side of point.
24145 2013-05-14  Glenn Morris  <rgm@gnu.org>
24147         * progmodes/flymake.el (flymake-xml-program): New option.
24148         (flymake-xml-init): Use it.
24150         * term/xterm.el: Provide a feature.
24152         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
24154 2013-05-13  Glenn Morris  <rgm@gnu.org>
24156         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
24157         Add compat aliases as a hack workaround.  (Bug#14384)
24159 2013-05-13  Leo Liu  <sdl.web@gmail.com>
24161         * progmodes/octave.el (octave-indent-comment): Fix indentation for
24162         ###, and %!.
24163         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
24164         C-M-q.
24165         (octave-comment-start-skip): Include %!.
24166         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
24168 2013-05-12  Leo Liu  <sdl.web@gmail.com>
24170         * progmodes/octave.el (inferior-octave-startup): Store the value
24171         of __octave_srcdir__ for octave-source-directories.
24172         (inferior-octave-check-process): New function refactored out of
24173         inferior-octave-send-list-and-digest.
24174         (octave-source-directories)
24175         (octave-find-definition-filename-function): New variables.
24176         (octave-source-directories)
24177         (octave-find-definition-default-filename): New functions.
24178         (octave-find-definition): Improve to find functions implemented in C++.
24180 2013-05-12  Glenn Morris  <rgm@gnu.org>
24182         * calendar/diary-lib.el (diary-outlook-format-1):
24183         Don't include dayname in the output.  (Bug#14349)
24185 2013-05-11  Glenn Morris  <rgm@gnu.org>
24187         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
24189         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
24190         Treat cc-provide like provide.
24192 2013-05-11  Kevin Ryde  <user42@zip.com.au>
24194         * cus-dep.el (custom-make-dependencies):
24195         Use generated-autoload-load-name for the sake of files such
24196         such cedet/semantic/bovine/c.el, where the base file name
24197         is not in load-path.  (Bug#5277)
24199 2013-05-11  Glenn Morris  <rgm@gnu.org>
24201         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
24202         Provide features.
24204 2013-05-11  Leo Liu  <sdl.web@gmail.com>
24206         * progmodes/octave.el (octave-indent-comment): Improve.
24207         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
24208         (octave-eldoc-function-signatures, octave-eldoc-function):
24209         New functions.
24210         (octave-mode, inferior-octave-mode): Add eldoc support.
24212 2013-05-11  Richard Stallman  <rms@gnu.org>
24214         * epa.el (epa-decrypt-file): Take output file name as argument
24215         and read it using `interactive'.
24217 2013-05-11  Leo Liu  <sdl.web@gmail.com>
24219         * progmodes/octave.el (octave-beginning-of-line)
24220         (octave-end-of-line): Check before using up-list because it jumps
24221         out of more syntactic contructs since moving to smie.
24222         (octave-indent-comment): New function.
24223         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
24224         (octave-begin-keywords, octave-end-keywords)
24225         (octave-reserved-words, octave-smie-bnf-table)
24226         (octave-smie-rules): Add new keywords from Octave 3.6.4.
24228 2013-05-11  Glenn Morris  <rgm@gnu.org>
24230         * faces.el (internal-face-x-get-resource):
24231         * frame.el (ns-display-monitor-attributes-list):
24232         * calc/calc-aent.el (math-to-radians-2):
24233         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
24234         Fix declarations.
24236         * calc/calc-menu.el: Make it loadable in isolation.
24238         * net/eudcb-bbdb.el: Make it loadable without bbdb.
24239         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
24240         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
24241         (eudc-bbdb-query-internal): Require 'bbdb.
24243         * lpr.el (lpr-headers-switches):
24244         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
24246         * progmodes/sql.el (sql-login-params): Fix and improve :type.
24248         * emulation/edt-mapper.el: In batch mode, error rather than hang.
24250         * term.el (term-set-escape-char): Make it idempotent.
24252 2013-05-10  Leo Liu  <sdl.web@gmail.com>
24254         * progmodes/octave.el (inferior-octave-completion-table):
24255         No longer a function and all uses changed.  Use cache to speed up
24256         completion due to bug#11906.
24257         (octave-beginning-of-defun): Re-write to be more general.
24259 2013-05-10  Glenn Morris  <rgm@gnu.org>
24261         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
24263 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
24265         * comint.el (comint-redirect-send-command-to-process): Use :around
24266         rather than :override for comint-redirect-filter.
24267         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
24268         Call it instead of comint-redirect-original-filter-function (which
24269         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
24271 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
24273         * frame.el (display-monitor-attributes-list): Add NS case.
24274         (ns-display-monitor-attributes-list): Declare.
24276 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
24278         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
24280 2013-05-09  Glenn Morris  <rgm@gnu.org>
24282         * international/fontset.el (vertical-centering-font-regexp):
24283         Set standard-value.
24285         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
24287         * bookmark.el (bookmark-search-delay):
24288         * cus-start.el (vertical-centering-font-regexp):
24289         * ps-mule.el (ps-mule-font-info-database-default):
24290         * ps-print.el (ps-default-fg, ps-default-bg):
24291         * type-break.el (type-break-good-break-interval):
24292         * whitespace.el (whitespace-indentation-regexp)
24293         (whitespace-space-after-tab-regexp):
24294         * emacs-lisp/testcover.el (testcover-1value-functions)
24295         (testcover-noreturn-functions, testcover-progn-functions)
24296         (testcover-prog1-functions):
24297         * emulation/viper-init.el (viper-emacs-state-cursor-color):
24298         * eshell/em-glob.el (eshell-glob-translate-alist):
24299         * play/tetris.el (tetris-tty-colors):
24300         * progmodes/cpp.el (cpp-face-default-list):
24301         * progmodes/flymake.el (flymake-allowed-file-name-masks):
24302         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
24303         (idlwave-help-browser-generic-args):
24304         * progmodes/make-mode.el (makefile-special-targets-list):
24305         * progmodes/python.el (python-shell-virtualenv-path):
24306         * progmodes/verilog-mode.el (verilog-active-low-regexp)
24307         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
24308         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
24309         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
24310         * textmodes/reftex-vars.el (reftex-format-label-function):
24311         * textmodes/remember.el (remember-diary-file): Fix custom types.
24313         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
24314         Add :version.
24316 2013-05-09  Leo Liu  <sdl.web@gmail.com>
24318         * progmodes/octave.el (inferior-octave-completion-at-point):
24319         Restore file completion.  (Bug#14300)
24320         (inferior-octave-startup): Fix incorrect highlighting for the
24321         first prompt.
24323 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
24325         * progmodes/ruby-mode.el: First cut at SMIE support.
24326         (ruby-use-smie): New var.
24327         (ruby-smie-grammar): New constant.
24328         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
24329         (ruby-smie--forward-token, ruby-smie--backward-token)
24330         (ruby-smie-rules): New functions.
24331         (ruby-mode-variables): Setup SMIE if applicable.
24333 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
24335         * simple.el (line-move-visual): Signal beginning/end of buffer
24336         only if vertical-motion moved less than it was requested.  Avoids
24337         silly incorrect error messages when there are display strings with
24338         multiple newlines at EOL.
24340 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
24342         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
24343         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
24344         (prolog-char-quote-workaround):
24345         * progmodes/cperl-mode.el (cperl-under-as-char):
24346         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
24347         Mark as obsolete.
24348         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
24349         their declaration.
24350         (vhdl-mode-syntax-table-init): Remove.
24352         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
24353         last change.
24355         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
24356         syntax for "_".
24357         (ld-script-font-lock-keywords):
24358         Change regexps to use things like \_< and \_>.
24360         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
24361         Change all regexps to use things like \_< and \_>.
24363         * progmodes/autoconf.el (autoconf-definition-regexp)
24364         (autoconf-font-lock-keywords, autoconf-current-defun-function):
24365         Handle a _ with symbol syntax.
24366         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
24368         * progmodes/ada-mode.el (ada-mode-abbrev-table):
24369         Consolidate declaration.
24370         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
24371         the declaration.
24372         (ada-create-syntax-table): Remove.
24373         (ada-capitalize-word): Don't mess with the syntax of "_" since it
24374         already has the right syntax nowadays.
24375         (ada-goto-next-word): Don't change the syntax of "_".
24377         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
24378         with-wrapper-hook.
24380 2013-05-08  Sam Steingold  <sds@gnu.org>
24382         * thingatpt.el (thing-at-point): Accept optional second argument
24383         NO-PROPERTIES to strip the text properties from the return value.
24384         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
24385         to `thing-at-point' instead of stripping the properties ourselves.
24386         Also, when `thing-at-point' fails to find a url, prepend "http://"
24387         to the filename at point on the assumption that the user is
24388         pointing at something like gnu.org/gnu.
24390 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
24392         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24393         * faces.el (crm-separator):
24394         Silence byte-compiler.
24396         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
24397         (tool-bar-map): Remove unneeded defvars.
24399 2013-05-08  Leo Liu  <sdl.web@gmail.com>
24401         Re-work a fix for bug#10994 based on Le Wang's patch.
24402         * ido.el (ido-remove-consecutive-dups): New helper.
24403         (ido-completing-read): Use it.
24404         (ido-chop): Revert fix for bug#10994.
24406 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
24408         * cus-edit.el (custom-save-variables):
24409         Pretty-print long values.  (Bug#14187)
24411 2013-05-08  Glenn Morris  <rgm@gnu.org>
24413         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
24414         (m4-mode-syntax-table): Init in the defvar.
24415         (m4-mode-abbrev-table): Let define-derived-mode define it.
24417 2013-05-08  Tom Tromey  <tromey@redhat.com>
24419         * progmodes/m4-mode.el (m4-mode-syntax-table):
24420         Do not treat "_" as word constituent.  (Bug#14167)
24422 2013-05-07  Glenn Morris  <rgm@gnu.org>
24424         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
24425         Remove explicit eshell-isearch-cancel-map.
24427         * progmodes/f90.el (f90-smart-end-names): New option.
24428         (f90-smart-end): Doc fix.
24429         (f90-end-block-optional-name): New constant.
24430         (f90-block-match): Respect f90-smart-end-names.
24432 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
24434         * progmodes/octave.el (octave-smie-forward-token): Be more careful
24435         about implicit semi-colons (bug#14218).
24437 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
24439         * frame.el (display-monitor-attributes-list)
24440         (frame-monitor-attributes): New functions.
24442 2013-05-06  Leo Liu  <sdl.web@gmail.com>
24444         * progmodes/octave.el (octave-syntax-propertize-function): Change
24445         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
24446         (octave-font-lock-keywords): Use octave-operator-regexp.
24447         (octave-completion-at-point): Rename from
24448         octave-completion-at-point-function.
24449         (inferior-octave-directory-tracker): Robustify.
24450         (octave-text-functions): Remove and fix its uses.  No such things
24451         any more.
24453 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
24455         * emacs-lisp/trace.el (trace--display-buffer): New function.
24456         (trace-make-advice): Use it.
24458 2013-05-06  Juri Linkov  <juri@jurta.org>
24460         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
24461         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
24462         Doc fix.
24463         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
24464         in the help string.  (Bug#12985)
24466 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
24468         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
24470 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
24472         * progmodes/perl-mode.el: Add support for here documents.
24473         (perl-syntax-propertize-function): Match here-doc markers.
24474         (perl-syntax-propertize-special-constructs): Find their end.
24475         (perl-imenu-generic-expression): Use [:alnum:].
24477         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
24478         (advice--add-function): Refresh the advice if already present
24479         (bug#14317).
24481 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
24483         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
24485 2013-05-06  Glenn Morris  <rgm@gnu.org>
24487         * w32-fns.el (w32-charset-info-alist): Declare.
24489         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24490         of its defcustom properties.
24491         (eshell-cmpl-initialize): No need to load pcomplete.
24493         * generic-x.el: No need to require comint when compiling.
24495         * net/eudc-export.el: Make it loadable without bbdb.
24496         (top-level): Use require rather than load-library.
24497         (eudc-create-bbdb-record, eudc-bbdbify-phone)
24498         (eudc-batch-export-records-to-bbdb)
24499         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24500         Require bbdb.
24502 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
24504         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24505         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24506         some tweaks, instead.
24508 2013-05-05  Leo Liu  <sdl.web@gmail.com>
24510         * progmodes/octave.el (octave-font-lock-keywords)
24511         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24512         (inferior-octave-send-list-and-digest): Improve error message.
24513         (octave-mode, inferior-octave-mode): Use setq-local.
24514         (octave-help): Set info-lookup-mode.
24516 2013-05-05  Richard Stallman  <rms@gnu.org>
24518         * vc/compare-w.el (compare-windows-whitespace):
24519         Treat no-break space as whitespace.
24521         * mail/rmailsum.el (rmail-summary-rmail-update):
24522         Detect empty summary and don't change selected message.
24523         (rmail-summary-goto-msg): Likewise.
24525         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24526         Doc fixes, rename args.
24528 2013-05-05  Alan Mackenzie  <acm@muc.de>
24530         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24532 2013-05-05  Juri Linkov  <juri@jurta.org>
24534         * info.el (Info-read-subfile): Use (point-min) instead of (point)
24535         to not add the length of the summary segment to the return value.
24536         (Bug#14125)
24538 2013-05-05  Leo Liu  <sdl.web@gmail.com>
24540         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24541         (inferior-octave-output-filter): Remove.
24542         (octave-send-region, inferior-octave-startup): Fix callers.
24543         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24544         (octave-binary-file-extensions): New user variable.
24545         (octave-find-definition): Confirm if opening binary files.
24546         (octave-help-file): Use octave-find-definition to get the binary
24547         confirmation.
24548         (octave-help): Adjust for octave-help-file change.
24550 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
24552         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24553         Merge the two entries that handle function definitions.
24554         (pascal--syntax-propertize): New const.
24555         (pascal-mode): Use it.  Use setq-local.
24557 2013-05-04  Glenn Morris  <rgm@gnu.org>
24559         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24560         (diary-from-outlook): Respect diary-from-outlook-function.
24562 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
24564         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24565         Move the declaration from C.
24566         (read-minibuffer, eval-minibuffer): Move from C.
24567         (completion-setup-function): Avoid minibuffer-completion-contents.
24569 2013-05-03  Leo Liu  <sdl.web@gmail.com>
24571         * progmodes/octave.el (octave-font-lock-keywords): Do not
24572         dehighlight 'end' in comments or strings.
24573         (octave-completing-read, octave-goto-function-definition):
24574         New helpers.
24575         (octave-help-buffer): New user variable.
24576         (octave-help-file, octave-help-function): New button types.
24577         (octave-help): New command and bind it to C-h ;.
24578         (octave-find-definition): New command and bind it to M-.
24579         (user-error): Alias to error if not defined.
24581 2013-05-02  Leo Liu  <sdl.web@gmail.com>
24583         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24584         for \.  (bug#14332)
24585         (octave-font-lock-keywords): Include [ and {.
24587 2013-05-02  Leo Liu  <sdl.web@gmail.com>
24589         * progmodes/octave.el (inferior-octave-startup-file): Change default.
24590         (inferior-octave): Remove calling comint-mode and return the buffer.
24591         (inferior-octave-startup): Cosmetic changes.
24593 2013-05-02  Leo Liu  <sdl.web@gmail.com>
24595         * progmodes/octave.el (octave-syntax-propertize-function):
24596         Include the case when ' is at line beginning.  (Bug#14336)
24598 2013-05-02  Glenn Morris  <rgm@gnu.org>
24600         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24601         * desktop.el (vc-dir-mode): Just autoload it here.
24603 2013-05-02  Alan Mackenzie  <acm@muc.de>
24605         Eliminate variable c-standard-font-lock-fontify-region-function.
24606         * progmodes/cc-mode.el
24607         (c-standard-font-lock-fontify-region-function): Remove.
24608         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24610 2013-05-01  Leo Liu  <sdl.web@gmail.com>
24612         * progmodes/octave.el: Compatible with older emacs-24 releases.
24613         (inferior-octave-has-built-in-variables): Remove.  Built-in
24614         variables were removed from Octave in 2007.
24615         (inferior-octave-startup): Fix uses.
24616         (comint-line-beginning-position): Remove compatibility code for
24617         emacs 21.
24619 2013-05-01  Juri Linkov  <juri@jurta.org>
24621         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
24623 2013-05-01  Juri Linkov  <juri@jurta.org>
24625         * comint.el (comint-previous-matching-input): Don't print message
24626         "History item: %d" when `isearch-mode' is active.
24627         (comint-history-isearch-message): Print message "History item: %d"
24628         when `comint-input-ring-index' is not empty and this function is
24629         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
24631 2013-05-01  Leo Liu  <sdl.web@gmail.com>
24633         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24634         definitions.  Use completion-at-point to insert keywords.
24635         (octave-abbrev-start): Remove.
24636         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
24638 2013-04-30  Leo Liu  <sdl.web@gmail.com>
24640         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
24641         change.
24643 2013-04-30  Alan Mackenzie  <acm@muc.de>
24645         Handle arbitrarily long C++ member initialization lists.
24646         * progmodes/cc-engine.el (c-back-over-member-initializers):
24647         new function.
24648         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
24649         (most) member init lists.
24651 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
24653         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
24654         variable.
24656 2013-04-30  Leo Liu  <sdl.web@gmail.com>
24658         * progmodes/octave.el (octave-variables): Remove.  No builtin
24659         variables any more.  All converted to functions.
24660         (octave-font-lock-keywords, octave-completion-at-point-function):
24661         Fix uses.
24662         (octave-font-lock-texinfo-comment): New user variable.
24663         (octave-texinfo-font-lock-keywords): New variable for texinfo
24664         comment block.
24665         (octave-function-comment-block): New face.
24666         (octave-font-lock-texinfo-comment): New function.
24667         (octave-mode): Font lock texinfo comment block.
24669 2013-04-29  Leo Liu  <sdl.web@gmail.com>
24671         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
24672         indexing expression.
24673         (octave-continuation-string): Do not use \.
24674         (inferior-octave-complete-impossible): Remove.
24675         (inferior-octave-completion-table)
24676         (inferior-octave-completion-at-point): Remove its uses.
24677         (inferior-octave-startup): completion_matches was introduced to
24678         Octave in 1996 so safe to assume it.
24679         (octave-function-file-comment): Improve to follow how Octave does it.
24680         (octave-update-function-file-comment): Tweak.
24682 2013-04-29  Leo Liu  <sdl.web@gmail.com>
24684         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
24685         (inferior-octave-startup): Remove inferior-octave-startup-hook.
24686         (octave-function-file-comment): Fix typo.
24687         (octave-sync-function-file-names): Use read-char-choice.
24689 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
24691         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
24692         to t for the less important warnings.
24694 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
24696         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
24698 2013-04-27  Glenn Morris  <rgm@gnu.org>
24700         * vc/log-view.el (log-view-current-entry):
24701         Treat "---" separator lines as part of the following rev.  (Bug#14169)
24703 2013-04-27  Juri Linkov  <juri@jurta.org>
24705         * subr.el (read-number): Doc fix about using it by interactive
24706         code letter `n'.  (Bug#14254)
24708 2013-04-27  Juri Linkov  <juri@jurta.org>
24710         * desktop.el (desktop-auto-save-timeout): New option.
24711         (desktop-file-checksum): New variable.
24712         (desktop-save): Add optional arg `auto-save' and don't auto-save
24713         if nothing changed.
24714         (desktop-auto-save-timer): New variable.
24715         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
24716         (after-init-hook): Call `desktop-auto-save-set-timer'.
24717         Suggested by Reuben Thomas <rrt@sc3d.org> in
24718         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
24720 2013-04-27  Leo Liu  <sdl.web@gmail.com>
24722         * progmodes/octave.el (octave-function-file-p)
24723         (octave-skip-comment-forward, octave-function-file-comment)
24724         (octave-update-function-file-comment): New functions.
24725         (octave-mode-map): Bind C-c ; to
24726         octave-update-function-file-comment.
24727         (octave-mode-menu): Add octave-update-function-file-comment.
24728         (octave-mode, inferior-octave-mode): Fix doc-string.
24729         (octave-insert-defun): Conform to Octave's coding convention.
24730         (Bug#14285)
24732         * files.el (basic-save-buffer): Don't let errors in
24733         before-save-hook prevent saving buffer.
24735 2013-04-20  Roland Winkler  <winkler@gnu.org>
24737         * faces.el (read-face-name): Use completing-read if arg multiple
24738         is nil.
24740 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
24742         * ls-lisp.el (ls-lisp-insert-directory): If no files are
24743         displayed, move point to after the totals line.
24744         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
24745         for the details.
24747 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
24749         * emacs-lisp/package.el (package-autoload-ensure-default-file):
24750         Add current dir to the load-path.
24751         (package-generate-autoloads): Don't rely on
24752         autoload-ensure-default-file.
24754 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
24756         * textmodes/remember.el (remember-store-in-files): Document that
24757         the file name format is passed to `format-time-string'.
24759 2013-04-26  Leo Liu  <sdl.web@gmail.com>
24761         * progmodes/octave.el (octave-sync-function-file-names): New function.
24762         (octave-mode): Use it in before-save-hook.
24764 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
24766         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
24767         (bug#14274).
24769         * progmodes/octave.el (octave-smie-forward-token): Properly skip
24770         \n and comment, even if it's not an implicit ; (bug#14218).
24772 2013-04-26  Glenn Morris  <rgm@gnu.org>
24774         * subr.el (read-number): Once more use `read' rather than
24775         `string-to-number', to trap non-numeric input.  (Bug#14254)
24777 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
24779         * emacs-lisp/syntax.el (syntax-propertize-multiline):
24780         Use `syntax-multiline' text property consistently instead of
24781         `font-lock-multiline'.  (Bug#14237)
24783 2013-04-26  Glenn Morris  <rgm@gnu.org>
24785         * emacs-lisp/shadow.el (list-load-path-shadows):
24786         No longer necessary to check for duplicate simple.el, since
24787         2012-07-07 change to init_lread to not include installation lisp
24788         directories in load-path when running uninstalled.  (Bug#14270)
24790 2013-04-26  Leo Liu  <sdl.web@gmail.com>
24792         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
24793         (octave-mode, inferior-octave-mode): Use setq-local.
24794         (octave-not-in-string-or-comment-p): Rename to
24795         octave-in-string-or-comment-p.
24796         (octave-in-comment-p, octave-in-string-p)
24797         (octave-in-string-or-comment-p): Replace defsubst with defun.
24799 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
24801         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
24803 2013-04-25  Bastien Guerry  <bzg@gnu.org>
24805         * textmodes/remember.el (remember-data-directory)
24806         (remember-directory-file-name-format): Fix custom types.
24808 2013-04-25  Leo Liu  <sdl.web@gmail.com>
24810         * progmodes/octave.el (octave-completion-at-point-function):
24811         Make use of inferior octave process.
24812         (octave-initialize-completions): Remove.
24813         (inferior-octave-completion-table): New function.
24814         (inferior-octave-completion-at-point): Use it.
24815         (octave-completion-alist): Remove.
24817 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
24819         * progmodes/opascal.el: Use font-lock and syntax-propertize.
24820         (opascal-mode-syntax-table): New var.
24821         (opascal-literal-kind, opascal-is-literal-end)
24822         (opascal-literal-token-at): Rewrite.
24823         (opascal--literal-start-re, opascal-font-lock-keywords)
24824         (opascal--syntax-propertize): New constants.
24825         (opascal-font-lock-defaults): Adjust.
24826         (opascal-mode): Use them.  Set comment-<foo> variables as well.
24827         (delphi-comment-face, opascal-comment-face, delphi-string-face)
24828         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
24829         (delphi-other-face, opascal-other-face): Remove face variables.
24830         (opascal-save-state): Remove macro.
24831         (opascal-fontifying-progress-step): Remove constant.
24832         (opascal--ignore-changes): Remove var.
24833         (opascal-set-token-property, opascal-parse-next-literal)
24834         (opascal-is-stable-literal, opascal-complete-literal)
24835         (opascal-is-literal-start, opascal-face-of)
24836         (opascal-parse-region, opascal-parse-region-until-stable)
24837         (opascal-fontify-region, opascal-after-change)
24838         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
24839         (opascal-debug-parse-region, opascal-debug-parse-window)
24840         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
24841         (opascal-debug-fontify-buffer): Remove.
24842         (opascal-debug-mode-map): Adjust accordingly.
24844 2013-04-25  Leo Liu  <sdl.web@gmail.com>
24846         Merge octave-mod.el and octave-inf.el into octave.el with some
24847         cleanups.
24848         * progmodes/octave.el: New file renamed from octave-mod.el.
24849         * progmodes/octave-inf.el: Merged into octave.el.
24850         * progmodes/octave-mod.el: Renamed to octave.el.
24852 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
24854         * textmodes/reftex-vars.el
24855         (reftex-label-ignored-macros-and-environments): New defcustom.
24857         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
24859 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
24861         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
24862         (smie-indent-keyword): Improve the check to ensure that the next
24863         comment is really on the same line.
24864         (smie-indent-comment): Don't align with a subsequent closer (or eob).
24866         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
24867         semi-colons if the line is not otherwise empty (bug#14218).
24869 2013-04-25  Glenn Morris  <rgm@gnu.org>
24871         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
24873 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
24875         * progmodes/opascal.el (opascal-set-token-property): Rename from
24876         opascal-set-text-properties and only set `token' (bug#14134).
24877         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
24878         (opascal-literal-text-properties): Remove.
24879         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
24880         Adjust callers.
24882 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
24884         * textmodes/remember.el (remember-handler-functions): Add an
24885         option for a new handler `remember-store-in-files'.
24886         (remember-data-directory, remember-directory-file-name-format):
24887         New options.
24888         (remember-store-in-files): New function to store remember notes
24889         as separate files within a directory.
24891 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
24893         * progmodes/compile.el (compilation-next-error-function):
24894         Pass "formats" to compilation-find-file (bug#11777).
24896 2013-04-24  Glenn Morris  <rgm@gnu.org>
24898         * vc/vc-bzr.el (vc-bzr-print-log):
24899         * vc/vc-hg.el (vc-hg-print-log):
24900         * vc/vc-svn.el (vc-svn-print-log):
24901         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
24903         * vc/vc-bzr.el (vc-bzr-print-log):
24904         * vc/vc-cvs.el (vc-cvs-print-log):
24905         * vc/vc-git.el (vc-git-print-log):
24906         * vc/vc-hg.el (vc-hg-print-log):
24907         * vc/vc-mtn.el (vc-mtn-print-log):
24908         * vc/vc-rcs.el (vc-rcs-print-log):
24909         * vc/vc-sccs.el (vc-sccs-print-log):
24910         * vc/vc-svn.el (vc-svn-print-log):
24911         * vc/vc.el (vc-print-log-internal): Doc fixes.
24913 2013-04-23  Glenn Morris  <rgm@gnu.org>
24915         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
24916         Remove venerable code attempting to avoid substitute-command-keys.
24918 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
24920         * textmodes/reftex-vars.el (reftex-label-regexps):
24921         Call `reftex-compile-variables' after changes to this variable.
24923 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
24925         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
24926         Use lexical-binding.
24927         (jit-lock-force-redisplay): Use markers, check buffer's continued
24928         existence and beware narrowed buffers.
24929         (jit-lock-fontify-now): Adjust call accordingly.
24931 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
24933         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
24934         to avoid misleading the user.
24936 2013-04-22  Leo Liu  <sdl.web@gmail.com>
24938         * info-look.el: Prefer latex2e.info.  (Bug#14240)
24940 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
24942         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
24944         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
24945         * net/tramp.el (tramp-call-process): ... here.
24946         (tramp-set-completion-function, tramp-parse-putty):
24947         * net/tramp-adb.el (tramp-adb-execute-adb-command):
24948         * net/tramp-gvfs.el (tramp-gvfs-send-command):
24949         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
24950         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
24951         (tramp-call-local-coding-command): Use `tramp-call-process'
24952         instead of `tramp-compat-call-process'.
24954         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
24955         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
24956         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
24957         (tramp-find-inline-compress): Improve traces.
24958         (tramp-maybe-send-script): Check for Perl binary.
24959         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
24961 2013-04-22  Daiki Ueno  <ueno@gnu.org>
24963         * epg.el (epg-context-pinentry-mode): New function.
24964         (epg-context-set-pinentry-mode): New function.
24965         (epg--start): Pass --pinentry-mode option to gpg command.
24967 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
24969         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
24970         `comint-dynamic-complete' is obsolete since 24.1, replaced by
24971         `completion-at-point'.  (Bug#13774)
24973         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
24974         default key binding for `describe-distribution' has been moved to
24975         `C-h C-o'.  (Bug#13970)
24977 2013-04-21  Glenn Morris  <rgm@gnu.org>
24979         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
24980         Add doc strings.
24981         (vc-print-log): Clarify interactive prompt.
24983 2013-04-20  Glenn Morris  <rgm@gnu.org>
24985         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24986         No longer include timestamp etc information.
24988 2013-04-20  Roland Winkler  <winkler@gnu.org>
24990         * faces.el (read-face-name): Bug fix, return just one face if arg
24991         multiple is nil.  (Bug#14209)
24993 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
24995         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
24996         (remove-function): Autoload.
24998         * comint.el (comint-redirect-original-filter-function): Remove.
24999         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
25000         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
25001         (vc-cvs-annotate-command):
25002         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
25003         * progmodes/prolog.el (prolog-consult-compile):
25004         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
25005         Use add/remove-function instead.
25006         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
25007         (gud-tooltip-process-output, gud-tooltip-tips):
25008         Use add/remove-function instead.
25009         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
25010         (scheme-interaction-mode, exit-scheme-interaction-mode):
25011         Use add/remove-function instead.
25013         * vc/vc-dispatcher.el: Use lexical-binding.
25014         (vc--process-sentinel): Rename from vc-process-sentinel.
25015         Change last arg to be the code to run.  Don't use vc-previous-sentinel
25016         and vc-sentinel-commands any more.
25017         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
25018         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
25020 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
25022         * progmodes/sh-script.el (sh-imenu-generic-expression):
25023         Handle function names with a single character.  (Bug#14111)
25025 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
25027         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
25028         for subroutines defined in an eval (bug#14182).
25030 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
25032         * bookmark.el (bookmark-completing-read): Improve handling of empty
25033         string (bug#14176).
25035 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
25037         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
25039 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
25041         New faster Imenu implementation (bug#14058).
25042         * progmodes/python.el (python-imenu-prev-index-position)
25043         (python-imenu-format-item-label-function)
25044         (python-imenu-format-parent-item-label-function)
25045         (python-imenu-format-parent-item-jump-label-function):
25046         New vars.
25047         (python-imenu-format-item-label)
25048         (python-imenu-format-parent-item-label)
25049         (python-imenu-format-parent-item-jump-label)
25050         (python-imenu--put-parent, python-imenu--build-tree)
25051         (python-imenu-create-index, python-imenu-create-flat-index)
25052         (python-util-popn): New functions.
25053         (python-mode): Set imenu-create-index-function to
25054         python-imenu-create-index.
25056 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
25058         * winner.el (winner-active-region): Use region-active-p, activate-mark
25059         and deactivate-mark (bug#14225).
25061         * simple.el (deactivate-mark): Don't inline it.
25063 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
25065         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
25067 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
25069         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
25070         file extensions from the archive-mode entry in order to prefer
25071         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
25073 2013-04-18  Leo Liu  <sdl.web@gmail.com>
25075         * bindings.el (help-event-list): Add ?\?.
25077 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
25079         * subr.el (with-wrapper-hook): Declare obsolete.
25080         * simple.el (filter-buffer-substring-function): New hook.
25081         (filter-buffer-substring): Use it.
25082         (filter-buffer-substring-functions): Mark obsolete.
25083         * minibuffer.el (completion-in-region-function): New hook.
25084         (completion-in-region): Use it.
25085         (completion-in-region-functions): Mark obsolete.
25086         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
25087         * abbrev.el (abbrev-expand-function): New hook.
25088         (expand-abbrev): Use it.
25089         (abbrev-expand-functions): Mark obsolete.
25090         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
25091         and :filter-return.
25093 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
25095         * progmodes/python.el (python-nav--syntactically): Fix cornercases
25096         and do not care about match data.
25098 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
25100         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
25101         completion tables when completing error conditions and
25102         `declare' arguments.
25103         (lisp-complete-symbol, field-complete): Mark as obsolete.
25104         (check-parens): Unmatched parens are user errors.
25105         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
25107 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
25109         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
25110         command changed buffer (ie. `flyspell-pre-buffer' is not current
25111         buffer), which prevents making decisions based on invalid value of
25112         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
25113         cause an error when `flyspell-pre-point' was nil after switching
25114         buffers.
25115         (flyspell-post-command-hook): No longer needs to change buffers when
25116         checking pre-word.  While at it remove unnecessary progn.
25118 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
25120         * textmodes/ispell.el (ispell-add-per-file-word-list):
25121         Fix `flyspell-correct-word-before-point' error when accepting
25122         words and `coment-padding' is an integer by using
25123         `comment-normalize-vars' (Bug #14214).
25125 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
25127         New defun movement commands.
25128         * progmodes/python.el (python-nav--syntactically)
25129         (python-nav--forward-defun, python-nav-backward-defun)
25130         (python-nav-forward-defun): New functions.
25132 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
25134         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
25135         (python-syntax-context): Use named compiler-macro for backwards
25136         compatibility with Emacs 24.x.
25138 2013-04-17  Leo Liu  <sdl.web@gmail.com>
25140         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
25141         octave-hide-process-buffer.
25143 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
25145         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
25146         (bug#14216).
25148 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
25150         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
25151         Fix adjustment of offset when receiving incomplete responses from GDB
25152         (bug#14129).
25154 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
25156         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
25157         python-mode-abbrev-table.
25158         (python-skeleton-define): Adjust accordingly.
25159         (python-mode-abbrev-table): New table that inherits from it so that
25160         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
25162         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
25163         (abbrev-symbol): Use it.
25164         (abbrev--before-point): Use it since we already handle inheritance.
25166 2013-04-16  Leo Liu  <sdl.web@gmail.com>
25168         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
25169         binding to info-lookup-symbol.
25171 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
25173         * minibuffer.el (completion--twq-all):
25174         * term/ns-win.el (ns-initialize-window-system):
25175         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
25177 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
25179         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
25180         global bindings.
25182         * doc-view.el (doc-view-start-process): Handle url-handler directories.
25184 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
25186         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
25187         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
25188         to nil.
25189         (ruby-end-of-defun): Remove the unused arg, change the docstring
25190         to reflect that this function is only used as the value of
25191         `end-of-defun-function'.
25192         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
25193         to reflect an earlier change that beginning/end-of-defun functions
25194         jump between methods in a class definition, as well as top-level
25195         functions.
25197 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
25199         * minibuffer.el (minibuffer-complete): Don't just scroll
25200         a *Completions* that's been iconified.
25201         (minibuffer-force-complete): Make sure repetitions do cycle when going
25202         through completion-in-region -> minibuffer-complete.
25204 2013-04-15  Alan Mackenzie  <acm@muc.de>
25206         Correct the placement of c-cpp-delimiters when there're #s not at
25207         col 0.
25209         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
25210         place a submatch around the #.
25211         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
25212         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
25213         on the #, not BOL.
25215 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
25217         * emacs-lisp/nadvice.el: Properly test names when adding advice.
25218         (advice--member-p): New arg `name'.
25219         (advice--add-function, advice-member-p): Use it (bug#14202).
25221 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
25223         Reformulate java imenu-generic-expression.
25224         The old expression contained ill formed regexps.
25226         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
25227         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
25228         (cc-imenu-java-method-arg-regexp): New defconsts.
25229         (cc-imenu-java-build-type-args-regex): New defun.
25230         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
25231         handling of spaces in the regexp.
25233 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
25235         * textmodes/ispell.el (ispell-command-loop): Remove
25236         flyspell highlight of a word when ispell accepts it (bug #14178).
25238 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
25240         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
25241         uses code from the previous `ange-ftp-run-real-handler'.
25242         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
25243         only in case that function exist.  This is needed for proper
25244         unloading of Tramp.
25246 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
25248         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
25250         * textmodes/reftex.el (reftex-compile-variables): Use it.
25252 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
25254         * files.el (normal-mode): Only use default major-mode if no other mode
25255         was specified.
25257         * emacs-lisp/trace.el (trace-values): New function.
25259         * files.el: Allow : in local variables (bug#14089).
25260         (hack-local-variable-regexp): New var.
25261         (hack-local-variables-prop-line, hack-local-variables): Use it.
25263 2013-04-13  Roland Winkler  <winkler@gnu.org>
25265         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
25266         data before it gets modified by bibtex-beginning-of-entry.
25268 2013-04-13  Roland Winkler  <winkler@gnu.org>
25270         * textmodes/bibtex.el (bibtex-url): Doc fix.
25272 2013-04-13  Roland Winkler  <winkler@gnu.org>
25274         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
25275         does not visit a BibTeX file, exclude it from the list of buffers
25276         returned by bibtex-initialize.
25278 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
25280         * window.el (split-window): Remove interactive form, since as a
25281         command this function is a special case of split-window-below.
25282         Correct doc string.
25284 2013-04-12  Roland Winkler  <winkler@gnu.org>
25286         * faces.el (read-face-name): Do not override value of arg default.
25287         Allow single faces and strings as default values.  Remove those
25288         elements from return value that are not faces.
25289         (describe-face): Simplify.
25290         (face-at-point): New optional args thing and multiple so that this
25291         function can provide the same functionality previously provided by
25292         read-face-name.
25293         (make-face-bold, make-face-unbold, make-face-italic)
25294         (make-face-unitalic, make-face-bold-italic, invert-face)
25295         (modify-face, read-face-and-attribute): Use face-at-point.
25297         * cus-edit.el (customize-face, customize-face-other-window)
25298         * cus-theme.el (custom-theme-add-face)
25299         * face-remap.el (buffer-face-set)
25300         * facemenu.el (facemenu-set-face): Use face-at-point.
25302 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
25304         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
25306 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
25308         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
25309         off leading { and trailing } from field values.
25311 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
25313         * emacs-lisp/timer.el (timer--check): New function.
25314         (timer--time, timer-set-function, timer-event-handler): Use it.
25315         (timer-set-idle-time): Simplify.
25316         (timer--activate): CSE.
25317         (timer-event-handler): Give more info in error message.
25318         (internal-timer-start-idle): New function, moved from C.
25320         * mpc.el (mpc-proc): Add `restart' argument.
25321         (mpc-proc-cmd): Use it.
25322         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
25323         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
25324         less often.
25326 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
25328         * progmodes/sh-script.el: Implement `sh-mode' own
25329         `add-log-current-defun-function' (bug#14112).
25330         (sh-current-defun-name): New function.
25331         (sh-mode): Use the function.
25333 2013-04-09  Bastien Guerry  <bzg@gnu.org>
25335         * simple.el (choose-completion-string): Fix docstring (bug#14163).
25337 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
25339         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
25341         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
25342         timer (bug#14156).
25344 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
25346         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
25347         declaration.
25349 2013-04-07  Leo Liu  <sdl.web@gmail.com>
25351         * pcmpl-x.el: New file.
25353 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
25355         Do not set x-display-name until X connection is established.
25356         This is needed to prevent from weird situation described at
25357         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
25358         * frame.el (make-frame): Set x-display-name after call to
25359         window system initialization function, not before.
25360         * term/x-win.el (x-initialize-window-system): Add optional
25361         display argument and use it.
25362         * term/w32-win.el (w32-initialize-window-system):
25363         * term/ns-win.el (ns-initialize-window-system):
25364         * term/pc-win.el (msdos-initialize-window-system):
25365         Add compatible optional display argument.
25367 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
25369         * files.el (normal-backup-enable-predicate): On MS-Windows and
25370         MS-DOS compare truenames of temporary-file-directory and of the
25371         file, so that 8+3 aliases (usually found in $TEMP on Windows)
25372         don't fail comparison by compare-strings.  Also, compare file
25373         names case-insensitively on MS-Windows and MS-DOS.
25375 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
25377         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
25378         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
25380 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
25382         * whitespace.el (whitespace-color-on, whitespace-color-off):
25383         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
25385 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
25387         * ispell.el (ispell-set-spellchecker-params):
25388         Really set `ispell-args' for all equivs.
25390 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
25392         * ido.el (ido-completions): Use extra elements of ido-decorations
25393         (bug#14143).
25394         (ido-decorations): Update docstring.
25396 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
25398         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
25399         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
25400         nil during initialization, in order not to miss changes since the
25401         file was opened.  (Bug#14140)
25403 2013-04-05  Leo Liu  <sdl.web@gmail.com>
25405         * kmacro.el (kmacro-call-macro): Fix bug#14135.
25407 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
25409         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
25411 2013-04-04  Glenn Morris  <rgm@gnu.org>
25413         * electric.el (electric-pair-inhibit-predicate): Add :version.
25415 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
25417         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
25418         when a package is required several times (bug#14082).
25420 2013-04-04  Roland Winkler  <winkler@gnu.org>
25422         * faces.el (read-face-name): Behave as promised by the docstring.
25423         Assume that arg default is a list of faces.
25424         (describe-face): Call read-face-name with list of default faces.
25426 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
25428         * bookmark.el: Fix deletion of bookmarks (bug#13972).
25429         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
25430         (bookmark-bmenu-execute-deletions): Only skip first line if it's
25431         the header.
25432         (bookmark-exit-hook-internal): Save even if list is empty.
25434 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
25436         * emacs-lisp/package.el (package-pinned-packages): New var.
25437         (package--add-to-archive-contents): Obey it (bug#14118).
25439 2013-04-03  Alan Mackenzie  <acm@muc.de>
25441         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
25442         Also adapt to the new values of element 7 of a parse state.
25444         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
25445         parameter `not-in-delimiter'.  Handle being inside comment opener.
25446         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
25447         character in case we're typing a '*' after a '/'.
25448         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
25449         instead by passing the parameter to c-state-pp-to-literal.
25451         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
25452         for elt. 7 of a parse state.
25454 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
25456         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
25457         * international/latin1-disp.el, international/mule-util.el:
25458         * language/cyril-util.el, language/european.el, language/ind-util.el:
25459         * language/lao-util.el, language/thai.el, language/tibet-util.el:
25460         * language/tibetan.el, language/viet-util.el:
25461         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
25463 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
25465         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
25466         (electric-pair-post-self-insert-function): Use it.
25467         (electric-pair-default-inhibit): New function, extracted from
25468         electric-pair-post-self-insert-function.
25470 2013-03-31  Roland Winkler  <winkler@gnu.org>
25472         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
25474 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
25476         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
25478 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
25480         Un-indent after "pass" and "return" statements (Bug#13888)
25481         * progmodes/python.el (python-indent-block-enders): New var.
25482         (python-indent-calculate-indentation): Use it.
25484 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
25486         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25487         defun.  Defining it as defalias could introduce too eager
25488         byte-compiler optimization.  (Bug#14030)
25490 2013-03-30  Chong Yidong  <cyd@gnu.org>
25492         * iswitchb.el (iswitchb-read-buffer): Fix typo.
25494 2013-03-30  Leo Liu  <sdl.web@gmail.com>
25496         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25497         (kmacro-execute-from-register): Pass the keyboard macro to
25498         kmacro-call-macro or repeating won't work correctly.
25500 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
25502         * progmodes/subword.el: Back to using `forward-symbol'.
25504         * subr.el (forward-whitespace, forward-symbol)
25505         (forward-same-syntax): Move from thingatpt.el.
25507 2013-03-29  Leo Liu  <sdl.web@gmail.com>
25509         * kmacro.el (kmacro-to-register): New command.
25510         (kmacro-execute-from-register): New function.
25511         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
25513 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
25515         * mpc.el: Use defvar-local and setq-local.
25516         (mpc--proc-connect): Connection failures are not bugs.
25517         (mpc-mode-map): `follow-link' only applies to the buffer's content.
25518         (mpc-volume-map): Bind to the up-events.
25520 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
25522         * progmodes/subword.el (superword-mode): Use `forward-sexp'
25523         instead of `forward-symbol'.
25525 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
25527         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25528         (edebug--recursive-edit): Use it.
25529         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25530         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25532 2013-03-28  Leo Liu  <sdl.web@gmail.com>
25534         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
25536 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
25538         * facemenu.el (list-colors-callback): New defvar.
25539         (list-colors-redisplay): New function.
25540         (list-colors-display): Install list-colors-redisplay as the
25541         revert-buffer-function.  (Bug#14063)
25543 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
25545         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25546         and suffixes don't overlap (bug#14061).
25548         * case-table.el: Use lexical-binding.
25549         (case-table-get-table): New function.
25550         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
25552 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
25554         * progmodes/subword.el: Add `superword-mode' to do word motion
25555         over symbol_words (parallels and leverages `subword-mode' which
25556         does word motion inside MixedCaseWords).
25558 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
25560         * eshell/em-unix.el: Move su and sudo to...
25561         * eshell/em-tramp.el: ...Eshell tramp module.
25563 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
25565         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25566         Change return value to be a sexp.  Delay `get-buffer' to after
25567         restoring the desktop (bug#13951).
25569 2013-03-26  Leo Liu  <sdl.web@gmail.com>
25571         * register.el: Move semantic tag handling back to
25572         cedet/semantic/senator.el.  (Bug#14052)
25574 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
25576         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25577         into the prompt either (bug#13963).
25579 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
25581         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25582         part of "(error-foo)".
25584 2013-03-24  Juri Linkov  <juri@jurta.org>
25586         * replace.el (list-matching-lines-prefix-face): New defcustom.
25587         (occur-1): Pass `list-matching-lines-prefix-face' to the function
25588         `occur-engine' if `face-differs-from-default-p' returns t.
25589         (occur-engine): Add `,' inside backquote construct to evaluate
25590         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
25591         Pass `prefix-face' to the functions `occur-context-lines' and
25592         `occur-engine-add-prefix'.
25593         (occur-engine-add-prefix, occur-context-lines): Add optional arg
25594         `prefix-face' and propertize the prefix with `prefix-face'.
25595         (Bug#14017)
25597 2013-03-24  Leo Liu  <sdl.web@gmail.com>
25599         * nxml/rng-valid.el (rng-validate-while-idle)
25600         (rng-validate-quick-while-idle): Guard against deleted buffer.
25601         (Bug#13999)
25603         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25604         is the last entry in kill-buffer-hook.
25606         * files.el (kill-buffer-hook): Doc fix.
25608 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
25610         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25611         Make it safe-local.
25613         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25615 2013-03-23  Leo Liu  <sdl.web@gmail.com>
25617         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25618         Remove.
25620         * nxml/rng-valid.el (rng-validate-mode)
25621         (rng-after-change-function, rng-do-some-validation):
25622         * nxml/rng-maint.el (rng-validate-buffer):
25623         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25624         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25625         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25626         (nxml-extend-after-change-region): Use with-silent-modifications.
25628         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25629         timer-idle-list.
25631         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25632         (rng-next-error-1, rng-previous-error-1): Do not let-bind
25633         timer-idle-list.  (Bug#13999)
25635 2013-03-23  Juri Linkov  <juri@jurta.org>
25637         * info.el (info-index-match): New face.
25638         (Info-index, Info-apropos-matches): Add a nested subgroup to the
25639         main pattern and add text properties with the new face to matches
25640         in index entries relative to the beginning of the index entry.
25641         (Bug#14015)
25643 2013-03-21  Eric Ludlam  <zappo@gnu.org>
25645         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
25646         Inhibit read only while inserting objects.
25648 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
25650         * progmodes/cfengine.el: Update docs to mention
25651         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
25652         symbol motion.  Remove "_" from the word syntax.
25654 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
25656         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
25657         syntax for both `cfengine2-mode' and `cfengine3-mode'.
25659 2013-03-20  Juri Linkov  <juri@jurta.org>
25661         * info.el (Info-next-reference-or-link)
25662         (Info-prev-reference-or-link): New functions.
25663         (Info-next-reference, Info-prev-reference): Use them.
25664         (Info-try-follow-nearest-node): Handle footnote navigation.
25665         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
25667 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
25669         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
25670         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
25672 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
25674         Suppress unnecessary non-ASCII chatter during build process.
25675         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
25676         (batch-skkdic-convert): Suppress most of the chatter.
25677         It's not needed so much now that machines are faster,
25678         and its non-ASCII component was confusing; see Dmitry Gutov in
25679         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
25681 2013-03-20  Leo Liu  <sdl.web@gmail.com>
25683         * ido.el (ido-chop): Fix bug#10994.
25685 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
25687         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
25688         Remove vars.
25689         (whitespace-color-on, whitespace-color-off):
25690         Use `font-lock-fontify-buffer' (Bug#13817).
25692 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
25694         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
25695         remapping in mode-line.
25696         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
25698 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
25700         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
25701         value for `whitespace-line' face (Bug#13875).
25702         (whitespace-font-lock-keywords): Change description.
25703         (whitespace-color-on): Don't save `font-lock-keywords' value, save
25704         the constructed keywords instead.
25705         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
25707 2013-03-19  Leo Liu  <sdl.web@gmail.com>
25709         * progmodes/compile.el (compilation-display-error): New command.
25710         (compilation-mode-map, compilation-minor-mode-map): Bind it to
25711         C-o.  (Bug#13992)
25713 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
25715         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
25717 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
25719         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
25721 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
25723         * net/tramp-compat.el (tramp-compat-user-error): New defun.
25725         * net/tramp-adb.el (tramp-adb-handle-shell-command):
25726         * net/tramp-gvfs.el (top):
25727         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
25728         (tramp-handle-shell-command): Use it.
25729         (tramp-dissect-file-name): Raise an error when hostname is a
25730         method name, and neither method nor user is specified.
25732         * net/trampver.el: Update release number.
25734 2013-03-18  Leo Liu  <sdl.web@gmail.com>
25736         Make sure eldoc can be turned off properly.
25737         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
25738         eldoc-mode.
25739         (eldoc-display-message-p): Revert last change.
25740         (eldoc-display-message-no-interference-p)
25741         (eldoc-print-current-symbol-info): Tweak.
25743 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
25745         * doc-view.el (doc-view-new-window-function): Check the new window
25746         overlay's display property instead the char property of the
25747         buffer's first char.  Use `with-selected-window' instead of
25748         `save-window-excursion' with `select-window'.
25749         (doc-view-document->bitmap): Check the current doc-view overlay's
25750         display property instead the char property of the buffer's first char.
25752 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
25754         Automate the build of ja-dic.el (Bug#13984).
25755         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
25756         from the input, rather than assume that it's been done for us by the
25757         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
25758         the current date into a ja-dic.el comment, as that complicates
25759         regression testing.
25761 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
25763         * whitespace.el: Fix double evaluation.
25764         (whitespace-space, whitespace-hspace, whitespace-tab)
25765         (whitespace-newline, whitespace-trailing, whitespace-line)
25766         (whitespace-space-before-tab, whitespace-indentation)
25767         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
25768         obsolete defvars.
25769         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
25770         (whitespace-color-on): Use a single font-lock-add-keywords call.
25771         Fix double-evaluation of face variables.
25773 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
25775         * net/tramp-adb.el (tramp-adb-parse-device-names):
25776         Use `start-process' instead of `call-process'.  Otherwise, the
25777         function might be blocked under MS Windows.  (Bug#13299)
25779 2013-03-17  Leo Liu  <sdl.web@gmail.com>
25781         Extend eldoc to display info in the mode-line.  (Bug#13978)
25782         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
25783         (eldoc-mode-line-string): New variable.
25784         (eldoc-minibuffer-message): New function.
25785         (eldoc-message-function): New variable.
25786         (eldoc-message): Use it.
25787         (eldoc-display-message-p)
25788         (eldoc-display-message-no-interference-p):
25789         Support eldoc-post-insert-mode.
25791         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
25792         (eval-expression): Run it.
25794 2013-03-17  Roland Winkler  <winkler@gnu.org>
25796         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
25797         strings in the list of return values.
25799 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
25801         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
25802         radix before checking for HMS forms.
25804 2013-03-16  Leo Liu  <sdl.web@gmail.com>
25806         * progmodes/scheme.el: Add indentation and font-locking for λ.
25807         (Bug#13975)
25809 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
25811         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
25812         token before point (bug#13942).
25814 2013-03-16  Leo Liu  <sdl.web@gmail.com>
25816         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
25818 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
25820         * startup.el (command-line-normalize-file-name): Fix handling of
25821         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
25822         <xfq.free@gmail.com> in
25823         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
25825 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
25827         Sync with Tramp 2.2.7.
25829         * net/trampver.el: Update release number.
25831 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
25833         * doc-view.el: Fix bug#13887.
25834         (doc-view-insert-image): Don't modify overlay associated to
25835         non-live windows, and implement horizontal centering of image in
25836         case it's smaller than the window.
25837         (doc-view-new-window-function): Force redisplay of new windows on
25838         doc-view buffers.
25840 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
25842         * saveplace.el (save-place-alist-to-file): Don't sort
25843         `save-place-alist', just pretty-print it (bug#13882).
25845 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
25847         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
25848         Check whether `default-file-name-coding-system' is bound.
25849         It isn't in XEmacs.
25851 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
25853         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
25854         backquotes for `obsolete' (bug#13929).
25856         * international/mule.el (find-auto-coding): Include file name in
25857         obsolescence warning (bug#13922).
25859 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
25861         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
25862         for CFEngine 3-specific indentation.
25863         (cfengine3-indent-line): Use it.  Fix up category regex.
25864         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
25866 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
25868         * type-break.el (type-break-file-name):
25869         * textmodes/remember.el (remember-data-file):
25870         * strokes.el (strokes-file):
25871         * shadowfile.el (shadow-initialize):
25872         * saveplace.el (save-place-file):
25873         * ps-bdf.el (bdf-cache-file):
25874         * progmodes/idlwave.el (idlwave-config-directory):
25875         * net/quickurl.el (quickurl-url-file):
25876         * international/kkc.el (kkc-init-file-name):
25877         * ido.el (ido-save-directory-list-file):
25878         * emulation/viper.el (viper-custom-file-name):
25879         * emulation/vip.el (vip-startup-file):
25880         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
25881         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
25883 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
25885         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
25886         * language/thai-word.el: Switch to UTF-8.
25888 See ChangeLog.16 for earlier changes.
25890 ;; Local Variables:
25891 ;; coding: utf-8
25892 ;; End:
25894   Copyright (C) 2011-2015 Free Software Foundation, Inc.
25896   This file is part of GNU Emacs.
25898   GNU Emacs is free software: you can redistribute it and/or modify
25899   it under the terms of the GNU General Public License as published by
25900   the Free Software Foundation, either version 3 of the License, or
25901   (at your option) any later version.
25903   GNU Emacs is distributed in the hope that it will be useful,
25904   but WITHOUT ANY WARRANTY; without even the implied warranty of
25905   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25906   GNU General Public License for more details.
25908   You should have received a copy of the GNU General Public License
25909   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.