Fix the CC Mode fixes from 2015-03-30. Fixes debbugs#20240.
[emacs.git] / lisp / ChangeLog
blob2092447fbccf3f65cbc1fb4a8fa6b290dcf6e957
1 2015-04-01  Alan Mackenzie  <acm@muc.de>
3         Fix the CC Mode fixes from 2015-03-30.  Fixes debbugs#20240.
5         * progmodes/cc-mode.el (c-extend-after-change-region): Widen
6         before applying text properties.
7         * progmodes/cc-langs.el (c-before-font-lock-functions): Update an
8         entry to a new function name.
10 2015-04-01  Paul Eggert  <eggert@cs.ucla.edu>
12         * emacs-lisp/package.el: Spelling fixes and use active voice.
14 2015-04-01  Artur Malabarba  <bruce.connor.am@gmail.com>
16         * emacs-lisp/package.el: Implement asynchronous refreshing.
17         (package--with-work-buffer-async)
18         (package--check-signature-content)
19         (package--update-downloads-in-progress): New functions.
20         (package--check-signature, package--download-one-archive)
21         (package--download-and-read-archives, package-refresh-contents):
22         Optional arguments for async usage.
23         (package--post-download-archives-hook): New variable.  Hook run
24         after every refresh.
26         * emacs-lisp/package.el: Make package-menu asynchronous.
27         (package-menu-async): New variable.  Controls whether
28         `list-packages' is asynchronous.
29         (list-packages): Now asynchronous by default.
30         (package-menu--new-package-list): Always buffer-local.
31         (package-menu--post-refresh)
32         (package-menu--find-and-notify-upgrades)
33         (package-menu--populate-new-package-list): New functions.
35 2015-03-31  Simen Heggestøyl  <simenheg@gmail.com>
37         * textmodes/css-mode.el (css-mode): Derive from `prog-mode'.
39 2015-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
41         * jit-lock.el (jit-lock--run-functions): Fix min/max copy&paste error.
43         Let jit-lock know the result of font-lock-extend-region-functions.
44         * jit-lock.el (jit-lock--run-functions): New function.
45         (jit-lock-fontify-now): Use it.  Handle fontification bounds more
46         precisely in case the backend functions fontify more than requested.
47         Don't round up to whole lines since that shouldn't be needed
48         any more.
49         * font-lock.el (font-lock-fontify-region-function): Adjust docstring.
50         (font-lock-inhibit-thing-lock): Make obsolete.
51         (font-lock-default-fontify-region): Return the bounds actually used.
53         * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
54         Fix compilation error.
56 2015-03-30  Artur Malabarba  <bruce.connor.am@gmail.com>
58         * emacs-lisp/package.el: Reorganize package.el and divide it with
59         page-breaks and comments.
61 2015-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
63         * emacs-lisp/eieio-base.el (make-instance) <eieio-named>: New instance
64         which stores the old-style object name argument into the
65         object-name field.
67 2015-03-30  Alan Mackenzie  <acm@muc.de>
69         Correct calculation of CC Mode's font-lock region.
71         * progmodes/cc-mode.el (c-fl-decl-start): Rename from
72         c-set-fl-decl-start.  Change signature such that nil is returned
73         when no declaration is found.
74         (c-change-expand-fl-region): Rename from
75         c-change-set-fl-decl-start.  This now also handles expanding the
76         font lock region to whole lines.
77         (c-context-expand-fl-region): Rename from
78         c-context-set-fl-decl-start.  This now also handles expanding the
79         font lock region to whole lines.
80         (c-font-lock-fontify-region): When a change font lock region is
81         spuriously enlarged to the beginning-of-line by jit-lock, fontify
82         the extra bit separately from the region calculated by CC Mode.
83         (c-extend-after-change-region): Explicitly apply 'fontified
84         properties to the extended bits of the font lock region.
86         * progmodes/cc-langs.el (c-before-font-lock-functions)
87         (c-before-context-fontification-functions): Use new names for
88         existing functions (see above).
90 2015-03-30  Richard Ryniker  <ryniker@alum.mit.edu>  (tiny change)
92         * mail/sendmail.el (sendmail-send-it): Do not attempt to switch
93         to non-existent buffer (errbuf is not created when customization
94         variable mail-interactive is nil).  (Bug#20211)
96 2015-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
98         * emacs-lisp/smie.el (smie-backward-sexp-command)
99         (smie-forward-sexp-command): Don't pretend the arg is optional
100         (bug#20205).
102 2015-03-29  Dmitry Gutov  <dgutov@yandex.ru>
104         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
105         Detect regexps after `!'.  (Bug#19285)
107         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
108         Use `font-lock-constant-face' for nil, true and false.
109         Highlight `self' as a keyword.  (Bug#17733)
111 2015-03-29  Nobuyoshi Nakada  <nobu@ruby-lang.org>
113         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
114         Expect beginning of regexp also after open brace or vertical bar.
115         (Bug#20026)
117 2015-03-28  Jan Djärv  <jan.h.d@swipnet.se>
119         * emacs-lisp/package.el (package-refresh-contents): Fix spelling
120         error in previous change.
122 2015-03-28  Tom Willemse  <tom@ryuslash.org>  (tiny change)
124         * elec-pair.el (electric-pair-local-mode): New command.
125         (electric-pair-mode): Mention `electric-pair-local-mode' in the
126         docstring.
128 2015-03-28  Jan Djärv  <jan.h.d@swipnet.se>
130         * emacs-lisp/package.el (package-refresh-contents): Add a message at
131         the end so it does not appear to have hanged (Bug#17879).
133 2015-03-27  Wolfgang Jenkner  <wjenkner@inode.at>
135         * font-lock.el (font-lock--remove-face-from-text-property):
136         New function.  Adapted from the previously commented out
137         remove-single-text-property.
138         Remove previously unused and commented out auxiliary function
139         remove-text-property and obsolete comment.
140         * comint.el (comint-output-filter): Use it to remove
141         comint-highlight-prompt.
142         (comint-snapshot-last-prompt, comint-output-filter):
143         Use font-lock-prepend-text-property for comint-highlight-prompt.
144         (Bug#20084)
146 2015-03-26  Daniel Colascione  <dancol@dancol.org>
147         * progmodes/python.el
148         (python-indent-guess-indent-offset-verbose): New defcustom.
149         (python-indent-guess-indent-offset): Use it.
151 2015-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
153         * emacs-lisp/eieio.el (defclass): Change internal name so as to make
154         sure only EIEIO files should have "eieio--" prefixes in their .elc.
156         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Silence byte-compiler.
158 2015-03-26  Boruch Baum  <boruch_baum@gmx.com>  (tiny change)
160         * bookmark.el (bookmark-show-all-annotations): Sort them (bug#20177).
162 2015-03-25  Dmitry Gutov  <dgutov@yandex.ru>
164         * json.el (json-special-chars): Don't treat `/' specially, there's
165         no need to.
166         (json-encode-string): Only escape quotation mark, backslash and
167         the control characters U+0000 to U+001F.
169 2015-03-25  Artur Malabarba  <bruce.connor.am@gmail.com>
171         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
172         Don't complain about args starting with _.
174 2015-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
176         * international/mule-cmds.el (mule--ucs-names-annotation): New func.
177         (read-char-by-name): Use it.
179         * xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit.
181 2015-03-25  Nicolas Petton <nicolas@petton.fr>
183         * emacs-lisp/seq.el: Documentation improvements.
185 2015-03-25  Glenn Morris  <rgm@gnu.org>
187         * net/browse-url.el (browse-url-browser-function)
188         (browse-url-default-browser):
189         Remove obsolete items from the explicit listing.
190         (browse-url-new-window-flag, browse-url-of-file-hook): Doc fixes.
191         (browse-url-netscape-program, browse-url-netscape-arguments)
192         (browse-url-netscape-startup-arguments)
193         (browse-url-galeon-program, browse-url-galeon-arguments)
194         (browse-url-galeon-startup-arguments)
195         (browse-url-gnome-moz-program, browse-url-gnome-moz-arguments)
196         (browse-url-galeon-new-window-is-tab)
197         (browse-url-netscape-new-window-is-tab)
198         (browse-url-mosaic-program, browse-url-mosaic-arguments)
199         (browse-url-mosaic-pidfile, browse-url-CCI-port)
200         (browse-url-CCI-host, browse-url-netscape-version)
201         (browse-url-netscape, browse-url-netscape-sentinel)
202         (browse-url-netscape-reload, browse-url-netscape-send)
203         (browse-url-galeon, browse-url-galeon-sentinel)
204         (browse-url-gnome-moz, browse-url-mosaic, browse-url-cci)
205         (browse-url-w3-gnudoit): Make obsolete.
206         * ffap.el (ffap-url-fetcher): Simplify default and doc.
208 2015-03-25  Olaf Rogalsky  <olaf.rogalsky@gmail.com>
210         * xt-mouse.el: Add mouse-tracking support (bug#19416).
211         (xterm-mouse-translate-1): Handle mouse-movement events.
212         (xterm-mouse--read-event-sequence-1000)
213         (xterm-mouse--read-event-sequence-1006): Delete functions.
214         (xterm-mouse--read-event-sequence): New function that handles both at
215         the same time.  Handle mouse-movements.
216         (xterm-mouse--read-utf8-char, xterm-mouse--read-number-from-terminal):
217         New functions.
218         (xterm-mouse-event): Simplify.
219         (xterm-mouse-tracking-enable-sequence)
220         (xterm-mouse-tracking-disable-sequence): Enable mouse tracking.
222         * mouse.el (mouse-drag-line): Also ignore `vertical-line' prefix events.
224 2015-03-24  Michael Albinus  <michael.albinus@gmx.de>
226         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
227         (tramp-do-file-attributes-with-stat): Quote file names in output.
228         (tramp-do-directory-files-and-attributes-with-stat): Use "//" as marker.
230 2015-03-24  Daiki Ueno  <ueno@gnu.org>
232         * epg.el (epg-start-generate-key): Fix typo in "gpg --gen-key"
233         invocation; make the PARAMETERS documentation clearer.
235 2015-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
237         Add cl-struct specific optimizations to pcase.
238         * emacs-lisp/cl-macs.el (cl--struct-all-parents)
239         (cl--pcase-mutually-exclusive-p): New functions.
240         (pcase--mutually-exclusive-p): Advise to optimize cl-struct patterns.
242         * emacs-lisp/pcase.el (pcase--split-pred): Handle quoted string.
244 2015-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
246         Add new `cl-struct' and `eieio' pcase patterns.
247         * emacs-lisp/cl-macs.el (cl-struct): New pcase pattern.
248         * emacs-lisp/eieio.el (eieio-pcase-slot-index-table)
249         (eieio-pcase-slot-index-from-index-table): New functions.
250         (eieio): New pcase pattern.
251         * emacs-lisp/pcase.el (pcase--make-docstring): New function.
252         (pcase): Use it to build the docstring.
253         (pcase-defmacro): Make sure the macro is lazy-loaded.
254         (\`): Move its docstring from `pcase'.
256 2015-03-23  Glenn Morris  <rgm@gnu.org>
258         * emacs-lisp/authors.el (authors-aliases)
259         (authors-obsolete-files-regexps): Additions.
261 2015-03-23  Jan Djärv  <jan.h.d@swipnet.se>
263         * simple.el (deactivate-mark): Only modify PRIMARY if we own
264         PRIMARY (Bug#18939).
266 2015-03-23  Martin Rudalics  <rudalics@gmx.at>
268         * emacs-lisp/debug.el (debug): Don't try using "previous" window
269         when its not live or on an invisible frame (Bug#17170).
271 2015-03-23  Dmitry Gutov  <dgutov@yandex.ru>
273         * json.el (json-decode-char0): Delete this alias as well.
274         (json-read-escaped-char): Don't call it (bug#20154).
276 2015-03-23  Daniel Colascione  <dancol@dancol.org>
278         * emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p): New function.
279         (lisp--el-match-keyword): Use it.
281 2015-03-23  Daiki Ueno  <ueno@gnu.org>
283         * subr.el (start-process): New function, ported from the C
284         implementation.
286 2015-03-23  Daniel Colascione  <dancol@dancol.org>
288         Automatically adjust process window sizes.
290         * window.el (window-adjust-process-window-size-function):
291         New customizable variable.
292         (window-adjust-process-window-size)
293         (window-adjust-process-window-size-smallest)
294         (window-adjust-process-window-size-largest)
295         (window--process-window-list, window--adjust-process-windows):
296         New functions.
297         (window-configuration-change-hook):
298         Add `window--adjust-process-windows'.
299         * term.el (term-mode): Observe result of
300         `window-adjust-process-window-size-function'.
301         (term-check-size): Delete.
303 2015-03-22  Jackson Ray Hamilton  <jackson@jacksonrayhamilton.com>
305         * textmodes/sgml-mode.el (sgml-attribute-offset): New defcustom.
306         (sgml-calculate-indent): Use `sgml-attribute-offset' for attribute
307         indentation (bug#20161).
309 2015-03-22  Dmitry Gutov  <dgutov@yandex.ru>
311         * json.el (json-encode-char0): Delete this alias.
312         (json-encode-string): Rewrite to improve performance (bug#20154).
313         (json-encode-char): Fold into `json-encode-string'.
315 2015-03-22  Artur Malabarba  <bruce.connor.am@gmail.com>
317         * menu-bar.el (menu-bar-update-buffers): Count displayed buffers
318         for `buffers-menu-max-size', not total buffers.
320 2015-03-21  Titus von der Malsburg  <malsburg@posteo.de>
322         * window.el (window-font-width, window-font-height)
323         (window-max-chars-per-line): New functions.
325         * simple.el (default-font-height): Doc fix.
326         (default-font-width): New function.
328 2015-03-21  Tassilo Horn  <tsdh@gnu.org>
330         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1):
331         Also recognize (cl-)defmethod with (setf method) name.
333 2015-03-20  Tassilo Horn  <tsdh@gnu.org>
335         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1):
336         Fix false positive in function name font-locking.
337         (lisp-cl-font-lock-keywords-1): Ditto.
339 2015-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
341         * emacs-lisp/cl-macs.el (cl-defsubst): Ignore false-positive
342         occurrences of args via &cl-defs (bug#20149).
344 2015-03-20  Alan Mackenzie  <acm@muc.de>
346         Fix debbugs#20146
348         * font-lock.el (font-lock-extend-jit-lock-region-after-change):
349         Return the calculated values, as per spec.
351 2015-03-20  Dmitry Gutov  <dgutov@yandex.ru>
353         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `at_exit'
354         and `callcc' to the "methods with required arguments" section,
355         they need a block argument.  Remove a `throw' duplicate.
357 2015-03-19  Vibhav Pant  <vibhavp@gmail.com>
359         * progmodes/cperl-mode.el (cperl-electric-backspace):
360         Call delete-backward-space interactively instead of delete-char.
362 2015-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
364         * emacs-lisp/pcase.el (pcase-lambda): Rewrite.
366         * emacs-lisp/eieio.el (object-slots): Return slot names as before
367         (bug#20141).
369 2015-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
371         EIEIO: Change class's representation to unify instance and class slots
372         * emacs-lisp/eieio-core.el (eieio--class): Change field names and order
373         to match those of cl--class; use cl--slot for both instance slots and
374         class slots.
375         (eieio--object-num-slots): Use cl-struct-slot-info.
376         (eieio--object-class): Rename from eieio--object-class-object.
377         (eieio--object-class-name): Remove.
378         (eieio-defclass-internal): Adjust to new slot representation.
379         Store doc in class rather than in `variable-documentation'.
380         (eieio--perform-slot-validation-for-default): Change API to take
381         a slot object.
382         (eieio--slot-override): New function.
383         (eieio--add-new-slot): Rewrite.
384         (eieio-copy-parents-into-subclass): Rewrite.
385         (eieio--validate-slot-value, eieio--validate-class-slot-value)
386         (eieio-oref-default, eieio-oset-default)
387         (eieio--class-slot-name-index, eieio-set-defaults): Adjust to new
388         slot representation.
389         (eieio--c3-merge-lists): Simplify.
390         (eieio--class/struct-parents): New function.
391         (eieio--class-precedence-bfs): Use it.
393         * emacs-lisp/eieio.el (with-slots): Use macroexp-let2.
394         (object-class-fast): Change recommend replacement.
395         (eieio-object-class): Rewrite.
396         (slot-exists-p): Adjust to new slot representation.
397         (initialize-instance): Adjust to new slot representation.
398         (object-write): Adjust to new slot representation.
400         * emacs-lisp/eieio-opt.el (eieio--help-print-slot): New function
401         extracted from eieio-help-class-slots.
402         (eieio-help-class-slots): Use it.  Adjust to new slot representation.
404         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
405         Declare to silence warnings.
406         (data-debug-insert-object-button): Avoid `object-slots'.
407         (data-debug/eieio-insert-slots): Adjust to new slot representation.
409         * emacs-lisp/eieio-custom.el (eieio-object-value-create)
410         (eieio-object-value-get): Adjust to new slot representation.
412         * emacs-lisp/eieio-compat.el
413         (eieio--generic-static-symbol-specializers):
414         Extract from eieio--generic-static-symbol-generalizer.
415         (eieio--generic-static-symbol-generalizer): Use it.
417         * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
418         Manually map initargs to slot names.
419         (eieio-persistent-validate/fix-slot-value): Adjust to new
420         slot representation.
422         * emacs-lisp/cl-preloaded.el (cl--class): Fix type of `parents'.
424 2015-03-19  Vibhav Pant  <vibhavp@gmail.com>
426         * leim/quail/hangul.el (hangul-delete-backward-char)
427         (hangul-to-hanja-conversion):
428         * progmodes/cperl-mode.el (cperl-electric-keyword)
429         (cperl-electric-backspace): Use delete-char instead of
430         delete-backward-char, fixes compilation warnings.
432 2015-03-18  Michael Albinus  <michael.albinus@gmx.de>
434         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
435         Mark apostrophs with ?/ instead of \037.  (Bug#20117)
437 2015-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
439         Add classes as run-time descriptors of cl-structs.
440         * emacs-lisp/cl-preloaded.el (cl--struct-get-class): New function.
441         (cl--make-slot-desc): New constructor.
442         (cl--plist-remove, cl--struct-register-child): New functions.
443         (cl-struct-define): Rewrite.
444         (cl-structure-class, cl-structure-object, cl-slot-descriptor)
445         (cl--class): New structs.
446         (cl--struct-default-parent): Initialize it here.
447         * emacs-lisp/cl-macs.el (cl--find-class): New macro.
448         (cl-defsubst, cl--defsubst-expand, cl--sublis): Move before first use.
449         (cl--struct-default-parent): New var.
450         (cl-defstruct): Adjust to new representation of classes; add
451         default parent.  In accessors, signal `wrong-type-argument' rather than
452         a generic error.
453         (cl-struct-sequence-type, cl-struct-slot-info)
454         (cl-struct-slot-offset): Rewrite.
455         * emacs-lisp/cl-generic.el (cl--generic-struct-specializers)
456         (cl-generic-generalizers): Rewrite.
458         * emacs-lisp/macroexp.el (macroexp--debug-eager): New var.
459         (internal-macroexpand-for-load): Use it.
461         * emacs-lisp/debug.el (debug--implement-debug-on-entry):
462         Bind inhibit-debug-on-entry here...
463         (debug): Instead of here.
465 2015-03-18  Dima Kogan  <dima@secretsauce.net>
467         Have gud-display-line not display source buffer in gud window.
468         * progmodes/gud.el (gud-display-line): Make display-buffer
469         not reuse selected window.  (Bug#17675, Bug#19901, Bug#20034)
471 2015-03-17  Tassilo Horn  <tsdh@gnu.org>
473         * emacs-lisp/byte-run.el (macro-declarations-alist):
474         New declaration no-font-lock-keyword.
475         (defmacro): Flush font-lock in existing elisp buffers.
477         * emacs-lisp/lisp-mode.el (lisp--el-update-after-load)
478         (lisp--el-update-macro-regexp, lisp--el-macro-regexp):
479         Delete functions and defconst.
480         (lisp--el-match-keyword): Rename from lisp--el-match-macro.
481         (lisp--el-font-lock-flush-elisp-buffers): New function.
482         (lisp-mode-variables): Remove code for updating
483         lisp--el-macro-regexp, and add
484         lisp--el-font-lock-flush-elisp-buffers to after-load-functions.
486 2015-03-17  Simen Heggestøyl  <simenheg@gmail.com>
488         * textmodes/css-mode.el (css--font-lock-keywords):
489         Discriminate between pseudo-classes and pseudo-elements.
490         (css-pseudo-ids): Remove.
491         (css-pseudo-class-ids, css-pseudo-element-ids): New variables.
492         (css--complete-property): New function for completing CSS properties.
493         (css--complete-pseudo-element-or-class): New function
494         completing CSS pseudo-elements and pseudo-classes.
495         (css--complete-at-rule): New function for completing CSS at-rules.
496         (css-completion-at-point): New function.
497         (css-mode): Add support for completion.
498         (css-extract-keyword-list, css-extract-parse-val-grammar)
499         (css-extract-props-and-vals): Remove function in favor of manual
500         extraction.
501         (css-at-ids): Update list of CSS at-rule ids.
502         (css-property-ids): Update list of CSS properties.
504 2015-03-17  Bozhidar Batsov  <bozhidar@batsov.com>
506         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Font-lock
507         more Kernel methods.
509 2015-03-17  Michael Albinus  <michael.albinus@gmx.de>
511         * net/tramp-sh.el (tramp-maybe-send-script): Avoid leading tabs in
512         shell scripts.  (Bug#20118)
514 2015-03-17  Eli Zaretskii  <eliz@gnu.org>
516         * mouse.el (mouse-appearance-menu): If w32-use-w32-font-dialog is
517         nil, construct a menu of fixed fonts.  This resurrects a feature
518         lost in Emacs 23.
520         * w32-vars.el (w32-use-w32-font-dialog): Add a ':set' function to
521         reset mouse-appearance-menu-map, so the font dialog is recomputed
522         the next time the menu is requested.
523         (w32-fixed-font-alist): Fix to use correct names of Courier fonts.
525 2015-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
527         * emacs-lisp/cl-macs.el (cl--transform-lambda): Refine last change
528         (bug#20125).
530 2015-03-17  Michael Albinus  <michael.albinus@gmx.de>
532         * net/tramp-sh.el (tramp-ssh-controlmaster-options): Change test
533         for ControlPath in order to avoid DNS timeouts.  (Bug#20015)
535 2015-03-16  Alan Mackenzie  <acm@muc.de>
537         Edebug: Allow "S" to work during trace mode.  Fixes debbugs #20074.
538         Also display the overlay arrow in go and go-nonstop modes.
540         * emacs-lisp/edebug.el (edebug--display-1): Move the
541         `input-pending' test to after trace mode's `sit-for'.
542         (edebug--recursive-edit): Insert "(sit-for 0)" after
543         "(edebug-overlay-arrow)".
545 2015-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
547         * emacs-lisp/cl-macs.el (cl--transform-lambda): Rework to avoid
548         cl--do-arglist in more cases; add comments to explain what's going on.
549         (cl--do-&aux): New function extracted from cl--do-arglist.
550         (cl--do-arglist): Use it.
552         * emacs-lisp/cl-generic.el: Add Version: header, for ELPA purposes.
554         * obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg.
555         * isearchb.el (isearchb-iswitchb): Adjust accordingly.
556         * ido.el (ido-read-buffer): Add `predicate' argument.
557         * misearch.el (unload-function-defs-list): Declare before use.
559 2015-03-16  Vibhav Pant  <vibhavp@gmail.com>
561         * net/browse-url.el (browse-url-browser-function): Add "Conkeror".
562         (browse-url-conkeror-program, browse-url-conkeror-arguments)
563         (browse-url-conkeror-new-window-is-buffer): New defcustoms.
564         (browse-url-default-browser): Check for `browse-url-conkeror'
565         and call `browse-url-conkeror-program'.
566         (browse-url-conkeror): New command.
567         (bug#19863)
569 2015-03-16  Vibhav Pant  <vibhavp@gmail.com>
571         * eshell/esh-mode.el (eshell/clear): New function.
573 2015-03-16  Alan Mackenzie  <acm@muc.de>
575         Make Edebug work with Follow Mode.
577         * emacs-lisp/edebug.el (edebug--display-1): Remove call to
578         edebug-adjust-window.
579         (edebug--recursive-edit): Don't bind pre/post-command-hooks to nil
580         over the recursive edit.
581         (edebug-adjust-window): Remove.
583 2015-03-15  Michael Albinus  <michael.albinus@gmx.de>
585         * net/tramp-adb.el:
586         * net/tramp-gvfs.el:
587         * net/tramp-sh.el:
588         * net/tramp-smb.el: Set tramp-autoload cookie for all defcustoms.
590         * net/tramp.el (tramp-ssh-controlmaster-options)
591         (tramp-use-ssh-controlmaster-options): Move them to tramp-sh.el.
592         (tramp-default-method): Do not check for
593         `tramp-ssh-controlmaster-options'.
595         * net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
596         New defcustom, moved from tramp.el.
597         (tramp-ssh-controlmaster-options): New defvar, moved from tramp.el
598         but with a nil initial value.
599         (tramp-ssh-controlmaster-options): New defun.
600         (tramp-do-copy-or-rename-file-out-of-band)
601         (tramp-maybe-open-connection): Use it.  (Bug#20015)
603 2015-03-15  Tassilo Horn  <tsdh@gnu.org>
605         * emacs-lisp/lisp-mode.el (lisp--el-macro-regexp): New defconst.
606         (lisp--el-update-macro-regexp, lisp--el-update-after-load)
607         (lisp--el-match-macro): New functions.
608         (lisp-mode-variables): Update lisp--el-macro-regexp and add
609         lisp--el-update-after-load to after-load-functions.
611 2015-03-15  Daniel Colascione  <dancol@dancol.org>
613         * emacs-lisp/cl-indent.el
614         (lisp-indent-backquote-substitution-mode): New user option.
615         (common-lisp-indent-function-1, common-lisp-loop-part-indentation)
616         (common-lisp-indent-function): Support normally indenting
617         backquote substitutions.
618         (extended-loop-p): Rename to `lisp-extended-loop-p'.
620 2015-03-14  Michael R. Mauger  <michael@mauger.com>
622         * progmodes/sql.el: Version 3.5
623         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts.
624         (sql-interactive-remove-continuation-prompt): Fix regression. (Bug#6686)
626 2015-03-14  Daniel Colascione  <dancol@dancol.org>
628         * widget.el (define-widget): Check that documentation is a string
629         or nil; prevent wailing and gnashing of teeth when users forget to
630         pass a docstring and wonder why their properties don't work.
632         * startup.el (command-line): Process "--no-x-resources".
634 2015-03-13  Kevin Ryde  <user42_kevin@yahoo.com.au>
636         info-look fixes for Texinfo 5
637         * info-look.el (c-mode, bison-mode, makefile-mode)
638         (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
639         (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode):
640         Match `foo' and 'foo' and ‘foo’ for @item and similar.
641         (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
642         suffix regexp.
644 2015-03-12  Juri Linkov  <juri@linkov.net>
646         * simple.el (next-line-or-history-element)
647         (previous-line-or-history-element): Remember the goal column of
648         possibly multi-line input, and restore it afterwards.  (Bug#19824)
650 2015-03-12  Rasmus Pank Roulund  <emacs@pank.eu>
652         * ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist
653         files (bug#19335).
655 2015-03-12  Eli Zaretskii  <eliz@gnu.org>
657         * international/fontset.el (script-representative-chars): Add a
658         representative character for 'vai'.
660 2015-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
662         * international/quail.el (quail-input-method):
663         Use with-silent-modifications.
665         * simple.el (goto-history-element): Don't burp on t history.
667 2015-03-10  Paul Eggert  <eggert@cs.ucla.edu>
669         Prefer "initialize" to "initialise"
670         * progmodes/js.el (js-indent-first-init):
671         Rename from js-indent-first-initialiser, to avoid worrying about
672         American vs British spelling.  All uses changed.
674 2015-03-10  Glenn Morris  <rgm@gnu.org>
676         * progmodes/js.el (js-indent-first-initialiser):
677         Fix doc, type, version.
679 2015-03-10  Jackson Ray Hamilton  <jackson@jacksonrayhamilton.com>
681         * progmodes/js.el (js-indent-first-initialiser): New option.
682         (js--maybe-goto-declaration-keyword-end): New function.
683         (js--proper-indentation): Use js--maybe-goto-declaration-keyword-end.
685 2015-03-10  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
687         * net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes
688         from RFC2798 Section 9.1.1.  (Bug#8983)
690 2015-03-09  Nicolas Petton <nicolas@petton.fr>
692         * emacs-lisp/seq.el (seq-into): New function.
693         Bump seq.el version to 1.3.
695 2015-03-09  Dmitry Gutov  <dgutov@yandex.ru>
697         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider
698         `=' a part of symbol when followed by `>'.  (Bug#18644)
699         (ruby-syntax-before-regexp-re): Detect regexps after `!'.
700         (Bug#19285)
702 2015-03-09  Eli Zaretskii  <eliz@gnu.org>
704         * dired.el (dired-delete-file): Doc fix.  (Bug#20021)
706 2015-03-06  Sergio Durigan Junior  <sergiodj@sergiodj.net>
707             Thomas Fitzsimmons  <fitzsim@fitzsim.org>
709         * net/eudcb-bbdb.el (eudc-bbdb-field): New function.
710         (eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field.
711         (eudc-bbdb-format-record-as-result): Likewise.
713 2015-03-08  Dmitry Gutov  <dgutov@yandex.ru>
715         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
716         Use `font-lock-constant-face' for nil, true and false.
717         Highlight `self' as a keyword.  (Bug#17733)
719 2015-03-08  Nobuyoshi Nakada  <nobu@ruby-lang.org>
721         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
722         Expect beginning of regexp also after open brace or vertical bar.
723         (Bug#20026)
725 2015-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>
727         * battery.el (battery-echo-area-format): Simplify default.
728         (battery-linux-sysfs): Standardize on energy&power.  Accept ADP1
729         for AC adapter.
731         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
732         unfold `closure's since byte-compile-unfold-lambda doesn't know how to
733         do it.
735 2015-03-06  Oscar Fuentes  <ofv@wanadoo.es>
737         * net/browse-url.el (browse-url-firefox): Remove outdated
738         MS-Windows limitations.
740 2015-03-06  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
742         * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
743         obsolete.
744         (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
745         Don't clean up postal addresses if ldap-ignore-attribute-codings
746         is set.  Combine mail addresses into one field. (Bug#17720)
747         (eudc-ldap-simple-query-internal):
748         Call eudc-ldap-cleanup-record-filtering-addresses instead of
749         eudc-ldap-cleanup-record-simple.
750         (eudc-ldap-get-field-list): Likewise.
752 2015-03-05  Ivan Shmakov  <ivan@siamics.net>
754         * net/eww.el (eww-html-p): New function (bug#20009).
755         (eww-render): Use it.
757 2015-03-05  Artur Malabarba  <bruce.connor.am@gmail.com>
759         * desktop.el (desktop-buffer-info): Write docstring.
760         (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
761         unquote lamda.
763         * emacs-lisp/package.el (package-refresh-contents): Update doc.
765 2015-03-05  Dmitry Gutov  <dgutov@yandex.ru>
767         * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
769 2015-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
771         Replace *-function vars with generic functions in cl-generic.
772         * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
773         (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
774         (cl--generic-t-generalizer): New const.
775         (cl--generic-make-method): Rename from `cl--generic-method-make'.
776         (cl--generic-make): Change calling convention.
777         (cl--generic): Add `options' field.
778         (cl-generic-function-options): New function.
779         (cl-defgeneric): Rewrite handling of options.  Add support for :method
780         options and allow the use of a default body.
781         (cl-generic-define): Save options in the corresponding new field.
782         (cl-defmethod): Fix ordering of qualifiers.
783         (cl-generic-define-method): Use cl-generic-generalizers.
784         (cl--generic-get-dispatcher): Change calling convention, and change
785         calling convention of the returned function as well so as to take the
786         list of methods separately from the generic function object, so that it
787         can receive the original generic function object.
788         (cl--generic-make-next-function): New function, extracted from
789         cl--generic-make-function.
790         (cl--generic-make-function): Use it.
791         (cl-generic-method-combination-function): Remove.
792         (cl--generic-cyclic-definition): New error.
793         (cl-generic-call-method): Take a generic function object rather than
794         its name.
795         (cl-method-qualifiers): New alias.
796         (cl--generic-build-combined-method): Use cl-generic-combine-methods,
797         don't segregate by qualifiers here any more.
798         (cl--generic-standard-method-combination): Segregate by qualifiers
799         here instead.  Add support for the `:extra' qualifier.
800         (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
801         (cl-generic-generalizers, cl-generic-combine-methods):
802         New generic functions.
803         (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
804         Use the new "default method in defgeneric" functionality, change
805         calling convention to receive a generic function object.
806         (cl--generic-head-used): New var.
807         (cl--generic-head-generalizer, cl--generic-eql-generalizer)
808         (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
809         New consts.
810         * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
811         (eieio--generic-subclass-generalizer): New consts.
812         (cl-generic-generalizers): New methods.
813         * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
814         (eieio--generic-static-object-generalizer): New consts.
815         (cl-generic-generalizers) <(head eieio--static)>: New method.
816         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
817         Unfold closures like lambdas.
819 2015-03-04  Filipp Gunbin  <fgunbin@fastmail.fm>
821         * autorevert.el (auto-revert-notify-add-watch):
822         Fix handler installation.  (Bug#20000)
824 2015-03-04  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
826         * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
827         (eww-same-page-p,eww-set-character-encoding): Fix docstring.
828         (eww): Do not end error messages with a period.
830 2015-03-04  Zhongwei Yao  <ashi08104@gmail.com>
832         * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
833         New user option.
834         (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
835         names starting with a space.
836         (tramp-methods): Add `tramp-default-port' for "adb".
837         (tramp-adb-parse-device-names): Add traces.  Return device names
838         with port, if present.
839         (tramp-adb-handle-directory-files-and-attributes): Quote all
840         remote file names.
841         (tramp-adb-get-device): New defun.
842         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
843         Use it.
844         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
845         variables.  Remove checks for listed devices.
847 2015-03-04  Michael Albinus  <michael.albinus@gmx.de>
849         * net/tramp.el (tramp): Add :link property.
850         (tramp-login-prompt-regexp): Allow also "user", as required by
851         Fritz!Box telnet.
852         (tramp-autoload-file-name-handler): Use "/".
853         (tramp-handle-unhandled-file-name-directory): Return nil when
854         required by the spec.
856         * net/tramp-cache.el (tramp-dump-connection-properties):
857         Use `with-temp-file'.
859         * net/tramp-sh.el (tramp-perl-file-attributes)
860         (tramp-perl-directory-files-and-attributes): Escape apostrophes in
861         file names.
862         (tramp-do-file-attributes-with-stat): Quote file name.
863         (tramp-sh-handle-directory-files-and-attributes): Fall back to
864         `tramp-handle-directory-files-and-attributes' in case of problems.
865         (tramp-do-directory-files-and-attributes-with-stat)
866         (tramp-sh-handle-file-name-all-completions)
867         (tramp-sh-handle-delete-directory)
868         (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
869         Normalize use of "cd".
870         (tramp-do-directory-files-and-attributes-with-stat): Use the
871         `quoting-style' arg of `ls' if possible.  Make it also working for
872         file names with apostrophes.
873         (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
874         in proper order.
875         (tramp-do-copy-or-rename-file-via-buffer)
876         (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
877         (tramp-get-remote-locale): Accept also \r in output.
878         (tramp-get-ls-command-with-quoting-style): New defun.
879         (tramp-get-inline-coding): Set `default-directory' to a local
880         directory.  Sporadically, `call-process-region' does not handle a
881         remote default directory properly.
883         * net/trampver.el: Update release number.
885 2015-03-03  Agustín Martín Domingo  <agustin6martin@gmail.com>
887         * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
888         .dat files for aspell dicts are also searched for in location
889         described by `ispell-aspell-dict-dir', matching aspell's dict-dir
890         variable.
892 2015-03-03  Agustín Martín Domingo  <agustin6martin@gmail.com>
894         * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
895         (ispell-hunspell-fill-dictionary-entry)
896         (ispell-find-hunspell-dictionaries)
897         (ispell-set-spellchecker-params): New generic name for
898         `ispell-hunspell-dictionary-equivs-alist'.
899         (ispell-aspell-add-aliases): Also use
900         `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
901         standard dict names.
903 2015-03-03  Glenn Morris  <rgm@gnu.org>
905         * net/browse-url.el (browse-url-firefox-startup-arguments):
906         Make obsolete.
907         (browse-url-firefox): Doc fix.  Remove -remote, which no longer
908         exists in Firefox 36.  (Bug#19921)
909         (browse-url-firefox-sentinel): Remove function.
911 2015-03-03  Eli Zaretskii  <eliz@gnu.org>
913         * frame.el (blink-cursor-timer-function): Don't increment
914         blink-cursor-blinks-done counter when a menu is active on a w32
915         frame.  (Bug#19925)
917 2015-03-03  Juri Linkov  <juri@linkov.net>
919         * comint.el (comint-line-beginning-position): Revert searching for
920         the prompt when comint-use-prompt-regexp is non-nil because it
921         doesn't distinguish input from output.  Check the field property
922         `output' for the case when comint-use-prompt-regexp is nil.
923         (Bug#19710)
925 2015-03-03  Jérémy Compostella  <jeremy.compostella@gmail.com>
927         * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
928         with PAGER=cat.  (Bug#19870)
930 2015-03-03  Glenn Morris  <rgm@gnu.org>
932         * textmodes/flyspell.el (flyspell-duplicate-distance):
933         Bump :version.
935 2015-03-03  Eli Zaretskii  <eliz@gnu.org>
937         * textmodes/text-mode.el (text-mode-syntax-table): Make some
938         punctuation character behave as word-constituent, for more
939         compatibility with Unicode.
941         * simple.el (transient-mark-mode): Doc fix.  (Bug#19841)
943 2015-03-03  Agustín Martín Domingo  <agustin6martin@gmail.com>
945         Improve string search in `flyspell-word-search-*`. (Bug#16800)
946         * textmodes/flyspell.el (flyspell-duplicate-distance):
947         Limit default search distance for duplicated words to 40000.
948         (flyspell-word-search-backward, flyspell-word-search-forward):
949         Search as full word with defined casechars, not as substring.
951 2015-03-03  Juri Linkov  <juri@linkov.net>
953         Better support for the case of typing RET on the prompt in comint.
954         * comint.el (comint-get-old-input-default): Go to the field end
955         when comint-use-prompt-regexp is nil.
956         (comint-line-beginning-position): Check if point is already
957         on the prompt before searching for the prompt when
958         comint-use-prompt-regexp is non-nil.  (Bug#19710)
960 2015-03-03  Eli Zaretskii  <eliz@gnu.org>
962         * frame.el (frame-notice-user-settings): Refresh the value of
963         frame parameters after calling tty-handle-reverse-video.
964         Call face-set-after-frame-default with the actual parameters, to avoid
965         resetting colors back to unspecified.
966         (set-background-color, set-foreground-color): Pass the foreground
967         and background colors to face-set-after-frame-default.  (Bug#19802)
969 2015-03-03  Wolfgang Jenkner  <wjenkner@inode.at>
971         * net/network-stream.el (network-stream-open-tls): Respect the
972         :end-of-capability setting.
974 2015-03-03  Juri Linkov  <juri@linkov.net>
976         Revert the previous change of comint-line-beginning-position callers,
977         and modify comint-line-beginning-position instead.
979         * comint.el (comint-history-isearch-search)
980         (comint-history-isearch-message, comint-history-isearch-wrap):
981         Use comint-line-beginning-position instead of field-beginning.
982         (comint-send-input): Use either end-of-line or field-end
983         depending on comint-use-prompt-regexp.
984         (comint-line-beginning-position): Search backward
985         for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
986         Use field-beginning instead of line-beginning-position
987         if comint-use-prompt-regexp is nil.  (Bug#19710)
989 2015-03-03  Robert Pluim  <rpluim@gmail.com>  (tiny change)
991         * calendar/todo-mode.el (todo-item-done): When done items are
992         hidden, restore point to its location prior to invoking this
993         command.  (Bug#19727)
995 2015-03-03  Eli Zaretskii  <eliz@gnu.org>
997         * textmodes/artist.el (artist-ellipse-compute-fill-info):
998         Use mapcar, not mapc, to create the other half of fill-info.
999         (Bug#19763)
1001 2015-03-03  Nicolas Petton  <nicolas@petton.fr>
1003         * emacs-lisp/authors.el (authors-ignored-files)
1004         (authors-renamed-files-alist): Additions.
1006 2015-03-03  Michael Albinus  <michael.albinus@gmx.de>
1008         * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
1009         tempfile for ControlPath.  (Bug#19702)
1011 2015-03-03  Michael Albinus  <michael.albinus@gmx.de>
1013         * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
1014         ControlPath if possible.  (Bug#19702)
1016 2015-03-03  Glenn Morris  <rgm@gnu.org>
1018         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1019         (authors-valid-file-names, authors-renamed-files-alist): Additions.
1021 2015-03-03  Alan Mackenzie  <acm@muc.de>
1023         CC Mode: Stop Font Lock forcing fontification from BOL.  (Bug#19669)
1024         * progmodes/cc-mode.el (c-font-lock-init):
1025         Set font-lock-extend-region-functions to nil.
1027 2015-03-03  Daniel Colascione  <dancol@dancol.org>
1029         * emacs-lisp/generator.el: Make globals conform to elisp
1030         style throughout.  Use more efficient font-lock patterns.
1031         (cps-inhibit-atomic-optimization): Rename from
1032         `cps-disable-atomic-optimization'.
1033         (cps--gensym): New macro; replaces `cl-gensym' throughout.
1034         (cps-generate-evaluator): Move the `iter-yield' local macro
1035         definition here
1036         (iter-defun, iter-lambda): from here.
1038         (iter-defun): Use `macroexp-parse-body'.
1040 2015-03-03  Daniel Colascione  <dancol@dancol.org>
1042 2015-03-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1044         * progmodes/gud.el: Use lexical-binding (bug#19966).
1046         * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
1048 2015-03-03  Daniel Colascione  <dancol@dancol.org>
1050         * emacs-lisp/generator.el: Make globals conform to elisp
1051         style throughout.  Use more efficient font-lock patterns.
1052         (cps-inhibit-atomic-optimization): Rename from
1053         `cps-disable-atomic-optimization'.
1054         (cps--gensym): New macro; replaces `cl-gensym' throughout.
1055         (cps-generate-evaluator): Move the `iter-yield' local macro
1056         definition here...
1057         (iter-defun, iter-lambda): ...from here.
1059 2015-03-03  Artur Malabarba  <bruce.connor.am@gmail.com>
1061         * emacs-lisp/package.el (package-autoremove): Fix if logic.
1063 2015-03-03  Martin Rudalics  <rudalics@gmx.at>
1065         * window.el (window--dump-frame): For pixel height return total
1066         number of frame's lines.
1068 2015-03-03  Daniel Colascione  <dancol@dancol.org>
1070         * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
1072         * emacs-lisp/generator.el (iter-defun): Correctly propagate
1073         docstrings and declarations to underlying function.
1075 2015-03-02  Daniel Colascione  <dancol@dancol.org>
1077         * emacs-lisp/generator.el: New file.
1079         * vc/vc.el (vc-responsible-backend): Add autoload cookie for
1080         `vc-responsible-backend'.
1082 2015-03-01  Michael Albinus  <michael.albinus@gmx.de>
1084         * vc/vc-hooks.el (vc-state, vc-working-revision):
1085         Use `vc-responsible-backend' in order to support unregistered files.
1087         * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
1089         * vc/vc-rcs.el (vc-rcs-fetch-master-state):
1090         * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
1091         master name.
1093         * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
1095 2015-03-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1097         * net/shr.el (shr-insert): Remove soft hyphens.
1098         (shr-insert): Also remove soft hypens from non-folded text.
1100 2015-02-28  Eli Zaretskii  <eliz@gnu.org>
1102         * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
1103         when the charset is only given by the HTML <head>, and allow to
1104         specify the encoding with "C-x RET c".
1106 2015-02-27  Mark Laws  <mdl@60hz.org>
1108         Support daemon mode on MS-Windows (bug#19688)
1109         * server.el (server-process-filter): Force GUI frames on
1110         MS-Windows in daemon mode, even if a TTY frame was requested.
1112         * frameset.el (frameset-keep-original-display-p): Don't assume
1113         windows-nt cannot be in daemon mode.
1115         * frame.el (window-system-for-display): Don't assume windows-nt
1116         cannot be in daemon mode.
1118 2015-02-26  Ivan Shmakov  <ivan@siamics.net>
1120         * faces.el (face-list-p): Split from face-at-point.
1121         (face-at-point): Use it.
1122         * facemenu.el (facemenu-add-face): Likewise.  (Bug#19912)
1124 2015-02-26  Oscar Fuentes  <ofv@wanadoo.es>
1126         * vc/vc.el (vc-annotate-switches): New defcustom.
1127         * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
1128         (vc-bzr-annotate-command): Use vc-switches.
1129         * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
1130         (vc-cvs-annotate-command): Use vc-switches.
1131         * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
1132         (vc-git-annotate-command): Use vc-switches.
1133         * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
1134         (vc-hg-annotate-command): Use vc-switches.
1135         * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
1136         (vc-mtn-annotate-command): Use vc-switches.
1137         * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
1138         (vc-svn-annotate-command): Use vc-switches.
1140 2015-02-26  Alan Mackenzie  <acm@muc.de>
1142         Handle "#" operator properly inside macro.  Fix coding bug.
1144         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1145         On finding a "#" which looks like the start of a macro, check it
1146         isn't already inside a macro.
1148         * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
1149         "safe" position into the list of them when this is beyond our
1150         current position.
1152 2015-02-26  Martin Rudalics  <rudalics@gmx.at>
1154         * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
1155         the menu frame is dead.  (Bug#19728)
1157 2015-02-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1159         python.el: Handle tabs in python-indent-dedent-line.
1160         * progmodes/python.el (python-indent-dedent-line): Fixes for
1161         indentation with tabs.  Thanks to <dale@codefu.org> (Bug#19730).
1163 2015-02-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1165         * progmodes/python.el (python-indent-context): Respect user
1166         indentation after comment.
1168 2015-02-26  Tassilo Horn  <tsdh@gnu.org>
1170         * textmodes/reftex-vars.el (featurep): Conditionalize value of
1171         reftex-label-regexps in order to stay compatible with XEmacs 21.5
1172         which has no explicitly numbered groups in regexps (bug#19714).
1174 2015-02-26  Daiki Ueno  <ueno@gnu.org>
1176         * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
1177         integer before comparison.
1179 2015-02-25  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1181         * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
1183 2015-02-25  Oleh Krehel  <ohwoeowho@gmail.com>
1185         * emacs-lisp/check-declare.el (check-declare-warn):
1186         Use compilation-style warnings.
1187         (check-declare-files): Make sure that
1188         `check-declare-warning-buffer' is in `compilation-mode'.
1190 2015-02-25  Oleh Krehel  <ohwoeowho@gmail.com>
1192         * emacs-lisp/check-declare.el (check-declare-ext-errors):
1193         New defcustom.
1194         (check-declare): New defgroup.
1195         (check-declare-verify): When `check-declare-ext-errors' is
1196         non-nil, warn about an unfound function, instead of saying
1197         "skipping external file".
1199 2015-02-25  Tassilo Horn  <tsdh@gnu.org>
1201         * textmodes/reftex-vars.el (reftex-include-file-commands):
1202         Call reftex-set-dirty on changes.
1204 2015-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1206         * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
1207         * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
1208         save-excursion.
1210 2015-02-24  Glenn Morris  <rgm@gnu.org>
1212         * mail/rmailsum.el (rmail-summary-previous-all)
1213         (rmail-summary-previous-msg): Simplify.
1215 2015-02-25  Artur Malabarba  <bruce.connor.am@gmail.com>
1217         * simple.el (region-active-p): Fix doc to say non-nil.
1219 2015-02-24  Samer Masterson  <nosefrog@gmail.com>
1221         * eshell/em-hist.el (eshell-hist-parse-word-designator):
1222         Return args joined with " ".
1223         * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
1224         (eshell-hist-parse-modifier): Pass mod a list instead of a string
1225         (bug#18960).
1227 2015-02-24  Karl Fogel  <kfogel@red-bean.com>  (tiny change)
1229         * comint.el (comint-mode-map): Fix obvious typo.
1231 2015-02-24  Johan Claesson  <johanclaesson@bredband.net>  (tiny change)
1233         * filecache.el (file-cache-filter-regexps):
1234         Add lock files.  (Bug#19516)
1236 2015-02-24  Glenn Morris  <rgm@gnu.org>
1238         * mail/rmailsum.el (rmail-summary-next-all)
1239         (rmail-summary-previous-all, rmail-summary-next-msg):
1240         Fix handling of optional argument.  (Bug#19916)
1242         * progmodes/f90.el (f90-beginning-of-subprogram)
1243         (f90-end-of-subprogram, f90-match-end):
1244         Handle continued strings where the continuation does not start
1245         with "&" and happens to match our regexp.  (Bug#19809)
1247 2015-02-24  Bozhidar Batsov  <bozhidar@batsov.com>
1249         * comint.el (comint-clear-buffer): New command.
1250         (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
1252 2015-02-23  Pete Williamson  <petewil0@googlemail.com>  (tiny change)
1254         Use ${EXEEXT} more uniformly in makefiles
1255         * Makefile.in (EMACS): Append ${EXEEXT}.
1257 2015-02-23  Sam Steingold  <sds@gnu.org>
1259         * files.el (recover-session): Handle `auto-save-list-file-prefix'
1260         being a directory (empty non-directory part).
1262 2015-02-23  Magnus Henoch  <magnus.henoch@gmail.com>
1264         * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
1265         instead of sasl-scram-sha-1, as the former is the name that can be
1266         required.
1268         * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
1269         (sasl-scram-sha-1-client-final-message)
1270         (sasl-scram-sha-1-authenticate-server): Move to end of file.
1272 2015-02-23  Paul Eggert  <eggert@cs.ucla.edu>
1274         * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
1275         (Bug#19826)
1277 2015-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1279         * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
1280         and :documentation.  Change return value format accordingly.
1281         * emacs-lisp/cl-generic.el (cl--generic-lambda):
1282         * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
1283         * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
1285 2015-02-23  Dmitry Gutov  <dgutov@yandex.ru>
1287         Introduce `xref-etags-mode'.
1288         * progmodes/xref.el (xref-etags-mode--saved): New variable.
1289         (xref-etags-mode): New minor mode.  (Bug#19466)
1291 2015-02-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1293         * dom.el (dom-previous-sibling): New function.
1295 2015-02-21  Paul Eggert  <eggert@cs.ucla.edu>
1297         * bindings.el (ctl-x-map): There is no 'C-;'.
1298         For now, make do with 'M-;'; this allows 'make bootstrap' to work.
1299         Perhaps some other binding should be chosen.  (Bug#19826)
1301 2015-02-21  Artur Malabarba  <bruce.connor.am@gmail.com>
1303         * bindings.el (ctl-x-map): Fix `comment-line' binding.  (Bug#19826)
1305 2015-02-21  Michael Albinus  <michael.albinus@gmx.de>
1307         * autorevert.el (auto-revert-notify-add-watch)
1308         (auto-revert-notify-handler, auto-revert-buffers): Handle also
1309         buffers without an associated file, like dired buffers.  (Bug#16112)
1311 2015-02-21  Dima Kogan  <dima@secretsauce.net>
1313         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1314         (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
1315         wrappers.  Call (auto-revert-buffers) consequently in order to
1316         install handlers.
1318 2015-02-21  Wilson Snyder  <wsnyder@wsnyder.org>
1320         Sync with upstream verilog-mode revision 0d6420b.
1321         * progmodes/verilog-mode.el (verilog-mode-version): Update.
1322         (vector-skip-list): Remove.
1323         (verilog-auto-inst-port, verilog-auto-inst-port-list)
1324         (verilog-auto-inst, verilog-auto-inst-param):
1325         Use arguments rather than vector-skip.
1326         (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
1327         modport if signal attachment is itself a modport.
1328         Reported by Matthew Lovell.
1330 2015-02-21  Reto Zimmermann  <reto@gnu.org>
1332         Sync with upstream vhdl mode v3.37.1.  Add VHDL'08 support.
1333         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
1334         (vhdl-doc-release-notes): Update.
1335         (vhdl-standard): Add VHDL'08 option.
1336         (vhdl-sensitivity-list-all): New option.
1337         (vhdl-directive-keywords): Add psl.
1338         (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
1339         (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
1340         (vhdl-imenu-generic-expression): Add context, directive.
1341         (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
1342         (vhdl-template-map-init): Add vhdl-template-context.
1343         (vhdl-mode-syntax-table): Support VHDL'08 block comments.
1344         (vhdl-create-mode-menu): Add some entries.
1345         (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
1346         (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
1347         New constants.
1348         (vhdl-directives): New variable.
1349         (vhdl-words-init, vhdl-template-process)
1350         (vhdl-template-replace-header-keywords): Support VHDL'08.
1351         (vhdl-abbrev-list-init): Add vhdl-directives.
1352         (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
1353         (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
1354         (vhdl-lineup-comment): Handle block comments and directives.
1355         (vhdl-beginning-of-directive, vhdl-template-context)
1356         (vhdl-template-context-hook): New functions.
1357         (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
1358         (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
1359         (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
1360         (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
1361         (vhdl-scan-context-clause): Add context.
1363 2015-02-20  Glenn Morris  <rgm@gnu.org>
1365         * calendar/solar.el (solar-sunrise-sunset-string):
1366         Shorten message a little.
1367         (sunrise-sunset): Use message rather than a window.  (Bug#19859)
1369         * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
1370         (f90-font-lock-keywords-2): Some F2008 additions.
1372 2015-02-19  Dima Kogan  <dima@secretsauce.net>
1374         * autorevert.el (auto-revert-buffers-counter)
1375         (auto-revert-buffers-counter-lockedout): New variables.
1376         (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
1377         (auto-revert-notify-handler): Apply `auto-revert-handler' if not
1378         suppressed by lockout.  (Bug#18958)
1380 2015-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1382         * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
1383         returns classes, not class names (bug#19891).
1385         * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
1387         * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
1389 2015-02-18  Kelly Dean  <kelly@prtime.org>
1391         * register.el (jump-to-register):
1392         * emacs-lisp/lisp.el (check-parens):
1393         Push mark before goto-char so user doesn't lose his previous place.
1395 2015-02-18  Kelly Dean  <kelly@prtime.org>
1397         * rect.el (rectangle-mark-mode):
1398         Suppress superfluous "Mark set" message from push-mark.
1400 2015-02-18  Kelly Dean  <kelly@prtime.org>
1402         * help-mode.el (help-go-back, help-go-forward, help-follow):
1403         * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
1404         * winner.el (winner-redo):
1405         * windmove.el (windmove-do-window-select):
1406         * register.el (jump-to-register, increment-register, insert-register)
1407         (append-to-register, prepend-to-register):
1408         * files.el (find-alternate-file, abort-if-file-too-large, write-file)
1409         (set-visited-file-name):
1410         * emacs-lisp/lisp.el (kill-backward-up-list):
1411         Use user-error instead of error.  (Bug#14480)
1413 2015-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1415         * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
1416         assumptions about window ordering.
1418 2015-02-16  Kelly Dean  <kelly@prtime.org>
1420         * files.el (insert-file-contents-literally): Fix docstring typo.
1422 2015-02-16  Kelly Dean  <kelly@prtime.org>
1424         * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
1425         arguments correctly. (Bug#19685)
1426         (define-minor-mode): Clarify docstring.
1427         Clarify mode switch messages for minor modes.  (Bug#19690)
1429 2015-02-16  Kelly Dean  <kelly@prtime.org>
1431         * emacs-lisp/package-x.el (package-upload-buffer-internal):
1432         Create valid tar files.  (Bug#19536)
1434 2015-02-16  Kelly Dean  <kelly@prtime.org>
1436         * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
1437         (Bug#19059)
1439 2015-02-16  Kelly Dean  <kelly@prtime.org>
1441         * help-mode.el (help-do-xref): Prevent duplicated display of Info
1442         buffer, and prevent interference with existing buffer.  (Bug#13190)
1444 2015-02-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1446         python.el: Do not deactivate mark on shell fontification.  (Bug#19871)
1448         * progmodes/python.el (python-shell-font-lock-post-command-hook):
1449         Do not deactivate mark on fontification.
1451 2015-02-16  Ivan Shmakov  <ivan@siamics.net>
1453         * net/eww.el: Fix desktop support.  (Bug#19226)
1454         (eww-mode): Add autoload cookie.
1455         (eww-restore-desktop): Use inhibit-read-only.
1457         * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
1458         add-hook works correctly even if the file is not yet loaded.
1460 2015-02-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1462         * emacs-lisp/eieio.el (defclass): Use make-instance rather than
1463         eieio-constructor.
1464         (set-slot-value): Mark as obsolete.
1465         (eieio-object-class-name): Improve call to eieio-class-name.
1466         (eieio-slot-descriptor-name, eieio-class-slots): New functions.
1467         (object-slots): Use it.  Declare obsolete.
1468         (eieio-constructor): Merge it with `make-instance'.
1469         (initialize-instance): Use `dolist'.
1470         (eieio-override-prin1, eieio-edebug-prin1-to-string):
1471         Use eieio--class-print-name.
1473         * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
1474         (eieio-class-name): Make it do what the docstring claims.
1475         (eieio-defclass-internal): Simplify since `prots' isn't used any more.
1476         (eieio--slot-name-index): Simplify accordingly.
1477         (eieio-barf-if-slot-unbound): Pass the class object rather than its
1478         name to `slot-unbound'.
1480         * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
1481         than on eieio-constructor.
1483 2015-02-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1485         * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
1486         * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
1487         about relationship between `type', `named', and `slots'.
1488         * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
1489         value of `cl-struct-type' property.
1491 2015-02-15  Jérémy Compostella  <jeremy.compostella@gmail.com>
1493         * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
1494         with PAGER=cat.  (Bug#19870)
1496 2015-02-14  Artur Malabarba  <bruce.connor.am@gmail.com>
1498         * emacs-lisp/package.el (package-read-all-archive-contents):
1499         Don't build the compatibility table.
1500         (package-refresh-contents, package-initialize): Do build the
1501         compatibility table.
1502         (package--build-compatibility-table): New function.
1503         (describe-package-1): Describe why a package is incompatible.
1505 2015-02-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1507         * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
1508         of the parent.
1509         (cl--assertion-failed): New function.
1510         (cl-assertion-failed): Move in from cl-lib.el.
1512         * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
1513         as children of its parents.
1514         (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
1515         (cl-typep): Reimplement using define-inline.
1516         (cl-assert): Use cl--assertion-failed.
1517         (cl-struct-slot-value): Use define-inline.
1519         * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
1521         * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
1522         (flyspell-generic-check-word-p): Mark as obsolete.
1524 2015-02-13  Artur Malabarba  <bruce.connor.am@gmail.com>
1526         * emacs-lisp/package.el (package--compatibility-table): New var.
1527         (package--add-to-compatibility-table): New function.
1528         (package-read-all-archive-contents): Populate compatibility table.
1529         (package--incompatible-p): Also look in dependencies.
1530         (describe-package-1): Fix "incompat" handling.
1532 2015-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
1534         * net/rfc2104.el: Moved here from lisp/gnus.
1536 2015-02-13  Magnus Henoch  <magnus.henoch@gmail.com>
1538         * net/sasl-scram-rfc.el: New file.
1540         * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
1541         Add SCRAM-SHA-1 first.
1542         (sasl-mechanism-alist): Remove SCRAM-MD5 entry.  Add SCRAM-SHA-1
1543         entry (bug#17636).
1545 2015-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
1547         * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
1548         <ul>.
1550 2015-02-12  Oleh Krehel  <ohwoeowho@gmail.com>
1552         * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
1553         (gdb-inferior-filter): Don't pop up the buried output buffer when
1554         `gdb-display-io-nopopup' is non-nil.
1556 2015-02-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1558         python.el: Allow killing shell buffer if process is dead.  (Bug#19823)
1560         * progmodes/python.el (python-shell-font-lock-kill-buffer):
1561         Don't require a running process.
1562         (python-shell-font-lock-post-command-hook): Fontify only if the
1563         shell process is running.
1565 2015-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1567         * hi-lock.el (hi-lock-unface-buffer): Don't call
1568         font-lock-remove-keywords if not needed (bug#19796).
1570 2015-02-11  Artur Malabarba  <bruce.connor.am@gmail.com>
1572         * emacs-lisp/package.el (package-install): Invert the second
1573         argument, for better backwards compatibility.
1574         (package-install-button-action, package-reinstall)
1575         (package-menu-execute): Account for the change.
1577 2015-02-11  Nicolas Petton  <nicolas@petton.fr>
1579         * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
1580         version of seq-reverse that works on sequences in Emacs 24.
1581         Bump seq.el version to 1.2.
1583 2015-02-11  Artur Malabarba  <bruce.connor.am@gmail.com>
1585         * emacs-lisp/package.el (package--incompatible-p): New function.
1586         Return non-nil if PKG has no chance of being installable.
1587         (package--emacs-version-list): New variable.
1588         (describe-package-1, package-desc-status)
1589         (package-menu--print-info, package-menu--status-predicate):
1590         Account for the "incompat" status.
1592 2015-02-11  Martin Rudalics  <rudalics@gmx.at>
1594         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1595         Rename frame parameter `maximized' to `fullscreen-restore'.
1596         Restore fullwidth/-height after fullboth state.  Update doc-strings.
1598 2015-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
1600         * net/shr.el (shr-insert): Make sure the space inserted has the
1601         right font (for width).
1602         (shr-fill-line): Preserve background colours when indenting/folding.
1603         (shr-ensure-paragraph): Don't insert a new paragraph as the first
1604         item in a <li>.
1606 2015-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
1608         * net/shr.el (shr-use-fonts): New variable.
1609         (shr-fill-text): Rename from "fold".
1610         (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
1611         New functions.
1612         (shr-insert): Just insert, don't fill the text.  Filling is now
1613         done afterwards per display unit.
1614         (shr-fill-lines, shr-fill-line): New functions to fill text on a
1615         per-unit base.
1616         (shr-find-fill-point): Take a "beginning" parameter.
1617         (shr-indent): Indent using the :width display parameter when using
1618         fonts.
1619         (shr-parse-style): Ignore "inherit" values, since we already do that.
1620         (shr-tag-img): Remove the insertion states.
1621         (shr-tag-blockquote): New-style filling.
1622         (shr-tag-dd): Ditto.
1623         (shr-tag-li): Ditto.
1624         (shr-mark-fill): New function to mark lines that need filling.
1625         (shr-tag-h1): Use a larger font.
1626         (shr-tag-table-1): Get the natural and suggested widths in one
1627         rendering.
1628         (shr-tag-table): Create the "fixed" version of the table only once
1629         so that we can cache data in the table.
1630         (shr-insert-table): Get colspan calculations right by having
1631         zero-width columns after colspan ones.
1632         (shr-expand-alignments): New function to make :align-to specs work
1633         right when rendered in one buffer and displayed in another one.
1634         (shr-insert-table-ruler): Use :align-to to get the widths right.
1635         (shr-make-table): Cache more.
1636         (shr-make-table-1): Use the new <td> data layout.
1637         (shr-pixel-buffer-width): New function.
1638         (shr-render-td): Add a caching layer.
1639         (shr-dom-max-natural-width): New function.
1640         (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
1641         (shr-tag-tt): New function.
1642         (shr-tag-hr): Compute the right length when using fonts.
1643         (shr-table-widths): Off-by-one error in width computation.
1644         (shr-expand-newlines): Remove dead code.
1645         (shr-insert-table): Extend background colors to the end of the column.
1646         (shr-insert-table): Only copy the background, not underline and
1647         the like.
1648         (shr-face-background): New function.
1650 2015-02-10  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1652         python.el: Improved shell font lock respecting markers.  (Bug#19650)
1654         * progmodes/python.el
1655         (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
1656         (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
1657         (python-shell-font-lock-post-command-hook): Fontify by copying text
1658         properties from fontified buffer to shell, keeping markers unchanged.
1659         (python-shell-font-lock-turn-off): Fix typo.
1660         (python-util-text-properties-replace-name): Delete function.
1662 2015-02-09  Nicolas Petton  <nicolas@petton.fr>
1664         * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
1665         return sequence elements in correct order.
1667 2015-02-09  Simen Heggestøyl  <simenheg@gmail.com>  (tiny change)
1669         * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
1671 2015-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1673         * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
1675         * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
1676         case where the default value would be re-interpreted as a form!
1678 2015-02-09  Christopher Genovese  <genovese@cmu.edu>  (tiny change)
1680         * help-fns.el (help-fns--signature): Keep doc for keymap.
1682 2015-02-09  Kelly Dean  <kelly@prtime.org>
1684         * desktop.el: Save mark-ring less verbosely.
1685         (desktop-var-serdes-funs): New var.
1686         (desktop-buffer-info, desktop-create-buffer): Use it.
1687         (desktop-file-version): Update to 208.
1689 2015-02-09  Leo Liu  <sdl.web@gmail.com>
1691         * emacs-lisp/pcase.el (pcase-lambda): New Macro.  (Bug#19814)
1693         * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
1695         * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
1697 2015-02-08  Paul Eggert  <eggert@cs.ucla.edu>
1699         Port to platforms lacking test -a and -o
1700         * Makefile.in (compile-clean):
1701         * net/tramp-sh.el (tramp-find-executable):
1702         Prefer '&&' and '||' to 'test -a' and 'test -o'.
1704 2015-02-08  Artur Malabarba  <bruce.connor.am@gmail.com>
1706         * newcomment.el (comment-line): Fix missing paren.
1708 2015-02-08  Ulrich Müller  <ulm@gentoo.org>
1710         * play/gamegrid.el: Update comment to reflect that the
1711         'update-game-score' helper program is now setgid by default.
1713 2015-02-08  David Kastrup  <dak@gnu.org>
1715         * subr.el (apply-partially): Use lexical binding here.
1717 2015-02-08  Artur Malabarba  <bruce.connor.am@gmail.com>
1719         * newcomment.el (comment-line): New command.
1721         * bindings.el (ctl-x-map): Bind to `C-x C-;'.
1723 2015-02-08  Oleh Krehel  <ohwoeowho@gmail.com>
1725         * outline.el (outline-show-entry): Fix one invisible char for the
1726         file's last outline.  (Bug#19493)
1728 2015-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1730         * subr.el (indirect-function): Change advertised calling convention.
1732 2015-02-08  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1734         python.el: Fix completion-at-point.  (Bug#19667)
1736         * progmodes/python.el
1737         (python-shell-completion-native-get-completions): Force process buffer.
1738         (python-shell-completion-at-point): Handle case where call is not
1739         in a shell buffer.
1741 2015-02-08  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1743         python.el: Fix shell font-lock multiline input.  (Bug#19744)
1745         * progmodes/python.el
1746         (python-shell-font-lock-post-command-hook): Handle multiline input.
1748 2015-02-08  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1750         python.el: Make shell font-lock respect markers.  (Bug#19650)
1752         * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1753         Use `erase-buffer`.
1754         (python-shell-font-lock-comint-output-filter-function):
1755         Handle newlines.
1756         (python-shell-font-lock-post-command-hook): Respect markers on
1757         text fontification.
1759 2015-02-07  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1761         python.el: Keep eldoc visible while typing args.  (Bug#19637)
1762         * progmodes/python.el (python-eldoc--get-symbol-at-point):
1763         New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1764         (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1766 2015-02-07  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1768         Fix hideshow integration.  (Bug#19761)
1769         * progmodes/python.el
1770         (python-hideshow-forward-sexp-function): New function based on
1771         Carlos Pita <carlosjosepita@gmail.com> patch.
1772         (python-mode): Make `hs-special-modes-alist` use it and initialize
1773         the end regexp with the empty string to avoid skipping parens.
1775 2015-02-07  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1777         * progmodes/python.el (python-check-custom-command): Do not use
1778         defvar-local for compat with Emacs<24.3.
1780 2015-02-07  Martin Rudalics  <rudalics@gmx.at>
1782         * frame.el (frame-notice-user-settings):
1783         Update `frame-size-history'.
1784         (make-frame): Update `frame-size-history'.
1785         Call `frame-after-make-frame'.
1786         * faces.el (face-set-after-frame-default): Remove call to
1787         frame-can-run-window-configuration-change-hook.
1789 2015-02-06  Dmitry Gutov  <dgutov@yandex.ru>
1791         * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1792         `vc-cvs-command' (bug#19732).
1794 2015-02-06  Nicolas Petton  <nicolas@petton.fr>
1796         * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1797         New functions.
1798         * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1799         (seq--drop-list, seq--take-list, seq--take-while-list):
1800         Better docstring.
1802 2015-02-06  Artur Malabarba  <bruce.connor.am@gmail.com>
1804         * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1805         `image-kill-buffer' instead.
1807 2015-02-06  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1809         * net/ldap.el (ldap-search-internal): Fix docstring.
1811 2015-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
1813         * subr.el (define-error): The error conditions may be constant
1814         lists, so use `append' to concatenate them.
1816 2015-02-06  Wolfgang Jenkner  <wjenkner@inode.at>
1818         * net/network-stream.el (network-stream-open-tls): Respect the
1819         :end-of-capability setting.
1821 2015-02-05  Artur Malabarba  <bruce.connor.am@gmail.com>
1823         * emacs-lisp/package.el (package--sort-by-dependence):
1824         New function.  Return PACKAGE-LIST sorted by dependencies.
1825         (package-menu-execute): Use it to delete packages in order.
1826         (package--sort-deps-in-alist): New function.
1827         (package-menu-mark-install): Can mark dependencies.
1828         (package--newest-p): New function.
1829         (package-delete): Don't deselect when deleting an older version of
1830         an upgraded package.
1832         * emacs-lisp/package.el: Add missing (require 'subr-x)
1834 2015-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1836         * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1837         hyphenated (bug#19263).
1839         * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1840         of variable interpolation (bug#19751).
1842 2015-02-05  Era Eriksson  <era+emacs@iki.fi>
1844         * json.el (json-end-of-file): New error (bug#19768).
1845         (json-pop, json-read): Use it.
1847 2015-02-05  Kelly Dean  <kelly@prtime.org>
1849         * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1850         `describe-variable'.
1852         * help-fns.el (describe-function-or-variable): New function.
1854         * help.el (help-map): Bind `describe-function-or-variable' to o.
1855         (help-for-help-internal): Document o key.
1857 2015-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1859         * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1860         special (:documentation ...) feature.
1861         * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1862         (eieio-make-child-predicate): Same.
1863         (eieio-copy-parents-into-subclass): Remove unused arg.
1864         (eieio-defclass-internal): Adjust call accordingly and remove redundant
1865         `pname' var.
1866         (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1867         callers accordingly.
1869         * emacs-lisp/cconv.el (cconv--convert-function):
1870         Add `docstring' argument.
1871         (cconv-convert): Use it to handle the new (:documentation ...) form.
1872         (cconv-analyze-form): Handle the new (:documentation ...) form.
1874         * emacs-lisp/bytecomp.el:
1875         (byte-compile-initial-macro-environment): Use macroexp-progn.
1876         (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1877         (byte-compile-file-form-defvar-function): Rename from
1878         byte-compile-file-form-define-abbrev-table.
1879         (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1880         (byte-compile): Use byte-compile-top-level rather than
1881         byte-compile-lambda so we can compile non-values.
1882         (byte-compile-form): Add warnings for failed uses of lexical vars via
1883         quoted symbols.
1884         (byte-compile-unfold-bcf): Improve message for failed inlining.
1885         (byte-compile-make-closure): Handle new format of internal-make-closure
1886         for dynamically-generated docstrings.
1888         * delsel.el: Deprecate the `kill' option.  Use lexical-binding.
1889         (open-line): Delete like all other commands, instead of killing.
1890         (delete-active-region): Don't define any return any value.
1892         * progmodes/python.el: Try to preserve compatibility with Emacs-24.
1893         (python-mode): Don't assume eldoc-documentation-function has a non-nil
1894         default.
1896 2015-02-04  Sam Steingold  <sds@gnu.org>
1898         * progmodes/python.el (python-indent-calculate-indentation):
1899         Avoid the error when computing top-level indentation.
1901 2015-02-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1903         * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
1905         * textmodes/flyspell.el: Use lexical-binding and cl-lib.
1906         (mail-mode-flyspell-verify): Fix last change.
1907         (flyspell-external-point-words, flyspell-large-region):
1908         Avoid add-to-list on local vars.
1910 2015-02-04  Tassilo Horn  <tsdh@gnu.org>
1912         * emacs-lisp/package.el (package-installed-p): Fix typo causing
1913         void-variable error.
1915 2015-02-04  Artur Malabarba  <bruce.connor.am@gmail.com>
1917         * image-mode.el (image-kill-buffer): New command.
1918         (image-mode-map): Bind it to k.
1920         * emacs-lisp/package.el (package-delete): Remove package from
1921         `package-selected-packages' even if it can't be deleted.
1922         (package-installed-p): Accept package-desc objects.
1923         (package-install): Can be used to mark dependencies as
1924         selected. When given a package-desc object which is already
1925         installed, the package is not downloaded again, but it is marked
1926         as selected (if it wasn't already).
1927         (package-reinstall): Accept package-desc objects.
1929 2015-02-03  Artur Malabarba  <bruce.connor.am@gmail.com>
1931         * emacs-lisp/package.el (package-delete): Document NOSAVE.
1932         (package--get-deps): delete-dups when ONLY is nil.
1933         (package-autoremove): Warn the user if `package-selected-packages'
1934         is empty.
1936         (package--user-selected-p): New function.
1937         (package-delete, package-install, package-install-from-buffer):
1938         Use it
1939         (package-selected-packages): Mention it.
1941         (package-initialize): Don't populate `package-selected-packages'.
1942         (package-install-user-selected-packages, package-autoremove):
1943         Special handling for empty `package-selected-packages'.
1944         (package-install): Fix when PKG is a package-desc.
1946         (package-desc-status): Add "dependency" status to the Package
1947         Menu.
1948         (package-menu--status-predicate, package-menu--print-info)
1949         (package-menu-mark-delete, package-menu--find-upgrades)
1950         (package-menu--status-predicate, describe-package-1): Use it
1952         (package--removable-packages): New function.
1953         (package-autoremove): Use it.
1954         (package-menu-execute): Offer to remove unneeded packages.
1956         (package--read-pkg-desc, package-tar-file-info): Fix reference to
1957         tar-desc.
1959 2015-02-03  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1961         * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
1962         (package-delete): New NOSAVE argument.
1964 2015-02-03  Michael Albinus  <michael.albinus@gmx.de>
1966         * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
1967         (tramp-open-shell, tramp-maybe-open-connection): Set also
1968         HISTFILESIZE and HISTSIZE when needed.  (Bug#19731)
1970 2015-02-02  Artur Malabarba  <bruce.connor.am@gmail.com>
1972         * emacs-lisp/package.el (package--find-non-dependencies):
1973         New function.
1974         (package-initialize): Use it to populate `package-selected-packages'.
1975         (package-menu-execute): Clean unnecessary `and'.
1976         (package--get-deps): Fix returning duplicates.
1978 2015-02-02  Michael Albinus  <michael.albinus@gmx.de>
1980         * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
1981         Use it as default.
1982         (tramp-open-shell, tramp-maybe-open-connection): Support it.
1983         (Bug#19731)
1985 2015-02-02  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1987         * emacs-lisp/package.el (package-delete): Remove package from
1988         package-selected-packages.
1989         (package-autoremove): Remove unneeded variable.
1991 2015-02-01  Artur Malabarba  <bruce.connor.am@gmail.com>
1993         * emacs-lisp/package.el (package-selected-packages): Fix :type
1994         (package-install): Rename ARG to MARK-SELECTED.
1995         (package--get-deps): Fix for indirect dependencies.
1996         (package-used-elsewhere-p): Rename to
1997         (package--used-elsewhere-p): New function.
1998         (package-reinstall, package-user-selected-packages-install)
1999         (package-autoremove): Use sharp-quote.
2000         (package-user-selected-packages-install): Reindent and rename to
2001         (package-install-user-selected-packages): New function.
2003 2015-02-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2005         * emacs-lisp/package.el: Don't allow deleting dependencies.
2007         (package-used-elsewhere-p): New function.
2008         (package-delete): Use it, return now an error when trying to
2009         delete a package used as dependency by another package.
2011         Add a reinstall package command.
2012         (package-reinstall): New function.
2014         Add a package-autoremove command.
2015         (package-selected-packages): New user var.
2016         (package-install): Add an optional arg to notify interactive use.
2017         Fix docstring. Save installed package to
2018         packages-installed-directly.
2019         (package-install-from-buffer): Same.
2020         (package-user-selected-packages-install): Allow installing all
2021         packages in packages-installed-directly at once.
2022         (package--get-deps): New function.
2023         (package-autoremove): New function.
2024         (package-install-button-action): Call package-install with
2025         interactive arg.
2026         (package-menu-execute): Same but only for only for not installed
2027         packages.
2029 2015-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2031         * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
2032         and eieio-make-child-predicate.
2033         (eieio-class-parents): Use eieio--class-object.
2034         (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
2035         (slot-exists-p): Use find-class.
2037         * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
2038         Use find-lisp-object-file-name, help-fns-short-filename and new calling
2039         convention for eieio-class-def.
2040         (eieio-build-class-list): Remove function, unused.
2041         (eieio-method-def): Remove button type, unused.
2042         (eieio-class-def): Inherit from help-function-def.
2043         (eieio--defclass-regexp): New constant.
2044         (find-function-regexp-alist): Use it.
2045         (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
2046         (eieio-help-find-method-definition, eieio-help-find-class-definition):
2047         Remove functions.
2049         * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
2050         Use cl-check-type everywhere instead.
2051         (eieio-class-object): Remove, use find-class instead when needed.
2052         (class-p): Don't inline.
2053         (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
2054         such as eieio classes, as objects.  Don't inline.
2055         (object-p): Mark as obsolete.
2056         (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
2057         (eieio--generic-tagcode): Avoid `class-p'.
2058         (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
2059         (eieio-defclass-internal): Use current-load-list rather than
2060         `class-location'.
2062         * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
2064 2015-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2066         * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
2067         since it may be "equivalent" in some sense, yet different (bug#19734).
2069 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
2071         * outline.el (outline-font-lock-face): Add docstring.
2072         (outline-invisible-p): Improve docstring.
2073         (outline-invent-heading): Add docstring.
2074         (outline-promote): Improve docstring.
2075         (outline-demote): Improve docstring.
2076         (outline-head-from-level): Improve docstring.
2077         (outline-end-of-heading): Add docstring.
2078         (outline-next-visible-heading): Improve docstring.
2079         (outline-previous-visible-heading): Improve docstring.
2080         (outline-hide-region-body): Improve docstring.
2081         (outline-flag-subtree): Add docstring.
2082         (outline-end-of-subtree): Add docstring.
2083         (outline-headers-as-kill): Improve docstring.
2085 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
2087         * outline.el (outline-hide-entry): Rename from `hide-entry'.
2088         (hide-entry): Declare as obsolete.
2089         (outline-show-entry): Rename from `show-entry'.
2090         (show-entry): Declare as obsolete.
2091         (outline-hide-body): Rename from `hide-body'.
2092         (hide-body): Declare as obsolete.
2093         (outline-hide-region-body): Rename from `hide-region-body'.
2094         (hide-region-body): Declare as obsolete.
2095         (outline-show-all): Rename from `show-all'.
2096         (show-all): Declare as obsolete.
2097         (outline-hide-subtree): Rename from `hide-subtree'.
2098         (hide-subtree): Declare as obsolete.
2099         (outline-hide-leaves): Rename from `hide-leaves'.
2100         (hide-leaves): Declare as obsolete.
2101         (outline-show-subtree): Rename from `show-subtree'.
2102         (show-subtree): Declare as obsolete.
2103         (outline-hide-sublevels): Rename from `hide-sublevels'.
2104         (hide-sublevels): Declare as obsolete.
2105         (outline-hide-other): Rename from `hide-other'.
2106         (hide-other): Declare as obsolete.
2107         (outline-show-children): Rename from `show-children'.
2108         (show-children): Declare as obsolete.
2109         (outline-show-branches): Rename from `show-branches'.
2110         (show-branches): Declare as obsolete.
2112 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
2114         * outline.el (outline-mode): Clean up docstring.
2115         (font-lock-warning-face): Remove obsolete declaration.
2116         (outline-font-lock-face): Remove obsolete comment.
2118 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
2120         * custom.el (defface): Set `indent' to 1.
2122 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
2124         * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
2126 2015-01-30  Michal Nazarewicz  <mina86@mina86.com>
2128         * files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
2129         is set, but user has just been asked whether they really want to
2130         kill Emacs (for example with a ‘Modified buffers exist; exit
2131         anyway?’ prompt), do not ask them for another confirmation.
2133 2015-01-29  Jay Belanger  <jay.p.belanger@gmail.com>
2135         * calc/calc-units.el (calc-convert-exact-units): New function.
2136         (calc-convert-units): Check for missing units.
2137         (math-consistent-units-p): Strengthen the test for consistent units.
2139         * calc/calc-ext.el (calc-init-extensions):  Autoload
2140         `calc-convert-exact-units' and assign it a keybinding.
2142         * calc/calc-help (calc-u-prefix-help): Add help for the
2143         "un" keybinding.
2145 2015-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2147         * emacs-lisp/cl.el (cl--function-convert): Simplify.
2149 2015-01-28  Tassilo Horn  <tsdh@gnu.org>
2151         * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
2152         punctuation syntax since to allow bibtex fields with values such
2153         as {Test 1) and 2)} (bug#19205, bug#19707).
2154         (reftex--prepare-syntax-tables): New function.
2155         (reftex-mode): Use it.
2157 2015-01-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2159         python.el: New non-global state dependent indentation engine.
2160         (Bug#18319, Bug#19595)
2161         * progmodes/python.el (python-syntax-comment-or-string-p):
2162         Accept PPSS as argument.
2163         (python-syntax-closing-paren-p): New function.
2164         (python-indent-current-level)
2165         (python-indent-levels): Mark obsolete.
2166         (python-indent-context): Return more context cases.
2167         (python-indent--calculate-indentation)
2168         (python-indent--calculate-levels): New functions.
2169         (python-indent-calculate-levels): Use them.
2170         (python-indent-calculate-indentation, python-indent-line):
2171         (python-indent-line-function): Rewritten to use new API.
2172         (python-indent-dedent-line): Simplify logic.
2173         (python-indent-dedent-line-backspace): Use `unless`.
2174         (python-indent-toggle-levels): Delete function.
2176 2015-01-28  Daniel Koning  <dk@danielkoning.com>  (tiny change)
2178         * subr.el (posnp): Correct docstring of `posnp'.
2179         (posn-col-row): Make it work with all mouse position objects.
2180         * textmodes/artist.el (artist-mouse-draw-continously):
2181         Cancel timers if an error occurs during continuous drawing.  (Bug#6130)
2183 2015-01-28  Eli Zaretskii  <eliz@gnu.org>
2185         * button.el (button-activate, push-button): Doc fix.  (Bug#19628)
2187 2015-01-28  Michael Albinus  <michael.albinus@gmx.de>
2189         * filenotify.el (file-notify-descriptors, file-notify-handle-event):
2190         Adapt docstring.
2191         (file-notify--descriptor): New defun.
2192         (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
2193         Adapt docstring.  Handle multiple values for
2194         `file-notify-descriptors' entries.  (Bug#18880)
2196         * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
2197         `file-notify-descriptors', the implementation has been changed.
2199 2015-01-28  Eli Zaretskii  <eliz@gnu.org>
2201         * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
2202         On MS-Windows, bind coding-system-for-read to the console output
2203         codepage.  (Bug#19458)
2205 2015-01-28  Dmitry Gutov  <dgutov@yandex.ru>
2207         Unbreak `mouse-action' property in text buttons.
2208         * button.el (push-button): Fix regression from 2012-12-06.
2210 2015-01-28  Glenn Morris  <rgm@gnu.org>
2212         * progmodes/sh-script.el (sh-mode): Doc fix.
2213         (sh-basic-indent-line): Handle electric newline.  (Bug#18756)
2215 2015-01-28  Paul Eggert  <eggert@cs.ucla.edu>
2217         Fix dired quoting bug with "Hit`N`Hide".
2218         * files.el (shell-quote-wildcard-pattern): Also quote "`".  (Bug#19498)
2220 2015-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2222         Tighten up the tagcode used for eieio and cl-struct objects.
2223         * loadup.el: Load cl-preloaded.
2224         * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
2225         slot of the tag symbol to :quick-object-witness-check.
2226         (eieio-object-p): Use :quick-object-witness-check.
2227         (eieio--generic-tagcode): Use cl--generic-struct-tag.
2228         * emacs-lisp/cl-preloaded.el: New file.
2229         * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
2230         (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
2231         (cl--make-usage-args): Strip away &aux args.
2232         (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
2233         (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
2234         (cl-defstruct): Use `declare' and cl-struct-define.
2235         * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
2236         (cl--generic-struct-tagcode): Use it to tighten the tagcode.
2238 2015-01-27  Katsumi Yamaoka  <yamaoka@jpl.org>
2240         * emacs-lisp/cl.el (cl--function-convert):
2241         Merge cache that cl--labels-convert adds (bug#19699).
2243 2015-01-27  Ivan Shmakov  <ivan@siamics.net>
2245         * tar-mode.el: Allow for adding new archive members.  (Bug#19274)
2246         (tar-new-regular-file-header, tar--pad-to, tar--put-at)
2247         (tar-header-serialize): New functions.
2248         (tar-current-position): Split from tar-current-descriptor.
2249         (tar-current-descriptor): Use it.
2250         (tar-new-entry): New command.
2251         (tar-mode-map): Bind it.
2253 2015-01-27  Sam Steingold  <sds@gnu.org>
2255         * progmodes/python.el (python-check-custom-command): Buffer local
2256         because it usually includes the buffer name.
2257         (python-check-command): Set to epylint when pyflakes is not available.
2259 2015-01-27  Artur Malabarba  <bruce.connor.am@gmail.com>
2261         * isearch.el (isearch-process-search-char): Add docstring.
2263 2015-01-27  Oleh Krehel  <ohwoeowho@gmail.com>
2265         * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
2267 2015-01-27  Katsumi Yamaoka  <yamaoka@jpl.org>
2269         * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
2270         for the case cl-flet or cl-labels form is wrapped with lexical-let
2271         (bug#19613).
2273 2015-01-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2275         * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
2276         (cl--generic): The method-table is now a (list-of cl--generic-method).
2277         (cl--generic-member-method): New function.
2278         (cl-generic-define-method): Use it.
2279         (cl--generic-build-combined-method, cl--generic-cache-miss):
2280         Adapt to new method-table.
2281         (cl--generic-no-next-method-function): Add `method' argument.
2282         (cl-generic-call-method): Adapt to new method representation.
2283         (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
2284         (cl-find-method, cl-method-qualifiers): New functions.
2285         (cl--generic-method-info): Adapt to new method representation.
2286         Return a string for the qualifiers.
2287         (cl--generic-describe):
2288         * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
2289         (eieio-all-generic-functions, eieio-method-documentation):
2290         Adjust to new method representation.
2292         * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
2294 2015-01-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2296         * emacs-lisp/cl-generic.el: Add a method-combination hook.
2297         (cl-generic-method-combination-function): New var.
2298         (cl--generic-lambda): Remove `with-cnm' arg.
2299         (cl-defmethod): Change accordingly.
2300         (cl-generic-define-method): Don't check qualifiers validity.
2301         Preserve all qualifiers in `method-table'.
2302         (cl-generic-call-method): New function.
2303         (cl--generic-nest): Remove (morph into cl-generic-call-method).
2304         (cl--generic-build-combined-method): Adjust to new format of method-table
2305         and use cl-generic-method-combination-function.
2306         (cl--generic-standard-method-combination): New function, extracted from
2307         cl--generic-build-combined-method.
2308         (cl--generic-cnm-sample): Adjust to new format of method-table.
2310         * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
2311         instead of :primary.
2313         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2314         Remove obsolete function.
2316 2015-01-26  Lars Ingebrigtsen  <larsi@gnus.org>
2318         * net/shr.el (shr-make-table-1): Fix colspan typo.
2319         (shr-make-table-1): Add comments.
2320         (shr-make-table-1): Make colspan display more sensibly.
2322         * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
2323         slightly.
2325 2015-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2327         * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
2328         (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
2329         (bug#19672).
2330         (cl--generic-typeof-types): Add support for `sequence'.
2331         (cl-defmethod): Add non-keywords in the qualifiers.
2333 2015-01-25  Dmitry Gutov  <dgutov@yandex.ru>
2335         * emacs-lisp/find-func.el (find-function-regexp): Don't match
2336         `defgroup' (regression from the previous change here).
2338 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2340         * net/ldap.el (ldap-search-internal): Mention binddn in invalid
2341         credentials error message.
2343 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2345         * net/ldap.el (ldap-password-read): Validate password before
2346         caching it.
2347         (ldap-search-internal): Handle ldapsearch error conditions.
2349 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2351         * net/ldap.el (ldap-password-read): Handle password-cache being nil.
2353 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2355         * net/eudc.el (eudc-expand-inline): Always restore former server
2356         and protocol.
2358 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2360         * net/eudcb-ldap.el: Don't nag the user in case a default base is
2361         provided by the LDAP system configuration file.
2363 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2365         * net/eudc.el (eudc-format-query): Preserve the
2366         eudc-inline-query-format ordering of attributes in the returned list.
2367         * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
2368         Append the LDAP wildcard character to the last attribute value.
2370 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2372         * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
2373         Downcase field names of LDAP results.
2374         (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
2376 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2378         * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
2379         (ldap-search-internal): Send password to ldapsearch through a pipe
2380         instead of via the command line.
2382 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2384         * net/ldap.el: Require password-cache.
2385         (ldap-password-read): New function.
2386         (ldap-search-internal): Call ldap-password-read when it is
2387         configured to be called.
2389 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2391         * net/eudc-vars.el (eudc-expansion-overwrites-query):
2392         Change default to nil.
2394 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2396         * net/eudc.el (eudc-expand-inline): Ignore text properties of
2397         string-to-expand.
2399 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2401         * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
2402         format that includes first name and surname.
2404 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2406         * net/eudc-vars.el (eudc-inline-query-format): Change default to
2407         query email and first name instead of surname.
2409 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2411         * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
2413 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2415         * net/eudc-vars.el (eudc-server): Adjust docstring to mention
2416         eudc-server-hotlist.
2417         (eudc-server-hotlist): Move from eudc.el and make defcustom.
2418         * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
2419         (eudc-set-server): Allow setting protocol to nil.
2420         (eudc-expand-inline): Support hotlist-only expansions when server
2421         is not set.
2423 2015-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2425         * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
2426         (cl--generic-build-combined-method): Use it.
2428 2015-01-22  Paul Eggert  <eggert@cs.ucla.edu>
2430         Don't downcase system diagnostics' first letters
2431         * emacs-lisp/bytecomp.el (byte-compile-file):
2432         * ffap.el (find-file-at-point):
2433         * files.el (insert-file-1):
2434         * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
2435         (ange-ftp-copy-file-internal):
2436         * progmodes/etags.el (visit-tags-table):
2437         Keep diagnostics consistent with system's.
2438         * ffap.el (ffap-machine-p):
2439         Ignore case while comparing diagnostics.
2441 2015-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2443         * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
2444         arg (bug#19645).
2445         * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
2446         body with a docstring.
2448 2015-01-22  Dmitry Gutov  <dgutov@yandex.ru>
2450         * progmodes/xref.el (xref-location-marker, xref-location-group):
2451         Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
2452         counterparts.
2454         * progmodes/etags.el (xref-location-marker): Same.
2456         * progmodes/xref.el (xref--current): Rename from `xref--selected'.
2457         (xref--inhibit-mark-current): Rename from
2458         `xref--inhibit-mark-selected'.  Update the usages.
2459         (xref-quit): Reword the docstring.  Kill buffers after quitting
2460         windows instead of before.
2461         (xref--insert-xrefs): Tweak help-echo.
2462         (xref--read-identifier-history, xref--read-pattern-history):
2463         New variables.
2464         (xref--read-identifier, xref-find-apropos): Use them.
2466 2015-01-21  Ulrich Müller  <ulm@gentoo.org>
2468         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2469         Allow the 'update-game-score' helper program to run suid or sgid.
2471 2015-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2473         * emacs-lisp/eieio.el: Use cl-defmethod.
2474         (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
2475         (eieio-object-name-string): Declare as obsolete.
2477         * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
2478         (eieio--specializers-apply-to-class-p): New function.
2479         (eieio-all-generic-functions): Use it.
2480         (eieio-method-documentation): Use it as well as cl--generic-method-info.
2481         Change format of return value.
2482         (eieio-help-class): Adapt accordingly.
2484         * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
2485         errors when there's a `before' but no `primary' (bug#19645).
2486         (next-method-p): Return nil rather than signal an error.
2487         (eieio-defgeneric): Remove bogus (fboundp 'method).
2489         * emacs-lisp/eieio-speedbar.el:
2490         * emacs-lisp/eieio-datadebug.el:
2491         * emacs-lisp/eieio-custom.el:
2492         * emacs-lisp/eieio-base.el: Use cl-defmethod.
2494         * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
2495         (cl--generic-setf-rewrite): Setup the setf expander right away.
2496         (cl-defmethod): Make sure the setf expander is setup before we expand
2497         the body.
2498         (cl-defmethod): Silence byte-compiler warnings.
2499         (cl-generic-define-method): Shuffle code to change return value.
2500         (cl--generic-method-info): New function, extracted from
2501         cl--generic-describe.
2502         (cl--generic-describe): Use it.
2504 2015-01-21  Dmitry Gutov  <dgutov@yandex.ru>
2506         * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
2507         the major mode.  Remap `quit-window' to `xref-quit'.
2508         (xref--xref-buffer-mode): Inherit from special-mode.
2510         xref: Keep track of temporary buffers  (bug#19466).
2511         * progmodes/xref.el (xref--temporary-buffers, xref--selected)
2512         (xref--inhibit-mark-selected): New variables.
2513         (xref--mark-selected): New function.
2514         (xref--show-location): Maybe add the buffer to
2515         `xref--temporary-buffers', add `xref--mark-selected' to
2516         `buffer-list-update-hook' there.
2517         (xref--window): Add docstring.
2518         (xref-quit): Rename from `xref--quit'.  Update both references.
2519         Add KILL argument.  When it's non-nil, kill the temporary buffers
2520         that haven't been selected by the user.
2521         (xref--show-xref-buffer): Change the second argument to alist,
2522         extract the values for `xref--window' and
2523         `xref--temporary-buffers' from it.  Add `xref--mark-selected' to
2524         `buffer-list-update-hook' to each buffer in the list.
2525         (xref--show-xrefs): Move the logic of calling `xref-find-function'
2526         here.  Save the difference between buffer lists before and after
2527         it's called as "temporary buffers", and `pass it to
2528         `xref-show-xrefs-function'.
2529         (xref--find-definitions, xref-find-references)
2530         (xref-find-apropos): Update accordingly.
2532 2015-01-20  Artur Malabarba  <bruce.connor.am@gmail.com>
2534         * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
2536 2015-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2538         * emacs-lisp/eieio-generic.el: Remove.
2539         (defgeneric, defmethod): Move to eieio-compat.el.  Mark obsolete.
2540         * emacs-lisp/eieio-compat.el: New file.
2541         * emacs-lisp/eieio.el: Don't require eieio-generic any more.
2542         * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
2543         Remove unused function.
2544         (eieio-defclass): Move to eieio-compat.el.
2545         * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
2546         (macroexp--expand-all): Use it.
2547         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
2549 2015-01-20  Michal Nazarewicz  <mina86@mina86.com>
2551         * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
2552         major modes should use `add-function' to alter value of the variable.
2553         * hexl.el (hexl-mode):
2554         * ielm.el (inferior-emacs-lisp-mode):
2555         * progmodes/cfengine.el (cfengine3-mode):
2556         * progmodes/elisp-mode (emacs-lisp-mode):
2557         * progmodes/octave.el (octave-mode):
2558         * progmodes/python.el (python-mode):
2559         * simple.el (read--expression): Set `eldoc-documentation-function'
2560         using `add-function' so the default value is always used.
2562         * descr-text.el (describe-char-eldoc): New function returning
2563         basic Unicode codepoint information (e.g. name) about character
2564         at point.  It is meant to be used as a default value of the
2565         `eldoc-documentation-function' variable.
2566         (describe-char-eldoc--format, describe-char-eldoc--truncate):
2567         New helper functions for `describe-char-eldoc' function.
2569 2015-01-20  Michal Nazarewicz  <mina86@mina86.com>
2571         * textmodes/paragraphs.el (sentence-end-base): Include an
2572         ellipsis (…) and interrobang (‽) characters as end of a sentence,
2573         and a closing single quote (’) as an end of a quote.
2575 2015-01-20  Michal Nazarewicz  <mina86@mina86.com>
2577         * textmodes/tildify.el (tildify-double-space-undos): A new
2578         variable specifying whether pressing space in `tildify-mode' after
2579         a space has been replaced with hard space undos the substitution.
2580         (tildify-space): Add code branch for handling `tildify-doule-space'.
2582         * textmodes/tildify.el (tildify-space): A new function
2583         which can be used as a `post-self-insert-hook' to automatically
2584         convert spaces into hard spaces.
2585         (tildify-space-pattern): A new variable specifying pattern where
2586         `tildify-space' should take effect.
2587         (tildify-space-predicates): A new variable specifying list of
2588         predicate functions that all must return non-nil for
2589         `tildify-space' to take effect.
2590         (tildify-space-region-predicate): A new functions meant to be
2591         used as a predicate in `tildify-space-predicates' list.
2592         (tildify-mode): A new minor mode enabling `tildify-space' as a
2593         `post-self-insert-hook'
2595 2015-01-20  Daniel Colascione  <dancol@dancol.org>
2597         * vc/vc-dir.el (vc-dir): Default to repository root, not
2598         default-directory.
2600 2015-01-20  Dmitry Gutov  <dgutov@yandex.ru>
2602         * progmodes/etags.el (xref-etags-location): New class.
2603         (xref-make-etags-location): New function.
2604         (etags--xref-find-definitions): Use it.
2605         (xref-location-marker): New method implementation.
2607         * progmodes/xref.el: Mention that xref-location is an EIEIO class.
2608         (xref--insert-xrefs): Expand help-echo string.
2610 2015-01-19  Dmitry Gutov  <dgutov@yandex.ru>
2612         * ido.el: Update Customization instructions.
2614 2015-01-19  Jonas Bernoulli  <jonas@bernoul.li>
2616         Define Ido keymaps once (bug#17000).
2617         * ido.el (ido-common-completion-map)
2618         (ido-file-dir-completion-map)
2619         (ido-file-completion-map, ido-buffer-completion-map): Set up key
2620         bindings when each variable is defined.
2621         (ido-completion-map): Move definition.
2622         (ido-init-completion-maps): Noop.
2623         (ido-common-initialization): Don't call it.
2624         (ido-setup-completion-map): Improve doc-string, cleanup.
2626 2015-01-19  Ivan Shmakov  <ivan@siamics.net>
2628         * cus-dep.el (custom-make-dependencies): Ensure that
2629         default-directory is interpreted as a directory (see bug#19140.)
2631 2015-01-19  Dmitry Gutov  <dgutov@yandex.ru>
2633         * progmodes/xref.el (xref--display-position):
2634         Set `other-window-scroll-buffer'.
2635         (xref-goto-xref): Use `user-error'.
2637 2015-01-19  Dmitry Gutov  <dgutov@yandex.ru>
2639         * progmodes/xref.el (xref--display-history): New variable.
2640         (xref--window-configuration): Remove.
2641         (xref--save-to-history): New function.
2642         (xref--display-position): Use it.  Add new argument.
2643         (xref--restore-window-configuration): Remove.
2644         (xref--show-location, xref-show-location-at-point):
2645         Update accordingly.
2646         (xref--xref-buffer-mode): Don't use `pre-command-hook'.
2647         (xref--quit): New command.
2648         (xref-goto-xref): Use it.
2649         (xref--xref-buffer-mode-map): Bind `q' to it.
2651 2015-01-18  Dmitry Gutov  <dgutov@yandex.ru>
2653         * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
2654         indentation or at eol.
2656 2015-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2658         * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2659         (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2660         New functions.
2661         (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2663         * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
2664         `newname' argument.
2666         * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
2667         introduction of a new dispatch argument.
2668         (cl--generic-cache-miss): Handle dispatch on an argument which was not
2669         considered as dispatchable for this method.
2670         (cl-defmethod): Warn when adding a method to an obsolete generic function.
2671         (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
2673         * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
2675 2015-01-18  Artur Malabarba  <bruce.connor.am@gmail.com>
2677         * emacs-lisp/package.el (package--append-to-alist): Rename from
2678         `package--add-to-alist'
2679         Updated docstring due to new name.
2681 2015-01-18  Leo Liu  <sdl.web@gmail.com>
2683         * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
2684         multiple evaluation.  (Bug#19519)
2686         * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
2687         error.  (Bug#19434)
2689 2015-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2691         * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2692         (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2693         New functions.
2694         (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2696         * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
2697         or print is nil.
2698         (cl-struct-type-p): New function.
2700         * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
2701         (cl-defmethod): Add edebug spec.
2702         (cl--generic-build-combined-method): Fix call to
2703         cl-no-applicable-method.
2704         (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
2705         (cl--generic-isnot-nnm-p): New function.
2706         (cl--generic-lambda): Use it to add support for cl-next-method-p.
2707         (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
2708         (cl-next-method-p): New function.
2710 2015-01-17  Ulrich Müller  <ulm@gentoo.org>
2712         * version.el (emacs-repository-get-version): Update docstring.
2714 2015-01-17  Ivan Shmakov  <ivan@siamics.net>
2716         * files.el (find-file-other-window, find-file-other-frame):
2717         Use mapc instead of mapcar.  (Bug#18175)
2719         * files.el (dir-locals-collect-variables): Use default-directory
2720         in place of the file name while working on non-file buffers, just
2721         like hack-dir-local-variables already does.  (Bug#19140)
2723         * textmodes/enriched.el (enriched-encode):
2724         Use inhibit-point-motion-hooks in addition to inhibit-read-only.
2725         (Bug#18246)
2727         * desktop.el (desktop-read): Do not call desktop-clear when no
2728         desktop file is found.  (Bug#18371)
2730         * misearch.el (multi-isearch-unload-function): New function.
2731         (misearch-unload-function): New alias.  (Bug#19566)
2733 2015-01-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2735         * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2736         class-constructor, and make it an alias for `identity'.
2737         Update all callers.
2739         * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2740         argument here (bug#19620)...
2741         (defclass): ...instead of in the constructor here.
2743 2015-01-16  Jorgen Schaefer  <contact@jorgenschaefer.de>
2745         * emacs-lisp/package.el (package-archive-priorities):
2746         Specify correct type.
2748 2015-01-17  Ulrich Müller  <ulm@gentoo.org>
2750         * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2751         Remove.
2752         (emacs-repository-get-version): Discard the Bazaar case.
2753         * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2754         emacs-bzr-version-dirstate and move from version.el to here.
2755         (vc-bzr-working-revision): Use it.
2757 2015-01-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2759         * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2760         eieio--scoped-class any more.
2762         * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2763         (eieio--scoped-class): Remove function.
2764         (eieio--with-scoped-class): Remove macro.  Replace uses with `progn'.
2765         (eieio--slot-name-index): Don't check the :protection anymore.
2766         (eieio-initializing-object): Remove var.
2767         (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2769 2015-01-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2771         Improve handling of doc-strings and describe-function for cl-generic.
2773         * help-mode.el (help-function-def): Add optional arg `type'.
2775         * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2776         as it's a symbol.
2777         (help-fns-short-filename): New function.
2778         (describe-function-1): Use it.  Use autoload-do-load.
2780         * emacs-lisp/find-func.el: Use lexical-binding.
2781         (find-function-regexp): Don't rule out `defgeneric'.
2782         (find-function-regexp-alist): Document new possibility of including
2783         a function instead of a regexp.
2784         (find-function-search-for-symbol): Implement that new possibility.
2785         (find-function-library): Don't assume that `function' is a symbol.
2786         (find-function-do-it): Remove unused var `orig-buf'.
2788         * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2789         (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2790         (eieio--method-optimize-primary): Don't mess with the docstring.
2791         (defgeneric): Keep the `args' in the docstring.
2792         (defmethod): Don't use the method's docstring for the generic
2793         function's docstring.
2795         * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2796         (eieio-defclass-autoload): Don't record the superclasses any more.
2797         (eieio-defclass-internal): Reuse the old class object if it was just an
2798         autoload stub.
2799         (eieio--class-precedence-list): Load the class if it's autoloaded.
2801         * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2802         override an autoload.
2803         (cl-generic-current-method-specializers): Replace dyn-bind variable
2804         with a lexically-scoped macro.
2805         (cl--generic-lambda): Update accordingly.
2806         (cl-generic-define-method): Record manually in the load-history with
2807         type `cl-defmethod'.
2808         (cl--generic-get-dispatcher): Minor optimization.
2809         (cl--generic-search-method): New function.
2810         (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2811         (cl--generic-search-method): Add hyperlinks for methods.  Merge the
2812         specializers and the function's arguments.
2814 2015-01-16  Artur Malabarba  <bruce.connor.am@gmail.com>
2816         * emacs-lisp/package.el (package--read-pkg-desc):
2817         New function. Read a `define-package' form in current buffer.
2818         Return the pkg-desc, with desc-kind set to KIND.
2819         (package-dir-info): New function. Find package information for a
2820         directory. The return result is a `package-desc'.
2821         (package-install-from-buffer): Install packages from dired buffer.
2822         (package-install-file): Install packages from directory.
2823         (package-desc-suffix)
2824         (package-install-from-archive)
2825         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2826         Ensure all remaining instances of `package-desc-kind' handle the 'dir
2827         value.
2829 2015-01-16  Jorgen Schaefer  <contact@jorgenschaefer.de>
2831         * emacs-lisp/package.el: Provide repository priorities.
2832         (package-archive-priorities): New variable.
2833         (package--add-to-alist): New function.
2834         (package--add-to-archive-contents): Use it.
2835         (package-menu--find-upgrades): Use it as well. Small clean up to
2836         make the use of the package name here explicit.
2837         (package-archive-priority): New function.
2838         (package-desc-priority-version): New function.
2840 2015-01-16  Daniel Colascione  <dancol@dancol.org>
2842         * cus-start.el (all): Make `ring-bell-function' customizable.
2844 2015-01-16  Dmitry Gutov  <dgutov@yandex.ru>
2846         * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2847         vc-svn-after-dir-status's second argument.  (Bug#19429)
2849 2015-01-16  Samer Masterson  <samer@samertm.com>
2851         * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2852         regardless of pcomplete-cycle-completions's value.  (Bug#18950)
2854 2015-01-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2856         * dom.el (dom-strings): New function.
2858         * files.el (directory-files-recursively): Don't use the word
2859         "path" for a file name.
2861 2015-01-15  Wolfgang Jenkner  <wjenkner@inode.at>
2863         * calc/calc-units.el (math-units-in-expr-p)
2864         (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2865         (math-extract-units): Handle the `neg' operator.  (Bug#19582)
2867 2015-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2869         * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2870         (cl--labels-convert): Use it to ask the macro what is its replacement
2871         in the #'f case.
2873         * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2874         Return the value of the primary rather than the after method.
2876         * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2877         (eieio--generic-tagcode): New function.
2878         (cl-generic-tagcode-function): Use it.
2879         (eieio--generic-tag-types): New function.
2880         (cl-generic-tag-types-function): Use it.
2881         (eieio-object-p): Tighten up the test.
2883         * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
2885 2015-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2887         * emacs-lisp/cl-generic.el: New file.
2889         * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
2890         (cl-load-time-value, cl-labels): Use closures rather than
2891         backquoted lambdas.
2892         (cl-macrolet): Use `eval' to create the function value, and support CL
2893         style arguments in for the defined macros.
2895 2015-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2897         * net/eww.el: Use lexical-binding.
2898         (eww-links-at-point): Remove unused arg.
2899         (eww-mode-map): Inherit from special-mode-map.
2900         (eww-mode): Derive from special-mode.  Don't use `setq' on a hook.
2902 2015-01-13  Alan Mackenzie  <acm@muc.de>
2904         Allow compilation during loading of CC Mode-derived modes (bug#19206).
2905         * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
2906         New function which walks the stack to discover whether we're compiling
2907         or loading.
2908         (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
2909         (cc-bytecomp-is-loading): New defsubst.
2910         (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
2911         Use the above defsubsts.
2912         (cc-require-when-compile, cc-bytecomp-defvar)
2913         (cc-bytecomp-defun): Simplify conditionals.
2914         * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
2915         "Borrow" this function from cc-bytecomp.el.
2916         (c-get-current-file): Reformulate using the above.
2917         (c-lang-defconst): Prevent duplicate entries of file names in a
2918         symbol's 'source property.
2919         (c-lang-const): Use cc-bytecomp-is-compiling.
2920         * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
2921         Use cc-bytecomp-is-compiling.
2923 2015-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2925         * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
2926         (bug#19552).
2928 2015-01-13  Dmitry Gutov  <dgutov@yandex.ru>
2930         * menu-bar.el (menu-bar-goto-menu): Before calling
2931         `xref-marker-stack-empty-p', first check that `xref' is loaded.
2932         (Bug#19554)
2934 2015-01-12  Martin Rudalics  <rudalics@gmx.at>
2936         * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
2937         cookie (Bug#19554).
2939         * frame.el (frame-notice-user-settings): Remove code dealing with
2940         frame-initial-frame-tool-bar-height.  Turn off `tool-bar-mode'
2941         only if `window-system-frame-alist' or `default-frame-alist' ask
2942         for it.
2943         (make-frame): Update frame-adjust-size-history if needed.
2945 2015-01-12  Paul Eggert  <eggert@cs.ucla.edu>
2947         Have 'make' output better GEN names
2948         * Makefile.in (PHONY_EXTRAS): New macro.
2949         (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
2950         relevant files' time stamps are ignored.
2951         (custom-deps, $(lisp)/cus-load.el, finder-data)
2952         ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
2953         (custom-deps, $(lisp)/cus-load.el, finder-data)
2954         ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
2955         ($(lisp)/subdirs.el, update-subdirs):
2956         Output more-accurate destination names with GEN.
2958         Say "ELC foo.elc" instead of "GEN foo.elc"
2959         * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
2960         New macros.
2961         ($(THEFILE)c, .el.elc): Use them.
2963 2015-01-11  Michael Albinus  <michael.albinus@gmx.de>
2965         * files.el (directory-files-recursively): Do not include
2966         superfluous remote file names.
2968 2015-01-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2970         * net/eww.el (eww): Interpret anything that looks like a protocol
2971         designator as a full URL.
2973 2015-01-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2975         * net/shr.el (shr-urlify): Don't bother the user about
2976         invalidly-encoded display strings.
2978 2015-01-10  Ivan Shmakov  <ivan@siamics.net>
2980         * net/shr.el (shr-urlify): Decode URLs before using them as titles
2981         (bug#19555).
2983 2015-01-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2985         * net/eww.el (eww): Always interpret URLs that start with https?:
2986         as plain URLs, even if they have spaces in them (bug#19556).
2987         (eww): Also interpret things like "en.wikipedia.org/wiki/Free
2988         software" as an URL.
2989         (eww): Don't interpret "org/foo" as an URL.
2990         (eww): Clear the title when loading so that we don't display
2991         misleading information.
2993 2015-01-10  Daniel Colascione  <dancol@dancol.org>
2995         * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
2996         by analogy with dired.
2998 2015-01-09  Daniel Colascione  <dancol@dancol.org>
3000         * progmodes/js.el (js--function-heading-1-re)
3001         (js--function-prologue-beginning): Parse ES6 generator function
3002         declarations.  (That is, "function* name()").
3004 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3006         * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
3007         that creates functions, and most of the sanity checks.
3008         Mark as obsolete the <class>-child-p function.
3009         * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
3010         (eieio--class, eieio--object): Use cl-defstruct.
3011         (eieio--object-num-slots): Define manually.
3012         (eieio-defclass-autoload): Use eieio--class-make.
3013         (eieio-defclass-internal): Rename from eieio-defclass.  Move all the
3014         `(lambda...) definitions and most of the sanity checks to `defclass'.
3015         Mark as obsolete the <class>-list-p function, the <class> variable and
3016         the <initarg> variables.  Use pcase-dolist.
3017         (eieio-defclass): New compatibility function.
3018         * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
3019         (eieio-class-speedbar): Don't use eieio-default-superclass var.
3021 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3023         * emacs-lisp/eieio-generic.el: New file.
3024         * emacs-lisp/eieio-core.el: Move all generic function code to
3025         eieio-generic.el.
3026         (eieio--defmethod): Declare.
3028         * emacs-lisp/eieio.el: Require eieio-generic.  Move all generic
3029         function code to eieio-generic.el.
3030         * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
3031         eieio-generic.el.
3032         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
3033         to eieio--generic-call.
3034         * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
3035         <class>-child type.
3037 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3039         * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
3040         Don't use <class> as a variable.
3042         * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
3043         (call-next-method): Simplify.
3044         (clone): Obey eieio-backward-compatibility.
3046         * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
3047         (eieio-read-generic): Use `generic-p' instead.
3049         * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
3050         (eieio-defclass-autoload): Obey it.
3051         (eieio--class-object): Improve error behavior.
3052         (eieio-class-children-fast, same-class-fast-p): Remove.  Inline at
3053         every use site.
3054         (eieio--defgeneric-form-primary-only): Rename from
3055         eieio-defgeneric-form-primary-only; update all callers.
3056         (eieio--defgeneric-form-primary-only-one): Rename from
3057         eieio-defgeneric-form-primary-only-one; update all callers.
3058         (eieio-defgeneric-reset-generic-form)
3059         (eieio-defgeneric-reset-generic-form-primary-only)
3060         (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
3061         (eieio--method-optimize-primary): New function to replace them.
3062         (eieio--defmethod, eieio-defmethod): Use it.
3063         (eieio--perform-slot-validation): Rename from
3064         eieio-perform-slot-validation; update all callers.
3065         (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
3066         Change `class' to be a class object.  Update all callers.
3067         (eieio--validate-class-slot-value): Rename from
3068         eieio-validate-class-slot-value.  Change `class' to be a class object.
3069         Update all callers.
3070         (eieio-oset-default): Accept class object as well.
3071         (eieio--generic-call-primary-only): Rename from
3072         eieio-generic-call-primary-only.  Update all callers.
3074         * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
3075         Improve error messages.
3076         (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
3077         well as user-defined types.  Emit errors for legacy types like
3078         <class>-child and <class>-list, if not eieio-backward-compatibility.
3080 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3082         * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
3083         (eieio--class-slot-initarg): Rename from class-slot-initarg.
3084         Change `class' arg to be a class object.  Update all callers.
3085         (call-next-method): Adjust to new return value of `eieio-generic-form'.
3086         (eieio-default-superclass): Set var to the class object.
3087         (eieio-edebug-prin1-to-string): Fix recursive call for lists.
3088         Change print behavior to affect class objects rather than
3089         class symbols.
3091         * emacs-lisp/eieio-core.el (eieio-class-object): New function.
3092         (eieio-class-parents-fast): Remove macro.
3093         (eieio--class-option-assoc): Rename from class-option-assoc.
3094         Update all callers.
3095         (eieio--class-option): Rename from class-option.  Change `class' arg to
3096         be a class object.  Update all callers.
3097         (eieio--class-method-invocation-order): Rename from
3098         class-method-invocation-order.  Change `class' arg to be a class
3099         object.  Update all callers.
3100         (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
3101         a list of class objects rather than names.
3102         (eieio-defclass): Remove redundant quotes.  Use `eieio-oref-default'
3103         for accessors to class allocated slots.
3104         (eieio--perform-slot-validation-for-default): Rename from
3105         eieio-perform-slot-validation-for-default.  Update all callers.
3106         (eieio--add-new-slot): Rename from eieio-add-new-slot.
3107         Update all callers.  Use push.
3108         (eieio-copy-parents-into-subclass): Adjust to new content of
3109         `parent' field.  Use dolist.
3110         (eieio-oref): Remove support for providing a class rather than
3111         an object.
3112         (eieio-oref-default): Prefer class objects over class names.
3113         (eieio--slot-originating-class-p): Rename from
3114         eieio-slot-originating-class-p.  Update all callers.  Use `or'.
3115         (eieio--slot-name-index): Turn check into assertion.
3116         (eieio--class-slot-name-index): Rename from
3117         eieio-class-slot-name-index.  Change `class' arg to be a class object.
3118         Update all callers.
3119         (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
3120         (eieio--c3-candidate): Rename from eieio-c3-candidate.
3121         Update all callers.
3122         (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
3123         Update all callers.
3124         (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
3125         Update all callers.
3126         (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
3127         Update all callers.
3128         (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
3129         Update all callers.  Adjust to new `parent' content.
3130         (eieio--class-precedence-list): Rename from -class-precedence-list.
3131         Update all callers.
3132         (eieio-generic-call): Use autoloadp and autoload-do-load.
3133         Slight simplification.
3134         (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
3135         return value of `eieio-generic-form'.
3136         (eieiomt-add): Index the hashtable with class objects rather than
3137         class names.
3138         (eieio-generic-form): Accept class objects as well.
3140         * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
3141         Adjust to new convention for eieio-persistent-validate/fix-slot-value.
3142         (eieio-persistent-validate/fix-slot-value):
3143         Change `class' arg to be a class object.  Update all callers.
3145 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3147         * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
3148         additionally to class names.
3150         * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
3151         (object): Remove first (constant) slot; rename second to `class-tag'.
3152         (eieio--object-class-object, eieio--object-class-name): New funs
3153         to replace eieio--object-class.
3154         (eieio--class-object, eieio--class-p): New functions.
3155         (same-class-fast-p): Make it a defsubst, change its implementation
3156         to check the class objects rather than their names.
3157         (eieio-object-p): Rewrite.
3158         (eieio-defclass): Adjust the object initialization according to the new
3159         object layout.
3160         (eieio--scoped-class): Declare it returns a class object (not a class
3161         name any more).  Adjust calls accordingly (along with calls to
3162         eieio--with-scoped-class).
3163         (eieio--slot-name-index): Rename from eieio-slot-name-index and change
3164         its class arg to be a class object.  Adjust callers accordingly.
3165         (eieio-slot-originating-class-p): Make its start-class arg a class
3166         object.  Adjust all callers.
3167         (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
3168         Make its `class' arg a class object.  Adjust all callers.
3170         * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
3171         Use eieio--slot-name-index rather than eieio-slot-name-index.
3173 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3175         * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
3176         name argument.
3177         (eieio-object-name): Use eieio-object-name-string.
3178         (eieio--object-names): New const.
3179         (eieio-object-name-string, eieio-object-set-name-string): Re-implement
3180         using a hashtable rather than a built-in slot.
3181         (eieio-constructor): Rename from `constructor'.  Remove `newname' arg.
3182         (clone): Don't mess with the object's "name".
3184         * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
3185         (eieio-object-value-get): Use eieio-object-set-name-string.
3187         * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
3188         (eieio--object): Remove `name' field.
3189         (eieio-defclass): Adjust to new convention where constructors don't
3190         take an "object name" any more.
3191         (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
3192         (eieio-validate-slot-value, eieio-oset-default)
3193         (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
3194         (eieio-generic-call-primary-only): Simplify.
3196         * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
3197         Use call-next-method.
3198         (eieio-constructor): Rename from `constructor'.
3199         (eieio-persistent-convert-list-to-object): Drop objname.
3200         (eieio-persistent-validate/fix-slot-value): Don't hardcode
3201         eieio--object-num-slots.
3202         (eieio-named): Use a normal slot.
3203         (slot-missing) <eieio-named>: Remove.
3204         (eieio-object-name-string, eieio-object-set-name-string, clone)
3205         <eieio-named>: New methods.
3207 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3209         * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
3210         (method-*): Add a "eieio--" prefix to those constants.
3212         * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
3214         * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
3216 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3218         * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
3219         `eieio-default-superclass'.
3221         * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
3223         * emacs-lisp/eieio-custom.el: Use lexical-binding.
3224         (eieio-object-value-to-abstract): Simplify.
3226         * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
3227         (eieio-build-class-alist): Use dolist.
3228         (eieio-all-generic-functions): Adjust to use of hashtables.
3230         * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
3231         symbol-hashtable.  It contains a hashtable instead of an obarray.
3232         (generic-p): Use symbol property `eieio-method-hashtable' instead of
3233         `eieio-method-obarray'.
3234         (generic-primary-only-p, generic-primary-only-one-p):
3235         Slight optimization.
3236         (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
3237         (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
3238         (eieio-class-un-autoload): Use autoload-do-load.
3239         (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
3240         Use new cl-deftype-satisfies.  Adjust to use of hashtables.
3241         Don't hardcode the value of eieio--object-num-slots.
3242         (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
3243         Use a closure rather than a backquoted lambda.
3244         (eieio--defmethod): Adjust call accordingly.  Set doc-string via the
3245         function-documentation property.
3246         (eieio-slot-originating-class-p, eieio-slot-name-index)
3247         (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
3248         (eieio-generic-form): Adjust to use of hashtables.
3249         (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
3250         additional class argument.
3251         (eieio-generic-call-methodname): Remove, unused.
3253         * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
3254         Prefer \' to $.
3256 2015-01-08  Eli Zaretskii  <eliz@gnu.org>
3258         * simple.el (line-move-visual): When converting X pixel coordinate
3259         to temporary-goal-column, adjust the value for right-to-left
3260         screen lines.  This fixes vertical-motion, next/prev-line, etc.
3262 2015-01-08  Glenn Morris  <rgm@gnu.org>
3264         * files.el (file-tree-walk): Remove; of unknown authorship.  (Bug#19325)
3266 2015-01-07  K. Handa  <handa@gnu.org>
3268         * international/ccl.el (define-ccl-program): Improve the docstring.
3270 2015-01-06  Sam Steingold  <sds@gnu.org>
3272         * shell.el (shell-display-buffer-actions): Remove,
3273         use `display-buffer-alist' instead.
3275 2015-01-05  Dmitry Gutov  <dgutov@yandex.ru>
3277         * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
3278         to the references.
3280 2015-01-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3282         * minibuffer.el (completion-category-defaults): New var.
3283         Set unicode-name to use substring completion.
3284         (completion-category-defaults): Set it to nil.
3286 2015-01-04  Dmitry Gutov  <dgutov@yandex.ru>
3288         Add mouse interaction to xref.
3289         * progmodes/xref.el (xref--button-map): New variable.
3290         (xref--mouse-2): New command.
3291         (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
3292         the inserted references.
3294 2015-01-04  Paul Eggert  <eggert@cs.ucla.edu>
3296         Less 'make' chatter for lisp dir
3297         * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
3298         to make it clearer that the caller must specify it.
3299         (compile-onefile): Remove, replacing by ...
3300         ($(THEFILE)c): ... new rule.  This lets us use AM_V_GEN here.
3301         ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
3302         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3303         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3304         Use AM_V_GEN to lessen 'make' chatter.
3305         (.el.elc): Omit duplicate comment.
3307         Less 'make' chatter in batch mode
3308         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3309         * emacs-lisp/bytecomp.el (byte-compile-file):
3310         * files.el (save-buffer, basic-save-buffer):
3311         * international/quail.el (quail-update-leim-list-file):
3312         Don't output messages like "Generating ..." in batch mode.
3314 2015-01-04  Dmitry Gutov  <dgutov@yandex.ru>
3316         Unbreak `mouse-action' property in text buttons.
3317         * button.el (push-button): Fix regression from 2012-12-06.
3319 2015-01-03  Dmitry Gutov  <dgutov@yandex.ru>
3321         * progmodes/xref.el (xref-marker-stack-empty-p): New function.
3323         * menu-bar.el (menu-bar-goto-menu): Use it.
3325 2015-01-03  Dmitry Gutov  <dgutov@yandex.ru>
3327         * progmodes/xref.el (xref--window-configuration): New variable.
3328         (xref-show-location-at-point): New command.
3329         (xref--restore-window-configuration): New function.
3330         (xref-next-line, xref-prev-line): Delegate to
3331         `xref-show-location-at-point'.
3332         (xref--location-at-point): Don't signal the error.
3333         (xref-goto-xref): Do that here instead.
3334         (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
3335         to `pre-command-hook'.
3336         (xref--xref-buffer-mode-map): Don't remap `next-line' and
3337         `previous-line'.  Additionally bind `xref-next-line' and
3338         `xref-prev-line' to `n' and `p' respectively.
3339         Bind `xref-show-location-at-point' to `C-o'.
3341 2015-01-01  Eli Zaretskii  <eliz@gnu.org>
3343         * tool-bar.el (tool-bar-local-item)
3344         (tool-bar-local-item-from-menu): Call force-mode-line-update to
3345         make sure the tool-bar changes show on display.
3347 2015-01-01  Michael Albinus  <michael.albinus@gmx.de>
3349         Sync with Tramp 2.2.11.
3351         * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
3352         Make an alias for `default-toplevel-value' if it doesn't exist.
3354         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3355         Use `tramp-compat-delete-directory'.
3357         * net/trampver.el: Update release number.
3359 2015-01-01  Filipp Gunbin  <fgunbin@fastmail.fm>
3361         * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
3362         for remote files.  (Bug#19449)
3364 2015-01-01  Simen Heggestøyl  <simenheg@gmail.com>  (tiny change)
3366         * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
3368 2014-12-31  Paul Eggert  <eggert@cs.ucla.edu>
3370         Less 'make' chatter in lisp directory
3371         * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
3372         (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
3373         (custom-deps, finder-data, autoloads, update-subdirs): Use them.
3375 2014-12-31  Filipp Gunbin  <fgunbin@fastmail.fm>
3377         * info.el (info-display-manual): Limit the completion alternatives
3378         to currently visited manuals if prefix argument is non-nil.
3380 2014-12-30  Paul Eggert  <eggert@cs.ucla.edu>
3382         * Makefile.in (semantic): Simplify.
3384 2014-12-30  Juri Linkov  <juri@linkov.net>
3386         * net/eww.el (eww-isearch-next-buffer): New function.
3387         (eww-mode): Set multi-isearch-next-buffer-function to it.
3389 2014-12-30  Dmitry Gutov  <dgutov@yandex.ru>
3391         * progmodes/xref.el (xref-find-definitions): Mention "no
3392         identifier at point" case in the docstring.
3394         * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
3395         (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
3396         and `separator-tag-file' items.
3398 2014-12-29  Paul Eggert  <eggert@cs.ucla.edu>
3400         * obsolete/pc-select.el (pc-selection-mode): Use system-type.
3401         This is instead of system-name, which is both wrong here and obsolete.
3402         * desktop.el (desktop-save-frameset):
3403         * dnd.el (dnd-get-local-file-uri):
3404         * nxml/rng-uri.el (rng-uri-file-name-1):
3405         Prefer (system-name) to system-name, and avoid naming
3406         locals 'system-name'.
3407         * startup.el (system-name): Now an obsolete variable.  (Bug#19438)
3409 2014-12-29  Dmitry Gutov  <dgutov@yandex.ru>
3411         * menu-bar.el (menu-bar-next-tag-other-window)
3412         (menu-bar-next-tag): Remove.
3414 2014-12-29  K. Handa  <handa@gnu.org>
3416         * international/mule.el (make-translation-table-from-alist):
3417         Accept nil or zero-length vector for FROM and TO.
3419 2014-12-29  Lars Ingebrigtsen  <larsi@gnus.org>
3421         * net/eww.el (eww-mode): Truncate overlong lines for prettier
3422         display when resizing.
3424         * net/shr.el (shr-width): Default to using the window width when
3425         rendering.
3427 2014-12-29  Dmitry Gutov  <dgutov@yandex.ru>
3429         Unbreak jumping to an alias's definition.
3430         * emacs-lisp/find-func.el (find-function-library): Return a pair
3431         (ORIG-FUNCTION . LIBRARY) instead of just its second element.
3432         (find-function-noselect): Use it.
3433         * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
3434         `elisp--xref-identifier-location', incorporate logic from
3435         `elisp--xref-find-definitions', use the changed
3436         `find-function-library' return value.
3438 2014-12-29  Juri Linkov  <juri@linkov.net>
3440         * comint.el (comint-history-isearch-message): Use field-beginning
3441         instead of comint-line-beginning-position - that's more fixes for
3442         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3443         (comint-history-isearch-message): Fix args of isearch-message-prefix.
3445 2014-12-29  Juri Linkov  <juri@linkov.net>
3447         * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
3448         (vc-dir-mode-map): Bind it to "\C-o".
3449         (vc-dir-menu-map): Add it to menu.
3451 2014-12-29  Dmitry Gutov  <dgutov@yandex.ru>
3453         * progmodes/etags.el (find-tag-other-window)
3454         (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
3455         (tags-apropos): Declare obsolete.
3457         * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
3458         with xref ones.
3460 2014-12-28  Eli Zaretskii  <eliz@gnu.org>
3462         * international/mule.el (define-coding-system): Fix typos in the
3463         doc string.
3465 2014-12-28  Kenichi Handa  <handa@gnu.org>
3467         * international/mule.el (define-coding-system): Improve the doc
3468         string.
3470 2014-12-28  Ivan Shmakov  <ivan@siamics.net>
3472         * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
3473         elements in tables (bug#19444).
3475         * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
3476         (bug#19445).
3478 2014-12-28  Juri Linkov  <juri@linkov.net>
3480         * vc/compare-w.el: Require diff-mode for diff faces.
3481         (compare-windows-removed, compare-windows-added): New faces
3482         inheriting from diff faces.
3483         (compare-windows): Define obsolete face alias.
3484         (compare-windows-highlight): Replace face `compare-windows' with
3485         new faces `compare-windows-added' and `compare-windows-removed'
3486         (bug#19451).
3487         (compare-windows-get-recent-window): Signal an error when
3488         no other window is found (bug#19170).
3490 2014-12-27  Dmitry Gutov  <dgutov@yandex.ru>
3492         * progmodes/elisp-mode.el (elisp--xref-identifier-file):
3493         Skip features that have no sources.
3495         * simple.el (execute-extended-command):
3496         When `suggest-key-bindings' is nil, don't.
3498 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3500         python.el: Native readline completion.
3501         * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
3502         (python-shell-completion-native-enable)
3503         (python-shell-completion-native-output-timeout): New defcustoms.
3504         (python-shell-completion-native-interpreter-disabled-p)
3505         (python-shell-completion-native-try)
3506         (python-shell-completion-native-setup)
3507         (python-shell-completion-native-turn-off)
3508         (python-shell-completion-native-turn-on)
3509         (python-shell-completion-native-turn-on-maybe)
3510         (python-shell-completion-native-turn-on-maybe-with-msg)
3511         (python-shell-completion-native-toggle): New functions.
3512         (python-shell-completion-native-get-completions): New function.
3513         (python-shell-completion-at-point): Use it.
3515 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3517         python.el: Enhance shell user interaction and deprecate
3518         python-shell-get-or-create-process.
3519         * progmodes/python.el (python-shell-get-process-or-error):
3520         New function.
3521         (python-shell-with-shell-buffer): Use it.
3522         (python-shell-send-string, python-shell-send-region)
3523         (python-shell-send-buffer, python-shell-send-defun)
3524         (python-shell-send-file, python-shell-switch-to-shell): Use it.
3525         Add argument MSG to display user-friendly message when no process
3526         is running.
3527         (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
3528         (python-shell-make-comint): Rename argument SHOW from POP.
3529         Use display-buffer instead of pop-to-buffer.
3530         (run-python): Doc fix.  Return process.
3531         (python-shell-get-or-create-process): Make obsolete.
3533 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3535         * progmodes/python.el (python-shell-buffer-substring):
3536         Handle cornercase when region sent starts at point-min.
3538 2014-12-27  Eli Zaretskii  <eliz@gnu.org>
3540         * language/misc-lang.el (composition-function-table): Add Syriac
3541         characters and also ZWJ/ZWNJ.
3542         See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
3543         for the details.
3545 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3547         python.el: Fix message when sending region.
3548         * progmodes/python.el (python-shell-send-region): Rename argument
3549         send-main from nomain.  Fix message.
3550         (python-shell-send-buffer): Rename argument send-main from arg.
3552         python.el: Cleanup temp files even with eval errors.
3553         * progmodes/python.el (python-shell-send-file): Make file-name
3554         mandatory.  Fix temp file removal in the majority of cases.
3556         python.el: Handle file encoding for shell.
3557         * progmodes/python.el (python-rx-constituents): Add coding-cookie.
3558         (python-shell--save-temp-file): Write file with proper encoding.
3559         (python-shell-buffer-substring): Add coding cookie for detected
3560         encoding to generated content.  Fix blank lines when removing
3561         if-name-main block.
3562         (python-shell-send-file): Handle file encoding.
3563         (python-info-encoding-from-cookie)
3564         (python-info-encoding): New functions.
3566 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
3568         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3569         Use `tramp-rsh-end-of-line', it ought to be more robust.
3571 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3573         * progmodes/js.el (js-syntax-propertize): "return" can't be divided
3574         (bug#19397).
3576 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
3578         * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
3580         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
3581         as end-of-line delimeter for passwords, when running on MS Windows.
3583 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3585         * progmodes/sh-script.el (sh-set-shell): Don't change the global value
3586         of indent-line-function (bug#19433).
3588 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3590         Fix line numbers on Python shell.
3591         * progmodes/python.el (python-shell--save-temp-file): Do not
3592         append coding cookie.
3593         (python-shell-send-string): Generalize for
3594         python-shell-send-region.
3595         (python--use-fake-loc): Delete var.
3596         (python-shell-buffer-substring): Cleanup fake-loc logic.
3597         (python-shell-send-region): Remove fake-loc logic, simplify.
3599 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3601         * progmodes/python.el (python-indent-post-self-insert-function):
3602         Make colon to re-indent only for dedenters, handling
3603         multiline-statements gracefully.
3605 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
3607         * net/tramp.el (tramp-handle-insert-file-contents):
3608         Set `find-file-not-found-functions' in case of errors.  (Bug#18623)
3610 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
3612         * net/tramp-sh.el (tramp-send-command-and-read): New optional
3613         arg MARKER.
3614         (tramp-get-remote-path): Use it.
3616 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3618         * subr.el (redisplay-dont-pause): Mark as obsolete.
3620 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
3622         * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
3623         (tramp-accept-process-output): Use nil as argument for
3624         `accept-process-output', when there is a gateway prepended.
3626         * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
3627         wrong debug buffer.
3628         (tramp-gw-open-connection): Set process coding system 'binary.
3629         (tramp-gw-open-network-stream): Handle HTTP error 403.
3631         * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
3632         wrong debug buffer.
3633         (tramp-maybe-open-connection): Set connection property "gateway".
3635 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3637         * subr.el (sit-for): Tweak docstring (bug#19381).
3639 2014-12-27  Dmitry Gutov  <dgutov@yandex.ru>
3641         * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
3642         stage to after `diff-index' (bug#19386).
3644 2014-12-27  João Távora  <joaotavora@gmail.com>
3646         * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
3647         `electric-pair-mode' (bug#19356).
3649 2014-12-27  Dmitry Gutov  <dgutov@yandex.ru>
3651         elisp-xref-find: Don't create buffers eagerly.
3653         * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
3654         into `elisp--company-location'.
3655         (elisp--identifier-completion-table): Rename to
3656         `elisp--identifier-completion-table', and do not include just any
3657         symbols with a property list.
3658         (elisp-completion-at-point): Revert the 2014-12-25 change.
3659         (elisp--xref-identifier-file): New function.
3660         (elisp--xref-find-definitions): Use it.
3662         * emacs-lisp/find-func.el (find-function-library): New function,
3663         extracted from `find-function-noselect'.
3665         * progmodes/xref.el (xref-elisp-location): New class.
3666         (xref-make-elisp-location): New function.
3667         (xref-location-marker): New implementation.
3669 2014-12-27  Juri Linkov  <juri@linkov.net>
3671         * minibuffer.el (minibuffer-completion-help):
3672         Use shrink-window-if-larger-than-buffer in window-height
3673         when temp-buffer-resize-mode is nil.
3675         * window.el (with-displayed-buffer-window): Remove window-height
3676         from the action alist in the temp-buffer-window-show call
3677         when window-height is handled explicitly afterwards (bug#19355).
3679 2014-12-27  Juri Linkov  <juri@linkov.net>
3681         Support subdirectories when saving places in dired.
3682         * saveplace.el (toggle-save-place, save-place-to-alist)
3683         (save-places-to-alist, save-place-dired-hook):
3684         Use dired-current-directory instead of dired-directory (bug#19436).
3685         (save-place-dired-hook): Add check for alist to make the new
3686         format future-proof to allow other possible formats.
3688 2014-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3690         python.el: Generate clearer shell buffer names.
3691         * progmodes/python.el (python-shell-get-process-name)
3692         (python-shell-internal-get-process-name): Use `buffer-name`.
3693         (python-shell-internal-get-or-create-process): Simplify.
3695 2014-12-26  Dmitry Gutov  <dgutov@yandex.ru>
3697         Add basic xref apropos implementation to elisp-mode.
3699         * progmodes/elisp-mode.el (elisp--xref-find-definitions):
3700         Filter out nil results.
3701         (elisp--xref-find-apropos): New function.
3702         (elisp-xref-find): Use it.
3704         * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
3706 2014-12-25  Filipp Gunbin  <fgunbin@fastmail.fm>
3708         * dired-aux.el (dired-maybe-insert-subdir):
3709         Make dired-maybe-insert-subdir always skip trivial files.
3711 2014-12-25  Helmut Eller  <eller.helmut@gmail.com>
3712             Dmitry Gutov  <dgutov@yandex.ru>
3714         Consolidate cross-referencing commands.
3716         Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
3717         `C-x 5 .' from etags.el to xref.el.
3719         * progmodes/xref.el: New file.
3721         * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
3722         (elisp--identifier-location): New function, extracted from
3723         `elisp--company-location'.
3724         (elisp--company-location): Use it.
3725         (elisp--identifier-completion-table): New variable.
3726         (elisp-completion-at-point): Use it.
3727         (emacs-lisp-mode): Set the local values of `xref-find-function'
3728         and `xref-identifier-completion-table-function'.
3729         (elisp-xref-find, elisp--xref-find-definitions)
3730         (elisp--xref-identifier-completion-table): New functions.
3732         * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3733         favor of `xref--marker-ring'.
3734         (tags-lazy-completion-table): Autoload.
3735         (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3736         (find-tag-noselect): Use `xref-push-marker-stack'.
3737         (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3738         (etags--xref-limit): New constant.
3739         (etags-xref-find, etags--xref-find-definitions): New functions.
3741 2014-12-25  Martin Rudalics  <rudalics@gmx.at>
3743         * cus-start.el (resize-mini-windows): Make it customizable.
3745 2014-12-24  Stephen Leake  <stephen_leake@stephe-leake.org>
3747         * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3748         to (info "(emacs)Contributing").  (Bug#19299)
3750 2014-12-24  Martin Rudalics  <rudalics@gmx.at>
3752         * window.el (mouse-autoselect-window-position-1): New variable.
3753         (mouse-autoselect-window-cancel)
3754         (mouse-autoselect-window-select, handle-select-window):
3755         With delayed autoselection select window only if mouse moves after
3756         selecting its frame.
3758 2014-12-24  Michael Albinus  <michael.albinus@gmx.de>
3760         * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3761         remote file names.  (Bug#18782)
3763 2014-12-23  Sam Steingold  <sds@gnu.org>
3765         * shell.el (shell-display-buffer-actions): New user option.
3766         (shell): Pass it to `pop-to-buffer' instead of hard-coding
3767         `pop-to-buffer-same-window'.
3769 2014-12-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3771         * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3772         (js-syntax-propertize-regexp): Use it to recognize "slash in
3773         a character class" (bug#19397).
3775 2014-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3777         * completion.el: Use post-self-insert-hook (bug#19400).
3778         (completion-separator-self-insert-command)
3779         (completion-separator-self-insert-autofilling): Remove.
3780         (completion-separator-chars): New var.
3781         (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3782         of changing the keymap.
3783         (completion--post-self-insert): New function.
3784         (dynamic-completion-mode): Use it instead of rebinding keys.
3785         (cmpl--completion-string): Rename from completion-string.
3786         (add-completion-to-head, delete-completion): Let-bind it explicitly.
3788 2014-12-22  Bozhidar Batsov  <bozhidar@batsov.com>
3790         * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3791         by leveraging `syntax-ppss'.
3793 2014-12-22  Artur Malabarba  <bruce.connor.am@gmail.com>
3795         * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3797 2014-12-20  Michael Albinus  <michael.albinus@gmx.de>
3799         * net/tramp-sh.el (tramp-histfile-override): Add :version.
3801 2014-12-20  Teodor Zlatanov  <tzz@lifelogs.com>
3803         * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3805 2014-12-19  Artur Malabarba  <bruce.connor.am@gmail.com>
3807         * let-alist.el (let-alist): Enable access to deeper alists by
3808         using dots inside the dotted symbols.
3810 2014-12-19  Alan Mackenzie  <acm@muc.de>
3812         Make C++11 uniform init syntax work.
3813         New keywords "final" and "override".
3814         * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3815         New function.
3816         (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3817         new function.
3818         * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3819         carefully for "are we at a declarator?" using
3820         c-back-over-member-initializers.
3821         * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3822         and "override" in the C++ value.
3824 2014-12-19  Martin Rudalics  <rudalics@gmx.at>
3826         * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3828 2014-12-21  Lars Ingebrigtsen  <larsi@gnus.org>
3830         * net/nsm.el (nsm-save-host): Don't save the host name twice
3831         (bug#19269).
3833 2014-12-18  Sam Steingold  <sds@gnu.org>
3835         Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3836         * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3837         (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3838         * menu-bar.el (menu-bar-buffer-vector): Extract from
3839         `menu-bar-update-buffers'.
3840         (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3841         (buffer-menu-open): New user command, bound globally to C-f10,
3842         provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3843         (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3844         convert the value returned by `mouse-buffer-menu-map' to a list
3845         acceptable to `popup-menu' for `buffer-menu-open'.
3847 2014-12-18  Artur Malabarba  <bruce.connor.am@gmail.com>
3849         * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3851 2014-12-18  Sam Steingold  <sds@gnu.org>
3853         * emacs-lisp/package.el: Avoid compilation warning by declaring
3854         the `find-library-name' function.
3855         (package-activate-1): Fix the `with-demoted-errors' calls:
3856         the first argument must be a string literal.
3858 2014-12-18  Martin Rudalics  <rudalics@gmx.at>
3860         Add code for "preserving" window sizes.
3861         * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3862         `preserve-size' t.
3863         (dired-mark-pop-up): Preserve size of window showing marked files.
3864         * electric.el (Electric-pop-up-window):
3865         * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3866         with `preserve-size' t.
3867         * minibuffer.el (minibuffer-completion-help):
3868         Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3869         (Bug#19355).  Preserve size of completions window.
3870         * register.el (register-preview): Preserve size of register
3871         preview window.
3872         * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3873         with `preserve-size' t (Bug#1291).
3874         * window.el (with-displayed-buffer-window): Add calls to
3875         `window-preserve-size'.
3876         (window-min-pixel-size, window--preservable-size)
3877         (window-preserve-size, window-preserved-size)
3878         (window--preserve-size, window--min-size-ignore-p): New functions.
3879         (window-min-size, window-min-delta, window--resizable)
3880         (window--resize-this-window, split-window-below)
3881         (split-window-right): Amend doc-string.
3882         (window--min-size-1, window-sizable, window--size-fixed-1)
3883         (window-size-fixed-p, window--min-delta-1)
3884         (frame-windows-min-size, window--max-delta-1, window-resize)
3885         (window--resize-child-windows, window--resize-siblings)
3886         (enlarge-window, shrink-window, split-window): Handle preserving
3887         window sizes.
3888         (adjust-window-trailing-edge): Handle preserving window
3889         sizes.  Signal user-error instead of an error when there's no
3890         window above or below.
3891         (window--state-put-2): Handle horizontal scroll bars.
3892         (window--display-buffer): Call `preserve-size' if asked for.
3893         (display-buffer): Mention `preserve-size' alist member in doc-string.
3894         (fit-window-to-buffer): New argument PRESERVE-SIZE.
3895         * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
3896         scroll bar on ispell's windows.  Don't count window lines and
3897         don't deal with dedicated windows.
3898         (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
3899         do the window handling.
3900         (ispell-adjusted-window-height, ispell-overlay-window): Remove.
3901         (ispell-display-buffer): New function to reuse, create and fit
3902         window to ispell's buffers.  (Bug#3413)
3904 2014-12-18  Dmitry Gutov  <dgutov@yandex.ru>
3906         * emacs-lisp/package.el (package-activate): Do not re-activate or
3907         reload the dependencies (bug#19390).
3909 2014-12-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3911         * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
3912         (c-update-modeline):
3913         * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
3914         * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
3915         (c-mode-base-map): Use c-subword-mode.
3917 2014-12-18  Eli Zaretskii  <eliz@gnu.org>
3919         * international/mule-diag.el (describe-font-internal):
3920         Display additional info returned by font-info.
3922         * linum.el (linum--face-width): Rename from linum--face-height,
3923         and use the new functionality of font-info.
3924         (linum-update-window): Use linum--face-width and frame-char-width,
3925         instead of approximating with height.
3927 2014-12-18  Dmitry Gutov  <dgutov@yandex.ru>
3929         * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
3930         change (bug#19387).  Use `apply' on `vc-dir-command'  (bug#19405).
3932         * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
3933         and a docstring.
3934         (package-activate): Call itself on dependencies on PACKAGE with
3935         the same FORCE argument.  Pass FORCE as RELOAD into
3936         `package-activate-1'  (bug#19390).
3938 2014-12-17  Sam Steingold  <sds@gnu.org>
3940         * emacs-lisp/package.el (package--list-loaded-files):
3941         Handle `(nil ...)' elements in `load-history'.
3943 2014-12-17  Teodor Zlatanov  <tzz@lifelogs.com>
3945         * net/tramp-sh.el (tramp-histfile-override): New variable.
3946         (tramp-open-shell, tramp-maybe-open-connection): Use it.
3948 2014-12-17  Dmitry Gutov  <dgutov@yandex.ru>
3950         * vc/vc.el: Improve `dir-status-files' description.
3952         * emacs-lisp/package.el (package--list-loaded-files): Don't call
3953         file-truename on load-history elements (bug#19390).
3955 2014-12-16  Nicolas Petton  <petton.nicolas@gmail.com>
3957         * emacs-lisp/seq.el: New file.
3959 2014-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3961         * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
3962         is 0 and there is no input pending.
3964 2014-12-15  Juri Linkov  <juri@linkov.net>
3966         * replace.el (query-replace-read-from): Use query-replace-compile-replacement
3967         only on the return value (bug#19383).
3969 2014-12-15  Juri Linkov  <juri@linkov.net>
3971         * isearch.el (isearch-lazy-highlight-search): Extend the bound of
3972         the wrapped search by the length of the search string to be able
3973         to lazy-highlight the whole search string at point (bug#19353).
3975 2014-12-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3977         * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
3979 2014-12-14  Alan Mackenzie  <acm@muc.de>
3981         * cus-start.el (all): Add fast-but-imprecise-scrolling.
3983 2014-12-14  Artur Malabarba  <bruce.connor.am@gmail.com>
3985         * let-alist.el: Add lexical binding.
3987 2014-12-14  Steve Purcell  <steve@sanityinc.com>  (tiny change)
3989         * emacs-lisp/package.el (package-menu-mode): Use an extra column
3990         for the "Version" column, to accomodate date-and-time-based versions.
3992 2014-12-14  Cameron Desautels  <camdez@gmail.com>
3994         * cus-edit.el (custom-unsaved-options): New function, extracted
3995         from `customize-unsaved'.
3996         (custom-unsaved): Use it.
3997         (custom-prompt-customize-unsaved-options): New function.
3998         (Bug#19328)
4000 2014-12-14  Dmitry Gutov  <dgutov@yandex.ru>
4002         * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
4004 2014-12-14  Dmitry Gutov  <dgutov@yandex.ru>
4006         Move ASYNC argument to the `diff' VC command to the fifth
4007         position, for better compatibility with existing third-party code,
4008         and document it.
4010         * vc/vc.el (vc-diff-internal): Pass `async' argument to the
4011         backend `diff' command in the last position.
4013         * vc/vc-svn.el (vc-svn-diff):
4014         * vc/vc-src.el (vc-src-diff):
4015         * vc/vc-sccs.el (vc-sccs-diff):
4016         * vc/vc-rcs.el (vc-rcs-diff):
4017         * vc/vc-mtn.el (vc-mtn-diff):
4018         * vc/vc-hg.el (vc-hg-diff):
4019         * vc/vc-git.el (vc-git-diff):
4020         * vc/vc-dav.el (vc-dav-diff):
4021         * vc/vc-cvs.el (vc-cvs-diff):
4022         * vc/vc-bzr.el (vc-bzr-diff):
4023         * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
4025 2014-12-14  Paul Eggert  <eggert@cs.ucla.edu>
4027         * emacs-lisp/cconv.el (cconv--analyze-use):
4028         Rename from cconv--analyse-use.
4029         (cconv--analyze-function): Rename from cconv--analyse-function.
4030         (cconv-analyze-form): Rename from cconv-analyse-form.
4032 2014-12-13  Andreas Schwab  <schwab@linux-m68k.org>
4034         * net/shr.el (shr-next-link): Don't error out at eob.
4036 2014-12-05  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4038         * isearch.el (isearch-open-necessary-overlays): Open overlay
4039         ending at point (bug#19333).
4041 2014-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4043         * net/shr.el (shr-fold-text): New function.
4044         (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
4045         alt/title texts.
4046         (shr-fold-text): Inhibit state from being altered.
4048         * files.el (directory-files-recursively): Really check whether
4049         files are symlinks.
4050         (directory-name-p): New function.
4051         (directory-files-recursively): Use it.
4053 2014-12-13  Artur Malabarba  <bruce.connor.am@gmail.com>
4055         * emacs-lisp/package.el (package--list-loaded-files): New function
4056         to list files in a given directory which correspond to already
4057         loaded files.
4058         (package-activate-1): Reload files given by `package--list-loaded-files'.
4059         Fix bug#10125, bug#18443, and bug#18448.
4061 2014-12-13  Eric S. Raymond  <esr@snark.thyrsus.com>
4063         * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
4065 2014-12-13  Michael Albinus  <michael.albinus@gmx.de>
4067         * simple.el (password-word-equivalents): Add "passcode", used for
4068         numeric secrets like PINs or RSA tokens.
4070 2014-12-13  Michael Albinus  <michael.albinus@gmx.de>
4072         * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
4073         order to determine `tramp-own-remote-path'.
4075 2014-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4077         * progmodes/python.el (python-shell-parse-command):
4078         Quote `python-shell-interpreter`.  (Bug#19289)
4080 2014-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4082         * progmodes/python.el (python-indent-line): Use `noindent' in strings.
4083         (python-indent-levels): Document extra value.
4084         (python-indent-calculate-indentation): Return `noindent' in strings.
4085         (python-indent-post-self-insert-function)
4086         (python-indent-calculate-levels): Handle new value.
4088 2014-12-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4090         * net/network-stream.el (network-stream-open-starttls): No need to
4091         check for the availability of `gnutls-available-p'.
4093         * files.el (directory-files-recursively): Don't follow symlinks to
4094         other directories.
4096 2014-12-12  Eric S. Raymond  <esr@snark.thyrsus.com>
4098         * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
4099         * vc/vc.el: latest-on-branch-p is no longer a public method.
4101         * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
4102         * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
4103         Remove `rollback' method, to be replaced in the future by uncommit.
4105 2014-12-11  Michael Albinus  <michael.albinus@gmx.de>
4107         * vc/vc-hg.el (vc-hg-state): Make FILE absolute.  Handle the case
4108         that there is empty output.
4110 2014-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4112         * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
4113         (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
4115 2014-12-10  Artur Malabarba  <bruce.connor.am@gmail.com>
4117         * let-alist.el: Add new package and macro.
4119 2014-12-10  Eric S. Raymond  <esr@snark.thyrsus.com>
4121         * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
4122         * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
4123         it's a shoot-self-in-foot archaism.  Workfiles are always kept.
4125 2014-12-10  Rasmus Pank Roulund  <emacs@pank.eu>
4127         * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
4128         trouble with ls over ftp.  These flags result in ls returning no
4129         output, causing Tramp-breakage.  (bug#19192)
4131 2014-12-10  Andreas Schwab  <schwab@suse.de>
4133         * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
4135 2014-12-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4137         * files.el (directory-files-recursively):
4138         Use `file-name-all-completions' instead of `directory-files' for
4139         greater speed.
4141         * net/shr.el (shr-tag-object): Don't bug out on text elements in
4142         <object>.
4144 2014-12-09  Bozhidar Batsov  <bozhidar@batsov.com>
4146         * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
4147         and Puppetfile.
4148         (ruby-toggle-string-quotes): New command that allows you to quickly
4149         toggle between single-quoted and double-quoted string literals.
4151 2014-12-09  Eric S. Raymond  <esr@snark.thyrsus.com>
4153         * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
4154         list, avoids problems witt names containing hyphens.
4156 2014-12-09  Wilson Snyder  <wsnyder@wsnyder.org>
4158         Sync with upstream verilog-mode revision aa4b777.
4159         * progmodes/verilog-mode.el (verilog-mode-version): Update.
4160         (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
4161         (verilog-set-auto-endcomments): Automatically comment property/
4162         endproperty blocks to match other similar blocks like sequence/
4163         endsequence, function/endfunction, etc.  Reported by Alex Reed.
4164         (verilog-set-auto-endcomments): Fix end comments for functions of
4165         type void, etc.  Detect the function- or task-name when
4166         auto-commenting blocks that lack an explicit portlist.
4167         Reported by Alex Reed.
4168         (verilog-nameable-item-re): Fix nameable items that can have an
4169         end-identifier to include endchecker, endgroup, endprogram,
4170         endproperty, and endsequence.  Reported by Alex Reed.
4171         (verilog-preprocessor-re, verilog-beg-of-statement):
4172         Fix indentation of property/endproperty around pre-processor
4173         directives.  Reported by Alex Reed.
4174         (verilog-label-be): When auto-commenting a buffer, consider
4175         auto-comments on all known keywords (not just a subset thereof).
4176         Reported by Alex Reed.
4177         (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
4178         Reported by Alex Reed.
4179         (verilog-beg-of-statement-1, verilog-at-constraint-p):
4180         Fix hanging with many curly-bracket pairs, bug663.
4181         (verilog-do-indent): Fix electric tab deleting form-feeds.
4182         Note caused by indent-line-to deleting tabls pre 24.5.
4183         (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
4184         (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
4185         (verilog-read-always-signals, verilog-auto-sense-sigs)
4186         (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
4187         bug844.  Reported by Greg Hilton.
4189 2014-12-09  Alex Reed  <acreed4@gmail.com>  (tiny change)
4191         * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
4192         Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
4193         'foreach', and 'do' keywords.
4194         (verilog-endcomment-reason-re, verilog-beg-of-statement):
4195         Fix labeling do-while blocks, bug842.
4196         (verilog-backward-token): Fix indenting sensitivity lists with
4197         named events, bug840.
4199 2014-12-09  Reto Zimmermann  <reto@gnu.org>
4201         Sync with upstream vhdl mode v3.36.1.
4202         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4203         (vhdl-compiler-alist): Anchor all error regexps.
4204         (vhdl-compile-use-local-error-regexp): Change default to nil.
4205         (vhdl-asort, vhdl-anot-head-p): Remove.
4206         (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
4207         Remove optional argument of vhdl-aget and update all callers.
4208         (vhdl-import-project): Also set `vhdl-compiler'.
4210 2014-12-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4212         * files.el (find-files): New function.
4214         * net/shr.el (shr-dom-print): Don't print comments.
4215         (shr-tag-svg): Give inline SVG images the right type.
4217         * net/eww.el (eww-update-header-line-format): Mark valid/invalid
4218         certificates in the header line.
4219         (eww-invalid-certificate, eww-valid-certificate): New faces.
4221 2014-12-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4223         * progmodes/python.el (inferior-python-mode):
4224         Set `comint-prompt-read-only` to `t` only locally.
4226 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4228         * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
4229         (nsm-format-certificate): Include more data about the connection.
4230         (nsm-query): Fill the text to that it looks nicer.
4231         (nsm-check-protocol): Also warn if using SSL3 or older.
4233 2014-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4235         * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
4237         * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
4239         * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
4241         * info.el (Info-mode-map): Remove left-over binding.
4243         * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
4244         (avl-tree--root): Remove redundant defsetf.
4246 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4248         * net/nsm.el (network-security-level): Remove the detailed
4249         description, which was already outdated, and refer the users to
4250         the manual.
4251         (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
4252         (bug#19153).
4254 2014-12-06  Andrey Kotlarski  <m00naticus@gmail.com>
4256         * net/eww.el (eww-buffers-mode): New major mode.
4257         (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
4258         (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
4259         New commands/functions (bug#19131).
4261 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4263         * net/gnutls.el (gnutls-negotiate): Ignore files found via
4264         'file-name-handler-alist' since the gnutls library can't use those
4265         (bug#15866).
4267 2014-12-08  Dmitry Gutov  <dgutov@yandex.ru>
4269         * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
4270         when FILES is non-nil (bug#19304).
4272 2014-12-08  Eric S. Raymond  <esr@snark.thyrsus.com>
4274         * vc/vc-arch.el: Move to obsolete directory so a test framework
4275         won't trip over bit-rot in it.  There has been no Arch snapshot
4276         for nine years.
4278 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4280         * net/eww.el (eww-follow-link): Revert prefix behaviour to
4281         previous behavior.
4282         (eww-copy-page-url): Add doc string.
4284 2014-12-07  Ivan Shmakov  <ivan@siamics.net>
4286         * net/eww.el (eww): Move history recording here...
4287         (eww-browse-url): ... from here (bug#19253).
4289         * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
4290         iterating over possible buffer names.)
4292 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4294         * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
4295         (eww-current-buffer): Compilation fix for bug#18550 patch.
4297 2014-12-07  Ivan Shmakov  <ivan@siamics.net>
4299         * net/eww.el (eww-list-histories): Restore the history in the
4300         correct buffer (bug#18550).
4302 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4304         * net/eww.el (eww-bookmark-prepare): Display URLs in first by
4305         displaying shortened titles first (bug#16398).
4307 2014-12-07  Tom Willemse  <tom@ryuslash.org>  (tiny change)
4309         * progmodes/python.el: Recognize docstrings.
4310         (python-docstring-at-p, python-font-lock-syntactic-face-function):
4311         New functions.
4312         (python-mode): Use them.
4314 2014-12-06  Ulf Jasper  <ulf.jasper@web.de>
4316         * net/newst-treeview.el (newsticker--treeview-list-add-item)
4317         (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
4318         (newsticker--treeview-create-groups-menu)
4319         (newsticker--treeview-create-tree-menu): Remove.
4320         (newsticker--treeview-tree-open-menu): New.
4321         (newsticker-treeview-tree-click): Pass event to
4322         `newsticker-treeview-tree-do-click'.
4323         (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
4325 2014-12-05  Juri Linkov  <juri@linkov.net>
4327         * comint.el (comint-history-isearch-search)
4328         (comint-history-isearch-wrap): Use field-beginning instead of
4329         comint-line-beginning-position.
4330         (comint-send-input): Go to the end of the field instead of the end
4331         of the line to accept whole multi-line input.
4332         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
4334 2014-12-05  Juri Linkov  <juri@linkov.net>
4336         * minibuffer.el (minibuffer-completion-help):
4337         Compare selected-window with minibuffer-window to check whether
4338         completions should be displayed near the minibuffer.  (Bug#17809)
4339         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
4341 2014-12-05  Michael Albinus  <michael.albinus@gmx.de>
4343         * vc/vc-mtn.el (vc-mtn-root):
4344         * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
4346 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4348         * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
4349         of the whole pipe when indenting an opening keyword after a |.
4350         Generalize this treatment to opening keywords like "while" (bug#18031).
4352 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4354         * simple.el (newline): Place the hook buffer-locally,
4355         to make sure it's first.
4357         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4358         Fix handling of symbols with different syntax at beginning/end or with
4359         symbol rather than word syntax.
4361 2014-12-05  Eli Zaretskii  <eliz@gnu.org>
4363         * simple.el (line-move): If noninteractive, call line-move-1, not
4364         forward-line, since the former is compatible with line-move-visual
4365         both in terms of the column to which it moves and the return
4366         value.  (Bug#19211)
4368 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4370         * vc/ediff-init.el (ediff-odd-p): Remove.
4371         (ediff-background-face): Use cl-oddp instead.
4372         (ediff-buffer-live-p): Make it a defsubst.
4374         * tooltip.el (tooltip-region-active-p): Remove.
4376         * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
4377         (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
4379         * fringe.el (fringe-bitmap-p): Make it a plain function.
4381         * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
4382         (class-p, generic-p, eieio-object-p, class-abstract-p):
4383         Make them defsubst, so as to avoid corner case problems where
4384         the arg might be evaluated in the condition-case, or it can't be passed
4385         to higher-order functions like `cl-some'.
4387 2014-12-05  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4389         * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
4390         and remove old menu-related code.
4392 2014-12-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4394         * net/eww.el (eww-display-pdf): Let mailcap determine how to
4395         display PDF files (bug#19270).
4397 2014-12-05  Juri Linkov  <juri@linkov.net>
4399         Compare with the most recent window by default.
4400         * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
4401         (compare-windows-get-recent-window)
4402         (compare-windows-get-next-window): New functions.
4403         (compare-windows, compare-windows-sync-default-function):
4404         Use `compare-windows-get-window-function' instead of `next-window'.
4405         (compare-windows): Add diff/match messages with region boundaries.
4406         (Bug#19170)
4408 2014-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4410         * subr.el (filter): Remove.  Use `cl-remove-if-not' or `seq-filter'.
4412 2014-12-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4414         * net/shr.el (shr--extract-best-source): Ignore non-text children.
4416 2014-12-04  Eli Zaretskii  <eliz@gnu.org>
4418         Implement copying of a buffer portion while preserving visual order.
4419         * simple.el (bidi-directional-controls-chars)
4420         (bidi-directional-non-controls-chars): New variables.
4421         (squeeze-bidi-context-1, squeeze-bidi-context)
4422         (line-substring-with-bidi-context)
4423         (buffer-substring-with-bidi-context): New functions.
4425         * files.el (file-tree-walk): Doc fix.
4427 2014-12-04  Rupert Swarbrick  <ruperts@broadcom.com> (tiny change)
4428             Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4430         * autoinsert.el (auto-insert-alist): Update C/C++ header and
4431         program support to match more extensions.  Replace non-alnum
4432         characters when generating include guards (headers) and check for
4433         more extensions when generating includes (programs)
4434         (bug#19254).
4436 2014-12-03  Eric S. Raymond  <esr@snark.thyrsus.com>
4438         * files.el (file-tree-walk): Fix docstring.
4440 2014-12-03  Karl Fogel  <kfogel@red-bean.com>
4442         Fix bug whereby saving files hung in VC hook.
4444         Saving a buffer visiting a file under SVN control would hang if
4445         the remote repository were unreachable, because the VC hooks tried
4446         to run "svn status -u" on the file, where the "-u" tells svn to
4447         get update information from the remote repository.
4448         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
4450         * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
4451         argument and always pass "-v" to "svn status", never "-u".
4453 2014-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4455         * emacs-lisp/inline.el: Fix up copyright header.
4456         (inline-quote, inline-const-p, inline-const-val, inline-error):
4457         Silence compiler warnings.
4458         (inline-letevals): Fix edebug spec.
4459         (inline--testconst-p): Consider lambda expressions as const-p.
4460         (inline--getconst-val): Use inline--testconst-p.
4462         * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
4463         and change default to stay in the minibuffer when called from
4464         the minibuffer (bug#19250).
4465         (lazy-completion-table): Use this new argument to preserve the
4466         old behavior.
4468         * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
4469         incorrect lexical elements (bug#19250).
4471 2014-12-03  A. N. Other  <none@example.com>
4473         * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
4475 2014-12-02  Glenn Morris  <rgm@gnu.org>
4477         * whitespace.el (whitespace-big-indent-regexp): Add :version.
4479 2014-12-02  Eric S. Raymond  <esr@snark.thyrsus.com>
4481         * subr.el (filter): New macro.  Because it's just silly for a Lisp
4482         not to have this in 2014.  And VC needs it.
4484         * vc.el: All backends: API simplification: Abolish dir-status.
4485         It's replaced by dir-status-files.
4487         * vc.el: All backends: API simplification: Remove 4th
4488         'default-state' argument from vc-dir-status files and its backend
4489         methods - no backend method ever set it.  It was used only in the
4490         fallback method to to set a default of 'up-to-date, though a
4491         convoluted call chain obscured this.
4493         * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
4495         * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
4496         improving behavior on directories using multiple file-oriented VCSes.
4498         * vc/vc.el: All backends: API simplification; clear-headers
4499         is no longer a public method.  It is now local to the one place
4500         it's used, in the RCS steal-lock method.
4502 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
4504         * vc/vc.el: In all backends: API simplification; could-register
4505         is no longer a public method.  (vc-cvs.el still has a private
4506         implementation.)
4508         * vc/vc.el: In all backends: API cleanup; the backend diff method
4509         takes an explicit async flag.  This eliminates a particularly ugly
4510         global.
4512         * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
4513         VC randomly/unpredictably fails without it; cause not yet established.
4515 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4517         Merge some of the differences from the standalone CC-mode.
4518         The main change is to only use the `category' text-property only when
4519         available.  For that many calls are changed to use c-get-char-property,
4520         c-next-single-property-change, c-sc-scan-lists,
4521         c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
4523         * progmodes/cc-mode.el (c-just-done-before-change): New var.
4524         (c-basic-common-init): Initialize it.
4525         (c-common-init): Only use mode-require-final-newline when available.
4526         (c-before-change): Check and set c-just-done-before-change.
4527         (c-after-change): Re-set c-just-done-before-change.
4528         (c-advise-fl-for-region): New macro.
4529         (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
4530         (font-lock-after-change-function, jit-lock-after-change):
4531         Advise if needed.
4533         * progmodes/cc-langs.el (c-modified-constant): New lang var.
4534         (c-known-type-key): Don't make a list just to throw it away.
4536         * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
4537         Handle the case where categories are not available.
4538         (c-record-parse-state-state, c-replay-parse-state-state):
4539         Handle marker values.
4540         (c-before-change-check-<>-operators): Look for the `syntax-table'
4541         property rather than for the corresponding `category'.
4542         (c-looking-at-decl-block): Remove unused var
4543         `c-disallow-comma-in-<>-arglists'.
4544         (c-forward-<>-arglist-recur): Remove unused var
4545         `orig-record-found-types'.
4547         * progmodes/cc-defs.el (c-version): Bump up to 5.33.
4548         (c-use-category): New const.
4549         (c-next-single-property-change): New macro.
4550         (c-region-is-active-p): Prefer region-active-p when available.
4551         (c-search-backward-char-property): Fix old min/max typo; probably
4552         a copy/paste error.
4553         (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
4554         Turn them into macros that obey c-use-category.
4555         (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
4556         (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
4557         (c-sc-scan-lists, c-sc-parse-partial-sexp)
4558         (c-looking-at-non-alphnumspace): New macros.
4559         (c-sc-parse-partial-sexp-no-category): New function.
4560         (c-emacs-features): Add `category-properties' element.
4562         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
4563         (c-backward-into-nomenclature): Use cc-subword if subword-mode is
4564         not available.
4565         (c-beginning-of-defun, c-end-of-defun, c-mark-function)
4566         (c-indent-line-or-region): Use c-region-is-active-p.
4568         * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
4569         (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
4570         (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
4571         (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
4572         (cc-bytecomp-obsolete-fun): Delete unused functions.
4574         * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
4576 2014-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4578         * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
4579         dom.el changes.
4581 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4583         * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
4584         current "project" rather than just the current directory.
4585         * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
4586         the file names make sense.
4588         * vc/smerge-mode.el (smerge-swap): New command.
4590         * vc/diff-mode.el (diff-kill-applied-hunks): New command.
4592 2014-12-01  Ulf Jasper  <ulf.jasper@web.de>
4594         * net/newst-treeview.el (newsticker--treeview-item-show):
4595         Check window liveliness before measuring its width.
4597         * net/newst-backend.el (newsticker--get-news-by-url-callback):
4598         Pass correct status to `newsticker--sentinel-work'.
4599         (newsticker--sentinel-work): Use "newsticker--download-error" as
4600         guid in order to prevent multiple "Could not download..."
4601         messages.  (Bug#19166)
4603 2014-12-01  Ivan Shmakov  <ivan@siamics.net>
4605         * net/eww.el (eww-render): Call `eww-after-render-hook' in the
4606         correct buffer (bug#19225).
4608 2014-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4610         * net/nsm.el (network-security-level): Change the default to `medium'.
4612         * net/eww.el (eww): Leave point in a place that doesn't cause
4613         scrolling when displaying "Loading...".
4615 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
4617         * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
4618         backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
4619         'merge-branch'.  Prompting for merge revisions is pushed down to
4620         the back ends; this fixes a layering violation that caused bad
4621         behavior with SVN.
4623         * vc/vc.el, vc-hooks.el: All backends: API simplification;
4624         vc-stay-local-p and repository-hostname are no longer public
4625         methods.  Only the CVS and SVN backends used these, and the SVN
4626         support was conditioned out because svn status -v is too slow.
4627         The CVS back end retains this machinery and the vc-stay-local
4628         configuration variable now only affects it.
4630 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4632         * emacs-lisp/inline.el: New file.
4634 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
4636         * vc/vc.el, vc-hooks.el: All backends: API simplification;
4637         vc-state-heuristic is no longer a public method, having been
4638         removed where it is redundant, unnecessary, or known buggy.
4639         This eliminated all backends except CVS.  Eliminates bug#7850.
4641         * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
4642         Eliminate vc-mistrust-permissions.  It was only relevant to the
4643         RCS and SCCS back ends and defaulted to t.  Code now always
4644         mistrusts permissions - by actual measurement the effect on
4645         performance is negligible.  As a side effect bug#11490 is now
4646         irrelevant.
4648         * vc/vc.el, vc-hooks.el: All backends: API simplification;
4649         vc-workfile-unchanged-p is no longer a public method (but the RCS
4650         and SCCS back ends retain it as a private method used in state
4651         computation).  This method was redundant with vc-state and usually
4652         implemented as a trivial call to same.  Fixes the failure mode
4653         described in bug#694.
4655         * vc/vc.el: All backends: API simplification; init-revision is
4656         gone, and vc-registered functions no longer take an
4657         initial-revision argument.
4659 2014-11-29  Glenn Morris  <rgm@gnu.org>
4661         * vc/vc-src.el (vc-src, vc-src-diff-switches)
4662         (vc-src-master-templates): Fix :version tags.
4664 2014-11-29  Paul Rankin  <paul@tilk.co>  (tiny change)
4666         * outline.el (outline-move-subtree-down): Refactor and improve code.
4668 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
4669             Stefan Monnier  <monnier@iro.umontreal.ca>
4671         * outline.el (outline-move-subtree-down): Make sure we can move
4672         forward to find the end of the subtree and the insertion point
4673         (bug#19102).
4675 2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4677         * progmodes/python.el (python-shell-completion-setup-code):
4678         Use __builtin__ module (or builtins in Python 3) and catch all errors
4679         when importing readline and rlcompleter.
4681 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
4683         * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
4684         (todo-revert-buffer): New function.
4685         (todo-modes-set-1): Use it as the buffer-local value of
4686         revert-buffer-function.
4688 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
4690         * calendar/todo-mode.el (todo-mode): If called interactively, just
4691         display a message saying to call todo-show to enter Todo mode
4692         (Bug#19112).
4694 2014-11-29  Dmitry Gutov  <dgutov@yandex.ru>
4696         * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
4697         (Bug#18579)
4699         * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
4700         files.  (Bug#18579)
4702 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
4704         * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
4705         remote `buffer-file-name'.
4707 2014-11-29  Leo Liu  <sdl.web@gmail.com>
4709         * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
4711 2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4713         Set PYTHONUNBUFFERED on shell startup.
4715         * progmodes/python.el (python-shell-unbuffered): New var.
4716         (python-shell-calculate-process-environment): Use it.
4718 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
4720         * net/tramp.el (tramp-action-password): Clean password on subsequent
4721         attempts even if there was no wrong password indication.  (Bug#19047)
4723         * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
4724         fallback.
4725         (tramp-open-connection-setup-interactive-shell): No need to check
4726         for nil as `tramp-get-remote-locale' return value.
4728 2014-11-29  Eli Zaretskii  <eliz@gnu.org>
4730         * vc/vc-git.el (vc-git-command, vc-git--call):
4731         Bind coding-system-for-read and coding-system-for-write to
4732         vc-git-commits-coding-system.
4733         (vc-git-previous-revision): Use "~1" instead of "^", since the
4734         latter is a special character for MS-Windows system shells.
4736 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
4738         Improve XEmacs compatibility.
4740         * net/tramp.el (tramp-autoload-file-name-handler):
4741         Wrap `temporary-file-directory' by `symbol-value', it doesn't
4742         exist in XEmacs.
4743         (tramp-read-passwd): Don't use `with-timeout-suspend' and
4744         `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4745         (tramp-time-less-p, tramp-time-subtract): Remove functions.
4746         (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4747         * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4748         * net/tramp-cache.el (tramp-get-file-property):
4749         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4750         Use `time-less-p' and `time-subtract, respectively.
4752         * net/tramp-adb.el (top): Do not require time-date.el.
4754         * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4756         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4757         Check, whether `utf-8' is a valid coding system.
4759 2014-11-29  Eli Zaretskii  <eliz@gnu.org>
4761         * vc/vc.el (vc-retrieve-tag): Doc fix.
4763 2014-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4765         * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4766         (bug#19152).
4768 2014-11-28  Martin Rudalics  <rudalics@gmx.at>
4770         Fix two issues around help-window-select.  (Bug#11039) (Bug#19012)
4771         * help.el (help-window-old-frame): New variable.
4772         (help-window-select): Default to nil (Bug#11039).
4773         Rewrite doc-string.
4774         (help-window-setup): When the help window appears on another
4775         frame and `help-window-select' is non-nil, give that frame input
4776         focus too (Bug#19012).
4777         (with-help-window): Store selected frame in
4778         help-window-old-frame.
4780 2014-11-28  Ulf Jasper  <ulf.jasper@web.de>
4782         * net/newst-treeview.el (newsticker--treeview-load): Take care of
4783         nil value for `newsticker-groups-filename'.
4785 2014-11-28  Daiki Ueno  <ueno@gnu.org>
4787         * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4788         (epa-sign-region, epa-encrypt-region):
4789         Use `epg-context-set-{passphrase,progress}-callback', instead of
4790         `setf'.  This partially reverts commit 9e48a95c (bug#19150).
4791         Reported by José A. Romero L.
4793 2014-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4795         * net/eww.el (eww-restore-history):
4796         Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4798 2014-11-27  Ulf Jasper  <ulf.jasper@web.de>
4800         * net/newst-backend.el (newsticker--parse-atom-1.0):
4801         Handle embedded (x)html in summary node.
4803 2014-11-27  Sam Steingold  <sds@gnu.org>
4805         * menu-bar.el (menu-bar-open): When everything else fails,
4806         use (mouse-menu-bar-map).
4808 2014-11-27  Ulf Jasper  <ulf.jasper@web.de>
4810         * net/newst-treeview.el (newsticker-groups-filename):
4811         Change default value to nil.  Point out that variable is obsolete in doc
4812         string.
4813         (newsticker--treeview-load): Change wording of the questions the
4814         user is asked when `newsticker-groups-filename' is found to be
4815         used and we offer to read and remove the groups file.  (Bug#19165)
4817 2014-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4819         * net/eww.el (eww): Record the new URL immediately, so that if the
4820         HTTP fetch fails, we have the right URL in the buffer.
4821         (eww-process-text-input): Don't shorten the input field if
4822         deleting at the last character (bug#19085).
4823         (eww-restore-history): Inhibit change functions while restoring
4824         the history.
4825         (eww-process-text-input): Fix deletion at the start of the field, too.
4826         (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4827         (eww-process-text-input): Try to keep track of the size more reliably.
4829         * dom.el (dom-pp): New function.
4831 2014-11-27  Eli Zaretskii  <eliz@gnu.org>
4833         * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4834         Don't assume --long is the default for "bzr log", always specify
4835         it explicitly, in case the user defined an alias for 'log' that
4836         uses some other format.
4838 2014-11-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4840         * progmodes/python.el (python-eldoc--get-doc-at-point):
4841         Strip shell output before returning.  (bug#18794)
4843 2014-11-27  Dmitry Gutov  <dgutov@yandex.ru>
4845         Fix indentation before `!=' and after `+='.  Originally reported
4846         in https://github.com/mooz/js2-mode/issues/174.
4847         * progmodes/js.el (js--indent-operator-re): Make assignments and
4848         (in)equality operator a separate case.
4849         (js--continued-expression-p): Escape the second `+' in the regexp.
4851 2014-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4853         * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4855 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4857         * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4858         when querying about new certificates.
4860         * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4862         * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4863         can be strings.
4864         (dom-elements): Protect against non-text nodes.
4865         (dom-non-text-children): New function.
4867         * net/eww.el (eww-tag-title): Use `dom-text'.
4869 2014-11-26  Sam Steingold  <sds@gnu.org>
4871         * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4873 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4875         * net/eww.el (eww-highest-readability): More dom.el fixes.
4877 2014-11-26  Ulf Jasper  <ulf.jasper@web.de>
4879         * net/newst-backend.el (newsticker--parse-generic-items):
4880         Take care of UIDs when adding elements to cache.
4882 2014-11-26  Alan Mackenzie  <acm@muc.de>
4884         Remove spurious reference to symbol category_properties.
4885         * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
4887 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4889         * net/eww.el: Use the new dom.el accessors throughout.
4891         * net/shr.el: Ditto.
4893         * dom.el: New file.
4895 2014-11-26  Glenn Morris  <rgm@gnu.org>
4897         * arc-mode.el (archive-visit-single-files): Add :version.
4899 2014-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4901         * net/nsm.el (nsm-format-certificate): Don't bug out on missing
4902         elements.
4903         (nsm-warnings-ok-p): The new version of this function always
4904         returned nil when everything was OK.
4906 2014-11-25  Teodor Zlatanov  <tzz@lifelogs.com>
4908         * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
4910         * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
4911         (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
4913 2014-11-20  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4915         * emacs-lisp/byte-run.el (function-put): Match argument names to
4916         docstring.
4918 2014-11-24  Sam Steingold  <sds@gnu.org>
4920         * vc/vc-hooks.el (vc-directory-exclusion-list):
4921         Fix a trivial typo (bug#19171).
4923 2014-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4925         * vc/vc-hooks.el (vc-state-base-face): Don't override
4926         mode-line-inactive.
4928 2014-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4930         * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
4931         (eww-process-text-input): Inhibit read only so that input fields
4932         don't get shortened (bug#19085).
4934 2014-11-24  Leo Liu  <sdl.web@gmail.com>
4936         * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
4938         * window.el (with-temp-buffer-window)
4939         (with-current-buffer-window, with-displayed-buffer-window):
4940         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
4941         * emacs-lisp/cl-lib.el (substring):
4942         * emacs-lisp/cl-extra.el (cl-getf): Use it.
4944 2014-11-24  Eli Zaretskii  <eliz@gnu.org>
4946         * isearch.el (isearch-update): Don't assume
4947         pos-visible-in-window-p will return nil when point is hscrolled
4948         out of view.  (Bug#19157)
4950 2014-11-20  Andrey Kotlarski  <m00naticus@gmail.com>
4952         * net/eww.el (eww-browse-url): Optionally create new eww buffer.
4953         (eww-follow-link): Follow in new buffer in case of prefix
4954         argument, open externally with double prefix (bug#19130).
4956 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4958         * net/eww.el (eww-display-html): Decode the document-defined charset.
4959         (eww): Pop to the *eww* buffer immediately after executing the
4960         `M-x eww' command to avoid having buffers pop up later.
4961         (eww-display-html): Don't pop the *eww* buffer.
4962         (eww-display-raw): Ditto.
4963         (eww-display-image): Ditto.
4964         (eww-follow-link): Make going to #targets in the page work again.
4966 2014-11-23  Ivan Shmakov  <ivan@siamics.net>
4968         * net/eww.el (eww-suggest-uris): New variable.
4969         (eww-suggested-uris): New function.
4970         (eww): Default to URL under point.
4971         (eww-links-at-point): New function.
4973 2014-11-20  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
4975         * net/eww.el (eww-add-bookmark): Fix bookmark titles.
4977 2014-11-17  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
4979         * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
4981 2014-11-23  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
4983         * net/eww.el (eww-set-character-encoding): New command and keystroke.
4984         (eww-display-raw): Use it (bug#16225).
4986 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4988         * net/nsm.el (network-security-level): Rename from
4989         `nsm-security-level' and documented.
4991         * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
4992         we're sending a password.
4994         * net/nsm.el: New file that implements a Network Security Manager.
4996         * net/network-stream.el (open-network-stream): Add a new
4997         :warn-unless-encrypted parameter.
4998         (network-stream-open-plain): Allow warning unless encrypted.
4999         (network-stream-open-starttls): Call the Network Security Manager.
5000         (network-stream-open-tls): Ditto.
5002 2014-11-23  Leo Liu  <sdl.web@gmail.com>
5004         * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
5005         (calendar-chinese-to-absolute-for-diary)
5006         (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
5007         Handle leap months in Chinese calendar.  (Bug#18953)
5009 2014-11-22  Alan Mackenzie  <acm@muc.de>
5011         Fix error with `mark-defun' and "protected:" in C++ Mode.
5012         * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
5013         return code of (label) from c-beginning-of-decl-1.  (Bug#19134)
5015 2014-11-22  Ulf Jasper  <ulf.jasper@web.de>
5017         * net/newst-backend.el (newsticker--sentinel-work):
5018         Tell `libxml-parse-xml-region' to discard comments.  (Bug#18787)
5020 2014-11-22  Michael Albinus  <michael.albinus@gmx.de>
5022         * net/tramp-sh.el (tramp-sh-handle-start-file-process)
5023         (tramp-sh-handle-process-file): Propagate `process-environment'.
5025         * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
5026         Tramp propagates environment variables now.
5028 2014-11-22  Eric S. Raymond  <esr@snark>
5030         * vc/vc-filewise.el: New file to isolate code used only by the
5031         file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
5032         live in vc.el and certainly not in vc-hooks.el.
5034         * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name  -> vc-master-name.
5035         This is preparatory to isolating all the 'master' functions
5036         used only by the file-oriented back ends.  With this done first,
5037         the substantive diffs will be easier to read.
5039 2014-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5041         * play/morse.el (nato-alphabet): Mark URL in docstring in a way
5042         that is recognized by `help-mode'.
5044 2014-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5046         * desktop.el (desktop-create-buffer): Use activate-mark to set
5047         `mark-active' (bug#19058).
5049 2014-11-21  Eric S. Raymond  <esr@snark>
5051         * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
5052         nil state.
5054 2014-11-21  Eli Zaretskii  <eliz@gnu.org>
5056         * vc/vc.el (vc-deduce-fileset): Support invocation from
5057         *vc-change-log* buffer.  (Bug#19084)
5059 2014-11-13  Matthew Leach  <matthew@mattleach.net>
5061         * arc-mode.el (archive-visit-single-files): New.
5062         (archive-mode): Visit file if archive contains a single file.
5063         (Bug#1702)
5065 2014-11-21  Ulrich Müller  <ulm@gentoo.org>
5067         * vc/vc.el: Fix a typo in the commentary.
5069 2014-11-20  Eric S. Raymond  <esr@snark.thyrsus.com>
5071         * vc/vc-src.el, vc/vc.el: Added support for SRC.  Needs more
5072         testing and a real log-view mode.
5074         * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
5075         * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
5076         * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
5077         checkout methods; where it matters (which is only in SCCS and RCS)
5078         files are always checked out editable.  This may actually have
5079         been dynamically true already - it looks like the vc-next-action
5080         code evolved past visiting the other case.  Tested with RCS.
5082         * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
5083         * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
5084         * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
5085         argument from the backend checkin methods.  Only the RCS, SCCS,
5086         and CVS back ends tried to do anything with it, and that code was
5087         never exercised.  Chiseling away the cruft of decades...
5089 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5091         * net/eww.el (eww-render): Remove a no-op :title setting.
5093 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
5095         * net/eww.el (eww-history-limit): New variable.
5096         (eww-save-history): Use it (bug#19105).
5097         (eww-reload): Reload the page in the right buffer.
5099 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5101         * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
5103 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
5105         * net/eww.el (eww-desktop-remove-duplicates)
5106         (eww-restore-desktop, eww-restore-reload-prompt): New variables.
5107         (eww-mode): Set up desktop mode (bug#18010).
5108         (eww-desktop-data-save, eww-desktop-data-1)
5109         (eww-desktop-history-duplicate, eww-desktop-misc-data)
5110         (eww-restore-desktop): New functions.
5112 2014-11-19  Eli Zaretskii  <eliz@gnu.org>
5114         * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
5115         correct buffer.  (Bug#19101)
5117 2014-11-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5119         * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
5120         `diff-switches' if `vc-git-diff-switches' is nil.  (Bug#19099)
5122 2014-11-19  Artur Malabarba  <bruce.connor.am@gmail.com>
5124         * ido.el (ido-bury-buffer-at-head): New command.
5125         (ido-buffer-completion-map): Bind it to C-S-b.
5127 2014-11-18  Juri Linkov  <juri@linkov.net>
5129         * simple.el (next-line-or-history-element): Wrap next-line
5130         in with-no-warnings.
5131         (previous-line-or-history-element): Wrap previous-line
5132         in with-no-warnings.
5134 2014-11-18  Juri Linkov  <juri@linkov.net>
5136         * progmodes/grep.el (grep-compute-defaults):
5137         Compute grep-highlight-matches before its use.
5139 2014-11-18  Juri Linkov  <juri@linkov.net>
5141         * replace.el (query-replace-from-to-separator): Turn defvar into
5142         defcustom.  Wrap char-displayable-p in ignore-errors because an
5143         attempt to autoload char-displayable-p fails during pre-loading.
5144         Move (propertize "\0" ... 'separator t) out of customizable part
5145         to query-replace-read-from.
5146         (query-replace-read-from): Call custom-reevaluate-setting on
5147         query-replace-from-to-separator to reevaluate the separator
5148         depending on the return value of char-displayable-p.
5149         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
5151 2014-11-18  Juri Linkov  <juri@linkov.net>
5153         * bindings.el (minibuffer-local-map): Rebind [down] from
5154         next-history-element to next-line-or-history-element, and [up]
5155         from previous-history-element to previous-line-or-history-element.
5157         * simple.el (next-line-or-history-element)
5158         (previous-line-or-history-element): New commands.
5159         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
5161 2014-11-18  Leo Liu  <sdl.web@gmail.com>
5163         * emacs-lisp/nadvice.el (define-advice): New macro.
5164         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5165         Add define-advice.
5166         (lisp-font-lock-keywords-1): Add define-advice.
5168 2014-11-18  Daiki Ueno  <ueno@gnu.org>
5170         * epg.el (epg-context): New slot EDIT-CALLBACK.
5171         (epg--process-filter): Call EDIT-CALLBACK when editing a key.
5172         (epg-reset): Reset EDIT-CALLBACK of the context.
5173         (epg-start-edit-key): New function.
5174         (epg-edit-key): New function.
5176 2014-11-18  Paul Eggert  <eggert@cs.ucla.edu>
5178         Port new time stamp handling to Emacs 23.2.
5179         This fix is for Gnus.  Reported by Katsumi Yamaoka.
5180         * calendar/time-date.el (time-add, time-subtract, time-less-p):
5181         Use eval-and-compile, not eval-when-compile.
5183 2014-11-18  Daiki Ueno  <ueno@gnu.org>
5185         * epg.el (epg-context-set-passphrase-callback)
5186         (epg-context-set-progress-callback): Check if the CALLBACK
5187         argument is a function, instead of a cons.
5189 2014-11-18  Daiki Ueno  <ueno@gnu.org>
5191         * epa-file.el (epa-file-insert-file-contents)
5192         (epa-file-write-region): Remove redundant check of
5193         epa-pinentry-mode.
5194         * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5195         (epa-sign-region, epa-encrypt-region): Remove redundant check of
5196         epa-pinentry-mode.
5198 2014-11-18  Daiki Ueno  <ueno@gnu.org>
5200         * epa-file.el (epa-file-insert-file-contents): Don't show
5201         "*Error*" buffer if input file does not exist.
5202         Reported by Herbert J. Skuhra.
5204 2014-11-18  Paul Pogonyshev  <pogonyshev@gmail.com>
5205             Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5207         * progmodes/cc-langs.el: Support some of the new keywords in C++11.
5208         An alternative version of the patch from bug#13871.
5209         (c-operators): Add "alignof".
5210         (c-primitive-type-kwds): Add "char16_t", "char32_t".
5211         (c-type-modifier-kwds): Add "constexpr", "noexcept".
5212         (c-modifier-kwds): Add "thread_local".
5213         (c-constant-kwds): Add "nullptr".
5215 2014-11-17  Michal Nazarewicz  <mina86@mina86.com>
5217         * textmodes/tildify.el (tildify-pattern, tildify-space-string):
5218         New variables for specifying tildify pattern and representation of
5219         a hard space -- a no-break space by default -- respectively.
5220         Being buffer-local they are much easier to handle than
5221         `tildify-string-alist' and `tildify-pattern-alist' respectively
5222         that have been used so far.  They also works better with derived
5223         modes.
5224         (tildify-foreach-region-function): New variable specifying
5225         a function determining portions of buffer that should be
5226         tildified.  It allows major modes to create a filtering function
5227         more elaborate than a set of regular expressions.  Initialized to
5228         `tildify--deprecated-ignore-evironments' by default to handle now
5229         deprecated `tildify-ignored-environments-alist' variable.
5230         (tildify--foreach-region): A new function that takes
5231         `tildify-foreach-region-function' into account and calls callback
5232         for regions of the buffer that should be tildified.
5233         (tildify-foreach-ignore-environments): A new function which can be
5234         partially applied and used as `tildify-foreach-region-function'.
5235         (tildify-ignored-environments-alist, tildify-pattern)
5236         (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
5237         (tildify--find-env): Rename from `tildify-find-env' and mark as
5238         obsolete.
5239         (tildify--deprecated-ignore-evironments): New function,
5240         immediately marked as obsolete, used to handle deprecated
5241         `tildify-ignored-environments-alist'.
5243         * textmodes/tex-mode.el (tex-common-initialization):
5244         Set `tildify-space-string' and `tildify-foreach-region-function'
5245         variables in all variants of TeX mode since `tildify-string-alist'
5246         and `tildify-ignored-environments-alist' are now empty by default.
5248         * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
5249         If encoding supports it use no-break space instead of character
5250         entity; this changes previous default which used a numeric
5251         reference.
5253         * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
5254         If encoding does not support no-break space, use numeric reference;
5255         this changes previous default which used named entity (“&nbsp;”)
5256         in HTML mode.
5258 2014-11-17  Ulf Jasper  <ulf.jasper@web.de>
5260         * calendar/icalendar.el (icalendar-export-alarms):
5261         New customizable variable.  (Bug#5433)
5262         (icalendar-export-region): Export alarms as specified in
5263         `icalendar-export-alarms'.
5264         (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
5265         New functions for exporting alarms.
5267 2014-11-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5269         * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
5271 2014-11-17  Paul Eggert  <eggert@cs.ucla.edu>
5273         Port new time stamp handling to old Emacs and to XEmacs.
5274         This is needed for Gnus, which copies time-date.el and which
5275         runs on older Emacs implementations.
5276         * calendar/time-date.el (with-decoded-time-value):
5277         Handle 'nil' and floating-point arg more compatibly with new Emacs.
5278         (encode-time-value, with-decoded-time-value):
5279         Obsolete only if new Emacs.
5280         (time-add, time-subtract, time-less-p): Define if not new Emacs.
5282         Improve time stamp handling, and be more consistent about it.
5283         This implements a suggestion made in:
5284         http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
5285         Among other things, this means timer.el no longer needs to
5286         autoload the time-date module.
5287         * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
5288         * arc-mode.el (archive-ar-summarize):
5289         * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
5290         * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
5291         (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
5292         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5293         * proced.el (proced-time-lessp):
5294         * timezone.el (timezone-time-from-absolute):
5295         * type-break.el (type-break-schedule, type-break-time-sum):
5296         Simplify by using new functionality.
5297         * calendar/cal-dst.el (calendar-next-time-zone-transition):
5298         Do not return time values in obsolete and undocumented (HI . LO)
5299         format; use (HI LO) instead.
5300         * calendar/time-date.el (with-decoded-time-value):
5301         Treat 'nil' as current time.  This is mostly for XEmacs.
5302         (encode-time-value, with-decoded-time-value): Obsolete.
5303         (time-add, time-subtract, time-less-p): Use no-op autoloads, for
5304         XEmacs.  Define only if XEmacs, as they're now C builtins in Emacs.
5305         * ldefs-boot.el: Update to match new time-date.el
5306         * proced.el: Do not require time-date.
5308 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5310         * net/eww.el (eww-mode): Make the buffer read-only.
5311         (eww-form-text): Inhibit read-only-ness in text input fields
5312         (bug#16476).
5314 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5316         * simple.el (execute-extended-command--shorter): Cut search here.
5317         (execute-extended-command): Instead of here.
5319 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5321         * progmodes/python.el (python-mode): Avoid use of set-local to
5322         keep Emacs 24.x compatibility.
5324 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5326         * net/shr.el (shr): Move to the new defgroup `web'.
5328         * net/eww.el (eww): Ditto.
5330         * simple.el (execute-extended-command): Don't show the help
5331         message if the binding isn't significantly shorter than the
5332         M-x command the user typed (bug#19013).
5334 2014-11-16  Ulf Jasper  <ulf.jasper@web.de>
5336         * calendar/icalendar.el (icalendar--convert-tz-offset):
5337         Return complete cons when offsets of standard time and daylight saving
5338         time are equal.
5339         (icalendar-export-region): Fix unbound variable warning.
5341 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5343         * progmodes/python.el (run-python): Allow CMD to be optional and
5344         default it to a safe command, even for Windows.  (bug#18596)
5346 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5348         * progmodes/python.el (python-shell-calculate-command):
5349         Rename from python-shell-parse-command.  Cleanup.
5350         (run-python, run-python-internal): Use it.
5351         (python-shell-calculate-pythonpath): Rename from
5352         python-new-pythonpath.
5353         (python-shell-calculate-process-environment): Use it.
5354         (python-shell-calculate-exec-path): Add comment.
5356 2014-11-16  Thierry Banel  <tbanelwebmin@free.fr>  (tiny change)
5358         * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
5359         for date handling.
5361 2014-11-16  Andreas Schwab  <schwab@linux-m68k.org>
5363         * version.el (emacs-repository-get-version): Use git rev-parse
5364         instead of git log.
5366 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5368         * progmodes/python.el (python-indent-calculate-levels):
5369         Fix indentation behavior multiline dedenter statement.  (Bug#18432)
5371 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5373         * progmodes/python.el (python-indent-region):
5374         Use python-indent-line and skip special cases.  (Bug#18843)
5376 2014-11-16  Peder O. Klingenberg  <peder@klingenberg.no>
5378         * mail/emacsbug.el (report-emacs-bug): Make a better guess at
5379           envelope-from when reporting through sendmail (bug#19054).
5381 2014-11-16  Oscar Fuentes  <ofv@wanadoo.es>
5383         Add faces for the VC modeline state indicator.
5384         * vc/vc-hooks.el:
5385         (vc-state-faces, vc-state-base-face)
5386         (vc-up-to-date-state, vc-needs-update-state)
5387         (vc-locked-state, vc-locally-added-state)
5388         (vc-conflict-state, vc-removed-state)
5389         (vc-missing-state, vc-edited-state):
5390         New faces.
5391         (vc-default-mode-line-string): Use them
5393 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5395         * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
5397 2014-11-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5399         * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
5401 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5403         * progmodes/python.el (python-eldoc-setup-code): Enhance string
5404         type checks, simplify printing.  (Bug#18962)
5406 2014-11-14  Ivan Andrus  <darthandrus@gmail.com>
5408         * progmodes/python.el (python-shell-font-lock-kill-buffer):
5409         (python-shell-font-lock-with-font-lock-buffer)
5410         (python-shell-get-buffer, python-ffap-module-path):
5411         Use `derived-mode-p' instead of equality test on `major-mode'.
5413 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5415         * progmodes/python.el (python-shell-virtualenv-root): Rename from
5416         python-shell-virtualenv-path.
5417         (python-shell-internal-get-process-name)
5418         (python-shell-calculate-process-environment)
5419         (python-shell-calculate-exec-path): Use it.
5421 2014-11-14  Eli Zaretskii  <eliz@gnu.org>
5423         * bindings.el (search-map): Fix last change: don't use 'kbd' in
5424         bindings.el, since it is not yet loaded when bindings.el is
5425         preloaded.
5427 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5429         * progmodes/python.el (python-shell-completion-get-completions):
5430         Fix previous merge.
5432 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5434         * net/eww.el (eww-render): Don't set the title to the URL.
5436 2014-11-13  Ulrich Müller  <ulm@gentoo.org>
5438         * version.el (emacs-repository-get-version): Call `git log'
5439         command with proper format argument (bug#19049).
5441 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5443         * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
5445 2014-11-14  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5447         * net/eww.el (eww-search-words): New command (bug#16258).
5449 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5451         * net/shr.el (shr-inhibit-images): Add a doc string.
5453         * net/eww.el (eww-after-render-hook): New variable.
5454         (eww-render): Use it.
5456         * net/shr.el (shr-descend): Don't descend further than
5457         `max-specpdl-size' allows (bug#16587).
5458         (shr-depth): New variable.
5459         (shr-warning): New variable.
5461 2014-11-13  Ivan Shmakov  <ivan@siamics.net>
5463         * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
5464         (shr-expand-url): Expand absolute URLs correctly (bug#17958).
5466 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5468         * net/eww.el (eww): Add comment to clarify.
5470         * net/shr.el (shr-parse-image-data): Remove blocked bits from
5471         external SVG images.
5472         (shr-tag-object): Display images in <object> forms (bug#16244).
5473         (shr-tag-table): Also insert <objects> after the tables.
5475 2014-11-13  Michael Albinus  <michael.albinus@gmx.de>
5477         * vc/vc-hg.el (vc-hg-state): Disable pager.  (Bug#18940)
5479 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5481         * net/eww.el (eww-form-file): Fix version number.
5483 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5485         * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
5487 2014-11-10  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5489         * net/eww.el(eww-form-file(defface)): New defface of file upload form.
5490         (eww-submit-file): New key map of file upload.
5491         (eww-form-file): New file upload button and file name context.
5492         (eww-select-file): Select file and display selected file name.
5493         (eww-tag-input): Handle input tag of file type.
5494         (eww-update-field): Add point offset.
5495         (eww-submit): Add submit with multipart/form-data.
5497 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5499         * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
5500         Allow taking a buffer to render data in.  This allows using several
5501         eww buffers (bug#16211).
5503 2014-11-10  Charles Rendleman  <carendle@gmail.com>  (tiny change)
5505         * net/eww.el (eww-download-callback): Save only the file contents,
5506         not the headers.
5508 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5510         * net/eww.el (eww-data): New plist to store all the data relevant
5511         to a single page, used throughout the file instead of the
5512         variables `eww-current-url', `eww-current-dom',
5513         `eww-current-source', and `eww-current-title'.
5514         (eww-readable): Copy over pertinent data from the parent page.
5515         (eww-save-history): Don't let the history grow infinitely.
5517         * net/eww.el: Remove `eww-next-url', `eww-previous-url',
5518         `eww-up-url', `eww-home-url', `eww-start-url' and
5519         `eww-contents-url' and put the data into the `eww-data' plist.
5520         This allow restoring these values after going back in the history.
5522 2014-11-10  Sylvain Chouleur  <sylvain.chouleur@gmail.com>  (tiny change)
5524         Allow VTIMEZONE where daylight and standard time zones are equal.
5525         See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
5526         * calendar/icalendar.el (icalendar--convert-tz-offset):
5527         Support timezone without daylight saving time.
5529 2014-11-10  Glenn Morris  <rgm@gnu.org>
5531         * startup.el (command-line): Handle nil elements in load-path.
5533 2014-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5535         * help.el (view-lossage): Include the actual commands run.
5537 2014-11-10  Dmitry Gutov  <dgutov@yandex.ru>
5539         * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
5540         no state is specified.  (Bug#18964)
5542 2014-11-09  Eric Ludlam  <zappo@gnu.org>
5544         * emacs-lisp/eieio-custom.el (eieio-customize-object):
5545         Set eieio-cog (current group) to g, which is an improved form of input
5546         group.
5548 2014-11-09  Juri Linkov  <juri@jurta.org>
5550         * isearch.el (isearch-message-prefix): Show "Multi-file" and
5551         "Multi-buffer" instead of "Multi".  (Bug#13592)
5553         * misearch.el (multi-isearch-file-list):
5554         Autoload multi-isearch-buffer-list and multi-isearch-file-list.
5555         (multi-isearch-end): Reset multi-isearch-buffer-list and
5556         multi-isearch-file-list to nil.
5558 2014-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5560         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5561         Don't call byte-compile-preprocess since the result will go through
5562         cconv.
5563         (byte-compile-output-docform): Handle uninterned `name' correctly.
5564         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
5565         to circumvent byte-compiler bug.
5567         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
5568         (macroexp--compiler-macro): Remove left-over debug code.
5570         * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
5572 2014-11-08  Juri Linkov  <juri@jurta.org>
5574         * simple.el (shell-command): Use buffer-name when output-buffer is
5575         a buffer.  (Bug#18096)
5577 2014-11-08  Juri Linkov  <juri@jurta.org>
5579         * minibuffer.el (minibuffer-completion-help): Compare this-command
5580         with completion-at-point.  (Bug#17809)
5582 2014-11-08  Glenn Morris  <rgm@gnu.org>
5584         * emacs-lisp/bytecomp.el (byte-compile-report-error):
5585         Allow the argument to be a string.  Due to the vague doc,
5586         it was already being used this way.
5588 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
5590         * net/tramp.el (tramp-check-cached-permissions): Include hop in
5591         the constructed Tramp file name.  (Bug#18943)
5593 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5595         * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
5596         (bug#18952).
5597         (cua-set-mark, cua--post-command-handler-1):
5598         * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
5600 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
5602         * files.el (file-name-non-special): Wrap the call of
5603         `insert-file-contents' by `unwind-protect', in order to set the
5604         buffer's file name anyway.  (Bug#18891)
5606 2014-11-08  Alan Mackenzie  <acm@muc.de>
5608         Fix wrong bound to c-font-lock-declarators.
5609         * progmodes/cc-fonts.el (c-font-lock-declarations):
5610         Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
5611         the buffer is sometimes narrowed to less than "limit" (e.g., in
5612         the presence of macros).  (Bug#18948)
5614 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
5616         * net/tramp.el (tramp-error-with-buffer): Show connection buffer
5617         only when message appeared in minibuffer.  (Bug#18891)
5619         * net/tramp-adb.el (tramp-adb-handle-file-attributes):
5620         * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
5621         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
5622         case of errors.
5624 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5626         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5627         Don't compile before eval in `eval-and-compile'.
5628         (byte-compile-arglist-warn): Add check for defining macros after their
5629         first use.  Check call use even if the function is fboundp.
5631 2014-11-08  Richard Stallman  <rms@gnu.org>
5633         * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
5634         Check more carefully for mime-part specified character set.
5635         Check for mime-part Content Transfer Encoding.
5636         Notify if no armor found.
5638 2014-11-08  Martin Rudalics  <rudalics@gmx.at>
5640         * faces.el (face-set-after-frame-default): Enable running
5641         `window-configuration-change-hook'.
5643 2014-11-07  Juri Linkov  <juri@jurta.org>
5645         * replace.el: History for query replace pairs.
5646         (query-replace-defaults): Promote to a list of cons cell.  Doc fix.
5647         (query-replace-from-to-separator): New variable.
5648         (query-replace-read-from): Let-bind query-replace-from-to-history
5649         to a list of FROM-TO strings created from query-replace-defaults
5650         and separated by query-replace-from-to-separator.  Use it as
5651         the history while reading from the minibuffer.  Split the returned
5652         string by the separator to get FROM and TO parts, and add them
5653         to the history variables.
5654         (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
5655         (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
5656         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
5658         * isearch.el (isearch-text-char-description): Keep characters
5659         intact and put formatted strings with the `display' property.
5661 2014-11-07  Martin Rudalics  <rudalics@gmx.at>
5663         * cus-start.el (frame-resize-pixelwise): Fix group.
5664         (frame-inhibit-implied-resize): Add entry.
5666 2014-11-07  Daiki Ueno  <ueno@gnu.org>
5668         * epa.el (epa-pinentry-mode): New user option.
5669         (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5670         (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
5671         * epa-file.el (epa-file-insert-file-contents)
5672         (epa-file-write-region): Respect epa-pinentry-mode.
5674 2014-11-07  Daiki Ueno  <ueno@gnu.org>
5676         * epg.el (epg--list-keys-1): Ignore fields after the 15th field
5677         (bug#18979).  Reported by Hideki Saito.
5679 2014-11-06  Daiki Ueno  <ueno@gnu.org>
5681         * emacs-lisp/package.el (package--display-verify-error): New function.
5682         (package--check-signature): Use it to display output sent to stderr.
5684 2014-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5686         * subr.el (pop): Don't call the getter twice (bug#18968).
5688         * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
5689         uses of `funcall'.
5691 2014-11-06  Daiki Ueno  <ueno@gnu.org>
5693         * epa.el (epa-error-buffer): New variable.
5694         (epa-display-error): New function.
5695         (epa-decrypt-file, epa-verify-file, epa-verify-region)
5696         (epa-delete-keys, epa-import-keys): Display output sent to stderr.
5697         (epa-sign-file, epa-sign-region, epa-encrypt-region)
5698         (epa-export-keys, epa-insert-keys): Display output sent to stderr.
5699         Use setf instead of epg-context-set-*.
5700         * epa-file.el (epa-file-insert-file-contents):
5701         Use epa-display-error instead of epa-display-info.  Mimic the behavior
5702         of jka-compr when decryption program is not found.
5703         (epa-file-write-region): Use epa-display-error instead of
5704         epa-display-info.
5706 2014-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5708         * vc/vc.el (vc-region-history): New command.
5709         (vc-print-log-internal): Use cl-some.
5711         * vc/vc-git.el (vc-git-region-history): New function.
5712         (vc-git-region-history-mode-map)
5713         (vc-git--log-view-long-font-lock-keywords)
5714         (vc-git-region-history-font-lock-keywords): New vars.
5715         (vc-git-region-history-font-lock): New function.
5716         (vc-git-region-history-mode): New major mode.
5718 2014-11-05  Tassilo Horn  <tsdh@gnu.org>
5720         * net/eww.el (subr-x): Require subr-x at compile-time because eww
5721         uses string-trim.
5723 2014-11-05  Daiki Ueno  <ueno@gnu.org>
5725         * epg.el (epg-context): Add new slot ERROR-OUTPUT.
5726         (epg-error-output): New buffer-local variable.
5727         (epg--start): Initialize epg-error-output.
5728         (epg--process-filter): Record output lines sent to stderr, in
5729         epg-error-output.
5730         (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5731         slot of context.
5732         * epa-file.el (epa-file-insert-file-contents): On error, display
5733         output sent to stderr.
5734         (epa-file-write-region): Likewise.
5736 2014-11-05  Eli Zaretskii  <eliz@gnu.org>
5738         * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5739         returned by load-average.
5741 2014-11-05  Michael Albinus  <michael.albinus@gmx.de>
5743         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5744         a local copy; setting `inhibit-file-name-handlers' proper might be
5745         more performant.  (Bug#18751)
5747 2014-11-05  Glenn Morris  <rgm@gnu.org>
5749         * mail/emacsbug.el (report-emacs-bug): No longer include
5750         recent-keys in the report.  (Bug#18900)
5752 2014-11-04  Paul Eggert  <eggert@cs.ucla.edu>
5754         * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5756 2014-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
5758         * net/eww.el (eww): Trim URL with `string-trim'.
5759         Suggested by Vibhav Pant <vibhavp@gmail.com>.
5761 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5763         * net/eww.el (eww-score-readability): Don't count comments positively.
5765         * net/shr.el (shr-retransform-dom): Typo fix.
5767         * net/eww.el (eww-score-readability): Parse SVC images correctly.
5768         (eww-display-html): Don't leave point inside forms.
5770         * net/shr.el: Ditto.
5772 2014-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5774         * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5775         edebug-prin1-to-string already handles circularity.
5777         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5778         autoloading when specified as a lambda.
5780         * simple.el (execute-extended-command--last-typed): New var.
5781         (read-extended-command): Set it.
5782         Don't complete obsolete commands.
5783         (execute-extended-command--shorter-1)
5784         (execute-extended-command--shorter): New functions.
5785         (execute-extended-command): Use them to suggest shorter names.
5786         (indicate-copied-region, deactivate-mark): Use region-active-p.
5788 2014-11-03  Michael Albinus  <michael.albinus@gmx.de>
5790         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5791         local copy of FILENAME, when it is remote.  (Bug#18751)
5793         * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5794         an error when the command fails; the return code must indicate.
5795         (tramp-adb-send-command-and-check): Fix docstring.
5797 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5799         * net/shr.el (shr-retransform-dom): Don't ignore elements that
5800         have no children like <br />.
5802         * net/eww.el (eww-display-html): Clear `url-queue'.
5803         (eww-display-pdf): New function.
5804         (eww-render): Display PDFs with `doc-view'.
5805         (url-queue): Require `url-queue' to avoid compilation warning.
5806         (eww-colorize-region): Remove duplicate function.
5807         (eww-tag-body): Use `shr-colorize-region'.
5809 2014-11-03  Yoni Rabkin <yrk@gnu.org>
5811         * net/eww.el (eww-list-bookmarks): Autoload.
5813 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5815         * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5817         * net/eww.el (eww-display-html): The charset is called `utf-8',
5818         not `utf8'.
5819         (eww-readable): Decode the saved text correctly.
5820         (eww-readable): Save the history before displaying so that we can
5821         go back to the non-readable version.
5822         (eww-display-html): Don't try to decode the text if we've been
5823         passed in a pre-parsed DOM.
5824         (eww-tag-title): Remove newlines and extra whitespace from the
5825         displayed title.
5827 2014-11-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5829         * net/eww.el (eww-readable): New command and keystroke.
5831         * net/shr.el (shr-retransform-dom): New function.
5833         * net/eww.el (eww-display-html): Set `eww-current-source' in the
5834         correct buffer.
5835         (eww-view-source): Use it.
5837 2014-11-02  Ivan Shmakov  <ivan@siamics.net>
5839         * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5840         (Bug#18603).
5842 2014-11-02  Brian McKenna  <brian@brianmckenna.org>  (tiny change)
5844         * net/eww.el (eww-submit): Encode empty form values as "".  (Bug#17785).
5846 2014-11-02  Ivan Shmakov  <ivan@siamics.net>
5848         * net/eww.el (eww): Allow "file:/file/name" URLs.  (Bug#18825).
5850 2014-11-02  Ivan Shmakov  <ivan@siamics.net>
5852         * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5853         (Bug#18834).
5855 2014-11-02  Eric Abrahamsen  <eric@ericabrahamsen.net>
5857         * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5858         use as advice.
5859         (edebug-setup-hook): Advise `edebug-prin1-to-string'.  (Bug#18897)
5861 2014-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5863         * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5864         (bug#18821).
5865         * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5867 2014-11-01  Michael R. Mauger  <michael@mauger.com>
5869         * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5870         syntax, add new keywords, and parse longer keywords first.
5871         (sql-redirect-one): Protect against empty command.
5872         (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5873         to SQL.  (Bug#14759)
5875 2014-11-01  Michael R. Mauger  <michael@mauger.com>
5877         * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5878         Bug#16814 with let-bind of comint-input-ring variables around read
5879         and save functions.
5881 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
5883         * net/tramp-cache.el (tramp-get-file-property)
5884         (tramp-set-file-property): Check that `tramp-cache-get-count-*'
5885         and `tramp-cache-set-count-*' are bound.  Otherwise, there might
5886         be compiler warnings.
5888         * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
5889         Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
5891 2014-11-01  Eli Zaretskii  <eliz@gnu.org>
5893         * progmodes/compile.el (compilation-mode): Turn off deferred
5894         fontifications locally.  (Bug#18856)
5896 2014-11-01  Wolfgang Jenkner  <wjenkner@inode.at>
5898         * net/tramp-sh.el (tramp-send-command): Fix the case where the
5899         remote-echo connection property is non-nil (bug#18858).
5901 2014-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5903         * simple.el (newline): Add assertions to try and help catch bug#18913.
5905         * emulation/cua-base.el (cua-delete-region): Use delete-active-region
5906         (bug#18886).
5907         (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
5909 2014-11-01  Kim F. Storm  <storm@cua.dk>
5911         Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
5912         * delsel.el (delete-selection-save-to-register)
5913         (delsel--replace-text-or-position): New vars.
5914         (delete-active-region): Use them.
5915         (delete-selection-repeat-replace-region): New command, moved from
5916         cua-base.el.
5917         * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
5918         (cua-repeat-replace-region): Move command to delsel.el.
5919         (cua--init-keymaps): Update binding accordingly.
5920         (cua-mode): Set delete-selection-save-to-register.
5922 2014-11-01  Alan Mackenzie  <acm@muc.de>
5924         Make blink-parens work with a closing template delimiter.
5925         * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
5926         before calling blink-paren-function, so as to apply syntax-table
5927         properties to the ">".
5929 2014-11-01  Jan Djärv  <jan.h.d@swipnet.se>
5931         * select.el (gui-get-selection): Comment: data-type ignored on NS.
5933 2014-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5935         * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
5936         (macroexp--expand-all): Unrelated tweaks.
5938         * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
5940 2014-10-30  Glenn Morris  <rgm@gnu.org>
5942         * startup.el (command-line): Remove pointless attempt to avoid
5943         statting the file-system (which expand-file-name doesn't do).
5945 2014-10-30  Daniel Colascione  <dancol@dancol.org>
5947         Add "enum class" support to C++ mode.
5948         * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
5949         (c-after-brace-list-key): New language consts/variables.
5950         * progmodes/cc-engine.el (c-looking-at-decl-block):
5951         Exclude spurious match of "enum struct" from decl-block recognition.
5952         (c-backward-colon-prefixed-type): New function.
5953         (c-backward-over-enum-header): Call above function to extend
5954         recognition of enum structure.
5956 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5958         * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
5959         (c-lang-defconst):
5960         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
5962 2014-10-30  Eli Zaretskii  <eliz@gnu.org>
5964         * progmodes/compile.el (compilation-start):
5965         If compilation-scroll-output is non-nil, don't force window-start of
5966         the compilation buffer to be at beginning of buffer.  (Bug#18874)
5968         * startup.el (fancy-about-text): Read the entire tutorial, not
5969         just its first 256 bytes.  (Bug#18760)
5971 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5973         * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
5974         * emacs-lisp/cl-extra.el: Add missing provide.
5976         * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
5977         all args are copyable (bug#18767).
5978         (=, <, >, <=, >=): Re-enable the optimization.
5980 2014-10-29  Glenn Morris  <rgm@gnu.org>
5982         * net/rcirc.el (rcirc-fill-column): Unbump :version.  Mark :risky.
5984         * version.el (emacs-bzr-version, emacs-bzr-get-version):
5985         Revert 2014-10-26 change.
5987 2014-10-29  Paul Eggert  <eggert@cs.ucla.edu>
5989         Simplify use of current-time and friends.
5990         * allout-widgets.el (allout-widgets-hook-error-handler):
5991         * calendar/appt.el (appt-display-message):
5992         * calendar/icalendar.el (icalendar--convert-float-to-ical):
5993         * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
5994         (timeclock-last-period, timeclock-day-base):
5995         * eshell/em-ls.el (eshell-ls-file):
5996         * eshell/esh-util.el (eshell-parse-ange-ls):
5997         * generic-x.el (named-database-print-serial):
5998         * net/newst-backend.el (newsticker--get-news-by-url-callback)
5999         (newsticker-get-news, newsticker--sentinel-work)
6000         (newsticker--image-get, newsticker--image-sentinel):
6001         * net/tramp-sh.el (tramp-get-remote-touch):
6002         * progmodes/opascal.el (opascal-debug-log):
6003         * textmodes/remember.el (remember-mail-date)
6004         (remember-store-in-files):
6005         * vc/vc-annotate.el (vc-annotate-display-autoscale)
6006         (vc-default-annotate-current-time):
6007         * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
6008         * vc/vc-cvs.el (vc-cvs-annotate-current-time):
6009         * vc/vc-rcs.el (vc-rcs-annotate-current-time):
6010         Omit unnecessary call to current-time.
6011         * calendar/time-date.el (time-to-seconds) [!float-time]:
6012         * vc/vc-annotate.el (vc-annotate-convert-time):
6013         Use current time if arg is nil, to be compatible with float-time.
6014         (time-date--day-in-year): New function, with most of the guts of
6015         the old time-to-day-in-year.
6016         (time-to-day-in-year): Use it.
6017         (time-to-days): Use it, to avoid decoding the same time stamp twice.
6018         * calendar/timeclock.el (timeclock-time-to-date):
6019         Arg is now optional, like current-time-string.
6020         (timeclock-update-mode-line):
6021         Don't call current-time twice to get the current time stamp,
6022         as this can lead to inconsistent results.
6023         * completion.el (cmpl-hours-since-origin):
6024         * ido.el (ido-time-stamp):
6025         * vc/vc-annotate.el (vc-annotate-convert-time):
6026         Simplify by using float-time.
6027         * completion.el (save-completions-to-file):
6028         Rename local var to avoid confusion.
6029         * net/rcirc.el (rcirc-float-time): Simplify to an alias because
6030         time-to-seconds now behaves like float-time with respect to nil arg.
6031         * subr.el (progress-reporter-do-update):
6032         Don't call float-time unless needed.
6034 2014-10-29  Leo Liu  <sdl.web@gmail.com>
6036         * net/rcirc.el (rcirc-fill-column): Use function.
6037         (rcirc-markup-fill): Remove adjustment.
6039 2014-10-28  Christopher Schmidt  <ch@ristopher.com>
6041         * calc/calc.el (quick-calc):
6042         * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
6044 2014-10-28  Sam Steingold  <sds@gnu.org>
6046         * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
6047         the sake of `window-body-width' (in addition to `frame-width').
6049 2014-10-26  Eric S. Raymond  <esr@thyrsus.com>
6051         * version.el: Fix some fallback values to conform to the actual
6052         release number.
6054 2014-10-25  Eric S. Raymond  <esr@thyrsus.com>
6056         * Makefile.in: Change some production names so they're neutral
6057         about the repository type.
6059 2014-10-25  Michael Albinus  <michael.albinus@gmx.de>
6061         * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
6062         (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
6063         during initialization.  (Bug#18774)
6065 2014-10-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6067         * ses.el (macroexp): Add require for this package, so that
6068         function `ses--cell' gets macroexp-quote --- this change was
6069         supposed to be in my previous commit, but left out by mistake.
6070         (ses--cell): Do not make formula a macroexp-quote of value when
6071         value, not formula, is *skip*.
6073 2014-10-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6075         * ses.el (macroexp): Add require for this package, so that function
6076         `ses--cell gets macroexp-quote.
6077         (ses--cell): Makes formula a macroexp-quote of value when formula
6078         is nil.  The rationale of this changr is to allow in the future
6079         shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
6080         instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'.  In such a case
6081         reference list REFLIST would be re-computed after load --- thus
6082         trading off load time against file size.
6084         * emacs-lisp/package.el (package--alist-to-plist-args):
6085         Use macroexp-quote instead of a lambda expression which has the same
6086         content as macroexp-quote.
6087         (macroexp): Add require for this package, so that function
6088         `package--alist-to-plist-args' gets macroexp-quote.
6090         * emacs-lisp/macroexp.el (macroexp-quote): New defun.
6092 2014-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6094         * term/ns-win.el (ns-store-cut-buffer-internal)
6095         (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
6097 2014-10-24  Martin Rudalics  <rudalics@gmx.at>
6099         * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
6100         Calculate increment from last position instead of window edge.
6101         Add right- and bottom-divider bindings to transient map.
6103 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6105         * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
6106         even if :predicate was nil, for the benefit of typep.
6107         Record the name of the predicate for typep's use.
6108         (cl--make-type-test): Use pcase.  Obey new
6109         cl-deftype-satisfies property.
6111         * epg.el: Use cl-defstruct.
6112         (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
6113         (epg-data-string): Define via cl-defstruct.
6114         (epg--gv-nreverse): New macro.
6115         (epg-context--make): New constructor (provided vi cl-defstruct).
6116         (epg-make-context): Rewrite using it.
6117         (epg-context-protocol, epg-context-program)
6118         (epg-context-home-directory, epg-context-armor, epg-context-textmode)
6119         (epg-context-include-certs, epg-context-cipher-algorithm)
6120         (epg-context-digest-algorithm, epg-context-compress-algorithm)
6121         (epg-context-passphrase-callback, epg-context-progress-callback)
6122         (epg-context-signers, epg-context-sig-notations, epg-context-process)
6123         (epg-context-output-file, epg-context-result, epg-context-operation)
6124         (epg-context-pinentry-mode): Define using cl-defstruct.
6125         (epg-context-set-protocol, epg-context-set-program)
6126         (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
6127         (epg-context-set-digest-algorithm)
6128         (epg-context-set-sig-notations, epg-context-set-process)
6129         (epg-context-set-output-file, epg-context-set-result)
6130         (epg-context-set-operation, epg-context-set-pinentry-mode)
6131         (epg-context-set-compress-algorithm): Remove.  Use setf instead.
6132         (epg-context-set-armor, epg-context-set-textmode)
6133         (epg-context-set-signers): Redefine using setf
6134         and declare as obsolete.
6135         (epg-context-set-passphrase-callback)
6136         (epg-context-set-progress-callback): Use setf.
6137         (epg-signature-notations): Rename from epg-sig-notations.
6138         (epg-make-signature, epg-signature-status, epg-signature-key-id)
6139         (epg-signature-validity, epg-signature-fingerprint)
6140         (epg-signature-creation-time, epg-signature-expiration-time)
6141         (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
6142         (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
6143         (epg-signature-set-status, epg-signature-set-key-id)
6144         (epg-signature-set-validity, epg-signature-set-fingerprint)
6145         (epg-signature-set-creation-time, epg-signature-set-expiration-time)
6146         (epg-signature-set-pubkey-algorithm)
6147         (epg-signature-set-digest-algorithm, epg-signature-set-class)
6148         (epg-signature-set-version, epg-signature-set-notations): Remove.
6149         Use setf instead.
6150         (epg-make-new-signature, epg-new-signature-type)
6151         (epg-new-signature-pubkey-algorithm)
6152         (epg-new-signature-digest-algorithm, epg-new-signature-class)
6153         (epg-new-signature-creation-time, epg-new-signature-fingerprint):
6154         Define using cl-defstruct.
6155         (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
6156         (epg-key-user-id-list): Define using cl-defstruct.
6157         (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
6158         Use setf instead.
6159         (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
6160         (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
6161         (epg-sub-key-id, epg-sub-key-creation-time)
6162         (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
6163         cl-defstruct.
6164         (epg-sub-key-set-fingerprint): Remove.  Use setf instead.
6165         (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
6166         (epg-user-id-signature-list): Define using cl-defstruct.
6167         (epg-user-id-set-signature-list): Remove.  Use setf instead.
6168         (epg-make-key-signature, epg-key-signature-validity)
6169         (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
6170         (epg-key-signature-creation-time, epg-key-signature-expiration-time)
6171         (epg-key-signature-user-id, epg-key-signature-class)
6172         (epg-key-signature-exportable-p): Define using cl-defstruct.
6173         (epg-make-sig-notation, epg-sig-notation-name)
6174         (epg-sig-notation-value, epg-sig-notation-human-readable)
6175         (epg-sig-notation-critical): Define using cl-defstruct.
6176         (epg-sig-notation-set-value): Remove.  Use setf instead.
6177         (epg-make-import-status, epg-import-status-fingerprint)
6178         (epg-import-status-reason, epg-import-status-new)
6179         (epg-import-status-user-id, epg-import-status-signature)
6180         (epg-import-status-sub-key, epg-import-status-secret): Define using
6181         cl-defstruct.
6182         (epg-make-import-result, epg-import-result-considered)
6183         (epg-import-result-no-user-id, epg-import-result-imported)
6184         (epg-import-result-imported-rsa, epg-import-result-unchanged)
6185         (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
6186         (epg-import-result-new-signatures, epg-import-result-new-revocations)
6187         (epg-import-result-secret-read, epg-import-result-secret-imported)
6188         (epg-import-result-secret-unchanged, epg-import-result-not-imported)
6189         (epg-import-result-imports): Define using cl-defstruct.
6191         * emacs-lisp/package.el: Require EPG during macroexpansion.
6192         (package--check-signature, package-import-keyring): Use setf instead of
6193         epg-context-set-home-directory.
6195 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6197         * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
6199 2014-10-23  Leo Liu  <sdl.web@gmail.com>
6201         * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
6202         (cfengine3-create-imenu-index): Use it and use ` ' for separation.
6203         (cfengine3-current-defun): New function.
6204         (cfengine3-mode): Set add-log-current-defun-function.
6206 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6208         * select.el: Use lexical-binding.
6209         (gui-set-selection): Provide an implementation for non-GUI frames
6210         (bug#18791).
6211         * term/x-win.el: Use lexical-binding.
6212         (x-clipboard-yank): Fix up missed renamings.
6213         * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
6214         (w32--set-selection): Fix up var names.
6215         * term/pc-win.el: Use lexical-binding.
6216         (w16-selection-exists-p): Silence compiler warning.
6217         (w16-selection-owner-p): Fix up missed renamings.
6219         * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
6221         * frame.el (frame-notice-user-settings): Fix excessive quoting.
6223 2014-10-22  Tassilo Horn  <tsdh@gnu.org>
6225         * doc-view.el (doc-view-open-text): View the document's plain text
6226         in the current buffer instead of a new one.
6227         (doc-view-toggle-display): Handle the case where the current
6228         buffer contains the plain text contents of the document.
6229         (doc-view-initiate-display): Don't switch to fallback mode if the
6230         user wants to view the doc's plain text.
6231         (doc-view-set-doc-type): Use assoc-string instead of
6232         assoc-ignore-case.
6234 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6236         * subr.el (read-key): Fix clicks on the mode-line.
6237         (set-transient-map): Return exit function.
6239         * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
6240         (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
6241         (mouse-yank-secondary): Use gui-get-selection.
6242         (mouse--down-1-maybe-follows-link): Use read-key.
6244         * xt-mouse.el: Add `event-kind' property on the fly from
6245         xterm-mouse-translate-1 rather than statically at the outset.
6247 2014-10-21  Daniel Colascione  <dancol@dancol.org>
6249         * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
6250         change window configuration when we turn it off.
6252 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6254         Get rid of backend-dependent selection-handling functions for kill/yank
6255         and make it generic instead by relying on the lower-level selection
6256         management functions.
6258         * select.el (select-enable-clipboard): Rename from
6259         gui-select-enable-clipboard.
6260         (select-enable-primary): Move from x-win.el and rename from
6261         x-select-enable-primary.
6262         (gui-last-selected-text): Remove.
6263         (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
6264         New vars.
6265         (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
6266         (gui-select-text-alist, gui-selection-value-alist): Remove.
6267         (x-select-request-type): Move from x-win.el.
6268         (gui--selection-value-internal): New function, taken from x-win's
6269         x-selection-value-internal.
6270         (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
6271         (gui-set-selection-alist): Rename from gui-own-selection-alist and
6272         extend it to handle a nil value as a "disown" request.
6273         (gui-disown-selection-alist): Remove.
6274         (xselect-convert-to-delete): Adjust accordingly.
6275         (gui-set-selection): Simplify accordingly as well.  Use dotimes.
6277         * term/x-win.el (x-last-selected-text-primary)
6278         (x-select-enable-primary): Remove (moved to select.el).
6279         (x-select-request-type): Move to select.el.
6280         (x-selection-value-internal, x--selection-value): Remove functions.
6281         (gui-selection-value, gui-select-text): Remove moethods.
6282         (gui-set-selection): Merge own and disown methods.
6284         * term/w32-win.el (w32--select-text, w32--get-selection-value):
6285         Delete function (move functionality into w32--set-selection and
6286         w32--get-selection).
6287         (gui-select-text, gui-selection-value): Don't define methods.
6288         (w32--set-selection, w32--get-selection, w32--selection-owner-p):
6289         New functions.
6290         (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
6291         Use them.
6292         (gui-selection-exists-p): Adjust to new name of C primitive.
6294         * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
6295         test of gui-select-enable-clipboard, to make it usable as
6296         a gui-get-selection method.
6297         (gui-selection-exists-p): Adjust to new name of C primitive.
6298         (gui-set-selection): Merge own and disown methods.
6299         (gui-select-text, gui-selection-value): Delete methods.
6300         (w16--select-text): Delete function.
6302         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
6303         (ns-selection-value): Remove functions.
6304         (gui-select-text, gui-selection-value): Don't define method any more.
6305         (gui-set-selection): Merge the old own and disown methods.
6306         (gui-selection-exists-p, gui-get-selection): Adjust to new name of
6307         underlying C primitive.
6309         * startup.el (command-line): Adjust now that `gui-method' expects nil
6310         for ttys.
6312         * frame.el (gui-method): Use window-system rather than framep.
6313         (gui-method-declare): The tty case is now nil rather than t.
6314         (make-frame): Adjust accordingly.
6316 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6318         * net/newst-reader.el (newsticker--image-read): Simplify.
6319         (newsticker--icon-read): Use dolist and fix free var error.
6321         * imenu.el (imenu--menubar-keymap): New var.
6322         (imenu-add-to-menubar): Set it to remember the keymap we used.
6323         (imenu-update-menubar): Use it instead of asking lookup-key.
6325         * obsolete/cc-compat.el: Make obsolete (bug#18561).
6327         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
6329         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6330         case (bug#18767).
6332 2014-10-21  Glenn Morris  <rgm@gnu.org>
6334         * Merge in all changes up to version 24.4 release.
6336 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6338         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6339         case (bug#18767).
6341 2014-10-20  Glenn Morris  <rgm@gnu.org>
6343         * Merge in all changes up to 24.4 release.
6345 2014-10-20  Ulf Jasper  <ulf.jasper@web.de>
6347         * net/newst-backend.el
6348         (newsticker--image-download-by-url-callback): Make this function
6349         actually work: Check status properly, then save image.
6351 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6353         * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
6354         `this-event'.
6355         (mouse-drag-line): Unless there's no actual mouse, use the event's
6356         position info.
6358 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6360         * textmodes/css-mode.el (scss-mode): New major-mode.
6361         (css-mode-syntax-table): Use d style comment, to ease the scss case.
6362         (css-ident-re): Allow things like @-moz-keyframes.
6363         (scss--hash-re): New const.
6364         (css--font-lock-keywords): New function, extracted from
6365         css-font-lock-keywords.
6367 2014-10-19  Ulf Jasper  <ulf.jasper@web.de>
6369         * net/newst-backend.el: Require url-parse.
6370         (newsticker--get-news-by-wget): Store feed name as process property.
6371         (newsticker--sentinel): Read feed name from process property.
6372         (newsticker--sentinel-work): Rename argument name to feed-name.
6373         Rename variable imageurl to image-url.  Pick icon url from Atom
6374         1.0 data.  Launch download of feed icon.
6375         (newsticker--get-icon-url-atom-1.0): New.
6376         (newsticker--unxml)
6377         (newsticker--unxml-node)
6378         (newsticker--unxml-attribute): Documentation.
6379         (newsticker--icons-dir): New.
6380         (newsticker--image-get): New arguments FILENAME and DIRECTORY.
6381         Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
6382         (newsticker--image-download-by-wget): New.  Use process properties
6383         for storing informations.
6384         (newsticker--image-sentinel): Read informations from process properties.
6385         (newsticker--image-save)
6386         (newsticker--image-remove)
6387         (newsticker--image-download-by-url)
6388         (newsticker--image-download-by-url-callback): New.
6389         (newsticker-opml-export): Handle url list entries containing a
6390         function instead of an url string.
6392         * net/newst-reader.el (newsticker-html-renderer): Whitespace.
6393         (newsticker--print-extra-elements)
6394         (newsticker--do-print-extra-element):
6395         Documentation (newsticker--image-read): Optionally limit image height.
6396         Use imagemagick if possible.
6397         (newsticker--icon-read): New.
6399         * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
6400         (newsticker--treeview-tree-expand): Use feed icons in treeview.
6401         (newsticker--tree-widget-icon-create): New.  Set the tree widget icon.
6402         (newsticker--tree-widget-leaf-icon): Use feed icon.
6404 2014-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6406         * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
6407         Use help-function-arglist instead.
6409         * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
6410         (eieio--with-scoped-class): Use `declare'.
6411         (eieio-defclass): Remove compatibility code.
6412         (no-method-definition, no-next-method, inconsistent-class-hierarchy)
6413         (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
6415 2014-10-18  Jan Djärv  <jan.h.d@swipnet.se>
6417         * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
6419         * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
6420         replacements to stock names before stock names in a list.
6421         Cdr may be a list, each name is tried in turn until one is found.
6423 2014-10-18  Alan Mackenzie  <acm@muc.de>
6425         Check that a "macro" found near point-min isn't a ## operator.
6426         * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
6427         (c-beginning-of-macro): Use the above new function.  (Bug#18749)
6429 2014-10-18  Teodor Zlatanov  <tzz@lifelogs.com>
6431         * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
6432         correct data to `gnutls-boot' (Bug#18664).
6433         Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
6435 2014-10-18  Michal Nazarewicz  <mina86@mina86.com>
6437         * whitespace.el (whitespace-style, whitespace-big-indent)
6438         (whitespace-big-indent-regexp, whitespace-style-value-list)
6439         (whitespace-toggle-option-alist, whitespace-interactive-char)
6440         (whitespace-toggle-options)
6441         (global-whitespace-toggle-options, whitespace-help-text)
6442         (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
6443         style to `whitespace-mode' to indicate that the line indentation
6444         is too deep.  By default, 32 SPACEs or four TABs are considered
6445         too many but `whitespace-big-indent-regexp' can be configured.
6447 2014-10-17  Michal Nazarewicz  <mina86@mina86.com>
6449         * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
6450         tildify-mode-alist.
6452 2014-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6454         * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
6455         (defclass, defgeneric, defmethod): Add doc-string position.
6456         (with-slots): Require cl-lib.
6458         * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
6459         (list-of): New type.
6460         (eieio--typep): Remove.
6461         (eieio-perform-slot-validation): Use cl-typep instead.
6463         * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
6465         * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
6467 2014-10-16  Alan Mackenzie  <acm@muc.de>
6469         Trigger showing when point is in the "periphery" of a line or just
6470         inside a paren.
6471         * paren.el (show-paren-style, show-paren-delay)
6472         (show-paren-priority, show-paren-ring-bell-on-mismatch):
6473         Remove superfluous :group specifications.
6474         (show-paren-when-point-inside-paren)
6475         (show-paren-when-point-in-periphery): New customizable variables.
6476         (show-paren-highlight-openparen): Make into a defcustom.
6477         (show-paren--unescaped-p, show-paren--categorize-paren)
6478         (show-paren--locate-near-paren): New defuns.
6479         (show-paren--default): Refaactor and trigger on more paren
6480         positions.
6481         (show-paren-function): Small consequential changes.
6483 2014-10-16  Tom Tromey  <tom@tromey.com>
6485         * files.el (auto-mode-alist): Use javascript-mode for .jsm
6486         (bug #18719).
6488 2014-10-16  Eli Zaretskii  <eliz@gnu.org>
6490         * international/characters.el (bracket-type): Force pre-loading of
6491         uni-brackets.el.
6493 2014-10-16  Alan Mackenzie  <acm@muc.de>
6495         * cus-edit.el (custom-command-apply): Specify the return value in
6496         the doc string.
6497         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
6498         custom-command-apply has returned non-nil.
6500 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6502         * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
6503         Remove incorrect handling of eldoc-print-after-edit.
6504         (eldoc-message-commands, eldoc-last-data): Use defvar.
6505         * loadup.el (emacs-lisp/eldoc): Load it.
6507         * progmodes/m4-mode.el (m4-syntax-propertize): New var.
6508         (m4-mode): Use it.
6509         (m4--quoted-p): New function.
6510         (m4-font-lock-keywords): Don't handle #..\n comments any more.
6511         (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
6512         for most special characters.
6514         * progmodes/compile.el (compilation--previous-directory): Simplify.
6515         (compilation-next-error): Ensure the parse before we look at
6516         compilation-message property.
6518 2014-10-15  Eli Zaretskii  <eliz@gnu.org>
6520         * simple.el (what-cursor-position):
6521         * descr-text.el (describe-char): Update to support the new bidi
6522         characters.
6524         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
6525         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
6526         buffer-menu display when the first buffer happens to start with
6527         R2L letter.
6529 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6531         * progmodes/elisp-mode.el (elisp--local-variables-1):
6532         Handle quoted expressions (bug#18688).
6534 2014-10-14  Jérémy Compostella  <jeremy.compostella@intel.com>
6535             Michael Albinus  <michael.albinus@gmx.de>
6537         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6538         Reduce the amount of set environment variable commands.
6540 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6542         Fix import completion.  (Bug#18582)
6543         * progmodes/python.el (python-shell-completion-get-completions):
6544         Fix import case regexp.
6546 2014-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6548         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
6549         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
6550         * progmodes/prolog.el (prolog-electric--underscore): Same.
6552 2014-10-12  Michael Albinus  <michael.albinus@gmx.de>
6554         * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
6556 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
6558         * cus-start.el (all): Add missing ns and boolean to
6559         ns-use-fullscreen-animation.
6561 2014-10-11  Leo Liu  <sdl.web@gmail.com>
6563         * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
6564         Use strings.
6565         (cfengine3-create-imenu-index): New function.
6566         (cfengine3-mode): Use it for `imenu-create-index-function'.
6567         (cfengine-auto-mode): Improve and prefer cfengine3-mode when
6568         buffer is empty.
6570 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
6572         * cus-start.el (all): Add ns-use-fullscreen-animation.
6574 2014-10-11  Glenn Morris  <rgm@gnu.org>
6576         * calendar/diary-lib.el (diary-display-function):
6577         Drop support for deprecated nil and list forms.
6578         (diary-list-entries): Update for the above.
6579         * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
6581 2014-10-10  Leo Liu  <sdl.web@gmail.com>
6583         * window.el (temp-buffer-window-show): Make BUFFER a required arg.
6584         (Bug#18656)
6586 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6588         * select.el (gui-selection-exists-p-alist): New method.
6589         * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
6590         * simple.el (deactivate-mark): Use it.
6591         * term/x-win.el (gui-selection-exists-p):
6592         * term/w32-win.el (gui-selection-exists-p):
6593         * term/pc-win.el (gui-selection-exists-p):
6594         * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
6596 2014-10-10  Glenn Morris  <rgm@gnu.org>
6598         * info.el (Info-fontify-maximum-menu-size): Bump to 400k.  (Bug#16227)
6599         Fix :type.  Allow t to mean no limit.
6600         (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
6602 2014-10-09  Glenn Morris  <rgm@gnu.org>
6604         * frame.el (display-monitor-attributes-list): Doc tweaks.
6606 2014-10-09  Eli Zaretskii  <eliz@gnu.org>
6608         * faces.el (display-grayscale-p): Mention in the doc string that
6609         the argument can be either a display name or a frame.
6611         * frame.el (display-pixel-height, display-pixel-width)
6612         (display-mm-height, display-mm-width, display-backing-store)
6613         (display-save-under, display-planes, display-color-cells)
6614         (display-visual-class, display-monitor-attributes-list)
6615         (display-screens): Mention in the doc string that the argument can
6616         be either a display name or a frame.  Improve the docs of the
6617         monitor attributes.  (Bug#18636)
6619 2014-10-09  Martin Rudalics  <rudalics@gmx.at>
6621         * term.el (term-window-width): Subtract 1 from the width when
6622         any fringe has zero width, not just the right fringe.  (Bug#18601)
6624 2014-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6626         * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
6628 2014-10-08  Leo Liu  <sdl.web@gmail.com>
6630         * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
6632 2014-10-08  Glenn Morris  <rgm@gnu.org>
6634         * calendar/cal-x.el (calendar-dedicate-diary):
6635         Drop support for recently deleted aliases.
6637 2014-10-08  Leo Liu  <sdl.web@gmail.com>
6639         * progmodes/cfengine.el (cfengine3-make-syntax-cache):
6640         Always return a syntax.  Replace call-process-shell-command with
6641         process-file.  Ensure cfengine-mode-syntax-functions-regex is
6642         always set.  Ensure cache when cfengine-cf-promises fails.
6643         (Bug#18620)
6645 2014-10-07  Glenn Morris  <rgm@gnu.org>
6647         * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
6649 2014-10-07  Wilson Snyder  <wsnyder@wsnyder.org>
6651         Sync with upstream verilog-mode revision c075a492.
6652         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6653         (verilog-menu): Add AUTOINSERTLAST.
6654         (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
6655         is nil, fix indenting initial/final to match always statements, bug825.
6656         Reported by Tim Clapp.
6657         (verilog-extended-complete-re): Fix indentation of DPI-C imports,
6658         bug557.  Reported by ZeDong Mao and Jason Forkey.
6659         (verilog-read-decls): Fix parsing typed interfaces.
6660         Fix AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
6661         (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
6662         (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
6663         Reported by Pierre-David Pfister.
6664         (verilog-auto-insert-lisp): Doc fix.
6665         (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
6666         allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
6667         (verilog-sk-ovm-class, verilog-sk-uvm-object)
6668         (verilog-sk-uvm-component): Fix missing string keyword in class
6669         skeletons, bug824.  Reported by eldad faruhi.
6671 2014-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6673         * term/w32-win.el: Move all code from 32-common-fns.el here.
6674         (gui-select-text, gui-selection-value): Use w32 handlers in the w32
6675         console as well (bug#18629).
6676         * w32-common-fns.el: Remove.
6677         * loadup.el: Don't load w32-common-fns.el.
6678         * w32-fns.elc: Don't require w32-common-fns.
6680         * icomplete.el: Move Iswitchb autoload here.  Much simpler.
6681         * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
6682         Remove redundant obsolescence thingy.
6683         * loadup.el: Don't load obsolete/loaddefs.el.
6684         * Makefile.in (obsolete-autoloads): Remove.
6685         (AUTOGENEL): Remove obsolete/loaddefs.el.
6687 2014-10-06  Glenn Morris  <rgm@gnu.org>
6689         * Makefile.in (obsolete-autoloads): Write to a separate file,
6690         to workaround autoloads bug.  (Bug#17407)
6691         (AUTOGENEL): Add obsolete/loaddefs.el.
6692         * loadup.el: Load obsolete/loaddefs.el if present.
6693         * subr.el (do-after-load-evaluation):
6694         Don't warn about obsolete/loaddefs.el.
6696         * menu-bar.el (menu-bar-games-menu): Remove landmark.
6697         It has zero relationship to a game.
6699 2014-10-06  Leo Liu  <sdl.web@gmail.com>
6701         * imenu.el (imenu): Re-write for clarity.
6703 2014-10-06  Glenn Morris  <rgm@gnu.org>
6705         Remove calendar code obsolete since at least version 23.1.
6706         * calendar/cal-bahai.el (calendar-absolute-from-bahai)
6707         (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
6708         (calendar-goto-bahai-date, list-bahai-diary-entries)
6709         (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
6710         (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
6711         (insert-yearly-bahai-diary-entry):
6712         * calendar/cal-china.el (chinese-calendar-time-zone)
6713         (chinese-calendar-location-name)
6714         (chinese-calendar-daylight-time-offset)
6715         (chinese-calendar-standard-time-zone-name)
6716         (chinese-calendar-daylight-time-zone-name)
6717         (chinese-calendar-daylight-savings-starts)
6718         (chinese-calendar-daylight-savings-ends)
6719         (chinese-calendar-daylight-savings-starts-time)
6720         (chinese-calendar-daylight-savings-ends-time)
6721         (chinese-calendar-celestial-stem)
6722         (chinese-calendar-terrestrial-branch)
6723         (calendar-absolute-from-chinese, calendar-print-chinese-date)
6724         (calendar-goto-chinese-date):
6725         * calendar/cal-coptic.el (calendar-absolute-from-coptic)
6726         (calendar-print-coptic-date, coptic-prompt-for-date)
6727         (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6728         (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6729         * calendar/cal-french.el (calendar-absolute-from-french)
6730         (calendar-print-french-date, calendar-goto-french-date):
6731         * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6732         (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6733         (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6734         (holiday-rosh-hashanah-etc, holiday-hanukkah)
6735         (holiday-passover-etc, holiday-tisha-b-av-etc)
6736         (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6737         (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6738         (insert-monthly-hebrew-diary-entry)
6739         (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6740         (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6741         (diary-sabbath-candles):
6742         * calendar/cal-islam.el (calendar-absolute-from-islamic)
6743         (calendar-print-islamic-date, calendar-goto-islamic-date)
6744         (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6745         (mark-islamic-diary-entries, insert-islamic-diary-entry)
6746         (insert-monthly-islamic-diary-entry)
6747         (insert-yearly-islamic-diary-entry):
6748         * calendar/cal-iso.el (calendar-absolute-from-iso)
6749         (calendar-print-iso-date, calendar-iso-read-args)
6750         (calendar-goto-iso-date, calendar-goto-iso-week):
6751         * calendar/cal-julian.el (calendar-absolute-from-julian)
6752         (calendar-print-julian-date, calendar-goto-julian-date)
6753         (calendar-absolute-from-astro, calendar-print-astro-day-number)
6754         (calendar-goto-astro-day-number):
6755         * calendar/cal-mayan.el (calendar-print-mayan-date)
6756         (calendar-next-haab-date, calendar-previous-haab-date)
6757         (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6758         (calendar-next-calendar-round-date)
6759         (calendar-previous-calendar-round-date)
6760         (calendar-absolute-from-mayan-long-count)
6761         (calendar-goto-mayan-long-count-date):
6762         * calendar/cal-move.el (scroll-calendar-left)
6763         (scroll-calendar-right, scroll-calendar-left-three-months)
6764         (scroll-calendar-right-three-months):
6765         * calendar/cal-persia.el (calendar-absolute-from-persian)
6766         (calendar-print-persian-date, persian-prompt-for-date)
6767         (calendar-goto-persian-date):
6768         * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6769         * calendar/calendar.el (view-diary-entries-initially)
6770         (mark-diary-entries-in-calendar, calendar-today-face)
6771         (diary-face, holiday-face, view-calendar-holidays-initially)
6772         (mark-holidays-in-calendar, initial-calendar-window-hook)
6773         (today-visible-calendar-hook, today-invisible-calendar-hook)
6774         (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6775         (bahai-diary-entry-symbol, american-date-diary-pattern)
6776         (european-date-diary-pattern, european-calendar-display-form)
6777         (american-calendar-display-form, holidays-in-diary-buffer)
6778         (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6779         (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6780         (fancy-diary-buffer, increment-calendar-month)
6781         (extract-calendar-month, extract-calendar-day)
6782         (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6783         (mark-visible-calendar-date, calendar-version):
6784         * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6785         (diary-display-hook, list-diary-entries-hook)
6786         (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6787         (nongregorian-diary-marking-hook, print-diary-entries-hook)
6788         (abbreviated-calendar-year, number-of-diary-entries)
6789         (view-other-diary-entries, add-to-diary-list)
6790         (include-other-diary-files, simple-diary-display)
6791         (fancy-diary-display, print-diary-entries, mark-diary-entries)
6792         (mark-sexp-diary-entries, mark-included-diary-files)
6793         (mark-calendar-days-named, mark-calendar-month)
6794         (mark-calendar-date-pattern, sort-diary-entries)
6795         (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6796         (insert-weekly-diary-entry, insert-monthly-diary-entry)
6797         (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6798         (insert-block-diary-entry, insert-cyclic-diary-entry)
6799         (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6800         * calendar/holidays.el (general-holidays, oriental-holidays)
6801         (local-holidays, other-holidays, hebrew-holidays)
6802         (christian-holidays, islamic-holidays, bahai-holidays)
6803         (solar-holidays, list-calendar-holidays)
6804         (check-calendar-holidays, mark-calendar-holidays)
6805         (filter-visible-calendar-holidays):
6806         * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6807         (diary-phases-of-moon): Remove obsolete aliases.
6808         * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6809         * calendar/cal-x.el (calendar-one-frame-setup)
6810         (calendar-only-one-frame-setup, calendar-two-frame-setup):
6811         Remove obsolete functions.
6812         (cal-x-load-hook): Remove obsolete hook.
6813         * calendar/calendar.el (european-calendar-style):
6814         Remove obsolete variable.
6815         (calendar-date-style): No longer consult european-calendar-style.
6816         * calendar/calendar.el (european-calendar, american-calendar):
6817         Remove obsolete commands.
6818         * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6819         * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6820         (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6821         Use the face `diary' instead of the variable `diary-face'.
6822         * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6823         (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6824         * calendar/icalendar.el (icalendar--date-style): Remove function.
6825         Replace all uses with calendar-date-style.
6826         * textmodes/remember.el (calendar-date-style): Declare.
6827         (remember-diary-convert-entry):
6828         No longer consult european-calendar-style.
6830 2014-10-05  Leo Liu  <sdl.web@gmail.com>
6832         * imenu.el (imenu-default-goto-function): Fix typo.
6834 2014-10-04  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
6836         * net/ntlm.el (ntlm-build-auth-request):
6837         Add NTLM2 Session support.  (Bug#15603)
6839 2014-10-04  Glenn Morris  <rgm@gnu.org>
6841         * apropos.el (apropos-symbols-internal):
6842         Avoid error with non-symbol properties.  (Bug#18337#16)
6844         * startup.el (command-line):
6845         Handle altered user-emacs-directory in load-path warning.  (Bug#18512)
6847 2014-10-04  Martin Rudalics  <rudalics@gmx.at>
6849         * window.el (window-full-height-p): Make it behave correctly for
6850         minibuffer window.
6851         (window-current-scroll-bars): Fix code.
6852         (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6853         window-scroll-bars.
6854         * frame.el (frame-current-scroll-bars): Fix doc-string.
6855         * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6857 2014-10-04  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
6859         * files.el (auto-mode-alist): Use sh-mode for .zsh files.  (Bug#18488)
6861 2014-10-04  Glenn Morris  <rgm@gnu.org>
6863         * frame.el (frame-monitor-attributes)
6864         (display-monitor-attributes-list): Doc fixes.
6866 2014-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6868         Merge trivially safe differences from standalone CC-mode.
6869         * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6870         just to then pass it to `symbol-value'.
6871         (prog-mode): Provide fallback definition, if needed.
6872         * progmodes/cc-langs.el: Always load `cl'.  Don't load `cl-lib'.
6873         Remove "cl-" prefix accordingly.
6874         * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6875         characterp depending on the type of characters.
6876         (c-font-lock-enum-tail): Remove unused var `start'.
6877         * progmodes/cc-engine.el: Load CL at compile-time.
6878         (c-declare-lang-variables): Use mapcan.
6879         (c-append-to-state-cache): Remove unused var `ce+1'.
6880         (c-parse-state-state): Make buffer-local.
6881         (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
6882         (c-just-after-func-arglist-p): Remove unused var `end'.
6883         * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
6884         (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
6885         (c-make-keywords-re): Use delete-dups.
6886         (c-get-current-file): Avoid file-name-base.
6887         * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
6888         `close-paren-inserted'.
6889         * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
6891         * progmodes/python.el: Avoid building unneeded markers.
6892         (python-font-lock-keywords, python-indent-dedent-line)
6893         (python-fill-paren, python-shell-completion-complete-or-indent):
6894         Prefer point over point-marker.
6895         (inferior-python-mode): Remove redundant completion settings.
6897 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
6899         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
6900         (vc-svn-ignore): Use it.  (Bug#18619)
6902 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
6904         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
6905         In doc-string mention need to set `frame-resize-pixelwise'.
6907 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6909         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
6910         similarly to Rogers's 2010-06-16 change for the remote case
6911         (bug#18605).
6913 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6915         New gui-selection-value consolidating x-selection-value.
6916         * select.el (gui-selection-value-alist): New method.
6917         (gui-selection-value): New function.
6918         (x-selection-value): Make it an obsolete alias.
6919         * simple.el (interprogram-paste-function): Default to
6920         gui-selection-value.
6921         * w32-common-fns.el (w32-get-selection-value): Simplify.
6922         (x-selection-value): Remove alias.
6923         (interprogram-paste-function): Don't set.
6924         (gui-selection-value): Define for w32.
6925         * term/x-win.el (gui-selection-value): Define for x.
6926         (x--selection-value): Rename from x--selection-value.
6927         (interprogram-paste-function): Don't set.
6928         * term/pc-win.el (w16-get-selection-value): Simplify.
6929         (msdos-initialize-window-system): Don't set
6930         interprogram-paste-function.
6931         (gui-selection-value): Define for pc.
6932         * term/ns-win.el (x-selection-value): Remove.
6933         (gui-selection-value): Define for ns, instead.
6934         * term/common-win.el (x-setup-function-keys): Don't set
6935         interprogram-paste-function.
6936         * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
6937         Use gui-selection-value.
6939 2014-10-02  David Raynes  <rayners@gmail.com>  (tiny change)
6941         * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
6943 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6945         * obsolete/lucid.el (read-number): Remove, redundant.
6946         * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
6947         Remove, broken.
6949 2014-10-02  Glenn Morris  <rgm@gnu.org>
6951         * emacs-lisp/package.el (package-import-keyring):
6952         Create gnupg directory private.  (Bug#17625#155)
6954 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6956         * progmodes/python.el (python-shell-completion-get-completions):
6957         Use python-shell--prompt-calculated-input-regexp from the
6958         process buffer (bug#18582).
6959         Don't assume that `line' comes from the process buffer.
6961 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6963         * frame.el: Use lexical-binding (bug#18598).
6964         (make-frame): Use t rather than nil for tty's window-system.
6965         * startup.el (command-line): Use gui-method.
6967         Consolidate management/ownership of selections.
6968         * select.el (gui-get-selection-alist): New method.
6969         (gui-get-selection): Use it.  Rename from x-get-selection.
6970         (x-get-selection): Define as obsolete alias.
6971         (x-get-clipboard): Mark obsolete.
6972         (gui-get-primary-selection): New function.
6973         (x-get-selection-value): Mark obsolete.
6974         (gui-own-selection-alist, gui-disown-selection-alist)
6975         (gui-selection-owner-p-alist): New methods.
6976         (gui-set-selection): Use them.  Rename from x-set-selection.
6977         (x-set-selection): Define as obsolete alias.
6978         (gui--valid-simple-selection-p): Rename from
6979         x-valid-simple-selection-p.
6980         * w32-common-fns.el (gui-own-selection, gui-disown-selection)
6981         (gui-selection-owner-p, gui-get-selection): Define for w32.
6982         (w32-get-selection-value): Rename from x-get-selection-value.
6983         Use the new gui-last-selected-text.
6984         * term/x-win.el (x-get-selection-value): Remove.
6985         (x-clipboard-yank): Declare obsolete.
6986         (gui-own-selection, gui-disown-selection, gui-get-selection)
6987         (gui-selection-owner-p): Define for x.
6988         * term/w32-win.el (w32-win-suspend-error): Rename from
6989         x-win-suspend-error.
6990         * term/pc-win.el (w16-get-selection-value): Rename from
6991         x-get-selection-value.
6992         (w16-selection-owner-p): Rename from x-selection-owner-p.
6993         (gui-own-selection, gui-disown-selection, gui-get-selection)
6994         (gui-selection-owner-p): Define for pc.
6995         (w16--select-text): New function.
6996         * term/ns-win.el (gui-own-selection, gui-disown-selection)
6997         (gui-get-selection, gui-selection-owner-p): Define for ns.
6998         * term.el (term-mouse-paste):
6999         * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
7001 2014-10-02  H. Dieter Wilhelm  <dieter@duenenhof-wilhelm.de>
7003         * calc/calc-help.el (calc-describe-thing): Quote strings
7004         which could look like regexps.
7006 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7008         Consolidate x-select-text.
7009         * frame.el (gui-method, gui-method-define, gui-method-declare)
7010         (gui-call): New macros.
7011         (gui-method--name): New function.
7012         (frame-creation-function-alist): Use gui-method-declare.
7013         (make-frame): Use gui-method.
7014         * select.el (gui-select-enable-clipboard): Rename from
7015         x-select-enable-clipboard and move here.
7016         (x-select-enable-clipboard): Define as obsolete alias.
7017         (gui-last-selected-text): New var, to replace x-last-selected-text.
7018         (gui-select-text): New GUI method.
7019         (gui-select-text): New function.
7020         (x-select-text): Define as obsolete alias.
7021         * term/common-win.el (x-select-enable-clipboard, x-select-text):
7022         Move to select.el.
7023         * simple.el (interprogram-cut-function): Change default to
7024         x-select-text.
7025         (interprogram-paste-function): Change default to `ignore'.
7026         * w32-common-fns.el (interprogram-cut-function): Don't modify.
7027         * term/x-win.el (interprogram-cut-function): Don't modify.
7028         (gui-select-text): Add method for x.
7029         * term/w32-win.el (gui-select-text): Add method for w32.
7030         * term/pc-win.el (x-last-selected-text): Remove, use
7031         gui-last-selected-text instead.
7032         (msdos-initialize-window-system): Don't set interprogram-cut-function.
7033         (gui-select-text): Add method for pc.
7034         * term/ns-win.el (ns-last-selected-text): Remove, use
7035         gui-last-selected-text instead.
7036         (gui-select-text): Add method for ns.
7037         (x-setup-function-keys): Don't change interprogram-cut-function.
7038         * loadup.el ("startup"): Load after "frame".
7039         * subr.el (package--builtin-versions, package--description-file):
7040         Move from startup.el.
7041         * startup.el (package--builtin-versions, package--description-file):
7042         Move to subr.el.
7043         (handle-args-function-alist, window-system-initialization-alist):
7044         Use gui-method-declare.
7045         (command-line): Use gui-method.
7047 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7049         * subr.el (alist-get): New accessor.
7050         * emacs-lisp/gv.el (alist-get): Provide expander.
7051         * winner.el (winner-remember):
7052         * tempo.el (tempo-use-tag-list):
7053         * progmodes/gud.el (minor-mode-map-alist):
7054         * international/mule-cmds.el (define-char-code-property):
7055         * frameset.el (frameset-filter-params):
7056         * files.el (dir-locals-set-class-variables):
7057         * register.el (get-register, set-register):
7058         * calc/calc-yank.el (calc-set-register): Use it.
7059         * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
7060         * tooltip.el (tooltip-set-param): Mark as obsolete.
7061         (tooltip-show): Use alist-get instead.
7062         * ses.el (ses--alist-get): Remove.  Use alist-get instead.
7064 2014-10-01  Ulf Jasper  <ulf.jasper@web.de>
7066         * net/newst-backend.el: Remove Time-stamp.  Rename variable
7067         `newsticker--download-logos' to `newsticker-download-logos' and
7068         make it customizable.
7069         (newsticker--sentinel-work): Move xml-workarounds to function
7070         `newsticker--do-xml-workarounds', call unless libxml-parser is
7071         used.  Allow single quote in regexp for encoding.
7072         Use libxml-parser if available, else fall back to `xml-parse-region'.
7073         Take care of possibly missing namespace prefixes (like "RDF"
7074         instead of "rdf:RDF") when checking xml nodes and attributes (as
7075         libxml correctly removes the prefixes).  Always use Atom 1.0 as
7076         fallback feed type.  Rename `newsticker--download-logos' to
7077         `newsticker-download-logos'
7078         (newsticker--unxml, newsticker--unxml-node)
7079         (newsticker--unxml-attribute): New.
7080         (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
7081         HTML code has become part of the xml parse tree.
7082         (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
7083         of possibly missing namespace prefixes.
7084         (newsticker--parse-generic-items): Code formatting.  Typo.
7085         (newsticker--images-dir): Add trailing slash.
7086         (newsticker--image-get): Fix error message.
7088         * net/newst-plainview.el: Remove Time-stamp.
7090         * net/newst-reader.el: Remove Time-stamp.
7091         (newsticker-download-logos): Rename variable
7092         `newsticker--download-logos' to `newsticker-download-logos' and
7093         make it customizable.
7094         (newsticker--print-extra-elements): Add optional parameter
7095         'htmlish for using html markup.  Amend list of ignored elements.
7096         (newsticker--do-print-extra-element): Add parameter 'htmlish for
7097         using html markup.
7099         * net/newst-ticker.el: Remove Time-stamp.
7101         * net/newst-treeview.el (newsticker--treeview-item-show): Use html
7102         for formatting extra elements.
7104         * net/newsticker.el:  Remove Time-stamp, Version.
7105         (newsticker-version): Make obsolete.
7107 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
7109         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
7110         (bug#18462).
7112 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7114         * emacs-lisp/package.el (package-check-signature): Default to nil if
7115         GPG is not available.
7116         (package-refresh-contents): Don't mess with the keyring if we won't
7117         check the signatures anyway.
7119 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7121         * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
7122         (ses-center, ses-center-span): Use them.
7123         (ses-print-cell): Bind them while calling the printer.
7124         (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
7125         (ses-dorange): Revert last change.
7126         (ses-calculate-cell): Don't bind row&col dynamically while evaluating
7127         the formula.
7128         (ses-set-cell): Avoid `eval'.
7129         (ses--time-check): Rename it from ses-time-check and turn it into
7130         a macro.
7132         * ses.el (ses-setup): Don't assume modifying the iteration var of
7133         dotimes affects the iteration (bug#18191).
7135 2014-09-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7137         * ses.el (ses-calculate-cell): Bind row and col dynamically to
7138         their values with 'cl-progv'.
7139         (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
7140         their values with 'cl-progv', also use non-interned symbols for
7141         row, minrow, maxrow, mincol and maxcol.
7142         (maxrow maxcol): New defvar, to make the compiler happy.
7144 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7146         * minibuffer.el (completion-at-point): Emit warning for ill-behaved
7147         completion functions.
7149 2014-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7151         * ses.el (ses--letref): Quote value before it gets re-evaluated.
7153 2014-09-28  Thien-Thi Nguyen  <ttn@gnu.org>
7155         Font-lock `cl-flet*', too.
7156         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
7157         Add "flet*" to intermediate var `cl-lib-kw'.
7159 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7161         * epg-config.el (epg-gpg-program): Use the plain program names rather
7162         than their absolute file name.
7164         * subr.el (track-mouse): New macro.
7165         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7166         Remove track-mouse case.
7167         * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
7169 2014-09-27  Leo Liu  <sdl.web@gmail.com>
7171         * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
7173         * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
7175 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7177         * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
7178         Handle the case where `match' is :pcase--succeed or :pcase--fail
7179         (bug#18554).
7181         Introduce global-eldoc-mode.  Move Elisp-specific code to elisp-mode.el.
7182         * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
7183         (eldoc-schedule-timer): Obey it.
7184         (eldoc-documentation-function): Default to nil.
7185         (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
7186         (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
7187         (eldoc-highlight-function-argument, eldoc-get-var-docstring)
7188         (eldoc-last-data-store, eldoc-docstring-first-line)
7189         (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
7190         (eldoc-beginning-of-sexp, eldoc-current-symbol)
7191         (eldoc-function-argstring): Move to elisp-mode.el.
7192         (eldoc-symbol-function): Remove, unused.
7193         * progmodes/elisp-mode.el: New file.  Rename all "eldoc-*" to "elisp--*".
7194         (elisp-completion-at-point): Rename from lisp-completion-at-point.
7195         (elisp--preceding-sexp): Rename from preceding-sexp.
7196         * loadup.el: Load new file progmodes/elisp-mode.
7197         * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
7198         * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
7199         (lisp--local-variables-completion-table, lisp--expect-function-p)
7200         (lisp--form-quoted-p, lisp--company-doc-buffer)
7201         (lisp--company-doc-string, lisp--company-location)
7202         (lisp-completion-at-point): Move to elisp-mode.el.
7203         * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
7204         extracted from emacs-lisp-mode-syntax-table.
7205         (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
7206         elisp-mode.el.
7207         (lisp-imenu-generic-expression): Add comments to document what comes
7208         from which Lisp dialect.
7209         (emacs-lisp-mode-map, emacs-lisp-byte-compile)
7210         (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
7211         (emacs-lisp-mode, emacs-list-byte-code-comment-re)
7212         (emacs-lisp-byte-code-comment)
7213         (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
7214         (lisp-interaction-mode-map, lisp-interaction-mode)
7215         (eval-print-last-sexp, last-sexp-setup-props)
7216         (last-sexp-toggle-display, prin1-char, preceding-sexp)
7217         (eval-last-sexp-1, eval-last-sexp-print-value)
7218         (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
7219         (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
7221 2014-09-26  Paul Eggert  <eggert@cs.ucla.edu>
7223         * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
7224         Do not match file names that end in '/', as they cannot be 'grep'
7225         hits nowadays.  This prevents confusion when 'grep -r' reports a
7226         match in a file whose basename is ':12345:'.  Conversely, do not
7227         require exactly the same sequence of spaces and tabs after both
7228         colons, and allow spaces or tabs before the second colon, as per
7229         the POSIX spec for 'grep' output.
7231 2014-09-26  Leo Liu  <sdl.web@gmail.com>
7233         Add cl-parse-integer based on parse-integer (Bug#18557)
7234         * calendar/parse-time.el (parse-time-digits): Remove.
7235         (digit-char-p, parse-integer) Moved to cl-lib.el.
7236         (parse-time-tokenize, parse-time-rules, parse-time-string):
7237         Use cl-parse-integer.
7239         * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
7241         * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
7242         (cl-digit-char-p): New function.
7244 2014-09-25  Juri Linkov  <juri@jurta.org>
7246         * vc/add-log.el (change-log-next-buffer): Don't create an empty
7247         buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
7248         Return the current buffer if no files match the default pattern
7249         ChangeLog.[0-9].  Signal "end of multi" when file is nil.  (Bug#18547)
7251 2014-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7253         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
7254         the global vc-handled-backends (bug#18535).
7256 2014-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7258         * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
7259         Suggested by <lompik@voila.fr>.
7261 2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
7263         * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
7264         Rename from `newsticker--treeview-do-get-node'.
7265         (newsticker--treeview-get-node-by-id):
7266         Rename from `newsticker--treeview-get-node'.
7267         (newsticker--treeview-buffer-init)
7268         (newsticker--treeview-buffer-init): Disable buffer undo.
7269         (newsticker--treeview-unfold-node): Adapt to modified
7270         `newsticker--group-find-parent-group'.
7271         (newsticker--group-do-find-group):
7272         Rename from `newsticker--group-do-find-group-for-feed'.
7273         Now works for both, groups and feeds.
7274         (newsticker--group-find-parent-group):
7275         Rename from `newsticker--group-find-group-for-feed'.
7276         Now works for both, groups and feeds.
7277         (newsticker--group-do-get-parent-group)
7278         (newsticker--group-get-parent-group): Remove.
7279         (newsticker-group-add-group): Change interactive prompts.
7280         (newsticker-group-add-group): Finally jump to added group.
7281         (newsticker-group-delete-group): Finally jump to current feed.
7282         (newsticker--group-do-rename-group, newsticker-group-rename-group)
7283         (newsticker--get-group-names, newsticker--group-names): New.
7284         (newsticker-group-move-feed): Finally jump to moved feed.
7285         (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
7286         (newsticker-group-shift-group-down)
7287         (newsticker-group-shift-group-up, newsticker--group-shift): New.
7288         (newsticker-treeview-mode-map): New keybindings for new shift commands.
7290         * net/newst-backend.el (newsticker--item-list)
7291         (newsticker--item-position, newsticker--prev-message)
7292         (newsticker--scrollable-text): Move to newst-ticker.el.
7294         * net/newst-ticker.el (newsticker--item-list)
7295         (newsticker--item-position, newsticker--prev-message)
7296         (newsticker--scrollable-text): Move from newst-backend.el.
7298 2014-09-22  Kan-Ru Chen  <kanru@kanru.info>
7300         * window.el (fit-window-to-buffer): When counting buffer width,
7301         count the whole visible buffer.  Correctly convert the body-height
7302         to pixel size for window-text-pixel-size (Bug#18498).
7304 2014-09-22  Sam Steingold  <sds@gnu.org>
7306         * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
7307         (sql-execute): Use `special-mode'.
7309 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7311         Add pcase-defmacro, as well as `quote' and `app' patterns.
7312         * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
7313         * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
7314         (pcase--funcall, pcase--eval): New functions.
7315         (pcase--u1): Use them for guard, pred, let, and app.
7316         (\`): Use the new feature to generate better code for vector patterns.
7317         * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
7318         (pcase--upat): Remove.
7319         (pcase--macroexpand): Don't hardcode handling of `.
7320         (pcase--split-consp, pcase--split-vector): Remove.
7321         (pcase--split-equal): Disregard ` since it's expanded away.
7322         (pcase--split-member): Optimize for quote rather than for `.
7323         (pcase--split-pred): Optimize for quote rather than for `.
7324         (pcase--u1): Remove handling of ` (and of `or' and `and').
7325         Quote non-selfquoting values when passing them to `eq'.
7326         Drop `app's let-binding if the variable is not used.
7327         (pcase--q1): Remove.
7328         (`): Define as a pattern macro.
7329         * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
7330         (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
7331         (pcase--macroexpand): Handle self-quoting patterns here, expand them to
7332         quote patterns.
7333         (pcase--split-match): Don't hoist or/and here any more.
7334         (pcase--split-equal): Optimize quote patterns as well as ` patterns.
7335         (pcase--flip): New helper macro.
7336         (pcase--u1): Optimize the memq case directly.
7337         Don't handle neither self-quoting nor and/or patterns any more.
7338         * emacs-lisp/pcase.el (pcase-defmacro): New macro.
7339         (pcase--macroexpand): New function.
7340         (pcase--expand): Use it.
7341         * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
7342         New optimization functions.
7343         (pcase--u1): Add support for `quote' and `app'.
7344         (pcase): Document them in the docstring.
7346 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7348         Use lexical-bindin in Ibuffer.
7349         * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
7350         (ibuffer-compile-format): Simplify.
7351         (ibuffer-clear-summary-columns): Simplify.
7352         * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
7353         elem of dotimes when we don't refer to the iteration var from it.
7354         (ibuffer-toggle-sorting-mode): Avoid add-to-list.
7355         * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
7356         Silence byte-compiler.
7358 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7360         * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
7361         expression for a list.
7363         * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
7364         for functions with no arguments.
7366         * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
7367         (mpc-volume-refresh): Make sure the corresponding header-line is updated.
7369 2014-09-17  Tom Willemse  <tom@ryuslash.org>  (tiny change)
7371         * simple.el (clone-indirect-buffer): Mention the return value
7372         (bug#18478).
7374         * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
7375         Text mode in docstring (bug#18464).
7377 2014-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7379         * progmodes/perl-mode.el (perl-syntax-propertize-function):
7380         Accept underscores in identifiers after "sub" (bug#18502).
7382 2014-09-21  Tassilo Horn  <tsdh@gnu.org>
7384         * textmodes/reftex-sel.el (reftex-select-label-mode)
7385         (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
7386         from special-mode (instead of fundamental-mode) and propertize
7387         with font-lock-face instead of just face.  (Bug#18496)
7389         * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
7391 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
7393         * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
7394         `table-etc' when `end' is non-nil.
7395         (lisp-completion-at-point): Move `end' back if it's after quote.
7396         If in comment or string, only complete when after backquote.
7397         (Bug#18265)
7398         (lisp-completion-at-point): Don't use
7399         `lisp--local-variables-completion-table' in the
7400         `lisp--form-quoted-p' case.
7402 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
7404         * emacs-lisp/lisp.el (lisp--expect-function-p)
7405         (lisp--form-quoted-p): New functions.
7406         (lisp-completion-at-point): Use them to see if we're completing a
7407         variable reference, a function name, or just any symbol.
7408         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
7410 2014-09-18  Ivan Kanis  <ivan@kanis.fr>
7412         * net/shr.el, net/eww.el: Don't override `shr-width', but
7413         introduce a new variable `shr-internal-width'.  This allows users
7414         to specify a width themselves.
7416 2014-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7418         * image-mode.el (image-toggle-display-image): If we have a
7419         `fit-width' or a `fit-height', don't limit the size of the image
7420         to the window size, because that doesn't preserve the aspect ratio.
7421         * image-mode.el: Move defvars earlier to avoid a byte-compilation
7422         warning.
7424 2014-09-17  Reuben Thomas  <rrt@sc3d.org>
7426         * progmodes/js.el: Add interpreter-mode-alist support for various
7427         JavaScript interpreters.
7429 2014-09-17  Paul Eggert  <eggert@cs.ucla.edu>
7431         Don't assume 'grep' supports GREP_OPTIONS.
7432         The GREP_OPTIONS environment variable is planned to be marked
7433         obsolescent in GNU grep, due to problems in its use, so stop
7434         relying on it.
7435         * progmodes/grep.el (grep-highlight-matches): Document this.
7436         (grep-process-setup): Do not set GREP_OPTIONS.
7437         (grep-compute-defaults): Use an explicit --color option if supported.
7439 2014-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7441         * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
7442         Don't add outdated key-shortcut cache (bug#18482).
7444 2014-09-15  Glenn Morris  <rgm@gnu.org>
7446         * image.el (image-multi-frame-p): Fix thinko - do not force
7447         a delay if none was specified.  (Bug#18334)
7449 2014-09-15  Kan-Ru Chen  <kanru@kanru.info>
7451         * window.el (fit-window-to-buffer): Doc fix.
7453 2014-09-15  Ivan Shmakov  <ivan@siamics.net>
7455         * desktop.el (desktop-create-buffer): Check that buffers are still live
7456         before burying them (bug#18373).
7458 2014-09-15  Glenn Morris  <rgm@gnu.org>
7460         * calendar/diary-lib.el (diary-list-entries):
7461         Restore 24.3 display behavior.  (Bug#18381)
7463 2014-09-15  Eli Zaretskii  <eliz@gnu.org>
7465         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
7466         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
7467         discrepancy between window-pixel-edges and mouse events, and
7468         avoids moving mode line up when the mouse click is on the modeline
7469         and no drag is attempted.
7471 2014-09-14  Daniel Colascione  <dancol@dancol.org>
7473         * register.el (insert-register): Change default interactive
7474         insertion mode.
7476 2014-09-14  Michael Albinus  <michael.albinus@gmx.de>
7478         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
7479         Suppress debug messages.
7481         * net/tramp.el (tramp-file-name-handler):
7482         * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
7483         appropriate.
7485 2014-09-13  Christopher Schmidt  <ch@ristopher.com>
7487         * calendar/calendar.el (calendar-update-mode-line):
7488         Do not overwrite mode-line-format if calendar-mode-line-format is
7489         nil.  (Bug#18467)
7491 2014-09-13  Leo Liu  <sdl.web@gmail.com>
7493         * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
7494         (pcase--expand): Use it.
7495         (pcase-exhaustive): New macro.  (Bug#16567)
7497         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
7498         Add pcase-exhaustive.
7500 2014-09-13  Eli Zaretskii  <eliz@gnu.org>
7502         * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
7503         using the specified transfer-encoding, if any, or 'undecided'.
7504         (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
7505         broken at the window margin.
7507 2013-12-27  Ken Olum  <kdo@cosmos.phy.tufts.edu>
7509         Support rendering of HTML parts in Rmail (bug#4258).
7510         * mail/rmailmm.el (rmail-mime-process): Handle text/html
7511         separately from other text/ types.  Suppress tagline for
7512         multipart body.
7513         (rmail-mime-parse): Don't change visibility of tagline here.
7514         (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
7515         Handle text/html specially.
7516         (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
7517         (rmail-mime-insert-html, rmail-mime-render-html-shr)
7518         (rmail-mime-render-html-lynx): New functions.
7519         (rmail-mime-fix-inserted-faces): New function.
7520         (rmail-mime-process-multipart): Find the best part to show
7521         following rmail-mime-prefer-html if set.
7522         (rmail-mime-searching): New variable.
7523         (rmail-search-mime-message): Bind rmail-mime-searching to
7524         suppress rendering while searching.
7526 2014-09-12  Sam Steingold  <sds@gnu.org>
7528         * progmodes/sql.el (sql-product-alist): Add vertica.
7529         (sql-vertica-program, sql-vertica-options)
7530         (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
7531         New functions and variables to support Vertica.
7532         Inspired by code by Roman Scherer <roman@burningswell.com>.
7534 2014-09-11  Paul Eggert  <eggert@cs.ucla.edu>
7536         * ses.el (ses-file-format-extend-parameter-list): Rename from
7537         ses-file-format-extend-paramter-list, to correct a misspelling.
7538         All uses changed.
7540 2014-09-10  Alan Mackenzie  <acm@muc.de>
7542         CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
7543         gets loaded at run-time).
7544         * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
7545         c-lang-const to c-make-no-parens-syntax-table and correct the
7546         logic.
7547         (c-no-parens-syntax-table): Correct the logic of the
7548         c-lang-defvar.
7550 2014-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7552         CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
7553         plus misc cleanup.
7554         * progmodes/cc-mode.el (c-basic-common-init):
7555         Set open-paren-in-column-0-is-defun-start.
7556         (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
7557         Remove declarations, unused.
7558         (run-mode-hooks): Remove declaration.
7559         (font-lock-defaults): Use plain `defvar' to declare.
7560         (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
7561         * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
7562         (c-make-mode-syntax-table): Don't micro-optimize.
7563         (c-keywords, c-keyword-member-alist): Simplify.
7564         (c-kwds-lang-consts): Don't eval at compile-time.
7565         (c-primary-expr-regexp): Comment out unused vars.
7566         * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
7567         (c-font-byte-compile): New var.
7568         (c--compile): New function.  Use it instead of `byte-compile'.
7569         (c-cpp-matchers): Quote the value returned by
7570         `c-make-syntactic-matcher' in case it's not self-evaluating.
7571         (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
7572         parentheses instead (in case MATCHER happens to be a list).
7573         (c-font-lock-enum-tail): Remove unused var `start'.
7574         (c-font-lock-objc-methods): Silence byte-compiler warnings.
7575         * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
7576         test into an argument.
7577         * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
7578         (c-get-char-property): Don't use `eval' just to unquote a constant.
7579         (c-use-extents): Remove.  Use (featurep 'xemacs), compiled
7580         more efficiently.
7581         (c-put-char-property-fun): Don't call `byte-compile' by hand.
7582         (c-clear-char-property, c-clear-char-properties): Check that `property'
7583         is a quoted constant.
7584         (c-emacs-features): Remove `infodock', `syntax-properties', and
7585         `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
7586         'xemacs) instead).  Use `with-temp-buffer' and let-bind vars after
7587         changing buffer, so we don't have to setq them again afterwards.
7588         (c-lang-const): Remove redundant symbolp assertions.
7589         (c-find-assignment-for-mode): Use `or'.
7590         * Makefile.in (compile-one-process): Remove cc-mode dependency.
7592 2014-09-09  Sam Steingold  <sds@gnu.org>
7594         * progmodes/sql.el (sql-default-directory): Fix type annotation.
7596 2014-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7598         * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
7599         Change doc comments into docstrings.
7600         * Makefile.in: Remove cc-awk dependency.
7602 2014-09-08  Sam Steingold  <sds@gnu.org>
7604         * progmodes/sql.el (sql-send-line-and-next): New command,
7605         bound to C-c C-n.
7606         (sql-show-sqli-buffer): Display the buffer instead of its name and
7607         bind the command to C-c C-z.
7608         (sql-default-directory): New user option.
7609         (sql-product-interactive): Bind `default-directory' to it to
7610         enable remote connections using Tramp.
7611         (sql-set-sqli-buffer): Call `sql-product-interactive' when no
7612         suitable buffer is available.
7614 2014-09-08  Glenn Morris  <rgm@gnu.org>
7616         * calendar/calendar.el (calendar-basic-setup):
7617         Fix calendar-view-holidays-initially-flag and fancy display.
7618         * calendar/diary-lib.el (diary-live-p): Doc fix.
7620         * calendar/calendar.el (calendar-basic-setup):
7621         Avoid clobbering calendar with diary.  (Bug#18381)
7623 2014-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7625         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
7627 2014-09-08  Lars Ljung  <lars@matholka.se>  (tiny change)
7629         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
7630         as well (bug#18400).
7632 2014-09-08  Eli Zaretskii  <eliz@gnu.org>
7634         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
7636 2014-09-06  Leo Liu  <sdl.web@gmail.com>
7638         * emacs-lisp/pcase.el (pcase): Doc fix.
7639         (pcase--split-vector): New function.
7640         (pcase--q1): Support vector qpattern.  (Bug#18327)
7642 2014-09-05  Sam Steingold  <sds@gnu.org>
7644         * textmodes/tex-mode.el (tex-print-file-extension): New user
7645         option.
7646         (tex-print): Use it instead of the hard-coded string.
7648 2014-09-05  Michael Albinus  <michael.albinus@gmx.de>
7650         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7651         Expand `default-directory'.
7653 2014-09-05  Martin Rudalics  <rudalics@gmx.at>
7655         * scroll-bar.el (horizontal-scroll-bars-available-p):
7656         New function.
7657         (horizontal-scroll-bar-mode): Rewrite using
7658         horizontal-scroll-bars-available-p.
7659         * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
7660         horizontal-scroll-bars-available-p.
7662 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7664         * subr.el (call-process-shell-command, process-file-shell-command):
7665         Make the `args' obsolete (bug#18409).
7666         (start-process-shell-command, start-file-process-shell-command):
7667         Use `declare'.
7669 2014-09-05  Jay Belanger  <jay.p.belanger@gmail.com>
7671         * calc/calc-forms.el (math-normalize-hms): Do a better check for
7672         "negative" hms forms.
7674 2014-09-04  Rasmus Pank Roulund  <emacs@pank.eu>
7676         * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
7677         returns nil (bug#18391).
7679 2014-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7681         * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
7682         terminating paren (bug#18352).
7683         (eldoc-last-data-store): Return cached data.
7684         (eldoc-get-var-docstring): Avoid setq.
7685         (eldoc-get-fnsym-args-string): Clarify data flow.
7687 2014-09-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7689         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
7690         case where we're currently providing part of the &rest arg after some
7691         &key args, as in define-ibuffer-op (bug#18048).
7693 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7695         * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
7696         buffer-local setting of which-func-mode.
7697         (which-func-mode): Use defvar-local.
7698         (which-function-mode): Don't reset which-func-mode in each buffer since
7699         it might have been set by someone else.
7700         (which-func-update-ediff-windows): Check which-function-mode.
7702 2014-09-03  Martin Rudalics  <rudalics@gmx.at>
7704         * frame.el (frame-initialize): Remove horizontal-scroll-bars
7705         from frame-initial-frame-alist.
7706         * scroll-bar.el (previous-horizontal-scroll-bar-mode)
7707         (horizontal-scroll-bar-mode-explicit)
7708         (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
7709         (toggle-horizontal-scroll-bar): Remove.
7710         (horizontal-scroll-bar-mode): Remove defcustom.
7711         (horizontal-scroll-bar-mode): Fix doc-string.
7712         (scroll-bar-toolkit-scroll)
7713         (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
7715 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7717         * emacs-lisp/package.el (package-generate-description-file):
7718         Properly quote the arguments (bug#18332).  Change second arg.
7719         (package--alist-to-plist-args): Rename from package--alist-to-plist and
7720         quote the elements.
7721         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
7722         the *-pkg.el file.  Adjust to new calling convention of
7723         package-generate-description-file.
7725         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
7726         (gud-gdb-completions): Remove obsolete workaround.
7728 2014-09-03  Eli Zaretskii  <eliz@gnu.org>
7730         * subr.el (posn-col-row): Revert the change from commit
7731         2010-11-13T21:07:58Z!eliz@gnu.org, which
7732         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7733         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7734         introduced an off-by-one error in the reported row when there is a
7735         header line.  (Bug#18384)
7737 2014-09-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7739         * progmodes/python.el (python-indent-post-self-insert-function):
7740         Avoid electric colon at beginning-of-defun.  (Bug#18228)
7742 2014-09-03  Glenn Morris  <rgm@gnu.org>
7744         * tutorial.el (tutorial--display-changes):
7745         Fix 2014-08-01 change.  (Bug#18382)
7747 2014-09-03  Ken Brown  <kbrown@cornell.edu>
7749         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7750         the Cygwin-w32 build.  (Bug#18347)
7752 2014-09-03  Glenn Morris  <rgm@gnu.org>
7754         * tar-mode.el (tar--extract, tar-extract):
7755         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
7757 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7759         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7760         handle multiline elements (bug#18380).
7762 2014-09-01  Eli Zaretskii  <eliz@gnu.org>
7764         * ls-lisp.el (ls-lisp-use-string-collate)
7765         (ls-lisp-UCA-like-collation): New defcustoms.
7766         (ls-lisp-string-lessp): Use them to control sorting by file
7767         names.  (Bug#18051)
7768         (ls-lisp-version-lessp): New function.
7769         (ls-lisp-handle-switches): Use it to implement the -v switch of
7770         GNU ls.
7771         (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7773 2014-08-31  Christoph Scholtes  <cschol2112@gmail.com>
7775         * ibuffer.el: Replace mode-specific quit function with
7776         `quit-window' via `special-mode'.
7777         (ibuffer-mode-map): Use keybindings from special-mode-map instead
7778         of local overrides.
7779         (ibuffer): Don't store previous windows configuration.
7780         Let `quit-window' handle restoring.
7781         (ibuffer-quit): Remove function.  Use `quit-window' instead.
7782         (ibuffer-restore-window-config-on-quit): Remove variable.
7783         (ibuffer-prev-window-config): Remove variable.
7785 2014-08-29  Michael Heerdegen  <michael_heerdegen@web.de>
7787         * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7788         name instead of variable name in hook docstring.  (Bug#18349)
7790 2014-08-29  Martin Rudalics  <rudalics@gmx.at>
7792         * window.el (display-buffer-at-bottom): Prefer bottom-left
7793         window to other bottom windows.  Reuse a bottom window if it
7794         shows the buffer already.  Suggested by Juri Linkov
7795         <juri@jurta.org> in discussion of (Bug#18181).
7797 2014-08-29  Leo Liu  <sdl.web@gmail.com>
7799         * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7800         append to minibuffer-setup-hook.  (Bug#18341)
7802 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7804         * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7805         byte-compiler.
7806         (lookup-syntax-properties): Silence byte-compiler.
7807         (c-lang-defconst): Quote the code with `lambda' rather than with
7808         `quote'.
7809         (c-lang-const): Avoid unneeded setq.
7810         (c-lang-constants-under-evaluation): Add docstring.
7811         (c-lang--novalue): New constant.
7812         (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7813         (c-get-lang-constant): Same here.
7814         Get the mode's value using `funcall' now that the code is quoted
7815         with `lambda'.
7817 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
7819         * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7820         (Bug#18326)
7822 2014-08-28  Martin Rudalics  <rudalics@gmx.at>
7824         * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7825         interpretation of `portion-whole'.
7827 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
7829         * net/tramp-adb.el: Spell author name correctly.
7831 2014-08-28  João Távora  <joaotavora@gmail.com>
7833         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7834         use url-expand-file-name.  (Bug#18310)
7836 2014-08-28  Glenn Morris  <rgm@gnu.org>
7838         * emulation/cua-rect.el (cua--highlight-rectangle):
7839         Avoid error at point-min.  (Bug#18309)
7841 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7843         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7844         executable-find (bug#18244).
7846         * simple.el (self-insert-uses-region-functions): Defvar.
7848 2014-08-28  Glenn Morris  <rgm@gnu.org>
7850         * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7852 2014-08-27  Dmitry Antipov  <dmantipov@yandex.ru>
7854         * startup.el (normal-top-level): Now use internal--top-level-message.
7856 2014-08-26  Dmitry Antipov  <dmantipov@yandex.ru>
7858         * startup.el (normal-top-level): Use top-level-message.
7860 2014-08-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7862         * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7863         URLs containing spaces and the like.
7865 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
7867         * subr.el (remq): Fix docstring (Bug#18253).
7869 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
7871         * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7873 2014-08-24  Alan Mackenzie  <acm@muc.de>
7875         Handle C++11's "auto" and "decltype" constructions.
7876         * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7877         and return 'decltype.
7878         (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7879         prev-kwd-sym, new-style-auto.  Enhance to handle the new "auto"
7880         keyword.
7881         * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
7882         "decltype" keyword.
7883         (c-font-lock-c++-new): Handle "decltype" constructions.
7884         * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
7885         New c-lang-defconsts/defvars.
7886         (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
7887         (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
7888         (c-typeless-decl-kwds): Append "auto" onto the C++ value.
7889         (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
7891         Make ">>" act as double template ender in C++ Mode.  (Bug#11386)
7892         * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
7893         off from c->-op-cont-re.
7894         (c->-op-cont-tokens): Change to use the above.
7895         (c->-op-without->-cont-regexp): New lang-const.
7896         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7897         Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
7900 2014-08-23  Alan Mackenzie  <acm@muc.de>
7902         * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
7903         loop, bug #18306.  The bug was introduced on 2014-08-02.
7905 2014-08-21  Eli Zaretskii  <eliz@gnu.org>
7907         * textmodes/texnfo-upd.el (texinfo-specific-section-type):
7908         Don't recognize a Top node if there are other sectioning commands
7909         earlier in the Texinfo file.  This fixes a bug in
7910         texinfo-make-menu and avoids inflooping in
7911         texinfo-all-menus-update when they are invoked on texinfo.texi.
7913 2014-08-21  Martin Rudalics  <rudalics@gmx.at>
7915         * window.el (window--side-window-p): New function.
7916         (split-window, window-splittable-p): Use window--side-window-p to
7917         determine whether WINDOW can be split (Bug#18304).
7918         * calendar/calendar.el (calendar-basic-setup): Fix one call of
7919         `window-splittable-p' and add another (Bug#18304).
7921 2014-08-20  Sam Steingold  <sds@gnu.org>
7923         * progmodes/python.el (python-new-pythonpath): Extract from
7924         `python-shell-calculate-process-environment'.
7926 2014-08-18  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7928         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
7929         for &key args (bug#18048).
7931 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7933         * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
7934         (eldoc-function-argstring-format): Remove.
7935         (eldoc-function-argstring): Always return upcase args.
7936         Use help-make-usage.  Don't add parens.
7937         (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
7938         it's too late to do it right (bug#18048).
7940 2014-08-18  Eli Zaretskii  <eliz@gnu.org>
7942         * scroll-bar.el (scroll-bar-horizontal-drag-1)
7943         (scroll-bar-toolkit-horizontal-scroll): When determining the
7944         paragraph direction, use the buffer of the window designated in
7945         the event.
7947 2014-08-16  Andreas Schwab  <schwab@linux-m68k.org>
7949         * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
7950         context of unified diff.
7952 2014-08-16  Paul Eggert  <eggert@cs.ucla.edu>
7954         Add dependencies to fix loaddefs race during parallel builds.
7955         Without this, for example, 'make -j bootstrap' can fail and report
7956         "Opening input file: no such file or directory,
7957         .../lisp/calendar/diary-loaddefs.el ... recipe for target
7958         'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
7959         got confused because diary-loaddefs.el was being built in parallel.
7960         * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
7961         Depend on $(CAL_DIR)/cal-loaddefs.el.
7962         ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
7964 2014-08-16  Martin Rudalics  <rudalics@gmx.at>
7966         * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
7967         portion-whole for scrolling right-to-left text.
7969 2014-08-15  Leo Liu  <sdl.web@gmail.com>
7971         * speedbar.el (speedbar-generic-list-tag-p): Allow special
7972         elements from imenu.
7974 2014-08-15  Glenn Morris  <rgm@gnu.org>
7976         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
7978 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
7980         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7981         Add Guile regexpses.
7983 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
7985         * progmodes/gud.el (guiler): New function.  Starts the Guile REPL;
7986         add Guile debugger support for GUD.
7988 2014-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7990         * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
7991         (mouse-sel--ignore): New function.
7992         (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
7993         (mouse-sel-original-interprogram-cut-function)
7994         (mouse-sel-original-interprogram-paste-function): Remove.
7996 2014-08-13  Eric S. Raymond  <esr@thyrsus.com>
7998         * vc/vc-git.el (vc-git-resolve-when-done): New function.
7999         Call "git add" when there are no longer conflict markers.
8001 2014-08-13  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8003         * vc/vc-git.el (vc-git-find-file-hook): New function.
8004         Adds support for calling smerge (and resolve) on a conflicted file.
8005         (vc-git-conflicted-files): New function.
8006         Useful in itself and a step towards better smerge support.
8008 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8010         * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
8011         to the first part if they're the same as the selection.
8013 2014-08-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8015         * image-mode.el (image-transform-reset): New command and menu item.
8016         (image-mode-map): Rearrange the menu items to put presumably more
8017         obscure items at the end.
8019 2014-08-12  Juri Linkov  <juri@jurta.org>
8021         * vc/vc-annotate.el (vc-annotate-background-mode):
8022         Use `with-demoted-errors' instead of `ignore-errors'.  (Bug#18189)
8024 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8026         * files.el (out-of-memory-warning-percentage): Turn it off by default.
8028 2014-08-11  Sam Steingold  <sds@gnu.org>
8030         * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
8031         the presence of known validators (tidy, (o)nsgmls).
8033 2014-08-11  Ulf Jasper  <ulf.jasper@web.de>
8035         Newsticker: introduce `newsticker-treeview-date-format'.  (Bug#17227)
8036         * net/newst-treeview.el (newsticker-treeview-date-format): New.
8037         (newsticker--treeview-list-add-item):
8038         Use `newsticker-treeview-date-format'.
8040 2014-08-11  Glenn Morris  <rgm@gnu.org>
8042         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
8043         chose coding system for writing before backing up, since it causes
8044         a more serious problem than the one it solves.  (Closes Bug#18141,
8045         reopens Bug#13522.)
8047 2014-08-11  Martin Rudalics  <rudalics@gmx.at>
8049         * window.el (window-total-size): Make doc-string more self-contained.
8051         * window.el (display-buffer-below-selected): Restore original
8052         behavior if buffer is already displayed in the window below the
8053         selected one (Bug#18181).
8055 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8057         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
8058         event (bug#18212).
8060 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
8062         * info.el (info): Doc fix.
8064 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8066         * info.el (Info-mode-map): Override a global down-mouse-2 binding
8067         (bug#18212).
8069 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
8071         * simple.el (default-line-height): A floating-point value of
8072         line-spacing means a fraction of the default frame font's height,
8073         not of the font currently used by the 'default' face.
8074         Truncate the pixel value, like the display engine does.
8075         (window-screen-lines): Use window-inside-pixel-edges for
8076         determining the window height in pixels.  (Bug#18195)
8078 2014-08-11  Grégoire Jadi  <daimrod@gmail.com>
8080         * leim/quail/latin-post.el: Transform " __" into " _".  (Bug#18023)
8082 2014-08-10  Ulf Jasper  <ulf.jasper@web.de>
8084         Enumerate evaluated sexp diary entries (Bug#7911).
8085         * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
8086         (icalendar-export-sexp-enumeration-days): New.
8087         (icalendar-export-region): Now `icalendar--convert-to-ical'
8088         returns a cons cell or a list of cons cells.
8089         (icalendar--convert-to-ical): Take care of
8090         `icalendar-export-sexp-enumerate-all'.  Return (a list of) cons cells.
8091         (icalendar--convert-ordinary-to-ical)
8092         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8093         (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
8094         (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
8095         (icalendar--convert-anniversary-to-ical): Return cons cell.
8096         (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
8097         entries.  Return (list of) cons cells.
8099 2014-08-09  Juri Linkov  <juri@jurta.org>
8101         * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
8102         to reevaluate `vc-annotate-color-map'.  (Bug#18189)
8104 2014-08-09  Alan Mackenzie  <acm@muc.de>
8106         * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
8107         for top-level that can cause unacceptable slow-down in scrolling.
8108         See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
8109         Antipov from 2013-10-14 in emacs-devel.
8111 2014-08-08  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8113         * ibuffer.el (ibuffer-mode-map): Use toggle button for
8114         `ibuffer-auto-mode' menu entry.
8115         (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
8117 2014-08-08  Matthias Meulien  <orontee@gmail.com>
8119         * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
8120         (Bug#16394)
8122 2014-08-07  Martin Rudalics  <rudalics@gmx.at>
8124         * window.el (window--min-size-1): Explicitly set WINDOW arg in
8125         calls of window-min-pixel-height and window-min-pixel-width.
8127 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
8129         * progmodes/ada-mode.el:
8130         * net/tramp.el (tramp-handle-file-symlink-p):
8131         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
8132         about VMS, which we no longer support.
8133         * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
8134         and fix a FIXME, using convert-standard-filename in place of
8135         removed ada-convert-file-name.
8137 2014-08-07  Eli Zaretskii  <eliz@gnu.org>
8139         * files.el (auto-mode-alist): Remove support for VMS from a pattern.
8141 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
8143         Refer to MS-DOS using the same name everywhere.
8144         * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
8145         ``msdog'' become ``MS-DOS''.
8147 2014-08-07  Michael Albinus  <michael.albinus@gmx.de>
8149         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8150         Use cached "remote-copy-args" value, if available.  (Bug#18199)
8152 2014-08-07  Leo Liu  <sdl.web@gmail.com>
8154         * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
8155         Revert change on 2014-03-22.
8157 2014-08-06  Ulf Jasper  <ulf.jasper@web.de>
8159         * calendar/icalendar.el (icalendar--diarytime-to-isotime)
8160         (icalendar--convert-ordinary-to-ical): Allow for missing minutes
8161         (Bug#13750).
8164 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8166         * image-mode.el (image-toggle-display-image): Always rescale images
8167         to not be bigger than the current window.
8169 2014-08-05  Eric Brown  <brown@fastmail.fm>  (tiny change)
8171         * net/eww.el (eww-bookmarks-directory): New variable.
8172         (eww-write-bookmarks): Use it.
8173         (eww-read-bookmarks): Ditto.
8175 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8177         * net/shr.el (shr-copy-url): Also copy the image URL.
8179 2014-08-05  Michael Albinus  <michael.albinus@gmx.de>
8181         * net/tramp-cache.el (tramp-flush-file-function): Suppress function
8182         also for Tramp working buffers.
8184 2014-08-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8186         * progmodes/python.el: Fix completions inside (i)pdb.
8187         (python-shell-completion-pdb-string-code): Make obsolete.
8188         (python-shell-completion-get-completions):
8189         Use python-shell-completion-string-code resending setup code
8190         continuously for (i)pdb.
8192 2014-08-04  Paul Eggert  <eggert@cs.ucla.edu>
8194         * rect.el (rectangle--default-line-number-format): Rename
8195         from misspelled rectange--default-line-number-format (Bug#18045).
8196         All uses changed.
8198 2014-08-03  Paul Eggert  <eggert@cs.ucla.edu>
8200         Don't mishandle year-9999 dates (Bug#18176).
8201         * calendar/parse-time.el (parse-time-rules):
8202         Allow years up to most-positive-fixnum.
8203         * calendar/time-date.el (date-to-time):
8204         Pass "Specified time is not representable" errors through.
8206 2014-08-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8208         * progmodes/python.el: Completion code cleanups.
8209         (python-shell-completion-get-completions): Detect and send import
8210         statements directly to completion function.
8211         (python-shell-completion-at-point): Simplify prompt calculation
8212         and import vs input completion logic.
8214 2014-08-02  Alan Mackenzie  <acm@muc.de>
8216         Fix confusion in C++ file caused by comma in "= {1,2},".
8217         Bug #17756.
8218         * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
8219         for a statement boundary marked by "}", check there's no "="
8220         before the "{".
8221         (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
8222         non-nil `comma-delim' argument.
8223         * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
8224         initializer expression more accurately.
8226         Correct loop termination condition in c-syntactic-skip-backward.
8227         * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
8228         the situation where, after moving back out of a literal,
8229         skip-chars-backward doesn't move further, yet checks have still to
8230         be done.
8232 2014-08-01  Eli Zaretskii  <eliz@gnu.org>
8234         * tutorial.el (tutorial--display-changes): Accept punctuation
8235         characters before the key binding.  (Bug#18146)
8237 2014-07-31  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8239         * progmodes/python.el: Shell output capture enhancements.
8240         (python-shell-accept-process-output): New function.
8241         (inferior-python-mode)
8242         (python-shell-send-setup-code): Use it.
8244 2014-07-30  Christophe Deleuze  <christophe.deleuze@free.fr>  (tiny change)
8246         * calendar/icalendar.el (icalendar--decode-isodatetime):
8247         Use actual current-time-zone when converting to local time.  (Bug#15408)
8249 2014-07-29  Martin Rudalics  <rudalics@gmx.at>
8251         * window.el (window--state-put-2): Handle horizontal scroll
8252         bars, if present.
8254 2014-07-29  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8256         * menu-bar.el (menu-bar-update-buffers): Update item list format
8257         in `buffers-menu' to confirm with changes to `get_keyelt'
8258         (r117463).  (Bug#18016)
8260 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8262         * progmodes/python.el (inferior-python-mode): Make input prompts
8263         read-only.
8265 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
8267         * net/tramp-sh.el (tramp-get-remote-python): Also search for
8268         executables named "python2" or "python3".
8269         (tramp-get-remote-uid-with-python): Use parentheses around
8270         arguments to `print' to make it compatible with Python 3.
8271         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
8273 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
8275         * window.el (window--pixel-to-total): Use FRAME's root window, not
8276         that of the selected frame.  (Bug#18112, Bug#16674)
8278 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
8280         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
8281         (Bug#18117)
8283 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8285         * progmodes/python.el (inferior-python-mode): Doc fix.
8287 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
8289         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
8290         not a character, ignore it instead of raising an error.
8292         * calendar/todo-mode.el: Fix handling of marked items and make
8293         minor code improvements.
8294         (todo-edit-item): If there are marked items, ensure user can only
8295         invoke editing commands that work with marked items.
8296         (todo-edit-item--text): When there are marked items, make it a
8297         noop if invoked with point not on an item; otherwise, ensure it
8298         applies only to item at point.
8299         (todo-item-undone): If there are marked not-done items, return
8300         point to its original position before signaling user error.
8301         (todo--user-error-if-marked-done-item): New function.
8302         (todo-edit-item--header, todo-edit-item--diary-inclusion)
8303         (todo-item-done): Use it.
8305 2014-07-28  Glenn Morris  <rgm@gnu.org>
8307         * files.el (toggle-read-only): Re-add basic doc-string.
8308         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
8310         * progmodes/prolog.el (prolog-mode-keybindings-edit):
8311         Replace missing `switch-to-prolog' with `run-prolog'.
8312         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
8314 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
8316         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
8317         of file-wide setting when changing category-wide setting.
8319 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
8321         * doc-view.el (doc-view-open-text): Don't require that the
8322         document is saved in a file (e.g., email attachment).
8324 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8326         Parse completion input in a iPython friendly way.  (Bug#18084)
8327         * progmodes/python.el
8328         (python-shell-completion-at-point): Rename from
8329         python-shell-completion-complete-at-point.
8330         (inferior-python-mode): Use it.
8331         (python-completion-at-point): Rename from
8332         python-completion-complete-at-point.  Parse input up to first
8333         backward occurrence of whitespace, open-paren, close-paren or
8334         string delimiter.
8335         (python-mode): Use it.
8337 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8339         * progmodes/python.el
8340         (python-shell-with-shell-buffer): New macro.
8341         (python-shell-font-lock-get-or-create-buffer)
8342         (python-shell-font-lock-kill-buffer)
8343         (python-shell-font-lock-with-font-lock-buffer)
8344         (python-shell-font-lock-cleanup-buffer)
8345         (python-shell-font-lock-toggle): Use it.
8346         (python-shell-font-lock-turn-on)
8347         (python-shell-font-lock-turn-off): Use it.  Make command.
8349 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8351         Grab all Python process output before inferior-python-mode hooks.
8352         * progmodes/python.el (inferior-python-mode):
8353         Call accept-process-output and sit-for to ensure all output for process
8354         has been received before running hooks.
8355         (python-shell-internal-get-or-create-process):
8356         Cleanup accept-process-output and sit-for calls.
8358 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8360         More robust shell startup and code setup.
8361         * progmodes/python.el (python-shell-make-comint):
8362         Remove accept-process-output call.
8363         (python-shell-get-buffer): Return current buffer if major-mode is
8364         inferior-python-mode.
8365         (python-shell-get-or-create-process): Use it.
8366         (python-shell-send-setup-code): Send all setup code in one string,
8367         output success message and accept-process-output.
8369 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
8371         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
8372         Add rudimentary support for bidirectional text.
8374 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
8376         * frame.el (frame-notice-user-settings): Rewrite using
8377         frame-initial-frame-tool-bar-height.
8378         * menu-bar.el (menu-bar-horizontal-scroll-bar)
8379         (menu-bar-no-horizontal-scroll-bar): New functions.
8380         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
8381         scroll bars.
8382         * scroll-bar.el (scroll-bar-lines)
8383         (set-horizontal-scroll-bar-mode)
8384         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
8385         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
8386         (scroll-bar-toolkit-horizontal-scroll): New functions.
8387         (horizontal-scroll-bar-mode)
8388         (previous-horizontal-scroll-bar-mode)
8389         (horizontal-scroll-bar-mode-explicit): New variables.
8390         (horizontal-scroll-bar-mode): New option.
8391         (toggle-horizontal-scroll-bar): Do something.
8392         (top-level): Bind horizontal-scroll-bar mouse-1.
8393         * startup.el (tool-bar-originally-present): Remove variable.
8394         (command-line): Don't set tool-bar-originally-present.
8395         * window.el (window-min-height): Update doc-string.
8396         (window--dump-frame): Dump horizontal scroll bar values.
8397         (window--min-size-1): Handle minibuffer window separately.
8398         Count in margins and horizontal scroll bar.  Return safe value
8399         iff IGNORE equals 'safe.
8400         (frame-windows-min-size): New function (used by frame resizing
8401         routines).
8402         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
8403         scroll bars.
8404         (window--sanitize-window-sizes): New function.
8405         (window-split-min-size): Remove.
8406         (split-window): Count divider-width.  Don't use
8407         `window-split-min-size' any more.  Reword error messages.
8408         Sanitize windows sizes after splitting.
8410 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
8412         Use `defvar-local' more.
8413         * progmodes/hideshow.el
8414         (hs-c-start-regexp, hs-block-start-regexp)
8415         (hs-block-start-mdata-select, hs-block-end-regexp)
8416         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
8417         remove corresponding `make-variable-buffer-local' top-level calls.
8419 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8421         Cleanup error signals.  (Bug#18067)
8422         * progmodes/python.el
8423         (python-indent-shift-left): Use user-error instead.
8424         (python-shell-prompt-detect): Use lwarn with python group.
8425         (python-completion-complete-at-point)
8426         (python-eldoc--get-doc-at-point): Don't signal error.
8428 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8430         Support for packages in Python shell.  (Bug#13570)
8431         * progmodes/python.el (python-shell--package-depth): New var.
8432         (python-shell-package-enable): New command.
8433         (python-util-list-directories, python-util-list-files)
8434         (python-util-list-packages): New functions.
8436 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8438         Faster comint output.  (Bug#16875)
8439         * progmodes/python.el:
8440         (python-comint-output-filter-function): Make obsolete.
8441         (python-comint-postoutput-scroll-to-bottom): New function.
8442         (inferior-python-mode): Set comint-output-filter-functions to a
8443         minimum.
8445 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8447         * progmodes/python.el (python-shell-font-lock-post-command-hook):
8448         Safeguard current point and undo history.
8450 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8452         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
8453         * progmodes/python.el:
8454         (python-shell-prompt-input-regexps): Add iPython block prompt.
8455         (python-shell-output-syntax-table): Delete var.
8456         (python-shell-font-lock-with-font-lock-buffer): New macro.
8457         (python-shell-font-lock-get-or-create-buffer)
8458         (python-shell-font-lock-kill-buffer)
8459         (python-shell-font-lock-cleanup-buffer)
8460         (python-shell-font-lock-post-command-hook)
8461         (python-shell-font-lock-turn-off): New functions.
8462         (python-shell-font-lock-turn-on): New function.
8463         (inferior-python-mode): Use it.
8464         (python-shell-font-lock-toggle): New command.
8465         (python-shell-font-lock-enable): Rename from
8466         python-shell-enable-font-lock.
8467         (run-python-internal): Use it.
8468         (python-shell-font-lock-comint-output-filter-function): New function.
8469         (python-shell-comint-end-of-output-p): New function.
8470         (python-shell-output-filter): Use it.
8471         (python-util-comint-last-prompt): New function.
8472         (python-util-text-properties-replace-name): New function.
8474 2014-07-25  Glenn Morris  <rgm@gnu.org>
8476         * vc/ediff-init.el (ediff-toggle-read-only-function):
8477         * vc/ediff-util.el (ediff-toggle-read-only):
8478         Replace obsolete toggle-read-only with read-only-mode.
8480 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
8482         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
8483         with `save-match-data'.  (Bug#18095)
8485 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8487         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
8488         order to ensure that row and col are lexically bound inside the
8489         evaluated sexp.
8491 2014-07-21  Glenn Morris  <rgm@gnu.org>
8493         * progmodes/hideif.el (hide-ifdef-mode-submap):
8494         Also substitute read-only-mode.
8495         * bindings.el (mode-line-toggle-read-only):
8496         * bs.el (bs-toggle-readonly):
8497         * buff-menu.el (Buffer-menu-toggle-read-only):
8498         * dired.el (dired-toggle-read-only):
8499         * files.el (view-read-only, find-file-read-only)
8500         (find-file-read-only-other-window)
8501         (find-file-read-only-other-frame):
8502         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
8503         Doc fixes re toggle-read-only.
8505 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8507         * progmodes/python.el: Add comment about pipe buffering and
8508         solutions for missing/delayed output in inferior Python shells.
8509         (Bug#17304)
8511         * progmodes/python.el (python-mode): Don't set
8512         mode-require-final-newline.  (Bug#17990)
8514         Make python.el work with IPython automatically.  (Bug#15510)
8515         * progmodes/python.el:
8516         (python-shell-completion-setup-code): New value supporting iPython.
8517         (python-shell-completion-string-code): New value supporting iPython.
8518         (python-shell-completion-get-completions): Use them.
8519         (python-shell-completion-module-string-code): Make obsolete.
8520         (python-shell-prompt-input-regexps)
8521         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
8522         (python-shell-output-filter): Fix comment typo.
8524         Fix Python shell prompts detection for remote hosts.
8525         * progmodes/python.el (python-shell-prompt-detect):
8526         Replace call-process with process-file and make it more robust.
8528         Autodetect Python shell prompts.  (Bug#17370)
8529         * progmodes/python.el:
8530         (python-shell-interpreter-interactive-arg)
8531         (python-shell-prompt-detect-enabled)
8532         (python-shell-prompt-detect-failure-warning)
8533         (python-shell-prompt-input-regexps)
8534         (python-shell-prompt-output-regexps): New vars.
8535         (python-shell-prompt-calculated-input-regexp)
8536         (python-shell-prompt-calculated-output-regexp): New vars.
8537         (python-shell-get-process-name)
8538         (python-shell-internal-get-process-name)
8539         (python-shell-output-filter)
8540         (python-shell-completion-get-completions): Use them.
8541         (python-shell-prompt-detect)
8542         (python-shell-prompt-validate-regexps): New functions.
8543         (python-shell-prompt-set-calculated-regexps): New function.
8544         (inferior-python-mode): Use it.  Also honor overriden
8545         python-shell-interpreter and python-shell-interpreter-args.
8546         (python-shell-make-comint): Honor overriden
8547         python-shell-interpreter and python-shell-interpreter-args.
8548         (python-shell-get-or-create-process): Make it testable by allowing
8549         to call run-python non-interactively.
8550         (python-util-valid-regexp-p): New function.
8551         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
8552         (python-shell-prompt-output-regexp)
8553         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
8555 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8557         * emacs-lisp/smie.el (smie-config--guess-1): Split from
8558         smie-config--guess.
8559         (smie-config--guess): Use it.
8561         * emacs-lisp/edebug.el: Use nadvice.
8562         (edebug-original-read): Remove.
8563         (edebug--read): Rename from edebug-read and add `orig' arg.
8564         (edebug-uninstall-read-eval-functions)
8565         (edebug-install-read-eval-functions): Use nadvice.
8566         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
8567         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
8568         (edebug-read-string, edebug-read-function): Use just `read'.
8569         (edebug-original-debug-on-entry): Remove.
8570         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
8571         `orig' arg.
8572         (debug-on-entry): Override with nadvice.
8574         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
8575         it also makes sense to bind it to a non-mouse event.
8577         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
8579 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8581         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
8582         (bug#18015).
8584         * rect.el (rectangle--string-preview): Don't assume there
8585         a non-nil default (bug#17984).
8587 2014-07-16  Glenn Morris  <rgm@gnu.org>
8589         * desktop.el (after-init-hook): Disable startup frame restoration
8590         in non-graphical situations.  (Bug#17693)
8592         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
8593         if it was "empty", or used for a different set of files.  (Bug#17884)
8595 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
8597         * bindings.el (mode-line-remote): If default-directory is not a
8598         string, don't call file-remote-p on it; instead state in the
8599         help-echo that it is nil.  (Bug#17986)
8601 2014-07-14  Daniel Colascione  <dancol@dancol.org>
8603         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
8604         to `macroexpand-all'
8606         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
8607         Use `macroexpand-all' instead of `cl-macroexpand-all'.
8609 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
8611         Fix bug: C-x v v discarded existing log message (Bug#17884).
8612         * vc/vc-dispatcher.el (vc-log-edit):
8613         Don't clobber an already-existing log message.
8615 2014-07-12  Glenn Morris  <rgm@gnu.org>
8617         * vc/log-edit.el (log-edit-changelog-entries):
8618         Check for a visited-but-never-saved ChangeLog.
8620 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8622         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
8623         a non-existing file (bug#17970).
8625         * faces.el (face-name): Undo last change.
8626         (x-resolve-font-name): Don't call face-name (bug#17956).
8628 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8630         Fix dedenters and electric colon handling.  (Bug#15163)
8631         * progmodes/python.el
8632         (python-rx-constituents): Add dedenter and block-ender.
8633         (python-indent-dedenters, python-indent-block-enders): Delete.
8634         (python-indent-context): Return new case for dedenter-statement.
8635         (python-indent-calculate-indentation): Handle new case.
8636         (python-indent-calculate-levels): Fix levels calculation for
8637         dedenter statements.
8638         (python-indent-post-self-insert-function): Fix colon handling.
8639         (python-info-dedenter-opening-block-message): New function.
8640         (python-indent-line): Use it.
8641         (python-info-closing-block)
8642         (python-info-closing-block-message): Remove.
8643         (python-info-dedenter-opening-block-position)
8644         (python-info-dedenter-opening-block-positions)
8645         (python-info-dedenter-statement-p): New functions.
8647 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
8649         * files.el (out-of-memory-warning-percentage): New defcustom.
8650         (warn-maybe-out-of-memory): Use it.
8652 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
8654         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
8655         when calling `read-string'.  (Bug#17839)
8657 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
8659         * files.el (warn-maybe-out-of-memory): Fix the wording of the
8660         warning.
8662 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
8664         * files.el (warn-maybe-out-of-memory): New function.
8665         (find-file-noselect): Use it.
8667 2014-07-09  Sam Steingold  <sds@gnu.org>
8669         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
8670         `constant' like `bless', `return' &c
8672 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8674         * rect.el (apply-on-rectangle): Check forward-line really moved to the
8675         next line.
8677 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8679         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
8680         the middle of a line (bug#17896).
8682 2014-07-09  Juri Linkov  <juri@jurta.org>
8684         * startup.el (command-line): Append displaying the warning about
8685         the errors in the init file to the end of `after-init-hook'.
8686         (Bug#17927)
8688         * faces.el (face-name): Return input arg `face' as-is
8689         when it's not a symbol.
8690         (x-resolve-font-name): Don't check if the face is a symbol.
8691         (Bug#17956)
8693         * facemenu.el (list-colors-print): In help-echo format use %.2f
8694         instead of %d because now HSV values are floating-point components
8695         between 0.0 and 1.0.
8697 2014-07-09  Glenn Morris  <rgm@gnu.org>
8699         * emulation/cua-rect.el (cua--activate-rectangle):
8700         Avoid setting cua--rectangle to nil.  (Bug#17877)
8702 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
8704         * calendar/todo-mode.el: Fix wrong-type-argument error when
8705         marking multiple consecutive items.
8706         (todo-toggle-mark-item): Don't try to mark the empty lines at the
8707         end of the todo and done items sections.  Note in doc string that
8708         items marked by passing a numeric prefix argument can include the
8709         last todo and first done items.
8710         (todo-mark-category): Don't try to mark the empty line between the
8711         todo and done items sections.
8713 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8715         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
8716         proper Lisp quoting (bug#17934).
8718         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
8719         require-final-newline since prog-mode already took care of it (bug#17947).
8721 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
8723         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
8724         refer to the Todo mode Info manual.  Update the comment on
8725         requiring cl-lib.
8726         (todo-find-filtered-items-file): Add todo-prefix overlays.
8727         (todo-filter-items): Reorder a let-bound variable to avoid a
8728         wrong-type-argument error on canceling the file choice dialog.
8730 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8732         * progmodes/octave.el (inferior-octave-mode):
8733         Set comint-input-ring-size to a number (bug#17912).
8735 2014-07-09  Juri Linkov  <juri@jurta.org>
8737         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8738         and `isearch-mode' associated with nil.  (Bug#17849)
8740 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8742         * linum.el (linum--face-height): New function (bug#17813).
8743         (linum-update-window): Use it to adjust margin to linum's width.
8745         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8746         * eshell/em-smart.el (eshell-smart-scroll-window):
8747         Use with-selected-window.
8749         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8750         Remove also pointless window&mark manipulation.
8752         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8753         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8754         (perl-continuation-line-p): Don't skip over anything else than labels.
8755         Return the previous char.
8756         (perl-calculate-indent): Use syntax-ppss instead of parse-start
8757         and update callers accordingly.  For continuation lines, check the
8758         the case of array hashes.
8759         (perl-backward-to-noncomment): Make it non-interactive.
8760         (perl-backward-to-start-of-continued-exp): Rewrite.
8762 2014-07-08  Sam Steingold  <sds@gnu.org>
8764         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8765         New user commands.
8767 2014-07-08  Juri Linkov  <juri@jurta.org>
8769         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8770         (vc-annotate-color-map): Use less saturated colors (20%) for
8771         background-mode.
8772         (vc-annotate-very-old-color): Add default value for background-mode.
8773         (vc-annotate-background): Set default value to nil since now text on
8774         the default backgrounds should be legible in light and dark modes.
8775         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
8776         (Bug#17808)
8778 2014-07-08  Juri Linkov  <juri@jurta.org>
8780         * simple.el (transpose-chars): Don't move point into read-only area.
8781         (Bug#17829)
8783 2014-07-08  Juri Linkov  <juri@jurta.org>
8785         * window.el (with-displayed-buffer-window): New macro.
8786         (with-temp-buffer-window, with-current-buffer-window):
8787         Use `macroexp-let2' to evaluate and bind variables
8788         in the same order as macro arguments.
8789         (display-buffer--action-function-custom-type):
8790         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8792         * minibuffer.el (minibuffer-completion-help): Replace
8793         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8794         with actions that display *Completions* at-bottom when called
8795         from the minibuffer, or below-selected in a normal buffer.
8796         Associate `window-height' with `fit-window-to-buffer'.
8797         Let-bind `pop-up-windows' to nil.
8799         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8800         instead of `with-current-buffer-window'.  (Bug#17809)
8802 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
8804         * progmodes/hideif.el (hide-ifdef-env): Change to global.
8805         (hide-ifdef-env-backup): New variable.
8806         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8807         New customizable variables.
8808         (hif-clear-all-ifdef-defined): New defun.
8809         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8810         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8811         (hif-tokenize): Fix for MS-DOS/Win EOL style.
8812         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8813         Fix bug to hide the correct #elif region(s).
8814         (hif-range-elif): New defun.
8815         (hif-recurse-level): New var.
8816         (hif-evaluate-region, hif-evaluate-macro): New defun.
8817         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8818         fully hidden.
8819         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8820         Better interaction.
8822 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
8824         * net/dbus.el (dbus-peer-handler): New defun.
8825         (dbus-register-service): Register it.  (Bug#17858)
8826         (dbus-managed-objects-handler): Fix docstring.
8828 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>
8830         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8831         (narrow-to-defun): New arg include-comments, defaulting to it
8832         (bug#16328).
8834 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8836         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8837         different calling convention to rectangle--unhighlight-for-redisplay.
8839 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
8841         * net/tramp.el (tramp-call-process): Handle error strings.
8843         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8845         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8846         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8848         * net/trampver.el: Update release number.
8850 2014-07-03  Juri Linkov  <juri@jurta.org>
8852         * desktop.el (desktop-save): Rename arg `auto-save' to
8853         `only-if-changed'.  Doc fix.  (Bug#17873)
8855 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8857         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8858         Use insert-for-yank (bug#17271).
8860 2014-07-03  Leo Liu  <sdl.web@gmail.com>
8862         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8863         Support lexical-binding.
8865 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8867         * vc/log-edit.el (log-edit-goto-eoh): New function.
8868         (log-edit--match-first-line): Use it (bug#17861).
8870 2014-07-03  Glenn Morris  <rgm@gnu.org>
8872         * vc/log-edit.el (log-edit-hook): Add missing :version.
8874 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8876         * progmodes/python.el (python-indent-post-self-insert-function):
8877         Enhancements to electric indentation behavior inside
8878         parens.  (Bug#17658)
8880 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8882         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
8883         buffer-invisibility-spec (bug#17867).
8885 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
8887         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
8888         pass "-a".
8890 2014-07-03  Glenn Morris  <rgm@gnu.org>
8892         * cus-edit.el (help):
8893         * finder.el (finder-known-keywords):
8894         * help.el (help-for-help-internal):
8895         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
8896         (ediff-redraw-registry-buffer):
8897         * vc/ediff-ptch.el (ediff-patch-file-internal):
8898         Doc fixes re "online" help.  (Bug#17803)
8900         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
8901         (idlwave-mode): Doc URL update.
8903 2014-07-01  Juri Linkov  <juri@jurta.org>
8905         * man.el: Display man pages immediately and use process-filter
8906         to format them asynchronously.
8907         (Man-width): Doc fix.
8908         (man): Doc fix.
8909         (Man-start-calling): Use `with-selected-window' to get
8910         `frame-width' and `window-width'.
8911         (Man-getpage-in-background): Call `Man-notify-when-ready'
8912         immediately after creating a new buffer.  Call `Man-mode' and set
8913         `mode-line-process' in the created buffer.  Set process-filter to
8914         `Man-bgproc-filter' in start-process branch.  In call-process branch
8915         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
8916         Use `Man-start-calling' inside `with-current-buffer'.
8917         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
8918         (Man-cleanup-manpage): Don't print messages.
8919         (Man-bgproc-filter): New function.
8920         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
8921         user moved it during asynchronous formatting.  Move calls of
8922         `Man-fontify-manpage' and `Man-cleanup-manpage' to
8923         `Man-bgproc-filter'.  Move the call of `Man-mode' to
8924         `Man-getpage-in-background'.  Use `quit-restore-window'
8925         instead of `kill-buffer'.  Use `message' instead of `error'
8926         because errors are caught by process sentinel.
8927         (Man-mode): Move calls of `Man-build-page-list',
8928         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
8929         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
8931         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
8932         for the message about the man page cleaned up.
8934 2014-07-01  Mario Lang  <mlang@delysid.org>
8936         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
8937         cosutomization option `gnutls-verify-error'.
8939 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8941         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
8942         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
8944         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
8945         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
8946         is suspended (bug#17857).
8948 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
8950         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8951         Prefer utf-8 coding.  (Bug#17859)
8953 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8955         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
8956         for `reverse'.
8958 2014-06-30  Glenn Morris  <rgm@gnu.org>
8960         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
8961         (autoload-ensure-default-file): Maybe make existing output writable.
8962         * Makefile.in (AUTOGEN_VCS): Remove.
8963         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
8965 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8967         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
8969 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8971         New if-let, when-let, thread-first and thread-last macros.
8973         * emacs-lisp/subr-x.el
8974         (internal--listify, internal--check-binding)
8975         (internal--build-binding-value-form, internal--build-binding)
8976         (internal--build-bindings): New functions.
8977         (internal--thread-argument, thread-first, thread-last)
8978         (if-let, when-let): New macros.
8980 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
8982         * net/rcirc.el (rcirc-buffer-process): Restore previous
8983         behaviour.  (Bug#17772)
8985 2014-06-29  Alan Mackenzie  <acm@muc.de>
8987         Don't call c-parse-state when c++-template-syntax-table is active.
8988         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
8989         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
8990         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
8992 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
8994         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
8995         account for file-wide setting of todo-top-priorities-overrides.
8996         Make code a bit cleaner.
8998 2014-06-28  Glenn Morris  <rgm@gnu.org>
9000         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
9002 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
9004         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
9005         category-wide setting of todo-top-priorities-overrides, check for
9006         a file-wide setting and fontify accordingly.
9008 2014-06-28  Glenn Morris  <rgm@gnu.org>
9010         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
9012 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9014         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
9016 2014-06-28  K. Handa  <handa@gnu.org>
9018         Fix Bug#17739.
9020         * composite.el: Setup composition-function-table for dotted circle.
9021         (compose-gstring-for-dotted-circle): New function.
9023         * international/characters.el: Add category "^" to all
9024         non-spacing characters.
9026 2014-06-28  Glenn Morris  <rgm@gnu.org>
9028         * Makefile.in (doit): Remove force rule.
9029         (custom-deps, finder-data, autoloads, update-subdirs)
9030         (compile-one-process): PHONY targets do not need force rules.
9032         * Makefile.in (compile-main, compile, compile-always):
9033         No need to explicitly pass variables to ourself in recursive calls.
9035 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9037         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
9039 2014-06-26  Glenn Morris  <rgm@gnu.org>
9041         * Makefile.in (update-authors): Update for moved authors.el.
9043 2014-06-26  Leo Liu  <sdl.web@gmail.com>
9045         * skeleton.el (skeleton-end-hook): Default to nil and move the
9046         work to skeleton-insert.  (Bug#17850)
9048 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
9050         * calc/calc-alg.el (math-beforep):
9051         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
9052         Simplify because string-lessp can accept symbols as args.
9054 2014-06-26  Daiki Ueno  <ueno@gnu.org>
9056         * emacs-lisp/package.el (package--check-signature):
9057         If package-check-signature is allow-unsigned, don't signal error when
9058         we can't verify signature because of missing public key
9059         (bug#17625).
9061 2014-06-26  Glenn Morris  <rgm@gnu.org>
9063         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
9064         Remove outdated declaration.
9066         * emacs-lisp/authors.el (authors-valid-file-names)
9067         (authors-renamed-files-alist): Additions.
9069 2014-06-26  Leo Liu  <sdl.web@gmail.com>
9071         * textmodes/picture.el (picture-set-tab-stops):
9072         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
9073         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
9075         * progmodes/asm-mode.el (asm-calculate-indentation):
9076         Use indent-next-tab-stop.
9078         * indent.el (indent-accumulate-tab-stops): New function.
9080 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9082         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
9083         (package-desc-status): Obey it.
9085 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
9087         * calendar/todo-mode.el: Fix two bugs.
9088         (todo-insert-item--basic): If user cancels item insertion to
9089         another category before setting priority, show original category
9090         whether it is in the same or a different file.
9091         (todo-set-item-priority): After selecting category, instead of
9092         moving point to top, which extends an active region, restore it.
9094 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9096         * help-fns.el (describe-function-1): Check file-name is a string before
9097         calling help-fns--autoloaded-p (bug#17564).
9099 2014-06-26  Juri Linkov  <juri@jurta.org>
9101         * desktop.el (desktop-auto-save-enable)
9102         (desktop-auto-save-disable): New functions.
9103         (desktop-save-mode, desktop-auto-save-timeout): Use them.
9104         (desktop-read): Disable the autosave before loading the desktop,
9105         and enable afterwards.  (Bug#17351)
9107 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9109         Fix some indentation problem with \; and pipes (bug#17842).
9110         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
9111         (sh-smie--default-forward-token, sh-smie--default-backward-token):
9112         New functions.
9113         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
9114         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
9115         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
9117 2014-06-26  Glenn Morris  <rgm@gnu.org>
9119         * emacs-lisp/find-func.el (find-function-C-source-directory):
9120         Use file-accessible-directory-p.
9122         * ps-samp.el: Make it slightly less awful.
9123         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
9124         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
9125         Only set local values.
9126         (ps-article-subject, ps-article-author): Use standard functions
9127         like mail-fetch-field.
9128         (ps-info-file, ps-info-node): Use match-string.
9129         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
9130         (ps-samp-ps-setup): ... new function.
9132         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
9133         Optimize away code unneeded on any modern Emacs.
9135         * emacs-lisp/authors.el: Move to ../admin.
9137         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
9139 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
9141         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
9142         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
9143         performance enhancements.
9144         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
9145         expansion.
9146         (hif-factor, hif-string-concatenation, intern-safe): Support string
9147         concatenation and argumented macro expansion.
9148         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
9149         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
9150         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
9151         (hif-canonicalize-tokens, hif-place-macro-invocation)
9152         (hif-parse-macro-arglist): Mostly new functions for supporting
9153         argumented macro expansion.
9154         (hif-string-concatenation, hif-stringify, hif-token-concat)
9155         (hif-token-stringification, hif-token-concatenation):
9156         Stringification and concatenation.
9157         (hif-find-next-relevant): Fix comments.
9158         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
9159         some cases involving #elif.
9160         (hif-find-define, hif-add-new-defines): New functions for automatically
9161         scanning of defined symbols.
9162         (hide-ifdef-guts): Fix for defined symbol auto scanning.
9163         (hide-ifdef-undef): Fix behavior to match CPP.
9165 2014-06-25  Glenn Morris  <rgm@gnu.org>
9167         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
9168         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
9169         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
9170         files.  They are not relevant to the original issue (bug#1004),
9171         and cause unnecessary recompilation (bug#2151).
9173 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9175         * play/landmark.el: Use lexical-binding and avoid `intangible'.
9176         (landmark--last-pos): New var.
9177         (landmark--intangible-chars): New const.
9178         (landmark--intangible): New function.
9179         (landmark-mode, landmark-move): Use it.
9180         (landmark-mode): Remove properties.
9181         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
9182         (landmark-cross-qtuple):
9183         Don't worry about `intangible' any more.
9184         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
9185         (landmark-init-display): Don't set `intangible' and `point-entered'.
9186         (square): Remove.  Inline it instead.
9187         (landmark--distance): Rename from `distance'.
9188         (landmark-calc-distance-of-robot-from): Rename from
9189         calc-distance-of-robot-from.
9190         (landmark-calc-smell-internal): Rename from calc-smell-internal.
9192 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
9194         * files.el (dir-locals-find-file, file-relative-name):
9195         * info.el (Info-complete-menu-item):
9196         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
9197         to compare-strings to avoid out-of-range errors.
9198         * subr.el (string-prefix-p): Adjust to match strict range
9199         checking in compare-strings.
9201 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
9203         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
9204         for comment lines non-greedy and stopping at newlines to fix stack
9205         overflows with large files.
9207 2014-06-24  Eli Barzilay  <eli@barzilay.org>
9209         * calculator.el (calculator-last-input): Drop 'ascii-character property
9210         lookup.
9212 2014-06-24  Leo Liu  <sdl.web@gmail.com>
9214         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
9215         tab-stop-list to nil.  (Bug#16381)
9217         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
9218         (indent-rigidly-left-to-tab-stop)
9219         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
9220         (move-to-tab-stop): Change callers.
9222 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
9224         * skeleton.el (skeleton-insert): Yet another fix of the doc string
9225         wrt behavior of \n as the first/last element of a skeleton.
9227 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
9229         * net/tramp-adb.el (tramp-adb-handle-process-file):
9230         * net/tramp-sh.el (tramp-sh-handle-process-file):
9231         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
9232         the output buffer when DISPLAY is non-nil.  (Bug#17815)
9234 2014-06-24  Glenn Morris  <rgm@gnu.org>
9236         * play/landmark.el (landmark-move-down, landmark-move-up):
9237         Fix 2007-10-20 change - preserve horizontal position.
9239 2014-06-23  Sam Steingold  <sds@gnu.org>
9241         * simple.el (kill-append): Remove undo boundary depending on ...
9242         (kill-append-merge-undo): New user option.
9244 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9246         * simple.el (handle-shift-selection, exchange-point-and-mark)
9247         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
9248         (transient-mark-mode): Use&set the global value.
9249         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
9250         * emulation/edt.el (edt-emulation-off): Save&restore the global
9251         transient-mark-mode setting.
9252         * obsolete/pc-select.el (pc-selection-mode): Use the
9253         transient-mark-mode function.
9255 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
9257         * international/fontset.el (script-representative-chars):
9258         Add representative characters for scripts added in Unicode 7.0.
9259         (otf-script-alist): Synchronize with the latest registry of OTF
9260         script tags.
9262         * international/characters.el (char-script-table): Update for
9263         scripts added and codepoint ranges changed in Unicode 7.0.
9265 2014-06-23  Eli Barzilay  <eli@barzilay.org>
9267         * calculator.el (calculator-standard-displayer): Fix bug in use of
9268         `calculator-groupize-number'.
9269         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
9270         `eval' code, so it works in v24.3.1 too.
9271         (calculator-last-input): Comment to clarify purpose.
9273 2014-06-22  Mario Lang  <mlang@delysid.org>
9275         * textmodes/rst.el (rst-comment-region): From from -> from.
9277         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
9279 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
9281         * electric.el (electric-layout-post-self-insert-function):
9282         * emacs-lisp/ert.el (ert--insert-infos):
9283         * obsolete/vi.el (vi-set-mark):
9284         * term.el (term-handle-scroll):
9285         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
9286         * wid-edit.el (widget-editable-list-value-create):
9287         Prefer point-marker to copy-marker of point.
9289 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9291         Fix completion retrieval parsing (bug#17209).
9292         * progmodes/python.el (python-mode):
9293         (python-util-strip-string): New function.
9294         (python-shell-completion-get-completions): Use it.
9296 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
9298         * skeleton.el (skeleton-insert): Fix last change.
9300 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9302         Enhancements for outline integration (bug#17796).
9303         * progmodes/python.el (python-mode): Properly set
9304         outline-heading-end-regexp so that comments after colons for
9305         defuns are supported.
9307 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
9309         * skeleton.el (skeleton-insert): Doc fix.
9311 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9313         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
9314         (smie-config-guess): Use smie-config-local so the rules are obeyed
9315         (bug#17818).
9317         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
9318         since it's already done inside the loop (bug#17819).
9320 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
9322         * mouse.el (mouse-drag-line): Re-remove code initially removed
9323         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
9324         (Bug#17819).
9326 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9328         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
9329         align with the surrounding parent (bug#17721).
9331 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
9333         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
9334         locally to nil.
9335         (texinfo-insert-block, texinfo-insert-@end)
9336         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
9337         local setting of skeleton-end-newline by adding an explicit \n to
9338         the skeletons where appropriate.  (Bug#17801)
9340 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9342         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
9343         (smie-indent--hanging-p): Use it.
9344         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
9346 2014-06-21  Leo Liu  <sdl.web@gmail.com>
9348         * simple.el (read-quoted-char): Don't let help chars pop up help
9349         buffer.  (Bug#16617)
9351 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9353         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
9354         for | (bug#17621).
9356         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
9357         Drop unknown events instead of burping.
9359 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
9361         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
9362         and later.  (Bug#17790)
9364 2014-06-21  Juri Linkov  <juri@jurta.org>
9366         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
9367         to `soft'.  (Bug#17554)
9369 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9371         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
9372         (bug#17737).
9374 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
9376         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
9377         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
9379 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
9381         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
9382         `unread-command-events'.
9384 2014-06-19  William Xu  <william.xwl@gmail.com>
9386         * progmodes/hideif.el (hif-string-to-number): Don't return float for
9387         hex integer constants (bug#17807).
9389 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9391         * international/mule-util.el (truncate-string-ellipsis): New var.
9392         (truncate-string-to-width): Use it.
9394 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
9396         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
9397         (lisp-string-in-doc-position-p): New function, extracted from
9398         lisp-font-lock-syntactic-face-function.
9399         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
9401 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
9403         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
9405 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9407         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
9408         (bubbles--game-over): Don't add `intangible' properties since they
9409         didn't work anyway.
9411 2014-06-18  Juri Linkov  <juri@jurta.org>
9413         * vc/ediff-init.el (ediff-current-diff-Ancestor)
9414         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
9415         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
9416         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
9417         Add `min-colors 88' version with removed black/white foregrounds.
9418         (Bug#10181)
9420 2014-06-18  Juri Linkov  <juri@jurta.org>
9422         * vc/diff-mode.el (diff-changed): Empty face definition to use
9423         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
9424         (diff-context): Use darker color on light background and
9425         lighter color on dark background.
9427 2014-06-18  Juri Linkov  <juri@jurta.org>
9429         * vc/diff-mode.el (diff-refine-changed): Rename from
9430         `diff-refine-change' for consistency with `diff-changed'.
9431         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
9433         * vc/smerge-mode.el (smerge-refined-changed): Rename from
9434         `smerge-refined-change'.
9435         (smerge-refined-change): Add obsolete face alias.
9437 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9439         * rect.el (rectangle-preview): New custom.
9440         (rectangle): New group.
9441         (rectangle--pos-cols): Add `window' argument.
9442         (rectangle--string-preview-state, rectangle--string-preview-window):
9443         New vars.
9444         (rectangle--string-flush-preview, rectangle--string-erase-preview)
9445         (rectangle--space-to, rectangle--string-preview): New functions.
9446         (string-rectangle): Use them.
9447         (rectangle--inhibit-region-highlight): New var.
9448         (rectangle--highlight-for-redisplay): Obey it.  Make sure
9449         `apply-on-region' uses the point-crutches of the right window.
9450         Use :align-to rather than multiple spaces.
9452 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
9454         * ruler-mode.el (ruler-mode-window-col)
9455         (ruler-mode-mouse-set-left-margin)
9456         (ruler-mode-mouse-set-right-margin): Fix calculation of column
9457         from mouse position (Bug#17768).
9459 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
9461         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
9462         without varname or rhs causes crash.
9463         (dun-ftp): Fix bug where blank ftp password is allowed, making it
9464         impossible to win endgame.
9465         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
9466         rlogin is anymore.
9467         (dun-help): Bump version number; update contact info.
9469 2014-06-15  Eli Barzilay  <eli@barzilay.org>
9471         * calculator.el (calculator-prompt, calculator-remove-zeros)
9472         (calculator-mode-hook, calculator-operators, calculator-stack)
9473         (calculator-mode): Tweak docstring.
9474         (calculator-user-operators): Tweak docstring, fix a bug in the last
9475         example.
9476         (calculator-displayer): `std' case has an optional boolean.
9477         (calculator-displayers): Use the new boolean to group in decimal mode.
9478         (calculator-mode-map, calculator, calculator-message)
9479         (calculator-op-arity, calculator-add-operators)
9480         (calculator-string-to-number, calculator-displayer-prev)
9481         (calculator-displayer-next, calculator-remove-zeros)
9482         (calculator-eng-display, calculator-number-to-string)
9483         (calculator-update-display, calculator-last-input)
9484         (calculator-clear-fragile, calculator-digit, calculator-decimal)
9485         (calculator-exp, calculator-saved-move, calculator-clear)
9486         (calculator-copy, calculator-put-value, calculator-help)
9487         (calculator-expt, calculator-truncate): Minor code improvements.
9488         (calculator-need-3-lines): New function pulling out code from
9489         `calculator'.
9490         (calculator-get-display): Rename from `calculator-get-prompt', and
9491         improved.
9492         (calculator-push-curnum): Rename from `calculator-curnum-value', and
9493         extended for all uses of it.  All callers changed.
9494         (calculator-groupize-number): New utility for splitting a number into
9495         groups.
9496         (calculator-standard-displayer): Improve code, new optional argument to
9497         use comma-split groups, make second argument optional too to use with
9498         'left/'right inputs.  All callers changed.
9499         (calculator-reduce-stack-once): New utility, doing the meat of what
9500         `calculator-reduce-stack' used to do, much improved (mostly using
9501         `pcase' for conciseness and clarity).
9502         (calculator-reduce-stack): Now doing just the reduction loop using
9503         `calculator-reduce-stack-once'.
9504         (calculator-funcall): Improve code, make it work in v24.3.1 too.
9505         (calculator-last-input): Improve code, remove some old cruft.
9506         (calculator-quit): Kill `calculator-buffer' in electric mode too.
9507         (calculator-integer-p): Remove.
9508         (calculator-fact): Improve code, make it work on non-integer values
9509         too (using truncated numbers).
9511 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
9513         Sync with Tramp 2.2.10.
9515         * net/tramp.el (tramp-methods): Tweak docstring.
9516         (tramp-handle-file-accessible-directory-p): Check for
9517         `file-readable-p' instead of `file-executable-p'.
9518         (tramp-check-cached-permissions):
9519         Use `tramp-compat-file-attributes'.
9520         (tramp-call-process): Add new argument VEC.  Adapt callees in all
9521         tramp*.el files.
9523         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
9524         (tramp-adb-maybe-open-connection): Don't set
9525         `tramp-current-*' variables.
9527         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
9528         file properties of temporary buffers.
9530         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
9532         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
9533         (tramp-gvfs-handle-delete-file): Flush file
9534         properties, not directory properties.
9535         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
9536         reading "unix::mode".
9537         (tramp-gvfs-handle-file-name-all-completions):
9538         Use "-h" option for "gvfs-ls".
9539         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
9540         (tramp-gvfs-send-command): Simplify traces.
9542         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
9543         (vc-git-program, vc-hg-program): Declare.
9544         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
9545         (tramp-methods) <nc>: Add new method.
9546         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
9547         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
9548         `tramp-login-args'.
9549         (tramp-default-user-alist): Add "nc".
9550         (top): Remove completion function for "sftp".  Add completion
9551         functions for "nc" and "psftp".
9552         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
9553         Implement support for "nc" method.
9554         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
9555         (tramp-remote-coding-commands, tramp-call-local-coding-command):
9556         Tweak docstring.
9557         (tramp-sh-handle-write-region): Tweak error message.
9558         (tramp-sh-handle-vc-registered): Remove backends when the remote
9559         binary does not exist.
9560         (tramp-find-inline-encoding): Do not raise an error.
9561         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
9562         the "nc" case.  Quote result also locally.
9564         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9565         (tramp-smb-handle-set-file-acl): Use `start-process'.
9566         (tramp-smb-handle-insert-directory): Use progress reporter.
9567         (tramp-smb-handle-rename-file): Flush also file properties of
9568         FILENAME.
9570         * net/trampver.el: Update release number.
9572 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9574         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
9575         add-to-list.
9576         (ses-localvars): Remove ses--local-printer-list, unused.
9577         (ses--metaprogramming): New macro.  Use it to defvar variables.
9578         (ses-set-localvars): Simplify.
9579         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
9580         property-list into an alist.
9581         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9582         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
9583         Remove; use defstruct accessors/setters instead.
9584         (ses-cell-formula-aset, ses-cell-printer-aset)
9585         (ses-cell-references-aset): Remove, use setf instead.
9586         (ses--alist-get): New function.
9587         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
9588         Use an alist instead of a plist and don't do move-to-front since the
9589         list is always short.
9590         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
9591         (ses-cell-property-set-fun, ses-cell-property-set)
9592         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
9593         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
9594         (ses--letref): New macro.
9595         (ses-cell-property-pop): Rewrite.
9596         (ses--cell): Rename from ses-cell and make it into a function.
9597         Make `formula' fallback on `value' if nil.
9598         (ses--local-printer): Rename from ses-local-printer and make it into
9599         a function.
9600         (ses-set-cell): Turn it into a macro so finding the accessor from the
9601         field name is done at compile time.
9602         (ses-repair-cell-reference-all): Test presence of `sym' rather than
9603         `ref' before adding `sym' to :ses-repair-reference.
9604         (ses-calculate-cell): Use ses--letref rather than
9605         ses-cell-property-get-handle.
9606         (ses-write-cells): Use a single prin1-to-string.
9607         (ses-setter-with-undo): New function.
9608         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
9609         (ses-unset-with-undo): Remove.
9610         (ses-load): Prefer apply' over `eval'.
9611         (ses-read-printer, ses-set-column-width): Use standard "(default
9612         foo)" format.
9614 2014-06-15  Glenn Morris  <rgm@gnu.org>
9616         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
9618         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
9619         Replace delete-duplicates and mapcan by cl- versions throughout.
9620         And cl-macroexpand-all by macroexpand-all.
9621         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
9623 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
9625         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
9627 2014-06-15  Juri Linkov  <juri@jurta.org>
9629         * bindings.el: Put `ascii-character' property on keypad keys
9630         mapped to characters.  (Bug#17759)
9632 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9634         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
9635         bumping forward into a closing paren (bug#17761).
9637         * term/xterm.el (xterm--version-handler): Work around for OSX
9638         Terminal.app (bug#17607).
9640 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
9642         * play/dunnet.el (dun-describe-room, dun-mode):
9643         If a lamp is in the room, you won't be eaten by a grue.
9645 2014-06-13  Glenn Morris  <rgm@gnu.org>
9647         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
9648         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
9649         (compile-always): GNU make automatically passes
9650         command-line arguments to sub-makes.
9652         * calendar/calendar.el (calendar-generate-window):
9653         Remove pointless call to font-lock-fontify-buffer.
9655 2014-06-13  Matthias Meulien  <orontee@gmail.com>
9657         * simple.el (completion-list-mode-map): Navigate with tab and backtab
9658         (bug#17767).
9660 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9662         * simple.el (set-mark-command): Simplify a bit.
9664 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
9666         * help.el (help--key-binding-keymap): New function.
9667         (help--binding-locus): New function.
9668         (describe-key): Mention the keymap in which the binding was
9669         found.  (bug#13948)
9671 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9673         * hippie-exp.el (he--all-buffers): New function.
9674         (try-expand-line-all-buffers, try-expand-list-all-buffers)
9675         (try-expand-dabbrev-all-buffers): Use it.
9677 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
9679         * hippie-exp.el (try-expand-line-all-buffers)
9680         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
9681         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
9682         original buffer, in case they're buffer-local.
9684 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9686         * ses.el (ses-initial-global-parameters-re): New defconst, a
9687         specific regexp is needed now that ses.el can handle both
9688         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
9689         local printers.
9690         (ses-localvars): Add local variables needed for local printer handling.
9691         (ses-set-localvars): Handle hashmap initialization.
9692         (ses-paramlines-plist): Add param-line for number of local printers.
9693         (ses-paramfmt-plist): New defconst, needed for code factorization
9694         between functions `ses-set-parameter' and
9695         `ses-file-format-extend-paramter-list'
9696         (ses-make-local-printer-info): New defsubst.
9697         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9698         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
9699         (ses-cell-printer-aset): New defmacro.
9700         (ses-local-printer-compile): New defun.
9701         (ses-local-printer): New defmacro.
9702         (ses-printer-validate, ses-call-printer): Add support for local
9703         printer functions.
9704         (ses-file-format-extend-paramter-list): New defun.
9705         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
9706         factorization.
9707         (ses-load): Add support for local printer functions.
9708         (ses-read-printer): Update docstring and add support for local printer
9709         functions.
9710         (ses-refresh-local-printer, ses-define-local-printer): New defun.
9711         (ses-safe-printer): Add support for local printer functions.
9713 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
9715         * ffap.el (ffap-lax-url): New var (bug#17723).
9716         (ffap-url-at-point): Use it.
9717         (ffap-file-at-point): Avoid returning just "/".
9719 2014-06-12  Matthias Meulien  <orontee@gmail.com>
9721         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
9722         (python-mode-map): Bind it.
9724         * progmodes/python.el (class skeleton): Don't erase last char of class
9725         name (bug#17683).
9727 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
9729         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9731 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
9733         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9734         (bug#17745).
9736 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9738         * international/mule-cmds.el: Use lexical-binding.
9739         (ucs-names): Simplify.
9741 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
9743         * progmodes/python.el (run-python): Use read-shell-command.
9745 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9747         * rect.el: Make it possible to move bounds past EOL or into TABs.
9748         (operate-on-rectangle): Use apply-on-rectangle.
9749         (rectangle--mark-crutches): New var.
9750         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9751         (rectangle--crutches, rectangle--reset-crutches): New functions.
9752         (apply-on-rectangle): Obey crutches.  Avoid setq.
9753         Fix missing final iteration if end is at EOB&BOL.
9754         (rectangle-mark-mode-map): Add remap bindings for
9755         exchange-point-and-mark and char/line movements.
9756         (rectangle--*-char): New function.
9757         (rectangle-exchange-point-and-mark, rectangle-right-char)
9758         (rectangle-left-char, rectangle-forward-char)
9759         (rectangle-backward-char, rectangle-next-line)
9760         (rectangle-previous-line): New commands.
9761         (rectangle--place-cursor): New function.
9762         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
9764 2014-06-08  Glenn Morris  <rgm@gnu.org>
9766         * startup.el (initial-buffer-choice): Doc fix.
9767         Reset :version (adding an option does not merit a :version bump).
9769         * bookmark.el (bookmark-load):
9770         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9772 2014-06-08  Juri Linkov  <juri@jurta.org>
9774         * desktop.el: Activate auto-saving on window configuration changes.
9775         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9776         `desktop-auto-save-set-timer' to/from
9777         `window-configuration-change-hook'.
9778         (desktop-auto-save-set-timer): Change REPEAT arg of
9779         `run-with-idle-timer' from t to nil.
9780         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9782 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
9784         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9785         vc-hg-command (bug#17570).
9787 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9789         * international/mule-cmds.el (ucs-names): Add special entry for BEL
9790         (bug#17702).
9792 2014-06-08  Glenn Morris  <rgm@gnu.org>
9794         * startup.el (window-setup-hook): Doc fix.
9796         * emacs-lisp/package.el (package-check-signature)
9797         (package-unsigned-archives): Doc fixes.
9799 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
9801         * window.el (display-buffer-use-some-window): Don't make window
9802         used smaller than it was before (Bug#17671).
9804 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
9806         * menu-bar.el (menu-bar-open): Fix last change: use the PC
9807         'redisplay' instead of '(sit-for 0)'.
9809 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
9811         * net/tramp.el (tramp-ssh-controlmaster-options):
9812         Improve search regexp.  (Bug#17653)
9814 2014-06-08  Glenn Morris  <rgm@gnu.org>
9816         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9818 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
9820         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9822 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
9824         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9825         (bug#17586).
9827         * vc/vc-hg.el (vc-hg-log-graph): New var.
9828         (vc-hg-print-log): Use it.
9829         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9830         graph output (bug#17515).
9832 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9834         * mouse.el (mouse-posn-property): Ignore buffer position info when the
9835         even happened elsewhere.
9837 2014-06-06  Mario Lang  <mlang@delysid.org>
9839         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9840         `recenter' if `current-buffer' is equal to `window-buffer'.
9842 2014-06-05  Leo Liu  <sdl.web@gmail.com>
9844         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9846 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
9848         * textmodes/tildify.el (tildify-foreach-region-outside-env):
9849         New function which calls a callback on portions of the buffer that are
9850         outside of ignored environments.
9851         (tildify-build-regexp): Remove function since it is now
9852         incorporated in `tildify-foreach-region-outside-env' where it is
9853         optimized and simplified by the use of `mapconcat'.
9854         (tildify-tildify): Return number of substitutions made so that…
9855         (tildify-count): …can be removed.
9856         (tildify-find-env): Accept a new PAIRS argument which was
9857         previously looked up in `tildify-ignored-environments-alist' each
9858         time the function was called.  With this change, the lookup is
9859         performed only once in `tildify-foreach-region-outside-env'.
9860         (tildify-region): Greatly simplify the function since now most of
9861         the work is done by `tildify-foreach-region-outside-env'.
9862         (tildify-mode-alist): Simplify slightly by avoiding if and setq
9863         and instead using or.
9865         * textmodes/tildify.el (tildify-ignored-environments-alist):
9866         Optimize environments regexes
9868         Each time beginning of an environment to ignore is found,
9869         `tildify-find-env' needs to identify regexp for the ending
9870         of the environment.  This is done by trying all the opening
9871         regexes on matched text in a loop, so to speed that up, this
9872         loop should have fewer things to match, which can be done by
9873         using alternatives in the opening regexes.
9875         Coincidentally, this should make matching of the opening
9876         regexp faster as well thanks to the use of `regexp-opt' and
9877         having common prefix pulled from many regexes.
9879         * textmodes/tildify.el (tildify-string-alist)
9880         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
9881         of supported modes since `xml-mode' is no longer a thing but just
9882         an alias to the former.  Also include comments and insides of tags
9883         in `tildify-ignored-environments-alist' for XML modes.  Finally,
9884         since XML does not define “&nbsp;”[1], use a numeric reference for
9885         a no-break space (namely “&#160;”)
9887         [1] XML specification defines only a handful of predefined entities.
9888             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
9889             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
9890             >, &, ' and " respectively).  This is in contrast to HTML and even
9891             XHTML which defined a whole bunch of entities including “&nbsp;”.
9893         * textmodes/tildify.el (tildify-pattern-alist)
9894         (tildify-string-alist, tildify-ignored-environments-alist):
9895         Improve defcustom's types by adding more tags explaining what each
9896         value means and replace “sexp” used in
9897         `tildify-ignored-environments-alist' with a full type declaration.
9899         * textmodes/tildify.el (tildify-find-env): Fix matched group
9900         indexes in end-regex building
9902         When looking for a start of an ignore-environment, the regex is built
9903         by concatenating regexes of all the environments configured in
9904         `tildify-ignored-environments-alist'.  So for example, the following
9905         list could be used to match TeX's \verb and \verb* commands:
9907             (("\\\\verb\\(.\\)" . (1))
9908              ("\\\\verb\\*\\(.\\)" . (1)))
9910         This would result in the following regex being used to find the start
9911         of any of the variants of the \verb command:
9913             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
9915         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
9916         won't match anything, and thus (match-string 1) will be nil, which
9917         will cause building of the end-matching regex to fail.
9919         Fix this by using capture groups from the time when the opening
9920         regexes are matched individually.
9922         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
9923         in `tildify-find-env'
9925         The `tildify-ignored-environments-alist' allows the end-regex to
9926         be provided not as a static string but mix of strings and indexes
9927         of groups matched the begin-regex.  For example, the “\verb!…!”
9928         TeX-command (where “!” is an arbitrary character) is handled
9929         using:
9931             ("\\\\verb\\*?\\(.\\)" . (1))
9933         In the same way, the following should be supported as well:
9935             ("open-\\(.\\)" . ("end-" 1))
9937         However the tildify-find-env function fails at
9939             (concat result
9940                     (if (stringp (setq aux (car expression)))
9941                          expression  ; BUG: expression is a list
9942                        (regexp-quote (match-string aux))))
9944         where the string part is handled incorrectly.
9946         The most trivial fix would be to replace `expression' in the
9947         true-part of the if-statement with `aux', but instead, this commit
9948         optimizes `tildify-find-env' by changing it to use `mapconcat'
9949         rather than open-coded while-loop.
9951 2014-06-05  Mario Lang  <mlang@delysid.org>
9953         * woman.el (woman-mapcan): Remove.
9954         (woman-parse-colon-path): Use cl-mapcan instead.
9956 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9958         * register.el: Add link to Emacs manual in Commentary.
9960 2014-06-02  Sam Steingold  <sds@gnu.org>
9962         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
9963         (popup-menu): ...here.
9964         (menu-bar-open): Use it to avoid an error when `lookup-key'
9965         returns a number.
9967 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
9969         * net/tramp.el (tramp-call-process): Add traces.
9970         (tramp-handle-unhandled-file-name-directory): Return "/".
9972 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
9974         Sync with upstream verilog-mode revision 3cd8144.
9975         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
9976         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
9977         (verilog-type-font-keywords): Add nor.
9978         (verilog-batch-execute-func): Force reading of Local Variables.
9979         Fix printing "no changes to be saved" with verilog-batch.
9980         (verilog-auto-arg-ports): Doc fix.
9981         Add verilog-auto-arg-format to support newlines in AUTOARG.
9982         (verilog-auto-arg): Doc fix.
9984 2014-06-02  Glenn Morris  <rgm@gnu.org>
9986         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
9987         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
9988         * emulation/ws-mode.el: Move to obsolete/.
9989         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
9991 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
9993         * simple.el (keyboard-quit): Force update of mode lines, to remove
9994         the "Def" indicator, if we were defining a macro.  (Bug#17615)
9996 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9998         * minibuffer.el (minibuffer-force-complete-and-exit):
9999         Obey minibuffer-default (bug#17545).
10001         * progmodes/js.el (js-indent-line): Don't mix columns and chars
10002         (bug#17619).
10004         * subr.el (set-transient-map): Don't wait for some "nested"
10005         transient-map to finish if we're only supposed to be active for
10006         the next command (bug#17642).
10008 2014-06-02  Leo Liu  <sdl.web@gmail.com>
10010         * emacs-lisp/gv.el (window-buffer, window-display-table)
10011         (window-dedicated-p, window-hscroll, window-point, window-start):
10012         Fix gv-expander.  (Bug#17630)
10014 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10016         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
10017         clicks (bug#17633).
10019         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
10020         for the single comma, since ", " is *very* common in normal French text
10021         (bug#17643).
10023 2014-06-02  Glenn Morris  <rgm@gnu.org>
10025         * emacs-lisp/package.el (package-check-signature)
10026         (package-unsigned-archives): Fix :version.
10028 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10030         * subr.el (sit-for): Don't run input-methods (bug#15614).
10032 2014-06-02  Glenn Morris  <rgm@gnu.org>
10034         * cus-start.el: Fix some :version numbers.
10036 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10038         * simple.el (deactivate-mark): Set mark-active to nil even if
10039         deactivation is done via setting transient-mark-mode to nil,
10040         since one is buffer-local and the other is global.
10042         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
10043         there can't be more than 2 arguments (bug#17584).
10045 2014-06-02  Glenn Morris  <rgm@gnu.org>
10047         * simple.el (filter-buffer-substring-functions)
10048         (filter-buffer-substring-function, buffer-substring-filters)
10049         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
10051         * minibuffer.el (completion-in-region-functions, completion-in-region)
10052         (completion--in-region): Doc fixes.
10054         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
10055         (expand-abbrev, abbrev--default-expand): Doc fixes.
10057 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
10059         Include sources used to create macuvs.h.
10060         * international/README: Refer to the Unicode Terms of Use rather
10061         than copying it bodily here, as that simplifies maintenance.
10063 2014-06-01  Glenn Morris  <rgm@gnu.org>
10065         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
10067 2014-05-31  Glenn Morris  <rgm@gnu.org>
10069         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
10071 2014-05-30  Glenn Morris  <rgm@gnu.org>
10073         * loadup.el: Treat `command-line-args' more flexibly.
10075 2014-05-30  Alan Mackenzie  <acm@muc.de>
10077         Guard (looking-at "\\s!") from XEmacs.
10078         * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
10080 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>
10082         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
10083         The argument COUNT is now optional, to be more backward-compatible.
10084         Doc fix.  (Bug#17560)
10086 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
10088         * whitespace.el (whitespace-report-region):
10089         Simplify documentation.
10090         (whitespace-report-region): Allow report-if-bogus to take the
10091         value `never', for non-interactive use.
10092         (whitespace-report): Refer to whitespace-report-region's
10093         documentation.
10095 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10097         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
10098         Side benefit: it works without jit-lock.
10099         (whitespace-point--used): New buffer-local var.
10100         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
10101         (whitespace-color-off): Use font-lock-flush.
10102         (whitespace-point--used, whitespace-point--flush-used): New functions.
10103         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
10104         (whitespace-empty-at-eob-regexp): Use them.
10105         (whitespace-post-command-hook): Rewrite.
10107         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
10108         (font-lock-fontify-buffer): Mark interactive-only.
10109         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
10110         Make buffer-local.
10111         (font-lock-specified-p): Remove redundant boundp check.
10112         (font-lock-flush-function, font-lock-ensure-function): New vars.
10113         (font-lock-turn-on-thing-lock): Set them.
10114         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
10115         (font-lock-after-change-function): Make `old-len' optional.
10116         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
10117         Call font-lock-flush, just in case.
10118         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
10119         recent Emacsen.
10120         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
10121         (vera-mode-map, vera-mode-menu): Remove bindings to it.
10122         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
10123         and with-syntax-table.
10124         * textmodes/conf-mode.el (conf-quote-normal):
10125         * progmodes/sh-script.el (sh-set-shell):
10126         * progmodes/prog-mode.el (prettify-symbols-mode):
10127         * progmodes/f90.el (f90-font-lock-n):
10128         * progmodes/cwarn.el (cwarn-mode):
10129         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
10130         * progmodes/compile.el (compilation-setup, compilation--unsetup):
10131         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
10132         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
10133         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
10134         font-lock-fontify-buffer-function and
10135         font-lock-unfontify-buffer-function.
10136         (rmail-unfontify-buffer-function, rmail-fontify-message):
10137         Use with-silent-modifications.
10138         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
10139         and font-lock-ensure.
10140         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
10142 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
10144         * emacs-lisp/package.el (package-generate-autoloads):
10145         Inhibit backup files.
10147 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10149         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
10150         (bug#17608).
10152 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
10154         * textmodes/tildify.el (tildify-buffer, tildify-region):
10155         Add dont-ask option.
10157 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10159         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
10160         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
10162         * subr.el (internal--funcall-interactively): New.
10163         (internal--call-interactively): Remove.
10164         (called-interactively-p): Detect funcall-interactively instead of
10165         call-interactively.
10166         * simple.el (repeat-complex-command): Use funcall-interactively.
10167         (repeat-complex-command--called-interactively-skip): Remove.
10169 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10171         * register.el (register-read-with-preview): Don't burp on
10172         frame switches (e.g. due to the frame we just popped).
10174         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
10175         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
10177 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
10179         * cus-face.el (custom-face-attributes): Add :distant-foreground.
10181 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
10183         * window.el (window--dump-frame): Remove interactive specification.
10185 2014-05-26  Glenn Morris  <rgm@gnu.org>
10187         * hippie-exp.el (he-line-search-regexp):
10188         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
10190 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
10192         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
10193         to avoid errors when trying to create or visit a file foo.todo
10194         located outside to todo-directory, and to allow having such files
10195         without them being tied to Todo mode (bug#17482).
10196         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
10197         (todo-archive-done-item, todo-find-filtered-items-file)
10198         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
10199         (todo-category-completions, todo-read-category): When visiting a
10200         Todo file, make sure we're in the right mode and the buffer local
10201         variables are set.
10202         (todo-make-categories-list, todo-reset-nondiary-marker)
10203         (todo-reset-done-string, todo-reset-comment-string):
10204         After processing all Todo files, kill the buffers of those files that
10205         weren't being visited before the processing.
10206         (todo-display-as-todo-file, todo-add-to-buffer-list)
10207         (todo-visit-files-commands): Comment out.
10208         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
10209         (auto-mode-alist): Remove add-to-list calls making Todo file
10210         extensions unrestrictedly tied to Todo modes.
10212 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10214         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
10215         (advice-function-member-p): Tell it to check both names and functions
10216         (bug#17531).
10217         (advice--add-function): Adjust call accordingly.
10219 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
10221         * calendar/todo-mode.el: Miscellaneous bug fixes.
10222         (todo-delete-file): When deleting an archive but not its todo
10223         file, make sure to update the todo file's category sexp.
10224         (todo-move-category): Keep the moved category's name unless the
10225         file moved to already has a category with that name.  If the
10226         numerically last category of the source file was moved, make the
10227         first category current to avoid selecting a nonexisting category.
10228         (todo-merge-category): Fix implementation to make merging to a
10229         category in another file work as documented.  Eliminate now
10230         insufficient and unnecessary renaming of archive category, correct
10231         document string accordingly, and clarify it.  If the numerically
10232         last category of the source file was merged, make the first
10233         category current to avoid selecting a nonexisting category.
10234         (todo-archive-done-item): When there are marked items and point
10235         happens to be on an unmarked item, ignore the latter.  Don't leave
10236         point below last item after archiving marked items.
10237         (todo-unarchive-items): Fix logic to ensure unarchiving an item
10238         from an archive with only one category deletes the archive only
10239         when the category is empty after unarchiving.  Make sure the todo
10240         file's category sexp is updated.
10241         (todo-read-file-name): Allow an existing file name even when it is
10242         not required (todo-move-category needs this to work as documented).
10243         (todo-add-file): Call todo-validate-name to reject the name of an
10244         existing todo file (needed due to fix in todo-read-file-name).
10245         (todo-reset-nondiary-marker): Also reset in filtered items files.
10246         (todo-reset-done-string, todo-reset-comment-string): Also reset in
10247         regexp filtered items files.
10248         (todo-reset-highlight-item): Also reset in filtered items files.
10249         Fix incorrect variable reference in document string.
10251 2014-05-26  Glenn Morris  <rgm@gnu.org>
10253         * window.el (window--dump-frame): Avoid error in --without-x builds.
10255 2014-05-26  Glenn Morris  <rgm@gnu.org>
10257         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
10259 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
10261         * frame.el (set-frame-font): Doc fix.
10263         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
10265 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
10267         * emacs-lisp/package.el (package--download-one-archive):
10268         Use `write-region' instead of `save-buffer' to avoid running various
10269         hooks.  (Bug#17155)
10270         (describe-package-1): Same.  Insert newline at the end of the
10271         buffer if appropriate.
10273 2014-05-26  Juri Linkov  <juri@jurta.org>
10275         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
10276         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
10277         Add more modifiers: meta, control, shift, hyper, super, alt.
10278         (Bug#17439)
10280         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
10281         to allow changing its value with `set-variable'.
10283 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10285         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
10286         #; comments.
10287         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
10288         New functions.
10289         (scheme-mode-variables): Set syntax-propertize-function instead of
10290         font-lock-syntactic-face-function.
10291         (scheme-font-lock-syntactic-face-function): Delete.
10293         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
10295         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
10296         (bug#17392).
10298 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
10300         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
10301         for a temporary file name.
10303 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
10305         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
10307 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
10309         * net/dbus.el (dbus-init-bus, dbus-call-method)
10310         (dbus-call-method-asynchronously, dbus-send-signal)
10311         (dbus-method-return-internal, dbus-method-error-internal):
10312         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
10314 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
10316         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
10317         methods which do not have a doc string.  (Bug#17490)
10319 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
10321         * textmodes/reftex-ref.el (reftex-format-special): Make it work
10322         also for AMS Math's \eqref macro.
10324 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
10326         Arrange to never byte-compile the generated -pkg.el file.
10328         * emacs-lisp/package.el (package-generate-description-file):
10329         Output first-line comment to set buffer-local var `no-byte-compile'.
10330         Suggested by Dmitry Gutov:
10331         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
10333 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
10335         Fix bug: Properly quote args to generated -pkg.el `define-package'.
10337         * emacs-lisp/package.el (package-generate-description-file):
10338         Inline `package--alist-to-plist'; rewrite to selectively
10339         quote alist values that are not self-quoting.
10340         (package--alist-to-plist): Delete func.
10342 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
10344         * term/xterm.el (xterm-function-map): Add mapping for shifted
10345         keypad keys.
10347 2014-05-24  Daniel Colascione  <dancol@dancol.org>
10349         * progmodes/subword.el (subword-find-word-boundary): Move point to
10350         correct spot before search.  (Bug#17580)
10352         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
10353         breaking the build.
10355 2014-05-24  Leo Liu  <sdl.web@gmail.com>
10357         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
10359 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10361         * minibuffer.el (completion--sreverse): Remove.
10362         (completion--common-suffix): Use `reverse' instead.
10363         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
10365 2014-05-22  Glenn Morris  <rgm@gnu.org>
10367         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
10369 2014-05-21  Daniel Colascione  <dancol@dancol.org>
10371         * files.el (interpreter-mode-alist): Add mksh.
10373         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
10374         derivative.
10375         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
10376         mksh. Improve custom spec; allow regular expressions.
10377         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
10378         (sh-after-hack-local-variables): New function.
10379         (sh-mode): Use it; respect file-local `sh-shell' variable.  (Bug#17333)
10380         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
10381         the normalization.
10382         (sh-canonicalize-shell): Rewrite to support regexes.
10384 2014-05-21  Leo Liu  <sdl.web@gmail.com>
10386         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
10388 2014-05-19  Leo Liu  <sdl.web@gmail.com>
10390         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
10392 2014-05-18  Glenn Morris  <rgm@gnu.org>
10394         * loadup.el:
10395         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
10397 2014-05-14  Sam Steingold  <sds@gnu.org>
10399         * progmodes/python.el (python-shell-get-or-create-process):
10400         Do not bind `current-prefix-arg' so that C-c C-z does not talk
10401         back unless requested.
10403 2014-05-14  Glenn Morris  <rgm@gnu.org>
10405         * subr.el (with-file-modes): New macro.
10406         * printing.el (pr-save-file-modes): Make obsolete.
10407         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
10408         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
10409         Add with-file-modes.
10410         * doc-view.el (doc-view-make-safe-dir):
10411         * epg.el (epg--start):
10412         * files.el (locate-user-emacs-file, make-temp-file)
10413         (backup-buffer-copy, move-file-to-trash):
10414         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
10415         * eshell/esh-util.el (eshell-with-private-file-modes)
10416         (eshell-make-private-directory):
10417         * net/browse-url.el (browse-url-mosaic):
10418         * obsolete/mailpost.el (post-mail-send-it):
10419         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
10420         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
10421         Use with-file-modes.
10423         * vc/emerge.el (emerge-make-temp-file): Simplify.
10425 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
10426             Stefan Monnier  <monnier@iro.umontreal.ca>
10428         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
10429         suffix (bug#15419).
10431 2014-05-14  Glenn Morris  <rgm@gnu.org>
10433         * vc/emerge.el (emerge-temp-file-prefix):
10434         Make pointless option obsolete.
10435         (emerge-temp-file-mode): Make non-functional option obsolete.
10437 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
10439         * net/browse-url.el (browse-url):
10440         Use `unhandled-file-name-directory' when setting `default-directory',
10441         in order to circumvent stalled remote connections.  (Bug#17425)
10443 2014-05-14  Glenn Morris  <rgm@gnu.org>
10445         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
10446         Optimize on Emacs, which has the relevant functions for ages.
10448 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10450         * simple.el (undo-make-selective-list): Obey undo-no-redo.
10452 2014-05-12  Sam Steingold  <sds@gnu.org>
10454         * calendar/time-date.el (seconds-to-string): New function to
10455         pretty print time delay in seconds.
10457 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10459         * mpc.el (mpc-format): Trim Date to the year.
10460         (mpc-songs-hashcons): Shorten the Date field.
10462         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
10463         into autoloading just because of a silly indirection.
10465 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
10467         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
10469 2014-05-12  Glenn Morris  <rgm@gnu.org>
10471         * emacs-lisp/find-gc.el: Move to ../admin.
10473         * printing.el (pr-version):
10474         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
10476         * net/browse-url.el (browse-url-mosaic):
10477         Create /tmp/Mosaic.PID as a private file.
10479 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10481         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
10482         (advice--member-p): If name is given, only compare the name.
10483         (advice--remove-function): Don't stop at the first match.
10484         (advice--normalize-place): New function.
10485         (add-function, remove-function): Use it.
10486         (advice--add-function): Pass the name, if any, to
10487         advice--remove-function.
10489 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
10491         * electric.el (electric-indent-post-self-insert-function): Don't use
10492         `pos' after modifying the buffer (bug#17449).
10494 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
10496         * calendar/todo-mode.el (todo-insert-item-from-calendar):
10497         Correct argument list to conform to todo-insert-item--basic.
10499 2014-05-12  Glenn Morris  <rgm@gnu.org>
10501         * files.el (cd-absolute): Test if directory is accessible
10502         rather than executable.  (Bug#17330)
10504         * progmodes/compile.el (recompile):
10505         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
10507         * net/browse-url.el (browse-url-mosaic):
10508         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
10509         This is CVE-2014-3423.
10511 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10513         * mouse.el: Use the normal toplevel loop while dragging.
10514         (mouse-set-point): Handle multi-clicks.
10515         (mouse-set-region): Handle multi-clicks for drags.
10516         (mouse-drag-region): Update call accordingly.
10517         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
10518         Use the normal event loop instead of a local while/read-event loop.
10519         (global-map): Remove redundant bindings for double/triple-mouse-1.
10520         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
10521         Generate synthetic down events when the protocol only sends up events.
10522         (xterm-mouse-last): Remove.
10523         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
10524         terminal parameter instead.
10525         (xterm-mouse--set-click-count): New function.
10526         (xterm-mouse-event): Detect/generate double/triple clicks.
10527         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
10529         * info.el (Info-quoted): New face.
10530         (Info-mode-font-lock-keywords): New var.
10531         (Info-mode): Use it.
10533         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
10534         are a hindrance for C-x C-e.
10536 2014-05-11  Leo Liu  <sdl.web@gmail.com>
10538         * net/rcirc.el (rcirc-sentinel): Fix last change.
10540 2014-05-08  Sam Steingold  <sds@gnu.org>
10542         * net/rcirc.el (rcirc-reconnect-delay): New user option.
10543         (rcirc-sentinel): Auto-reconnect to the server if
10544         `rcirc-reconnect-delay' is non-0 (but not more often than its
10545         value in case the host is off-line).
10547 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
10549         * progmodes/grep.el (lgrep): Fix a typo in last commit.
10551 2014-05-09  Glenn Morris  <rgm@gnu.org>
10553         * files.el (file-expand-wildcards):
10554         * man.el (Man-support-local-filenames):
10555         * printing.el (pr-i-directory, pr-interface-directory):
10556         * progmodes/grep.el (lgrep, rgrep):
10557         * textmodes/ispell.el (ispell-call-process)
10558         (ispell-call-process-region, ispell-start-process)
10559         (ispell-init-process): Use file-accessible-directory-p.
10561 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10563         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
10564         (xterm-mouse--read-event-sequence-1000): Return nil if something
10565         looks fishy.
10566         (xterm-mouse-event): Propagate it.
10567         (xterm-mouse-translate-1): Handle it.
10569 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
10571         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
10572         four slots of the parameter list are filled, make sure to pass it
10573         to the argument list of todo-insert-item--basic.
10575 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10577         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
10578         Add optional `seen' argument to detect and break infinite loops.
10580 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
10582         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
10583         (trace-unsafe, trace-use-tree): Make parentheses style be
10584         according to Emacs style.
10586 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
10588         * net/tramp-sh.el (tramp-remote-process-environment):
10589         Remove HISTFILE and HISTSIZE; it's too late to set them here.
10590         Add :version entry.
10591         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
10592         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
10593         extra "PSx=..." commands.
10594         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
10595         (Bug#17295)
10597         (tramp-uudecode): Replace the hard-coded temporary file name by a
10598         format specifier.
10599         (tramp-remote-coding-commands): Enhance docstring.
10600         (tramp-find-inline-encoding): Replace "%t" by a temporary file
10601         name.  (Bug#17415)
10602         This is CVE-2014-3424.
10604 2014-05-08  Glenn Morris  <rgm@gnu.org>
10606         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
10607         (find-gc-source-files): Update some names.
10608         (trace-call-tree): Simplify and update.
10609         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
10610         This is CVE-2014-3422.
10612 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10614         * minibuffer.el (completion--try-word-completion): Revert fix for
10615         Bug#15980 (bug#17375).
10617         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
10618         Always store button numbers in the same way in xterm-mouse-last;
10619         Don't burp is xterm-mouse-last is not set as expected.
10620         Never return negative indices.
10622 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
10624         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10625         Backtrack one char if the global/char-literal var matcher hits
10626         inside a string.  The next char could be the beginning of an
10627         expression expansion.
10629 2014-05-08  Glenn Morris  <rgm@gnu.org>
10631         * help-fns.el (describe-function-1): Test for an autoload before a
10632         macro, since `macrop' works on autoloads.  (Bug#17410)
10634 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10636         * electric.el (electric-indent-functions-without-reindent): Add yaml.
10638         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
10639         Make sure the new point we return is within the new string (bug#17239).
10641 2014-05-05  Daniel Colascione  <dancol@dancol.org>
10643         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10644         Port `gnu' pattern to rx.
10646 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
10648         Remove unneeded prompt when closing a buffer with active
10649         emacsclient ("Buffer ... still has clients"), #16548.
10650         * server.el (server-start): Remove the only call to:
10651         (server-kill-buffer-query-function): Remove.
10653 2014-05-04  Leo Liu  <sdl.web@gmail.com>
10655         * calendar/diary-lib.el (calendar-chinese-month-name-array):
10656         Defvar to pacify compiler.
10658 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
10660         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
10662 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10664         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10665         Use nil rather than `default' for the "default" appearance (bug#17388).
10666         * vc/ediff-util.el (ediff-inferior-compare-regions)
10667         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
10668         a misleading `default' value when it's really a boolean.
10669         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
10670         overlay is not visible.
10672 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
10674         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
10675         (todo-menu): Uncomment and update.
10677 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
10679         * calendar/todo-mode.el: Reimplement item editing to have the same
10680         basic user interface as item insertion, and make small UI and
10681         larger internal improvements to the latter.
10682         (todo-insert-item): Add reference to the Todo mode user manual to
10683         the documentation string.
10684         (todo-insert-item--basic): Rename from todo-basic-insert-item and
10685         adjust all callers.  Change signature to combine diary and
10686         nonmarking arguments.  Incorporate functionality of deleted item
10687         copying command and add error checking.  Remove detailed
10688         descriptions of the arguments from the documentation string, since
10689         this is treated in the Todo mode user manual.
10690         (todo-copy-item, todo-edit-multiline-item)
10691         (todo-edit-done-item-comment, todo-edit-item-header)
10692         (todo-edit-item-time, todo-edit-item-date-from-calendar)
10693         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
10694         (todo-edit-item-date-year, todo-edit-item-date-month)
10695         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
10696         Remove.
10697         (todo-edit-item): Reimplement as wrapper command for
10698         todo-edit-item--next-key and make it distinguish done and not done
10699         todo items.
10700         (todo-edit-item--text): New function, replacing old command
10701         todo-edit-item and incorporating deleted commands
10702         todo-edit-multiline-item and todo-edit-done-item-comment.
10703         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
10704         Use only numeric value of prefix argument.  Remove detailed
10705         descriptions of the arguments from the documentation string, since
10706         this is treated in the Todo mode user manual.
10707         (todo-edit-item--diary-inclusion): New function, replacing old
10708         command todo-edit-item-diary-inclusion and incorporating and fixing
10709         functionality of deleted command todo-edit-item-diary-nonmarking,
10710         making sure to remove todo-nondiary-marker when adding
10711         diary-nonmarking-symbol.
10712         (todo-edit-category-diary-inclusion): Make sure to delete
10713         diary-nonmarking-symbol when adding todo-nondiary-marker.
10714         (todo-edit-category-diary-nonmarking): Fix indentation.
10715         (todo-insert-item--parameters): Group diary and nonmarking
10716         parameters together.
10717         (todo-insert-item--apply-args): Adjust to signature of
10718         todo-insert-item--basic and incorporate copy parameter.
10719         Make small code improvements.
10720         (todo-insert-item--next-param): Improve prompt and adjust it to
10721         new parameter grouping.  Remove obsolete code.
10722         (todo-edit-item--param-key-alist)
10723         (todo-edit-item--date-param-key-alist)
10724         (todo-edit-done-item--param-key-alist): New defconsts.
10725         (todo-edit-item--prompt): New variable.
10726         (todo-edit-item--next-key): New function.
10727         (todo-key-bindings-t): Bind "e" to todo-edit-item.
10728         Remove bindings of deleted commands.
10730 2014-05-04  Leo Liu  <sdl.web@gmail.com>
10732         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10734 2014-05-04  Glenn Morris  <rgm@gnu.org>
10736         * allout-widgets.el (allout-widgets-tally)
10737         (allout-decorate-item-guides):
10738         * menu-bar.el (menu-bar-positive-p):
10739         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10740         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10741         * progmodes/js.el (js--inside-param-list-p)
10742         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10743         * progmodes/prolog.el (region-exists-p):
10744         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10745         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10746         Doc fixes (replace `iff').
10748 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10750         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10752 2014-05-04  Leo Liu  <sdl.web@gmail.com>
10754         Support Chinese diary entries in calendar and diary.  (Bug#17393)
10755         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10756         (calendar-chinese-from-absolute-for-diary)
10757         (calendar-chinese-to-absolute-for-diary)
10758         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10759         (diary-chinese-list-entries): New functions to list and mark
10760         Chinese diary entries in the calendar window.
10761         (diary-chinese-anniversary)
10762         (diary-chinese-insert-anniversary-entry)
10763         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10764         (diary-chinese-insert-yearly-entry): New commands to insert
10765         Chinese diary entries.
10767         * calendar/diary-lib.el (diary-font-lock-keywords):
10768         Support font-locking Chinese dates.
10770         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10771         inserting Chinese diary entries.
10773         * calendar/calendar.el (diary-chinese-entry-symbol):
10774         New customizable variable.
10775         (calendar-mode-map): Add bindings for inserting Chinese diary
10776         entries.
10778 2014-05-03  Juri Linkov  <juri@jurta.org>
10780         * dired.el (dired-check-switches, dired-switches-recursive-p):
10781         New functions.  (Bug#17218)
10782         (dired-switches-escape-p, dired-move-to-end-of-filename):
10783         Use `dired-check-switches'.
10784         (dired-insert-old-subdirs, dired-build-subdir-alist)
10785         (dired-sort-R-check): Use `dired-switches-recursive-p'.
10787 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
10789         * simple.el (undo-make-selective-list): New algorithm fixes
10790         incorrectness of position adjustments when undoing in region.
10791         (Bug#17235)
10792         (undo-elt-crosses-region): Make obsolete.
10793         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10794         New functions to adjust positions using undo-deltas.
10796 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10798         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10799         the last consecutive closing paren (bug#17345).
10801 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
10803         * dired.el (dired-mode): make terminology for eXpunge command
10804         consistent.  (Bug#17276)
10806 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
10808         * dired.el (dired-initial-position-hook, dired-initial-position):
10809         Doc string fixes.
10811 2014-04-30  Glenn Morris  <rgm@gnu.org>
10813         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
10815 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
10817         * faces.el (face-spec-recalc): Apply X resources only after the
10818         defface spec has been applied. Thus, X resources are no longer
10819         overriden by the defface spec which also fixes issues on win32 where
10820         the toolbar coloring was wrong because it is set through X resources
10821         and was (wrongfully) overriden.  (Bug#16694)
10823 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10825         * textmodes/rst.el (electric-pair-pairs): Declare.
10826         (rst-mode): Set it (bug#17131).
10828 2014-04-30  Juri Linkov  <juri@jurta.org>
10830         * desktop.el (desktop-value-to-string): Let-bind `print-length'
10831         and `print-level' to nil.  (Bug#17351)
10833 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
10835         * battery.el (battery-update): Handle the case where battery
10836         status is "N/A" (bug#17319).
10838 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10840         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
10841         to syntax-propertize.
10842         (ps-mode-auto-indent): Mark as obsolete.
10843         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10844         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10845         word regexp operators.
10846         (ps-mode-map): Move initialization into declaration.  Remove binding
10847         for TAB, RET, >, ], and }.
10848         (ps-mode-syntax-table): Move initialization into declaration.
10849         Don't give word syntax to non-word chars.
10850         (ps-run-mode-map): Move initialization into declaration.
10851         (ps-mode-menu-main): Remove auto-indent entry.
10852         (ps-mode-smie-rules): New function.
10853         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10854         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10855         (ps-mode--string-syntax-table): New const.
10856         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10857         New functions.
10858         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10859         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10861 2014-04-27  Daniel Colascione  <dancol@dancol.org>
10863         * term/xterm.el (xterm-paste): Use large finite timeout when
10864         reading event to avoid putting keys in this-command-keys.
10866 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10868         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10869         (perl-syntax-propertize-function): Use it.  Extend handling of
10870         here-docs to the unquoted case.
10872 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
10874         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10875         Use equal-including-properties to compare help-echo strings (bug#17331).
10877 2014-04-25  Leo Liu  <sdl.web@gmail.com>
10879         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10880         Fix syntax for @.  (Bug#17325)
10882 2014-04-25  Daniel Colascione  <dancol@dancol.org>
10884         * emacs-lisp/cl.el (gv): Require gv early to break eager
10885         macro-expansion cycles.
10887 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10889         * simple.el (region-active-p): Check there's a mark (bug#17324).
10891         * simple.el (completion-list-mode-map): Use choose-completion for the
10892         mouse binding as well (bug#17302).
10893         (completion-list-mode, completion-setup-function): Adjust docstring and
10894         echo area message accordingly.
10895         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
10896         calling convention of choose-completion.
10897         * comint.el (comint-dynamic-list-completions):
10898         * term.el (term-dynamic-list-completions): Accept choose-completion.
10900         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
10901         &, |, +, - and * can't be a division (bug#17317).
10903         * term/xterm.el (xterm--version-handler): Don't use modern xterm
10904         features on gnome-terminal (bug#16988).
10906 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
10908         Improve Scheme font-locking for (define ((foo ...) ...) ...).
10910         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
10911         the declared object, ignore zero or more parens, not zero or one.
10913 2014-04-24  Leo Liu  <sdl.web@gmail.com>
10915         * progmodes/xscheme.el (xscheme-expressions-ring)
10916         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
10917         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
10918         (xscheme-allow-output-p, xscheme-prompt)
10919         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
10921         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
10922         Comment out unused functions.
10924 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10926         * info.el: Use lexical-binding and cl-lib.
10927         Use defvar-local and setq-local instead of make-local-variable.
10928         (Info-apropos-matches): Avoid add-to-list.
10929         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
10931 2014-04-24  Daniel Colascione  <dancol@dancol.org>
10933         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
10935 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10937         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
10939 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
10941         * dired.el (dired-insert-set-properties): Do not consider
10942         subdirectory headings and empty lines to be information that
10943         `dired-hide-details-mode' should hide.  (Bug#17228)
10945 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
10947         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10948         Remove test messages.
10949         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
10950         and `target' twice.
10952 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10954         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
10955         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
10957         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
10959 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
10961         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10962         Set "IFS=" when using read builtin, in order to preserve spaces in
10963         the file name.  Add test messages for hunting a bug on hydra.
10964         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
10966 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10968         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
10969         Don't prettify a word within a symbol.
10971 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
10973         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
10974         possible.
10976 2014-04-22  Daniel Colascione  <dancol@dancol.org>
10978         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
10979         use defun to define `function-put'.
10981 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10983         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
10984         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
10985         (lisp-mode-variables): Set font-lock-extra-managed-props.
10987         * emacs-lisp/byte-run.el (function-put): New function.
10988         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
10989         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
10990         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
10991         Use them.
10993 2014-04-22  Daniel Colascione  <dancol@dancol.org>
10995         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
10996         Add `full-p' parameter; when nil, call `macroexpand' instead of
10997         `macroexpand-all'.
10999         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
11000         Improve docstrings.
11002         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
11003         Use lambda function values, not quoted lambdas.
11004         (byte-compile-recurse-toplevel): Remove extraneous &optional.
11006         * emacs-lisp/cl-macs.el
11007         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
11008         (cl-struct-slot-value): Conditionally use aref or nth so that the
11009         compiler produces optimal code.
11011 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11013         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
11014         (inline): Don't inline cl--set-elt.
11015         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
11016         Define as inlinable instead.
11017         (cl-struct-set-slot-value): Remove.
11019         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
11020         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
11021         Use setf instead.
11023 2014-04-21  Daniel Colascione  <dancol@dancol.org>
11025         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
11026         last two parameters after all.
11027         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
11028         (cl--compiler-macro-assoc,cl-struct-slot-value)
11029         (cl-struct-set-slot-value): Stop using them.
11031 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11033         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
11034         entry in image-mode-winprops-alist.
11036 2014-04-21  Daniel Colascione  <dancol@dancol.org>
11038         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
11039         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
11040         (byte-compile-toplevel-file-form): Use it.
11042         * emacs-lisp/cl-macs.el:
11043         (cl--loop-let): Properly destructure `while' clauses.
11045 2014-04-20  Daniel Colascione  <dancol@dancol.org>
11047         * vc/vc.el (vc-root-dir): New public autoloaded function for
11048         generically finding the current VC root.
11049         * vc/vc-hooks.el (vc-not-supported): New error.
11050         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
11052 2014-04-20  Daniel Colascione  <dancol@dancol.org>
11054         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
11055         argument.
11056         (cl--const-expr-val): cl--const-expr-val should macroexpand its
11057         argument in case we're inside a symbol-macrolet.
11058         (cl--do-arglist, cl--compiler-macro-typep)
11059         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
11060         environment to `cl--const-expr-val'.
11061         (cl-struct-sequence-type,cl-struct-slot-info)
11062         (cl-struct-slot-offset, cl-struct-slot-value)
11063         (cl-struct-set-slot-value): New functions.
11065 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11067         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
11068         assignments such as "case=hello" (bug#17297).
11070 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
11072         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
11073         Do not autoload.
11074         (tramp-file-name-handler, tramp-completion-file-name-handler):
11075         Revert patch from 2014-04-10, it isn't necessary anymore.
11076         (tramp-autoload-file-name-handler)
11077         (tramp-register-autoload-file-name-handlers): New defuns.
11078         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
11079         (tramp-register-file-name-handlers): Remove also
11080         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
11081         Do not autoload its invocation, but eval it after loading of 'tramp.
11083         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
11085         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
11087 2014-04-17  Daniel Colascione  <dancol@dancol.org>
11089         Add support for bracketed paste mode; add infrastructure for
11090         managing terminal mode enabling and disabling automatically.
11092         * xt-mouse.el:
11093         (xterm-mouse-mode): Simplify.
11094         (xterm-mouse-tracking-enable-sequence)
11095         (xterm-mouse-tracking-disable-sequence): New constants.
11096         (turn-on-xterm-mouse-tracking-on-terminal)
11097         (turn-off-xterm-mouse-tracking-on-terminal):
11098         Use tty-mode-set-strings and tty-mode-reset-strings terminal
11099         parameters instead of random hooks.
11100         (turn-on-xterm-mouse-tracking)
11101         (turn-off-xterm-mouse-tracking): Delete.
11103         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
11104         (xterm-paste-ending-sequence): New constant.
11105         (xterm-paste): New command used for bracketed paste support.
11107         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
11108         (terminal-init-xterm-bracketed-paste-mode): New function.
11109         (terminal-init-xterm): Call it.
11110         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
11111         and tty-mode-reset-strings instead of random hooks.
11112         (xterm-turn-on-modify-other-keys)
11113         (xterm-turn-off-modify-other-keys)
11114         (xterm-remove-modify-other-keys): Delete obsolete functions.
11116         * term/screen.el: Rewrite to just use the xterm code.
11117         Add copyright notice.  Mention tmux.
11119 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
11121         * image-mode.el (image-mode-window-put): Also update the property of
11122         the "default window".
11123         * doc-view.el (doc-view-new-window-function): If no window
11124         exists, move to the last known page.
11126 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11128         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
11129         here-documents (bug#17262).
11131 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
11133         * term/pc-win.el (x-list-fonts, x-get-selection-value):
11134         Provide doc strings, as required by snarf-documentation.
11136 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11138         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
11139         arg of overlays-at.  Use `invisible-p'.
11141         * obsolete/lucid.el (extent-at):
11142         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
11143         overlays-at.
11144         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
11146 2014-04-16  João Távora  <joaotavora@gmail.com>
11148         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
11149         links.  (Bug#17217).
11151 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11153         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
11154         Use mapc to loop over a vector.  (Bug#17257).
11156 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
11158         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
11159         patch, there are new problems with file names containing spaces.
11160         Get rid of backticks.  (Bug#17238)
11162 2014-04-16  João Távora  <joaotavora@gmail.com>
11164         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
11165         possible bug.
11167 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
11169         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
11170         (blink-cursor-mode): Mention customization variables and the
11171         effect of 'blink-cursor-blinks'.
11173 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
11175         * simple.el (undo): Prevent insertion of identity mapping into
11176         undo-equiv-table so as undo-only does not inf loop in the presence
11177         of consecutive nils in undo list.
11179 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
11181         * faces.el (make-face): Deprecate optional argument as it is no
11182         longer needed/used since the conditional X resources handling
11183         has been pushed down to make-face-x-resource-internal itself.
11184         (make-empty-face): Don't pass optional argument to make-face.
11186 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
11188         * savehist.el (savehist-save): Remove workaround for a read-passwd
11189         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
11190         noticing that the shim was still present.
11192 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11194         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
11196 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
11198         * faces.el (face-set-after-frame-default): Remove unused local variable.
11200 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11202         * progmodes/grep.el: Use lexical-binding.
11203         (grep-expand-template): Pass explicit lexical env to `eval'.
11204         (zrgrep): Let-bind grep-find-template explicitly.
11206         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
11207         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
11209 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
11211         * international/characters.el <standard-case-table>: Add entries
11212         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
11213         Set category of Coptic characters be 'g' (Greek).
11215 2014-04-12  Leo Liu  <sdl.web@gmail.com>
11217         * progmodes/octave.el (completion-table-with-cache):
11218         Define if not available.
11219         (octave-goto-function-definition, octave-sync-function-file-names)
11220         (octave-find-definition-default-filename):
11221         Backquote upattern for compatibility.
11223 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
11225         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
11226         name twice due to backticks.  (Bug#17238)
11228 2014-04-12  Glenn Morris  <rgm@gnu.org>
11230         * term/w32-win.el (x-win-suspend-error):
11231         * term/x-win.el (x-win-suspend-error): Sync docs.
11233 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
11235         * faces.el (make-face): Remove deprecated optional argument.
11236         The conditional application of X resources is handled directly by
11237         make-face-x-resource-internal since Emacs 24.4.
11238         (make-empty-face): Don't pass optional argument to make-face.
11240 2014-04-11  Glenn Morris  <rgm@gnu.org>
11242         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
11244 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11246         Ediff's overlay priorities cause more trouble than they solve.
11247         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
11248         (ediff-highest-priority): Remove function (bug#17234).
11249         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
11250         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
11251         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
11252         overlay priorities.
11254 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
11256         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
11257         entry; use symbol boundaries to avoid mis-matches.
11259 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
11261         * net/tramp.el (tramp-file-name-handler)
11262         (tramp-completion-file-name-handler): Avoid recursive loading.
11264         * net/tramp-sh.el (tramp-make-copy-program-file-name):
11265         Quote result also locally.
11267 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11269         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
11270         Remove left-over code.
11272         * newcomment.el (comment-indent-new-line): Sink code where it's used.
11273         Reuse the previous comment's indentation unconditionally if it's on its
11274         own line.
11276 2014-04-09  Daniel Colascione  <dancol@dancol.org>
11278         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
11279         `no-syntax-crossing' arguments.  Forward to `up-list'.
11280         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
11281         Implement logic for escaping from strings.  Use narrowing to deal
11282         with corner cases.
11284 2014-04-09  Leo Liu  <sdl.web@gmail.com>
11286         * net/rcirc.el (rcirc-connection-info): New variable.
11287         (rcirc-connect): Use it to store connection info.
11288         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
11289         for killed process.
11290         (rcirc-cmd-reconnect): New command.  (Bug#17045)
11291         (rcirc-mode, set-rcirc-encode-coding-system)
11292         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
11294 2014-04-09  Daniel Colascione  <dancol@dancol.org>
11296         * emacs-lisp/cl-indent.el: Add comment claiming
11297         facility is also good for elisp.
11298         (lisp-indent-find-method): New function.
11299         (common-lisp-indent-function): Recognize cl-loop.
11300         (common-lisp-indent-function-1): Recognize cl constructs; use
11301         `lisp-indent-find-method' instead of `get' directly.
11302         (if): Use else-body style for elisp.
11304 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
11306         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11307         Module methods.  (Bug#17216)
11309 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11311         * help.el (describe-bindings): Fix buffer handling (bug#17210).
11312         (describe-bindings-internal): Mark obsolete.
11314 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11316         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
11317         buffer-file-name, and buffer-file-truename any more.
11319 2014-04-08  Leo Liu  <sdl.web@gmail.com>
11321         Use lexical-binding and require cl-lib.
11322         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
11323         (rcirc-handler-generic, rcirc-fill-paragraph)
11324         (rcirc-format-response-string, rcirc-target-buffer)
11325         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
11326         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
11327         (rcirc-ctcp-sender-PING, rcirc-browse-url)
11328         (rcirc-markup-timestamp, rcirc-markup-attributes)
11329         (rcirc-markup-my-nick, rcirc-markup-urls)
11330         (rcirc-markup-bright-nicks, rcirc-markup-fill)
11331         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
11332         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
11333         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
11334         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
11335         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
11336         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
11337         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
11338         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
11339         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
11340         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
11341         use cl-lib.
11343 2014-04-07  João Távora  <joaotavora@gmail.com>
11345         * elec-pair.el (electric-pair--syntax-ppss):
11346         When inside comments parse from comment beginning.
11347         (electric-pair--balance-info): Fix typo in comment.
11348         (electric-pair--in-unterminated-string-p): Delete.
11349         (electric-pair--unbalanced-strings-p): New function.
11350         (electric-pair-string-bound-function): New var.
11351         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11352         according to `electric-pair--in-unterminated-string-p'
11354         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11355         Inhibit quote pairing if point-max is inside an unterminated string.
11356         (electric-pair--looking-at-unterminated-string-p): Delete.
11357         (electric-pair--in-unterminated-string-p): New function.
11359 2014-04-07  Glenn Morris  <rgm@gnu.org>
11361         * shell.el (shell-directory-tracker):
11362         Go back to just ignoring failures.  (Bug#17159)
11364 2014-04-07  João Távora  <joaotavora@gmail.com>
11366         Fix `electric-pair-delete-adjacent-pairs' in modes binding
11367         backspace.  (Bug#16981)
11368         * elec-pair.el (electric-pair-backward-delete-char): Delete.
11369         (electric-pair-backward-delete-char-untabify): Delete.
11370         (electric-pair-mode-map): Bind backspace to a menu item filtering
11371         a new `electric-pair-delete-pair' command.
11372         (electric-pair-delete-pair): New command.
11374         * progmodes/python.el (python-electric-pair-string-delimiter):
11375         Fix triple-quoting electricity.  (Bug#17192)
11377         * elec-pair.el (electric-pair-post-self-insert-function):
11378         Don't skip whitespace when `electric-pair-text-pairs' and
11379         `electric-pair-pairs' were used. syntax to
11380         electric-pair--skip-whitespace.  (Bug#17183)
11382 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
11384         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
11385         "<F>".  (Bug#17199)
11387 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11389         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
11390         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
11392 2014-04-07  Glenn Morris  <rgm@gnu.org>
11394         * help.el (view-lossage): Doc tweak.
11396 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
11398         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
11399         only when inhibit-x-resources is nil, and do that earlier in the
11400         function.  Doc fix.  (Bug#16694)
11401         (face-spec-choose): Accept additional optional argument, whose
11402         value is returned if no matching attributes are found.
11403         (face-spec-recalc): Use the new optional argument when calling
11404         face-spec-choose.  (Bug#16378)
11405         (make-face-x-resource-internal): Do nothing when
11406         inhibit-x-resources is non-nil.  Don't touch the default face if
11407         reversed video is given--as was done in previous versions of Emacs.
11408         (face-set-after-frame-default): Don't call
11409         make-face-x-resource-internal here.  (Bug#16434)
11411 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
11413         * doc-view.el (doc-view-bookmark-jump):
11414         Use `bookmark-after-jump-hook' to jump to the right page after the
11415         buffer is shown in a window.  (bug#16090)
11417 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
11419         * international/characters.el (mirroring): Fix last change:
11420         instead of loading uni-mirrored.el explicitly, do that implicitly
11421         by creating the 'mirroring' uniprop table.  This avoids announcing
11422         the loading of uni-mirrored.el.
11424 2014-04-07  Glenn Morris  <rgm@gnu.org>
11426         * files.el (buffer-stale--default-function)
11427         (buffer-stale-function, revert-buffer--default):
11428         * autorevert.el (auto-revert-buffers): Doc tweaks.
11430 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
11432         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
11434 2014-04-07  Glenn Morris  <rgm@gnu.org>
11436         * files.el (make-backup-file-name-function)
11437         (make-backup-file-name, make-backup-file-name--default-function)
11438         (make-backup-file-name-1, find-backup-file-name)
11439         (revert-buffer-function, revert-buffer-insert-file-contents-function)
11440         (buffer-stale--default-function, buffer-stale-function)
11441         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
11442         (revert-buffer, revert-buffer--default)
11443         (revert-buffer-insert-file-contents--default-function):
11444         Doc fixes related to defaults no longer being nil.
11445         (make-backup-file-name-function): Bump :version.
11446         Restore nil as a valid but deprecated custom type.
11448 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11450         * progmodes/perl-mode.el (perl-syntax-propertize-function):
11451         Handle $' used as a variable (bug#17174).
11453         * progmodes/perl-mode.el (perl-indent-new-calculate):
11454         Handle forward-sexp failure (bug#16985).
11455         (perl-syntax-propertize-function): Add "foreach" and "for" statement
11456         modifiers introducing expressions (bug#17116).
11458 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11460         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
11462 2014-04-05  Leo Liu  <sdl.web@gmail.com>
11464         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11465         Add define-compilation-mode.
11467 2014-04-04  João Távora  <joaotavora@gmail.com>
11469         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
11470         parse from comment beginning.
11471         (electric-pair--balance-info): Fix typo in comment.
11472         (electric-pair--in-unterminated-string-p): Delete.
11473         (electric-pair--unbalanced-strings-p): New function.
11474         (electric-pair-string-bound-function): New var.
11475         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11476         according to `electric-pair--in-unterminated-string-p'.
11478 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11480         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
11481         Move declaration before first use.
11482         (reftex-move-to-next-arg): Silence compiler warning.
11484 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
11486         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
11487         Use `window-total-width' instead of `window-width'.
11489 2014-04-03  Daniel Colascione  <dancol@dancol.org>
11491         * subr.el (set-transient-map): Remove rms's workaround entirely;
11492         use new `suspicious-object' subr to mark our lambda for closer
11493         scrutiny during gc.
11495 2014-04-02  Richard Stallman  <rms@gnu.org>
11497         * subr.el (set-transient-map): Comment out previous change.
11499 2014-04-02  Glenn Morris  <rgm@gnu.org>
11501         * menu-bar.el (menu-bar-file-menu):
11502         * vc/ediff.el (ediff-current-file):
11503         Update for revert-buffer-function no longer being nil by default.
11505         * simple.el (command-execute): Respect nil disabled-command-function.
11507 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
11509         * simple.el (command-execute): Do not execute the command when it
11510         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
11512 2014-04-02  Juri Linkov  <juri@jurta.org>
11514         * dired-aux.el (dired-compress-file): Don't use string-match-p
11515         because its match data is used afterwards.
11517 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11519         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
11520         0 like nil.
11522 2014-04-02  João Távora  <joaotavora@gmail.com>
11524         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11525         Inhibit quote pairing if point-max is inside an unterminated string.
11526         (electric-pair--looking-at-unterminated-string-p):
11527         Delete.
11528         (electric-pair--in-unterminated-string-p): New function.
11530 2014-04-01  Daniel Colascione  <dancol@dancol.org>
11532         * minibuffer.el (minibuffer-complete): Prevent assertion failure
11533         when trying to complete the prompt.
11535 2014-03-31  Leo Liu  <sdl.web@gmail.com>
11537         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11538         Refactor out eldoc-documentation-function-default.
11539         (eldoc-documentation-function-default): New function.
11540         (eldoc-documentation-function): Change value.
11542 2014-03-31  Glenn Morris  <rgm@gnu.org>
11544         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
11546         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
11547         (vhdl-compose-components-package, vhdl-compose-configuration):
11548         Abbreviate default-directory (missing from some previous upstream sync).
11550 2014-03-31  Reto Zimmermann  <reto@gnu.org>
11552         Sync with upstream vhdl mode v3.35.2.
11553         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11554         (top-level): No longer require assoc.
11555         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
11556         New functions.  Use throughout to replace aget etc.
11557         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
11558         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
11559         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
11560         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
11561         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
11562         except `vhdl-compiler'.
11563         (vhdl-error-regexp-add-emacs): Remove all other compilers,
11564         when appropriate.
11566 2014-03-31  Glenn Morris  <rgm@gnu.org>
11568         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
11569         Revert 2014-03-26 merge goof; go back to using defalias.
11571 2014-03-30  Daniel Colascione  <dancol@dancol.org>
11573         * comint.el (comint-send-input):
11574         Deactivate completion-in-region-mode before we send comint input.
11575         (Bug#17139).
11577         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
11578         on keyboard-quit.
11580 2014-03-29  Glenn Morris  <rgm@gnu.org>
11582         * textmodes/reftex.el: Manage most autoloads automatically.
11583         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
11584         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
11585         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
11586         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
11587         * textmodes/reftex-toc.el: Set generated-autoload-file,
11588         and add autoload cookies for reftex.el.
11589         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
11591 2014-03-28  Glenn Morris  <rgm@gnu.org>
11593         * cus-start.el (report-emacs-bug-address): Set custom properties.
11594         * mail/emacsbug.el (report-emacs-bug-address):
11595         Variable is now defined in emacs.c.
11597         * mail/emacsbug.el (report-emacs-bug):
11598         Include system-configuration-features.
11600 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
11602         * simple.el (cycle-spacing): Never delete spaces on first run by
11603         default, but do so in a new 'fast mode and if there are already
11604         N spaces (the previous behavior).
11605         Compare N with its value in previous invocation so that changing
11606         prefix argument restarts `cycle-spacing' sequence.
11607         The idea is that with this change, binding M-SPC to
11608         `cycle-spacing' should not introduce any changes in behavior of
11609         the binding so long as users do not type M-SPC twice in a raw with
11610         the same prefix argument or lack thereof.
11612 2014-03-28  Glenn Morris  <rgm@gnu.org>
11614         * faces.el (term-file-aliases): New variable.
11615         (tty-run-terminal-initialization): Respect term-file-aliases.
11616         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
11617         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
11618         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
11620 2014-03-27  Glenn Morris  <rgm@gnu.org>
11622         * startup.el (inhibit-startup-hooks): Doc tweak.
11623         (normal-top-level): Simplify running of hooks.
11624         For window-setup-hook, respect inhibit-startup-hooks.
11625         (command-line-1): Don't set window-setup-hook to nil.
11627         Allow selective autoloading from obsolete/ directory.
11628         * Makefile.in (obsolete-autoloads): New rule.
11629         (autoloads): Run obsolete-autoloads.
11630         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
11631         * simple.el (iswitchb-mode): Remove hand-written autoloads.
11633 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
11635         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11636         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
11638         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11639         Don't propertize `?' or `!' as symbol constituent when after
11640         colon.  (Bug#17097)
11642 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
11644         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
11645         which is no longer needed and causes trouble in GTK builds (bug#17046).
11647         * emacs-lisp/package-x.el (package--archive-contents-from-url):
11648         Use url-insert-file-contents; package-handle-response no longer exists.
11650 2014-03-26  Daniel Colascione  <dancol@dancol.org>
11652         * simple.el (process-menu-mode-map): New variable.
11653         (process-menu-delete-process): New command.
11655 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
11657         * emacs-lisp/package.el: Fix bug#16733 (again).
11658         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
11659         (url-http-target-url): Remove unused declarations.
11660         (package-handle-response): Remove.
11661         (package--with-work-buffer): Use url-insert-file-contents and simplify.
11662         (package--download-one-archive): Use current-buffer instead of
11663         dynamic binding of `buffer'.
11664         (describe-package-1): Do not decode readme-string.
11666 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
11668         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
11670         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
11671         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
11672         `remote-file-name-inhibit-cache' to nil in the second pass.
11673         (tramp-find-executable): Do not call "which" on SunOS.
11674         (tramp-send-command-and-check): Fix docstring.
11675         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
11676         check whether source directory has set the sticky bit.
11678 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
11680         * simple.el (primitive-undo): Only process marker adjustments
11681         validated against their corresponding (TEXT . POS).  Issue warning
11682         for lone marker adjustments in undo history.  (Bug#16818)
11683         (undo-make-selective-list): Add marker adjustments to selective
11684         undo list based on whether their corresponding (TEXT . POS) is in
11685         the region.  Remove variable adjusted-markers, which was unused
11686         and only non nil during undo-make-selective-list.
11687         (undo-elt-in-region): Return nil when passed a marker adjustment
11688         and explain in function doc.
11690 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
11692         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
11694 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
11696         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
11697         Match special global variables without curlies, too.
11698         (ruby-font-lock-keywords): Simplify the matcher for special global
11699         variables.  Don't require a non-word character after the variable.
11700         (Bug#17057)
11702 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11704         * simple.el (redisplay-highlight-region-function): Increase priority of
11705         overlay to make sure boundaries are visible (bug#15899).
11707 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
11709         * frameset.el (frameset--initial-params): Fix typo in parameter name.
11710         (frameset-restore): Compare display strings with equal.
11712         * frame.el (make-frame): Don't quote display name in error message,
11713         it is already a string.
11715 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11717         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
11718         the password.
11720 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
11722         * emacs-lisp/package.el (package--add-to-archive-contents):
11723         Include already installed and built-in packages in
11724         `package-archive-contents'.
11725         (package-install): Don't include already installed packages in the
11726         options during interactive invocation.  (Bug#16762)
11727         (package-show-package-list): If the buffer is already displayed in
11728         another window, switch to that window.
11730 2014-03-26  Reto Zimmermann  <reto@gnu.org>
11732         Sync with upstream vhdl mode v3.35.1.
11733         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11734         (vhdl-compiler-alist): Doc fix.
11735         (vhdl-goto-line): Remove.
11736         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11737         (vhdl-mode) <paragraph-start>: Fix value.
11738         (vhdl-fix-statement-region): Not `for' in wait-statement.
11739         (vhdl-beautify-region): Also (un)tabify.
11740         (vhdl-get-visible-signals):
11741         Scan declarative part of generate statements.
11742         (vhdl-template-record): Fix indentation for record type declaration.
11743         (vhdl-expand-abbrev, vhdl-expand-paren):
11744         Revert to using fset again rather than defalias.
11745         (vhdl-scan-directory-contents): Tweak.
11746         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11747         (vhdl-compose-components-package):
11748         Replace vhdl-goto-line with forward-line.
11749         (top-level): Tweak speedbar frame selection.
11750         (vhdl-generate-makefile-1): Support for compilers with no
11751         unit-to-file name mapping (create directory with dummy files).
11753 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
11755         Sync with upstream verilog-mode revision 702457d.
11756         * progmodes/verilog-mode.el (verilog-mode-version): Update.
11757         (create-lockfiles): Declare.
11758         (verilog-read-decls): Fix module header imports, bug709.
11759         Reported by Victor Lau.
11760         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
11761         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11762         interface-only modules, bug721.  Reported by Dean Hoyt.
11764 2014-03-26  Glenn Morris  <rgm@gnu.org>
11766         * obsolete/gulp.el: Move here from emacs-lisp/.
11768         * files.el (lock-buffer, unlock-buffer, file-locked-p):
11769         Remove fallback aliases, since they are always defined now.
11771 2014-03-24  Daniel Colascione  <dancol@dancol.org>
11773         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11774         instead of cl-loop search function.
11776 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
11778         * calendar/parse-time.el (parse-time-iso8601-regexp)
11779         (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11780         it more generally.
11782 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
11784         * net/dns.el (network-interface-list): Define for XEmacs.
11786 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
11788         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11789         the network interfaces changed.
11790         (dns-query): Use it to flush the data.
11792 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
11794         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11796 2014-03-23  Daniel Colascione  <dancol@dancol.org>
11798         Change subword-mode to use `find-word-boundary-function-table' and
11799         replace `capitalized-words-mode'.  Also, convert to lexical binding.
11800         * progmodes/cap-words.el: Delete now-obsolete file.
11801         * progmodes/subword.el: Reimplement using
11802         `find-word-boundary-function-table'.
11803         (subword-mode-map): Hollow out.
11804         (capitalized-words-mode): Define as obsolete alias for
11805         `subword-mode'.
11806         (subword-mode, superword-mode): Tweak documentation to reflect new
11807         implementation; call `subword-setup-buffer'.
11808         (subword-forward, subword-capitalize): Add underscore to indicate
11809         unused variable.
11810         (subword-find-word-boundary-function-table): New constant.
11811         (subword-empty-char-table): New constant.
11812         (subword-setup-buffer): New function.
11813         (subword-find-word-boundary): New function.
11815 2014-03-23  Daniel Colascione  <dancol@dancol.org>
11817         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11818         list to look for keyword arguments instead of `memq', fixing
11819         (Bug#3647) --- unfortunately, only for freshly-compiled code.
11820         Please make bootstrap.
11822 2014-03-22  Glenn Morris  <rgm@gnu.org>
11824         * dired.el (dired-read-regexp): Make obsolete.
11825         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11826         (dired-flag-files-regexp):
11827         * dired-aux.el (dired-mark-read-regexp):
11828         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11830         * startup.el (fancy-startup-text):
11831         * help.el (describe-gnu-project): Visit online info about GNU project.
11833         * help-fns.el (help-fns--interactive-only): New function.
11834         (help-fns-describe-function-functions): Add the above function.
11835         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11836         (next-line, previous-line): Remove hand-written interactive-only
11837         information from doc strings, it is auto-generated now.
11838         * bookmark.el (bookmark-write):
11839         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11840         (epa-mail-import-keys): Mark interactive-only,
11841         and remove hand-written interactive-only information from doc strings.
11842         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11843         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11844         * files.el (not-modified):
11845         * simple.el (mark-whole-buffer): Mark interactive-only.
11847         * emacs-lisp/byte-run.el (defun-declarations-alist):
11848         Add interactive-only.  Doc tweak.
11849         (macro-declarations-alist): Doc tweak.
11850         * subr.el (declare): Doc tweak (add xref to manual).
11851         * comint.el (comint-run):
11852         * files.el (insert-file-literally, insert-file):
11853         * replace.el (replace-string, replace-regexp):
11854         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11855         (delete-forward-char, goto-line, insert-buffer, next-line)
11856         (previous-line): Set interactive-only via declare.
11858 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
11860         * emacs-lisp/package.el (package-desc): Use the contents of the
11861         quoted form, not its cdr.  (Bug#16873)
11863 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
11865         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11866         benefit of doc.c; change parameter profile to match the X function.
11868 2014-03-22  Leo Liu  <sdl.web@gmail.com>
11870         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11871         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
11873 2014-03-21  Richard Stallman  <rms@gnu.org>
11875         * battery.el (battery-linux-sysfs): Search for each field
11876         from the beginning of the buffer.
11878         * subr.el (set-transient-map): Clear out function and value
11879         of the temporary symbol when we're done with it.
11881         * mail/rmailsum.el (rmail-summary-delete-forward):
11882         Optimize case of reaching end and handling count.
11883         (rmail-summary-mark-deleted): Optimize when N is current msg.
11884         Don't create new summary line.
11885         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11886         (rmail-summary-undelete-many): Rewrite for speed.
11887         (rmail-summary-msg-number): New function.
11889         * mail/rmail.el (rmail-delete-message): Update summary.
11890         (rmail-undelete-previous-message): Handle repeat count arg.
11891         (rmail-delete-backward, rmail-delete-forward): Likewise.
11893 2014-03-21  Daniel Colascione  <dancol@dancol.org>
11895         * mail/emacsbug.el (report-emacs-bug): Include memory usage
11896         information in bug reports.
11898 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
11900         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
11901         and `tramp-copy-env'.
11903         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
11904         (tramp-maybe-open-connection): Handle `tramp-login-env'.
11906 2014-03-21  Glenn Morris  <rgm@gnu.org>
11908         * electric.el (electric-indent-post-self-insert-function): Add doc.
11910 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
11912         * emacs-lisp/package.el (package-compute-transaction):
11913         Use `version-list-<=' to compare the requirement version against
11914         the version of package already to be installed.  Update the error
11915         message.  (Bug#16826)
11917         * progmodes/ruby-mode.el (ruby-smie-rules):
11918         Add indentation rule for ` @ '.  (Bug#17050)
11920 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
11922         * align.el (align-regexp): Remove superfluous backslash.
11924         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
11925         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
11926         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
11927         Fix docstring typos.
11928         (ffap-next): Use C-u in docstring.
11929         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
11930         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
11931         Remove superfluous backslashes.
11932         (ffap-string-at-point): Reflow docstring.
11934         * server.el (server-host): Reflow docstring.
11935         (server-unload-function): Fix docstring typo.
11936         (server-eval-at): Remove superfluous backslash.
11938         * skeleton.el (skeleton-insert): Remove superfluous backslash.
11939         (skeleton-insert): Doc fix.
11940         (skeleton-insert): Reflow docstring.
11942         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
11943         (tty-color-approximate, tty-color-by-index, tty-color-values)
11944         (tty-color-desc): Remove superfluous backslashes.
11946 2014-03-21  Glenn Morris  <rgm@gnu.org>
11948         * cus-start.el (history-length): Bump :version.
11950         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11951         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11952         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11953         Don't set `make-backup-files'.
11955         * info.el (info--prettify-description): New function,
11956         to give info-finder descriptions consistent case, punctuation.
11957         (Info-finder-find-node): Use it.  Sort packages.
11958         Refer to "description" rather than "commentary".
11960 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
11962         * frameset.el (frameset--print-register): New function.
11963         (frameset-to-register): Use it.
11965 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
11967         * progmodes/hideif.el (hif-string-to-number): New function.
11968         (hif-tokenize): Use it to understand non-decimal floats.
11970         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
11972         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
11974 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11976         * electric.el (electric-newline-and-maybe-indent): New command.
11977         Bind it globally to C-j.
11978         (electric-indent-mode): Don't mess with the global map any more.
11979         Don't drop the post-self-insert-hook is some buffer is still using it
11980         (bug#16770).
11982         * bindings.el (global-map): Remove C-j binding.
11984         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
11985         the docstring of functions advised before dumping (bug#16993).
11987 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
11989         * ps-print.el (ps-generate-postscript-with-faces):
11990         Explicitly deactivate the mark (bug#16866).
11991         * simple.el (deactivate-mark): Update region highlight.
11993 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
11995         * emacs-lisp/package.el (describe-package-1):
11996         Decode commentary (bug#16733).
11998 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
12000         * custom.el (defcustom): Doc fix: recommend avoiding destructive
12001         modification of the value argument of :set (bug#16755).
12003 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12005         * simple.el (newline-and-indent): Do autofill (bug#17031).
12007 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
12009         * newcomment.el (comment-normalize-vars): Only add escaping check
12010         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
12011         (comment-beginning): Use `narrow-to-region' instead of moving back
12012         one character.
12013         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
12014         (comment-start-skip): Update the docstring.
12016 2014-03-18  Richard Stallman  <rms@gnu.org>
12018         * dired.el (dired-display-file): Force use of other window.
12020 2014-03-18  Daniel Colascione  <dancol@dancol.org>
12022         * startup.el (tty-handle-args): Remove debug message from 2007.
12024 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12026         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
12027         (advice--make-interactive-form): Use it to avoid (auto)loading function.
12028         (advice--make-1, advice-add, advice-remove):
12029         Remove braindead :advice-pending hack.
12031 2014-03-17  Glenn Morris  <rgm@gnu.org>
12033         * calendar/calendar.el (calendar-generate-month): Apply weekend
12034         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
12036 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
12038         * net/tramp.el (tramp-action-out-of-band): Read pending output.
12039         (tramp-call-process): Trace also DESTINATION.
12041         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12042         Quote file names when they are local.  Remove superfluous trace.
12044 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
12046         * newcomment.el (comment-beginning): If `comment-start-skip'
12047         doesn't match, move back one char and try again.  (Bug#16971)
12049         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12050         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
12051         Set `comment-start-skip' to a simpler value that doesn't try to
12052         check if the semicolon is escaped (this is handled by
12053         `syntax-ppss' now).  (Bug#16971)
12055         * progmodes/scheme.el (scheme-mode-variables): Same.
12057 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
12059         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
12060         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
12061         current (Bug#16816, Bug#17007).
12062         (with-current-buffer-window): New macro doing the same as
12063         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
12064         * help.el (help-print-return-message): Warn in doc-string to not
12065         use this in `with-help-window'.
12066         (describe-bindings-internal): Call `describe-buffer-bindings'
12067         from within help buffer.  See Juanma's scenario in (Bug#16816).
12068         (with-help-window): Update doc-string.
12069         * dired.el (dired-mark-pop-up):
12070         * files.el (save-buffers-kill-emacs):
12071         * register.el (register-preview): Use `with-current-buffer-window'
12072         instead of `with-temp-buffer-window'.
12074 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
12076         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
12077         Implement inserting into current buffer, documented in their docstrings.
12078         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
12079         (rst-section-tree-point, rst-forward-section, rst-indent)
12080         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
12081         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
12082         (rst-font-lock-handle-adornment-pre-match-form)
12083         (rst-repeat-last-character): Reflow docstrings.
12084         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
12085         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
12086         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
12087         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
12088         Fix docstring typos.
12089         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
12090         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
12091         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
12093 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
12095         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
12096         for compatibility with other ports.
12097         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
12098         from the -xrm command line argument, but in the Nextstep port its value
12099         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
12101         * progmodes/python.el (defconst, python-syntax-count-quotes)
12102         (python-indent-region, python-indent-shift-right)
12103         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
12104         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
12105         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
12106         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
12107         (inferior-python-mode, python-shell-make-comint, run-python-internal)
12108         (python-shell-buffer-substring, python-shell-send-buffer)
12109         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
12110         (python-completion-complete-at-point, python-fill-docstring-style)
12111         (python-eldoc-function, python-imenu-format-item-label)
12112         (python-imenu-format-parent-item-label)
12113         (python-imenu-format-parent-item-jump-label)
12114         (python-imenu--build-tree, python-imenu-create-index)
12115         (python-imenu-create-flat-index): Fix docstring typos.
12116         (python-indent-context, python-shell-prompt-regexp, run-python):
12117         Remove superfluous backslashes.
12118         (python-indent-line, python-nav-beginning-of-defun)
12119         (python-shell-get-buffer, python-shell-get-process)
12120         (python-info-current-defun, python-info-current-line-comment-p)
12121         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
12122         (python-indent-post-self-insert-function, python-shell-send-file)
12123         (python-shell-completion-get-completions)
12124         (python-shell-completion-complete-or-indent)
12125         (python-eldoc--get-doc-at-point): Reflow docstrings.
12127 2014-03-14  Glenn Morris  <rgm@gnu.org>
12129         * emacs-lisp/package.el (package-menu-mode-map):
12130         Replace use of obsolete function alias.  Tweak menu item text.
12132         * info.el (Info-finder-find-node):
12133         Ignore the `emacs' metapackage.  (Bug#10813)
12135         * finder.el (finder-list-matches): Include unversioned packages
12136         in the result of a keyword search.
12138         * finder.el (finder--builtins-descriptions): New constant.
12139         (finder-compile-keywords): Use finder--builtins-descriptions.
12141 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
12143         * simple.el (blink-matching-paren): Describe the new value,
12144         `jump', enabling the old behavior.
12145         (blink-matching-open): Use that value.  (Bug#17008)
12147 2014-03-14  Glenn Morris  <rgm@gnu.org>
12149         * finder.el (finder-no-scan-regexp): Add leim-list.
12150         (finder-compile-keywords):
12151         Don't skip files with same basename.  (Bug#14010)
12152         * Makefile.in (setwins_finder): New, excluding leim.
12153         (finder-data): Use setwins_finder.
12155         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
12156         (help-function-arglist, help-make-usage): Move from here...
12157         * help.el (help-split-fundoc, help-add-fundoc-usage)
12158         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
12159         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
12161 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
12163         * net/socks.el (socks, socks-override-functions)
12164         (socks-find-services-entry):
12165         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
12166         (hif-find-ifdef-block):
12167         * progmodes/modula2.el (m2-indent): Fix docstring typos.
12169         * net/tls.el (tls-program): Reflow docstring.
12171         * progmodes/pascal.el (pascal-mode-abbrev-table)
12172         (pascal-imenu-generic-expression, pascal-auto-endcomments)
12173         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
12174         (pascal-outline-mode): Fix docstring typos.
12175         (pascal-mode): Let define-derived-mode document mode hook.
12176         (pascal-uncomment-area): Reflow.
12177         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
12179         * progmodes/opascal.el (opascal-compound-block-indent)
12180         (opascal-case-label-indent): Fix docstring typos.
12181         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
12183 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
12185         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12186         Fontify multiple adjacent negation chars.  (Bug#17004)
12188 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
12190         * emacs-lisp/package.el (package--prepare-dependencies):
12191         Accept requirements without explicit version (bug#14941).
12193 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
12195         * register.el (register-separator, copy-to-register): Doc fixes.
12196         (register-preview-default): Remove unnecessary call to concat.
12198         * frameset.el (frameset-restore): When checking for a visible frame,
12199         use the action map instead of calling visible-frame-list.
12201 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
12203         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
12205 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
12207         * window.el (fit-frame-to-buffer): Get maximum width from
12208         display's width instead of height.
12210 2014-03-12  Glenn Morris  <rgm@gnu.org>
12212         * desktop.el (desktop-restore-frames)
12213         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
12214         (desktop-restore-reuses-frames): Doc tweaks.
12216         * electric.el (electric-indent-mode): Doc fix.
12218 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
12220         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
12221         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
12222         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
12223         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
12224         (cvs-dired-use-hook): Fix docstring typos.
12225         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
12226         Doc fixes.
12228         * vc/pcvs-defs.el (cvs-auto-remove-handled)
12229         (cvs-auto-remove-directories, cvs-default-ignore-marks)
12230         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
12231         (cvs-execute-single-dir): Fix docstring typos.
12233         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
12234         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
12236         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
12238         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
12239         Fix docstring typos.
12241 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
12243         * frameset.el (frameset--jump-to-register): Add autoload; it could be
12244         called from jump-to-register after unloading the frameset package.
12246 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12248         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
12249         (bug#16975).  Deactivate the mark before setting it to nil.
12250         (activate-mark): Do nothing if region is already active.
12252 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
12254         * frameset.el (frameset--target-display): Remove definition; declare.
12255         (frameset-save, frameset-restore): Let-bind frameset--target-display.
12257 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12259         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
12260         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
12261         when the advice is pending.
12262         (advice-remove): Remove this marker when not needed any more.
12264 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
12266         * frameset.el: Separate options for reusing frames and cleaning up.
12267         (frameset--reuse-list): Remove definition; declare.
12268         (frameset--action-map): Declare.
12269         (frameset--find-frame-if): Doc fix.
12270         (frameset--restore-frame): Cache frame action.
12271         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
12272         how to clean up the frame list after restoring.  Remove cleaning
12273         options from REUSE-FRAMES.  Change all keyword values to symbols.
12274         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
12276         * desktop.el (desktop-restore-forces-onscreen)
12277         (desktop-restore-reuses-frames): Use non-keyword values.
12278         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
12280 2014-03-10  Glenn Morris  <rgm@gnu.org>
12282         * files.el (find-file): Doc fix: update info node name.
12284         * emacs-lisp/advice.el (ad-add-advice, defadvice):
12285         Doc fix: remove references to deleted info nodes.
12287 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
12289         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
12290         Do not add nil to the environment, when there's no remote `locale'.
12291         (tramp-find-inline-encoding): Check, that the remote host has
12292         installed perl, before sending scripts.
12294 2014-03-10  Leo Liu  <sdl.web@gmail.com>
12296         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
12297         Clear eldoc-last-message.  (Bug#16920)
12299 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12301         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
12302         (bug#14430).
12304 2014-03-09  Juri Linkov  <juri@jurta.org>
12306         * ansi-color.el (ansi-color-names-vector): Copy default colors
12307         from `xterm-standard-colors' that look well on the default white
12308         background (and also on the black background) to avoid illegible
12309         color combinations like yellow-on-white and white-on-white.
12310         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
12312 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
12314         * frameset.el (frameset-restore): When no frame is visible, do not
12315         generate a list of frames, just make visible the selected one.
12317 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
12319         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
12320         it only contains the repository root.  (Bug#16897)
12322 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
12324         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
12325         only when `remote-file-name-inhibit-cache' is nil.
12326         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
12328 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
12330         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
12331         Fix doc-strings.
12332         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
12333         fit-frame-to-buffer variable.  Fix doc-string.
12334         (fit-window-to-buffer): Set ONLY argument in call of
12335         fit-frame-to-buffer.  Fix doc-string.
12337 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
12339         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
12340         (tramp-action-password): Clear password cache if needed.
12341         (tramp-read-passwd): Do not clear password cache.
12343         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
12344         cache unless it is the first password request.
12346 2014-03-06  Glenn Morris  <rgm@gnu.org>
12348         * simple.el (newline): Doc tweak.
12350         * emacs-lisp/shadow.el (load-path-shadows-find):
12351         Ignore dir-locals.  (Bug#12357)
12353 2014-03-05  Glenn Morris  <rgm@gnu.org>
12355         * files.el (interpreter-mode-alist):
12356         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
12358 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
12360         * frameset.el (frameset--initial-params): Filter out null entries.
12362 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
12364         * window.el (window-min-height, window-min-width):
12365         Rewrite doc-strings.
12366         (window-body-size): Add PIXELWISE argument to make it consistent
12367         with its callees.
12369 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
12371         * finder.el (finder-mode-map, finder-mode-syntax-table):
12372         Revert part of 2014-02-28 change.
12374 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
12376         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
12377         (eww-setup-buffer): Clear next/prev/etc more reliably.
12378         (eww-textarea-map): [tab] doesn't work on tty.
12379         Reported by Mario Lang.
12381         * net/shr.el (shr-map): Ditto.
12383 2014-03-04  Glenn Morris  <rgm@gnu.org>
12385         * minibuffer.el (completion-hilit-commonality):
12386         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
12388 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
12390         * hilit-chg.el (hilit-chg-unload-function): New function.
12391         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
12392         (hilit-chg-map-changes): Prefer cardinal number to digit.
12393         (hilit-chg-display-changes): Reflow docstring.
12394         (highlight-changes-rotate-faces): Remove superfluous backslash.
12396 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
12398         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
12399         `tramp-send-command-and-check'.
12401 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
12403         * hexl.el (hexl-address-region, hexl-ascii-region)
12404         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
12405         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
12406         (hexl-forward-word, hexl-previous-line, hexl-next-line):
12407         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
12408         (hexl-mode): Doc fix.
12409         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
12410         (hexl-mode-ruler): Fix typos in docstrings.
12412         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
12413         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
12414         Remove superfluous backslashes.
12415         (strokes-last-stroke, strokes-global-map, strokes-mode):
12416         Reflow docstrings.
12417         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
12418         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
12419         (strokes-distance-squared, strokes-global-set-stroke)
12420         (strokes-global-set-stroke-string): Doc fixes.
12421         (strokes-help): Fix typos; reflow docstring.
12423 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
12425         * window.el (window-in-direction): Fix doc-string.
12427 2014-03-04  Glenn Morris  <rgm@gnu.org>
12429         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
12430         Explicit error if no grammar.
12431         (smie-config-save): Doc fix.  Fix quote typo.
12433 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12435         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
12436         electric-indent-mode-hook if we obey electric-indent-mode.
12437         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
12438         decide whether we obey electric-indent-mode.
12439         (c-change-set-fl-decl-start, c-extend-after-change-region):
12440         Silence warnings.
12441         (c-electric-indent-mode-hook): Assume we do want to obey
12442         electric-indent-mode.
12444         * electric.el (electric-indent-mode-has-been-called): Remove.
12445         (electric-indent-mode): Fix accordingly.
12447         * files.el (hack-local-variables): Mention file name in warning.
12449         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
12451 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
12453         * bindings.el: Add comment describing why C-d binds to `delete-char'.
12454         * simple.el (delete-forward-char): Mark as interactive-only.
12456 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
12458         * icomplete.el (icomplete-completions):
12459         Follow-up to 2014-03-01 change.
12461         * icomplete.el: Miscellaneous doc fixes.
12462         Use Icomplete everywhere instead of icomplete for consistency.
12463         (icomplete-max-delay-chars): Fix typo.
12464         (icomplete-mode): Use \[].
12465         (icomplete-tidy, icomplete-exhibit): Reflow.
12466         (icomplete-minibuffer-setup-hook, icomplete-completions):
12467         Remove superfluous backlashes.
12469         * ido.el: Miscellaneous doc fixes.
12470         Use Ido everywhere instead of ido or `ido' for consistency.
12471         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
12472         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
12473         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
12474         (ido-separator): Extract obsolescence info from docstring and declare
12475         with make-obsolete-variable.
12476         (ido-minibuffer-setup-hook): Simplify example.
12477         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
12478         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
12479         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
12480         (ido-everywhere): Reflow docstring.
12481         (ido-toggle-vc): Doc fix.
12482         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
12483         of long list of keybindings.
12485 2014-03-03  Glenn Morris  <rgm@gnu.org>
12487         * frame.el (display-pixel-height, display-pixel-width)
12488         (display-mm-dimensions-alist, display-mm-height)
12489         (display-mm-width): Doc tweaks.
12491 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
12493         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
12494         case of undo in region.
12496 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
12498         * window.el (fit-window-to-buffer): Fix argument in window-size
12499         call when window is horizontally combined.
12501 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
12503         * icomplete.el (icomplete-completions): Use string-width.
12504         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12506 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
12508         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12509         Highlight regexp options.  (Bug#16914)
12511 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
12513         * window.el (window--max-delta-1): Round down when calculating
12514         how many lines/columns we can get from a window.
12516 2014-03-01  Glenn Morris  <rgm@gnu.org>
12518         * isearch.el (search-invisible): Doc fix.
12520         * minibuffer.el (completion-hilit-commonality):
12521         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
12522         * comint.el (comint-dynamic-list-completions): Doc fix.
12523         * comint.el (comint-dynamic-list-completions):
12524         * filecache.el (file-cache-minibuffer-complete):
12525         * tempo.el (tempo-display-completions):
12526         * eshell/em-hist.el (eshell-list-history):
12527         Replace use of obsolete argument of display-completion-list.
12529 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
12531         * icomplete.el (icomplete-completions):
12532         Revert back to using "..." when ?… cannot be displayed.
12534 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
12536         * finder.el (finder-unload-function): New function.
12538 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
12540         * dframe.el (dframe-detach):
12541         * find-dired.el (find-dired, find-name-dired):
12542         * finder.el (finder-mode-map, finder-mode-syntax-table)
12543         (finder-headmark, finder-select, finder-mouse-select):
12544         Fix docstring typos.
12546 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
12548         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
12549         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
12550         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12551         Fix doc-string based on a suggestion by Nicolas Richard
12552         <theonewiththeevillook@yahoo.fr>.
12553         * help.el (with-help-window): Fix doc-string.
12555 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
12557         * net/shr.el (shr-image-animate): New option.
12558         (shr-put-image): Respect shr-image-animate.
12560 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
12562         * net/tramp-adb.el (tramp-adb-parse-device-names):
12563         Use `accept-process-output'.
12564         (tramp-adb-handle-file-truename): Cache the localname only.
12565         (tramp-adb-handle-make-directory)
12566         (tramp-adb-handle-delete-directory): Flush file properties correctly.
12567         (tramp-adb-handle-set-file-modes): Do not raise an error when file
12568         modes cannot be changed.
12570         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
12571         file properties of symlinks.
12573 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
12575         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
12576         required/optional fields to match development biblatex.  (Bug#16781)
12578 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
12580         * saveplace.el (toggle-save-place):
12581         Fix argument handling.  (Bug#16673)
12583 2014-02-28  Glenn Morris  <rgm@gnu.org>
12585         * minibuffer.el (completions-first-difference)
12586         (completions-common-part, completion-hilit-commonality): Doc fixes.
12588 2014-02-28  Karl Berry  <karl@gnu.org>
12590         * info.el (Info-mode-map): Add H for describe-mode,
12591         to synchronize with standalone Info.
12593 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
12595         * progmodes/sql.el (sql-interactive-mode):
12596         Avoid setting global comint-input-ring-separator.  (Bug#16814)
12598 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
12600         * net/dbus.el (dbus--init-bus): Declare function.
12601         (dbus-path-local, dbus-interface-local): New defconst.
12602         (dbus-init-bus): Use them.
12603         (dbus-return-values-table): Extend doc.
12604         (dbus-handle-bus-disconnect): Extend error message.
12606 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
12608         * subr.el (y-or-n-p): Fix double space issue in message.
12610 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
12612         * net/tramp.el (tramp-call-process): Improve trace message.
12613         (tramp-handle-insert-file-contents): Trace error case.
12615         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12616         <insert-directory>: Use `tramp-handle-insert-directory'.
12617         (tramp-adb-handle-insert-directory): Remove function.
12618         (tramp-adb-send-command-and-check): New defun, replacing
12619         `tramp-adb-command-exit-status'.  Change all callees.
12620         (tramp-adb-handle-file-attributes)
12621         (tramp-adb-handle-directory-files-and-attributes): Use it.
12622         (tramp-adb-ls-output-name-less-p):
12623         Use `directory-listing-before-filename-regexp'.
12624         (tramp-adb-handle-delete-directory): Flush also file properties of
12625         the truename of directory.
12626         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
12627         (tramp-adb-handle-file-local-copy): Make the local copy readable.
12628         (tramp-adb-handle-write-region): Implement APPEND.
12629         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
12630         properties correctly.
12631         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
12632         variables.  Check for connected devices only when needed.
12634 2014-02-27  Glenn Morris  <rgm@gnu.org>
12636         * minibuffer.el (completion-table-dynamic)
12637         (completion-table-with-cache): Doc fixes.
12639         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
12640         (completing-read-multiple): Doc fixes.
12642 2014-02-27  Daniel Colascione  <dancol@dancol.org>
12644         * minibuffer.el (completion--nth-completion): Fix indentation.
12646         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
12647         explicit tramp path is empty.
12649 2014-02-27  Glenn Morris  <rgm@gnu.org>
12651         * emacs-lisp/crm.el (completing-read-multiple):
12652         Empower help-enable-auto-load.
12654 2014-02-26  Glenn Morris  <rgm@gnu.org>
12656         * startup.el (command-line): Don't init the tty in daemon mode.
12658         Avoid calling tty-setup-hook twice, eg if a term file
12659         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
12660         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
12661         (tty-create-frame-with-faces): Use it.
12662         * startup.el (command-line): Pass run-hook argument
12663         to tty-run-terminal-initialization.
12665         * dired.el (dired-restore-desktop-buffer): Demote errors;
12666         eg in case a glob match fails.  (Bug#16884)
12668 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
12670         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
12671         error from `read-from-string'.  (Bug#16850)
12673         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
12674         result of `completing-read' in the interactive form.  (Bug#16854)
12676 2014-02-25  Glenn Morris  <rgm@gnu.org>
12678         * image.el (image-animate, image-animate-timeout):
12679         Stop animating images in dead buffers.  (Bug#16878)
12681         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
12683         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
12684         Doc fixes.
12685         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
12686         * term/sun.el (sun-raw-prefix-hooks):
12687         Use tty-setup-hook instead of term-setup-hook.
12688         (terminal-init-sun): Construct message from bytecomp plist.
12689         * term/wyse50.el (enable-arrow-keys): Doc fix.
12691 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
12693         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
12694         Fix docstring typos.
12696 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
12698         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
12700 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
12702         * minibuffer.el (completion--try-word-completion):
12703         Fix error when completing M-x commands (bug#16808).
12705 2014-02-24  Leo Liu  <sdl.web@gmail.com>
12707         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
12709 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
12711         * apropos.el (apropos-print): Avoid formatting error when
12712         apropos-do-all and apropos-compact-layout are both t.
12714 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
12716         * apropos.el (apropos-property, apropos-all-words-regexp)
12717         (apropos-true-hit, apropos-variable, apropos-print):
12718         Fix docstring typos, and remove obsolete comment.
12720 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
12722         * net/tramp-sh.el (tramp-sh-handle-file-truename):
12723         Preserve trailing "/".  (Bug#16851)
12725 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
12727         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12728         after `=>' (bug#16811).
12729         (ruby-smie-rules): Handle the inconsistent second element of the
12730         list returned by `smie-indent--parent'.
12731         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12732         method call.
12734 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
12736         * elec-pair.el (electric-pair-text-syntax-table)
12737         (electric-pair-syntax-info, electric-pair--syntax-ppss)
12738         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12739         (electric-pair--looking-at-unterminated-string-p): Doc fix.
12740         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
12742 2014-02-22  Glenn Morris  <rgm@gnu.org>
12744         * imenu.el (imenu--generic-function): Doc fix.
12746         * register.el (frame-configuration-to-register): Make obsolete.
12748 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
12750         * desktop.el (desktop-save-buffer-p): Do not fail when
12751         desktop-files-not-to-save is nil.  Return t for true result
12752         as the doc says.
12754 2014-02-22  Daniel Colascione  <dancol@dancol.org>
12756         * net/secrets.el (secrets-create-item, secrets-search-items):
12757         Check that attribute values are strings, avoiding the construction
12758         of invalid dbus messages.
12760 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
12762         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12763         defun-declarations-alist.
12765 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12767         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12768         (bug#16829).
12770 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
12772         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12773         (whitespace-newline, whitespace-trailing, whitespace-line)
12774         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12775         (whitespace-space-after-tab): Fix typo in docstrings.
12777 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
12779         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12781         * electric.el (electric-indent-functions-without-reindent):
12782         Add `yaml-indent-line'.
12784 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
12786         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12787         It has done nothing for years; should be removed after the release.
12789         * simple.el (choose-completion): Fix docstring typo.
12790         (read-quoted-char-radix): Remove unneeded * in docstring.
12791         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12792         Don't escape parentheses unnecessarily in docstrings.
12794 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
12796         Fix handling of window-min-height/-width (Bug#16738).
12797         * window.el (window--dump-window, window--dump-frame):
12798         New functions.
12799         (window--min-size-1): Account for window dividers.
12800         When window-resize-pixelwise is nil, delay rounding till after the
12801         sum of the window components has been calculated.
12802         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12803         nil make sure at least one text line and two text columns remain
12804         fully visible.
12805         (window-resize): Signal an error when window-resize-apply fails.
12806         (window--resize-child-windows): Fix calculation of by how many
12807         pixels a window can still be shrunk via window-new-normal.
12808         (adjust-window-trailing-edge): Call window--resizable with
12809         correct TRAIL argument.
12811         (with-temp-buffer-window): Don't evaluate BODY within
12812         with-current-buffer (Bug#16816).
12814 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
12816         * net/tramp.el (tramp-check-cached-permissions):
12817         Call `file-attributes' with `suffix' being a symbol but a string.
12819 2014-02-21  Daniel Colascione  <dancol@dancol.org>
12821         * net/dbus.el (dbus-init-bus-1): Declare new subr.
12822         (dbus-init-bus): New function: call into dbus-init-bus-1
12823         and installs a handler for the disconnect signal.
12824         (dbus-call-method): Rewrite to look for result in cons.
12825         (dbus-call-method-handler): Store result in cons.
12826         (dbus-check-event): Recognize events with nil sender as valid.
12827         (dbus-handle-bus-disconnect): New function.  React to bus
12828         disconnection signal by synthesizing dbus error for each
12829         pending synchronous or asynchronous call.
12830         (dbus-notice-synchronous-call-errors): New function.
12831         (dbus-handle-event): Raise errors directly only when `dbus-debug'
12832         is true, not all the time.
12834 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
12836         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12837         Remove obsolescence declarations, these variables do not exist anymore.
12839         * savehist.el (savehist-save-minibuffer-history)
12840         (savehist-additional-variables, savehist-file, savehist-mode-hook)
12841         (savehist-save-hook, savehist-coding-system, savehist-loaded)
12842         (savehist-load, savehist-install, savehist-autosave): Fix typos;
12843         mostly, refer to "Savehist mode" when talking about the mode,
12844         and not the function.
12846         * saveplace.el (save-place): Remove redundant info in docstring.
12847         (save-place-forget-unreadable-files, toggle-save-place)
12848         (save-place-forget-unreadable-files, save-place-dired-hook):
12849         Fix typos and remove unneeded backslashes.
12851 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
12853         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12854         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12856         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12857         <insert-directory>: Use `tramp-handle-insert-directory'.
12858         (tramp-gvfs-handle-insert-directory): Remove function.
12860         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12861         Call `tramp-handle-insert-directory'.
12863 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
12865         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12866         before the start of buffer/region (bug#16799).
12868 2014-02-20  Glenn Morris  <rgm@gnu.org>
12870         * isearch.el (search-invisible): Doc fix.
12872 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
12874         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12875         (bug#16657).
12877 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
12879         * frameset.el (frameset-restore): Delay removing an old frame's
12880         duplicate id until the new frame has been correctly created.
12882 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
12884         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
12885         (tramp-check-cached-permissions): Call `file-attributes' if the
12886         cache is empty.
12888         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12889         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12891         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12892         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12893         (tramp-gvfs-maybe-open-connection): Set always connection
12894         properties, even if target is mounted already.
12896         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
12897         Set tramp-autoload cookie.
12898         (tramp-get-remote-touch): New defun.
12899         (tramp-sh-handle-set-file-times): Use it.
12900         (tramp-sh-handle-directory-files-and-attributes):
12901         Use `tramp-handle-directory-files-and-attributes' if neither stat
12902         nor perl are available on the remote host.
12904         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
12905         "/".  Write long listing only when "l" belongs to the switches.
12907         * net/trampver.el: Update release number.
12909 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
12911         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
12913 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
12915         * window.el (window-state-put): Allow WINDOW to refer to an
12916         internal window (Bug#16793).
12918 2014-02-19  Glenn Morris  <rgm@gnu.org>
12920         * textmodes/remember.el: Move provide statement to end.
12921         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
12922         (remember-notes): Doc fixes.
12924 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12926         * delsel.el (delete-char): Restore incorrectly erased property
12927         (bug#16795).
12929 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
12931         * frameset.el (frameset--restore-frame): When a frame is being reused
12932         and its root window is not alive, delete all the frame's windows before
12933         restoring the window state.  This works around the issue in bug#16793.
12935 2014-02-18  Glenn Morris  <rgm@gnu.org>
12937         * textmodes/remember.el (remember-data-directory)
12938         (remember-directory-file-name-format, remember-store-in-files)
12939         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
12940         (remember-notes-save-and-bury-buffer)
12941         (remember-notes--kill-buffer-query): Doc fixes.
12943         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
12945 2014-02-17  Alan Mackenzie  <acm@muc.de>
12947         Connect electric-indent-mode up with CC Mode.  Bug #15478.
12948         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
12949         to electric-indent-{,local-}-mode.
12950         (c-basic-common-init): Set electric-indent-inhibit.
12951         Initialize c-electric-flag from electric-indent-mode.
12952         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
12953         New hook functions which propagate electric-indent-mode to CC mode.
12955         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
12956         hit, toggle electric-indent-local-mode.
12958         * electric.el (electric-indent-mode-has-been-called):
12959         New variable.
12961 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
12963         * frameset.el (frameset-cfg-id): New function.
12964         (frameset--reuse-frame, frameset-restore): Use it.
12965         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
12967 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12969         * ido.el (ido-file-internal): Remove unused var `d'.
12970         Use \` for to match BoS.  Fit within 80n columns.
12972 2014-02-17  Daniel Colascione  <dancol@dancol.org>
12974         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
12975         dbus-call-method check for completion using a busy-wait loop with
12976         gradual backoff.
12978 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
12980         Sync with Tramp 2.2.9.
12982         * net/trampver.el: Update release number.
12984 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
12986         * ido.el (ido-file-internal): Don't add the name of an existing
12987         directory twice.  (Bug#16747)
12989 2014-02-16  Glenn Morris  <rgm@gnu.org>
12991         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
12992         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
12994 2014-02-15  Michael R. Mauger  <michael@mauger.com>
12996         * progmodes/sql.el: Version 3.4
12997         (sql-oracle-options): New default value ("-L").
12998         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
12999         (sql-placeholders-filter): Correct placeholder pattern.
13000         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
13001         (sql-login-delay): New variable.
13002         (sql-product-interactive): Use it.
13004 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
13006         * frameset.el (frameset--jump-to-register): Check that buffer is live
13007         (bug#16749).
13009 2014-02-15  Glenn Morris  <rgm@gnu.org>
13011         * info.el (info-initialize): Revert 2014-01-10 change.
13013 2014-02-14  Glenn Morris  <rgm@gnu.org>
13015         * replace.el (map-query-replace-regexp)
13016         (read-regexp-defaults-function, read-regexp): Doc fixes.
13018         * dired.el (dired-read-regexp):
13019         * faces.el (list-faces-display):
13020         * misearch.el (multi-isearch-read-matching-buffers)
13021         (multi-isearch-read-matching-files):
13022         * play/cookie1.el (cookie-apropos):
13023         * progmodes/grep.el (grep-read-regexp): Doc fixes.
13025         * textmodes/remember.el (remember): Use frameset-to-register
13026         rather than frame-configuration-to-register.
13028 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
13030         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
13031         incorrect keybinding.
13033 2014-02-13  Daniel Colascione  <dancol@dancol.org>
13035         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
13036         when adding overlays so that line numbers from compiler match line
13037         numbers we use.
13039 2014-02-13  Glenn Morris  <rgm@gnu.org>
13041         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
13043         * jit-lock.el (jit-lock-mode): Doc fix.
13045 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
13047         * apropos.el (apropos-read-pattern): When the user passes an empty
13048         string, give a more helpful error message than "Wrong type
13049         argument: stringp, nil".
13051 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13053         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
13055 2014-02-13  Glenn Morris  <rgm@gnu.org>
13057         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
13059 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13061         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
13062         shift-select commands.
13064 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
13066         * progmodes/js.el (js-indent-line): Don't widen.
13067         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
13069 2014-02-12  Glenn Morris  <rgm@gnu.org>
13071         * icomplete.el (icomplete): Add info-link to defgroup.
13072         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
13073         (icomplete-minibuffer-map, icomplete-mode)
13074         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
13076         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
13077         (package-menu-filter): Rename from package-menu-filter-interactive.
13078         Doc fix.
13080 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
13082         * frameset.el (frameset--jump-to-register): Select the required
13083         window and buffer before restoring position (bug#16696).
13085 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
13087         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
13089 2014-02-10  Glenn Morris  <rgm@gnu.org>
13091         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
13093 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
13095         * w32-common-fns.el (x-get-selection): Doc fix.
13096         * select.el (x-get-selection): Doc fix.  (Bug#15109)
13098         * face-remap.el (face-remap-add-relative)
13099         (face-remap-remove-relative, face-remap-reset-base)
13100         (face-remap-set-base): Call force-mode-line-update to redisplay
13101         the current buffer due to potential change in faces.  (Bug#16709)
13103 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
13105         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
13106         script more robustly.
13108 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
13110         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
13112         * simple.el (choose-completion): Doc fix (bug#14160).
13114         * subr.el (event-start): Say what a nil EVENT value means.
13116         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
13117         (bug#14197).
13119         * progmodes/grep.el (find-program): Doc fix (bug#14289).
13121         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
13123         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
13125         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
13126         predicate function (bug#15455).
13128 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
13130         * ielm.el (inferior-emacs-lisp-mode): Instead of
13131         `comment-use-global-state', set `comment-use-syntax'.
13133 2014-02-10  Glenn Morris  <rgm@gnu.org>
13135         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
13137 2014-02-09  Alan Mackenzie  <acm@muc.de>
13139         Fix c-invalidate-state-cache on narrowed buffers.
13140         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
13141         Widen when setting and clearing the CPP delimiter properties.
13143 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
13145         * help.el (describe-bindings): Doc fix (bug#9888).
13147         * files.el (save-buffer): Use ARG as the parameter name for
13148         consistency (bug#10346).
13149         (save-buffer): Clarify the 0 argument (bug#10346).
13151         * cus-edit.el (customize-apropos): Fix error string.
13152         (custom-buffer-create): Doc fix (bug#11122).
13153         (custom-sort-items): Doc fix (bug#11121).
13155         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
13157         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
13158         (icomplete-simple-completing-p): Mention the previous variable.
13160         * font-lock.el (font-lock-value-in-major-mode): Clarify the
13161         meaning of the parameter (bug#12282).
13163         * files.el (find-file-noselect): Clarify prompt when changing
13164         readedness (bug#13261).
13165         (locate-file): Suffixes aren't returned, so don't say that they
13166         are (bug#12674).
13167         (backup-inhibited): Doc clarification (bug#12525).
13169         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
13170         before we actually start to delete things (bug#16331).
13172         * subr.el (event-start): Doc fix (bug#14228).
13173         (event-end): Ditto.
13175 2014-02-09  Glenn Morris  <rgm@gnu.org>
13177         * emacs-lisp/warnings.el (lwarn):
13178         Empower help-enable-auto-load.  (Bug#15940)
13180 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
13182         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
13183         (Bug#16690)
13185 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
13187         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
13188         Insert output at end of buffer.  (Bug#16120)
13190 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
13192         * simple.el (choose-completion-string-functions): Document new
13193         calling convention (bug#14153).
13194         (execute-extended-command): Clarify doc string (bug#13373).
13196         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
13198         * find-dired.el (find-name-dired): Doc fix (bug#14290).
13199         (find-grep-dired): Doc fix (bug#14288).
13201 2014-02-08  Juri Linkov  <juri@jurta.org>
13203         * isearch.el (isearch-quote-char): Check character validity
13204         like in `quoted-insert' (bug#16677).
13206 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
13208         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
13210         * isearch.el (isearch-hide-immediately): Doc clarification
13211         (bug#14723).
13213         * simple.el (line-move): Document utility function used many
13214         places in the Emacs sources (bug#14843).
13216         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
13217         (dired-prev-marked-file): Doc fix (bug#14855).
13218         (dired-up-directory): Doc fix (bug#14848).
13220         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
13222         * files.el (file-relative-name): Doc fix (bug#15159).
13224         * fringe.el (fringe-styles): Doc fix (bug#15239).
13226         * isearch.el (isearch-filter-predicate): Documentation typo fix
13227         (bug#15474).
13229         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
13231         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
13233         * replace.el (replace-match-maybe-edit): Doc clarification
13234         (bug#15632).
13236         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
13238         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
13240 2014-02-08  Glenn Morris  <rgm@gnu.org>
13242         * help-fns.el (describe-variable):
13243         Check {file,dir}-local-variables-alist, and buffer-file-name,
13244         in the correct buffer.
13246 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
13248         * help-fns.el (describe-variable): Fix the case where
13249         a value is directory-local with no dir-locals file.  (Bug#16635)
13251 2014-02-08  Glenn Morris  <rgm@gnu.org>
13253         * abbrev.el (edit-abbrevs-mode):
13254         Derive from fundamental-mode.  (Bug#16682)
13256 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
13258         * simple.el (quoted-insert): Check character validity (bug#16677).
13260 2014-02-07  Juri Linkov  <juri@jurta.org>
13262         * desktop.el (desktop-read): Claim the lock when the owner is not
13263         the current process.  (Bug#16157)
13265 2014-02-07  Juri Linkov  <juri@jurta.org>
13267         * desktop.el (desktop-buffers-not-to-save): Change default from nil
13268         to "\\` ".  (Bug#16651)
13270 2014-02-07  Juri Linkov  <juri@jurta.org>
13272         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
13273         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
13274         (desktop-auto-save-cancel-timer): New function with some code from
13275         `desktop-auto-save-set-timer'.
13276         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
13277         Instead of setting `desktop-save-mode' to nil, call
13278         `desktop-save-mode' with arg 0.  (Bug#16630)
13280 2014-02-07  Glenn Morris  <rgm@gnu.org>
13282         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
13283         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
13284         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
13286         * obsolete/iswitchb.el: Move to obsolete/.
13287         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
13288         since obsolete/ is not scanned for autoloads.
13289         * emacs-lisp/authors.el (authors-valid-file-names):
13290         Add iswitchb.el.
13292         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
13293         Disable now non-functional find-file-hook.
13295 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
13297         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
13298         instead of ";" in order to avoid additional prompts.  Let heredoc
13299         scripts read from tty.  (Bug#16582)
13300         (tramp-send-command): No special handling of heredocs, it isn't
13301         necessary anymore.
13303 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13305         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
13306         with a space (bug#16664).  Limit the symbols considered to the ones
13307         that are bound or fbound (bug#16646).
13309 2014-02-06  Glenn Morris  <rgm@gnu.org>
13311         * epa.el (epa-mail-aliases): Doc fix.
13313 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
13315         * emacs-lisp/lisp.el (lisp-completion-at-point):
13316         Use `completion-table-merge' instead of `completion-table-in-turn'
13317         (bug#16604).
13319         * minibuffer.el (completion-table-merge): New function.
13321 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
13323         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
13324         (tramp-sh-handle-set-file-acl)
13325         (tramp-sh-handle-start-file-process)
13326         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
13327         (tramp-find-executable, tramp-send-command): Use it.
13329 2014-02-05  Glenn Morris  <rgm@gnu.org>
13331         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
13333 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13335         * progmodes/python.el (python-shell-send-string)
13336         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
13338 2014-02-04  Anders Lindgren  <andlind@gmail.com>
13340         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
13341         the names (bug#16620).
13343 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
13345         * faces.el (window-divider): New default value.  Rewrite doc-string.
13346         (window-divider-first-pixel, window-divider-last-pixel): New faces.
13348 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
13350         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
13351         `protected' and `public' can also be called without arguments.
13353 2014-02-03  Glenn Morris  <rgm@gnu.org>
13355         * register.el (window-configuration-to-register)
13356         (frame-configuration-to-register): Unadvertise unused argument.
13357         * frameset.el (frameset-to-register): Remove unused argument.
13359         * frameset.el (frameset-to-register):
13360         * kmacro.el (kmacro-to-register):
13361         * register.el (increment-register):
13362         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
13363         (calc-append-to-register, calc-prepend-to-register):
13364         * play/gametree.el (gametree-layout-to-register)
13365         (gametree-apply-register-layout):
13366         * textmodes/picture.el (picture-clear-rectangle-to-register)
13367         (picture-yank-rectangle-from-register):
13368         * vc/emerge.el (emerge-combine-versions-register):
13369         Use register-read-with-preview to read registers.
13371 2014-02-03  João Távora  <joaotavora@gmail.com>
13373         * elec-pair.el (electric-pair-backward-delete-char): Don't error
13374         when at beginning of (possibly narrowed) buffer.
13376 2014-02-02  Daniel Colascione  <dancol@dancol.org>
13378         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
13379         Also try to display local help from just before point.
13381 2014-02-02  Alan Mackenzie  <acm@muc.de>
13383         c-parse-state.  Don't "append-lower-brace-pair" in certain
13384         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
13385         recognised as a comment.
13387         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
13388         as well as normal comment starter.
13389         (c-parse-state-get-strategy): Extra return possibility
13390         'back-and-forward.
13391         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
13392         return value list to indicate replacement of a brace-pair cons
13393         with its car.
13394         (c-parse-state-1): With 'back-and-forward, only call
13395         c-append-lower-brace-pair-to state-cache when cons-separated.
13397 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
13399         * term/ns-win.el (ns-suspend-error): New function.
13400         (ns-initialize-window-system): Add ns-suspend-error to
13401         suspend-hook (Bug#16612).
13403 2014-02-02  Daniel Colascione  <dancol@dancol.org>
13405         * progmodes/cc-defs.el (c-find-assignment-for-mode):
13406         Make loading cc-mode silent.
13408 2014-02-02  Daniel Colascione  <dancol@dancol.org>
13410         * comint.el (comint-prompt-read-only): Change doc to suggest
13411         remap keybinding.
13413 2014-02-02  Glenn Morris  <rgm@gnu.org>
13415         * register.el (register-read-with-preview, point-to-register)
13416         (window-configuration-to-register, frame-configuration-to-register)
13417         (jump-to-register, number-to-register, view-register, insert-register)
13418         (copy-to-register, append-to-register, prepend-to-register)
13419         (copy-rectangle-to-register): Doc fixes.
13421 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13423         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
13424         * emacs-lisp/find-func.el (find-function-C-source): Idem.
13425         * emacs-lisp/nadvice.el (advice--cd*r): New function.
13426         * help-fns.el (describe-function-1): Use it.
13428 2014-02-02  Glenn Morris  <rgm@gnu.org>
13430         * register.el (register-preview-default): New function,
13431         split from register-preview.
13432         (register-preview-function): Rename from register-preview-functions,
13433         make it not a hook.
13434         (register-preview): Use register-preview-function.
13435         (register-read-with-preview): Error on non-character event.  (Bug#16595)
13437 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
13439         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
13440         `:' before binary operators (bug#16609).  Don't check for `:'
13441         before `[' and `(', or their syntax status.  A percent literal
13442         can't end with either.
13443         (ruby-font-lock-keywords): For built-ins that require arguments,
13444         check that they're followed by something that looks like argument
13445         (bug#16610).
13447 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
13449         * subr.el (butlast): Document what an omitted N means (bug#13437).
13450         (nbutlast): Ditto.
13452 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
13454         * net/shr.el (shr-generic): Make into a defsubst to make the stack
13455         depth shallower (bug#16587).
13456         (shr-tag-svg): Respect `shr-inhibit-images'.
13457         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
13459 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
13461         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
13462         (ruby-smie-grammar): Make "." right-associative.  Make its priority
13463         lower than the ternary and all binary operators.
13464         (ruby-smie-rules): Indent "(" relative to the first non-"."
13465         parent, or the first "." parent at indentation.
13466         Use `ruby-align-chained-calls' for indentation of "." tokens.
13467         (Bug#16593)
13469 2014-01-31  Juri Linkov  <juri@jurta.org>
13471         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
13472         from `make-hash-table'.
13474         * textmodes/ispell.el (ispell-init-process): Change message format
13475         to be consistent with other messages.
13477 2014-01-31  Glenn Morris  <rgm@gnu.org>
13479         * delsel.el (delete-selection-mode): Doc fix.
13481         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
13482         (trace-function-background): Doc fixes.
13484         * ido.el (ido-use-virtual-buffers): Doc fix.
13485         Reset :version, since the default value has not changed.
13487         * register.el (register-preview-delay, register-read-with-preview):
13488         Doc fixes.
13490         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
13491         do not mess with mail-buffer position (fixes 2009-11-03 change).
13492         * progmodes/cc-mode.el (c-submit-bug-report):
13493         Check auto-fill-mode is bound.  (Bug#16592)
13495 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
13497         * startup.el (fancy-splash-image-file): New function,
13498         split from fancy-splash-head.
13499         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
13500         so that we are both using the same image.  (Bug#16574)
13502 2014-01-30  Glenn Morris  <rgm@gnu.org>
13504         * simple.el (eval-expression): Doc fix.
13506         * hexl.el (hexl-mode-hook):
13507         * ielm.el (ielm-mode-hook):
13508         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
13509         (lisp-interaction-mode-hook):
13510         * progmodes/cfengine.el (cfengine3-documentation-function):
13511         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
13513 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13515         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
13516         is a symbol (bug#16584).
13518 2014-01-30  Glenn Morris  <rgm@gnu.org>
13520         * help.el (help-for-help-internal): Add "P" to text.
13522 2014-01-29  Glenn Morris  <rgm@gnu.org>
13524         * simple.el (just-one-space, cycle-spacing): Doc fixes.
13526 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
13528         * window.el (fit-frame-to-buffer): Fix calculations for margins and
13529         height constraints.
13531 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
13533         * progmodes/hideif.el: Extend to full CPP expression syntax.
13534         (hif-token-alist): Add missing tokens.
13535         (hif-token-regexp): Add support for float/octal/hex immediates.
13536         (hif-string-literal-regexp): New const.
13537         (hif-tokenize): Recognize strings and float/octal/hex immediates.
13538         (hif-exprlist): New function.
13539         (hif-parse-if-exp): Use it.
13540         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
13541         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
13542         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
13543         (hif-logxor, hif-comma): New functions.
13545 2014-01-28  Glenn Morris  <rgm@gnu.org>
13547         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
13549         * indent.el (tab-stop-list): Doc fix.  Add :version.
13551         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
13552         (cvs-append-to-ignore): Add compatibility alias.
13554 2014-01-27  Glenn Morris  <rgm@gnu.org>
13556         * dired.el (dired-hide-details-mode): Don't autoload it,
13557         since it cannot be used outside Dired buffers anyway.
13559         * emulation/cua-base.el (cua-mode): Doc fix.
13561         * dired.el (dired-hide-details-hide-symlink-targets)
13562         (dired-hide-details-hide-information-lines)
13563         (dired-hide-details-mode): Doc fixes.
13565         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
13566         * strokes.el (strokes-file): Doc fix.  Bump :version.
13567         (strokes-help): Doc fix.
13568         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
13569         * emulation/viper.el (viper): Doc fix for custom group.
13570         (top-level): Remove oh-so-no-longer-relevant text about vip.
13571         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
13573         * ido.el (ido-save-directory-list-file):
13574         * saveplace.el (save-place-file):
13575         * calendar/timeclock.el (timeclock-file):
13576         * net/quickurl.el (quickurl-url-file):
13577         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13578         * progmodes/idlwave.el (idlwave-config-directory):
13579         * textmodes/remember.el (remember-data-file):
13580         Bump :version.
13582 2014-01-26  Glenn Morris  <rgm@gnu.org>
13584         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
13585         Doc fix.  Make obsolete.
13586         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
13588         * sort.el (delete-duplicate-lines): Doc fix.
13590 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13592         * progmodes/ada-mode.el (ada):
13593         * woman.el (woman): Link to info manual and Commentary section.
13595         * progmodes/flymake.el (flymake):
13596         * nxml/nxml-mode.el (nxml):
13597         * net/eww.el (eww):
13598         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
13599         * htmlfontify.el (htmlfontify):
13600         * ses.el (ses):
13601         * epa.el (epa):
13602         * ido.el (ido): Link to info manual.
13604 2014-01-25  Leo Liu  <sdl.web@gmail.com>
13606         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
13608 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
13610         * net/shr.el (shr-tag-img): Prefer the title over the alt text
13611         (bug#16537).
13613 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
13615         * net/eww.el (eww-download-callback):
13616         Fix reference to eww-download-directory.
13618         * emacs-lisp/bytecomp.el (byte-compile-file):
13619         Remove unused local variable `file-name'.
13621 2014-01-24  Glenn Morris  <rgm@gnu.org>
13623         * woman.el (woman-default-faces, woman-monochrome-faces):
13624         Fix obsolescence specification.
13626         * subr.el (with-demoted-errors): Doc fix.
13628 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13630         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
13631         (cl--macroexp-fboundp): New function.
13632         (cl--make-type-test): Use it.
13634 2014-01-23  Glenn Morris  <rgm@gnu.org>
13636         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
13637         * simple.el (eval-expression): Doc fixes.
13639 2014-01-22  Glenn Morris  <rgm@gnu.org>
13641         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
13643 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13645         * emacs-lisp/package.el: Write files silently.
13646         (package-autoload-ensure-default-file, package--write-file-no-coding)
13647         (package-generate-description-file, package--download-one-archive)
13648         (package-install-from-archive): Tell `write-region' to stay quiet.
13649         (package-menu-mode, package-menu--print-info): Omit the Archive column
13650         if there's only one archive.
13651         (package-all-keywords, package--has-keyword-p): Remove dead code.
13653 2014-01-22  Glenn Morris  <rgm@gnu.org>
13655         * version.el (emacs-bzr-version-bzr): Fix typo.
13657         * version.el (emacs-repository-get-version):
13658         Check either .bzr or .git, but not both.
13659         Make the git case actually use the DIR argument, and return nil
13660         rather than the empty string.
13661         Avoid error if .git exists but the git executable is not found.
13663 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
13665         Fixes in window size functions around Bug#16430 and Bug#16470.
13666         * window.el (window-total-size, window-size): New argument ROUND.
13667         (window--min-delta-1, window-min-delta, window--max-delta-1):
13668         Be more conservative when calculating the numbers of lines or
13669         columns a window can shrink (Bug#16430).
13670         (fit-window-to-buffer): Simplify code.
13671         * term.el (term-window-width): Call window-body-width again.
13673 2014-01-22  Glenn Morris  <rgm@gnu.org>
13675         * image.el (image-format-suffixes): Doc fix.
13677         * international/quail.el (quail-define-package): Doc fix.
13679         * emacs-lisp/authors.el (authors-valid-file-names)
13680         (authors-renamed-files-alist): Additions.
13682         * vc/vc-git.el (vc-git-print-log): Remove --follow;
13683         reverts 2014-01-09 change.  (Bug#16422)
13685         * calc/calc-embed.el (thing-at-point-looking-at):
13686         * emacs-lisp/map-ynp.el (x-popup-dialog):
13687         * obsolete/lmenu.el (x-popup-dialog):
13688         * emacs-lisp/package.el (url-recreate-url):
13689         * mail/mailclient.el (clipboard-kill-ring-save):
13690         * subr.el (x-popup-dialog): Update declaration.
13691         * mail/rmail.el (rmail-mime-message-p):
13692         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
13694 2014-01-21  Daniel Colascione  <dancol@dancol.org>
13696         * progmodes/sh-script.el (sh--inside-noncommand-expression):
13697         Correctly detect when we're inside an arithmetic expansion form
13698         containing nested parenthesis.
13699         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
13700         to detect cases where we shouldn't expand "<<" to a heredoc
13701         skeleton.
13703 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13705         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
13706         (eldoc--message-command-p): New function.
13707         (eldoc-display-message-p): Use it.
13708         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
13709         message is not automatically erased for us.
13710         (eldoc-print-current-symbol-info): Erase previous message, if any.
13712 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
13714         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
13715         specify it's an interactive function.
13717         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
13718         Fix regex used for scanning for citation keys which failed for
13719         citations with optional arguments.
13721 2014-01-21  Leo Liu  <sdl.web@gmail.com>
13723         * simple.el (read--expression): Don't enable eldoc-mode.
13725 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13727         * simple.el (move-beginning-of-line): Make sure we don't move forward
13728         (bug#16497).
13730 2014-01-20  Juri Linkov  <juri@jurta.org>
13732         * saveplace.el (toggle-save-place, save-place-to-alist)
13733         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13734         'dired-mode) before checking for dired-directory.  (Bug#16477)
13736 2014-01-20  Juri Linkov  <juri@jurta.org>
13738         * indent.el (indent-line-to): Use backward-to-indentation
13739         instead of back-to-indentation.  (Bug#16461)
13741 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
13743         Revert some of the CANNOT_DUMP fix (Bug#16494).
13744         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13745         but fixing this can wait until after the next release.
13746         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13748 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
13750         * eshell/esh-mode.el (eshell-password-prompt-regexp):
13751         Use `password-word-equivalents'.
13752         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13753         to t.  (Bug#5664, Bug#13124)
13755 2014-01-19  Alan Mackenzie  <acm@muc.de>
13757         Bind open-paren-in-column-0-is-defun-start to nil at some entry
13758         points.
13759         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13760         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13761         * progmodes/cc-mode.el (c-before-change, c-after-change)
13762         (c-font-lock-fontify-region): Bind it here.
13764 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
13766         * term.el (term-window-width): Call window-text-width instead of
13767         window-width (Bug#16470).
13769 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
13771         * simple.el (password-word-equivalents): Remove duplicates.
13772         Sort, to make this easier next time.
13773         Downcase.  Omit ": " after "jelszó".
13775 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
13777         * term/common-win.el (saved-region-selection): Defvar it.
13778         (x-select-text): Set saved-region-selection (Bug#16382).
13780 2014-01-18  Glenn Morris  <rgm@gnu.org>
13782         * emacs-lisp/authors.el (authors-aliases)
13783         (authors-renamed-files-alist): Add some entries.
13785 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
13787         * net/tramp.el (tramp-password-prompt-regexp):
13788         Use `password-word-equivalents' if available.
13789         (tramp-action-password, tramp-process-one-action)
13790         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
13792 2014-01-17  Chong Yidong  <cyd@gnu.org>
13794         * simple.el (password-word-equivalents): New defcustom.
13795         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
13796         to 24.4.
13797         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13798         to t.  (Bug#13124)
13800 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
13802         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13803         (ruby-align-to-stmt-keywords): Change the default value.
13804         Use `ruby-alignable-keywords' to generate the possible customization
13805         choices.
13806         (ruby-smie-rules): Instead of using a hardcoded list of alignable
13807         keywords, check against the value of `ruby-alignable-keywords'
13808         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13810 2014-01-17  Glenn Morris  <rgm@gnu.org>
13812         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13814         Make M-x authors return zero *Authors Errors* from current logs.
13815         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13816         (authors-ignored-files): Add some entries, remove others.
13817         (authors-ambiguous-files, authors-valid-file-names):
13818         Add some entries.
13819         (authors-renamed-files-alist): Add, remove, and adjust entries.
13820         (authors-renamed-files-regexps): Add some entries.
13821         Remove some very broad ones.  Make some entries `lax'.
13822         (authors-lax-changelogs): New constant.
13823         (authors-disambiguate-file-name): Treat top-level specially.
13824         (authors-lax-changelog-p): New function.
13825         (authors-canonical-file-name): Check file as written against
13826         authors-valid-file-names.  Do not special-case etc/.
13827         Handle `lax' logs and authors-renamed-files-regexps elements.
13829 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
13831         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13832         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
13833         callers.
13835 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13837         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13838         Assume we're already in the proper buffer.
13839         Inspired by Anders Lindgren <andlind@gmail.com>.
13840         (follow-post-command-hook): Call it from the right buffer.
13841         (follow-comint-scroll-to-bottom): Adjust call.
13842         (follow-all-followers): Use get-buffer-window-list.
13844 2014-01-15  Daniel Colascione  <dancol@dancol.org>
13846         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13847         `buffer-file-name' in interactive-form so that we don't leave
13848         pathless file names in `file-name-history'.
13850 2014-01-15  Juri Linkov  <juri@jurta.org>
13852         * indent.el (indent-rigidly): Set deactivate-mark to nil
13853         in transient indentation mode.  (Bug#16438)
13855 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
13857         * emacs-lisp/package.el (package-desc-keywords): New function
13858         (Bug#16222).
13859         (describe-package-1, package-all-keywords)
13860         (package--has-keyword-p): Use it.
13862 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
13864         * simple.el (define-alternatives): When creating the
13865         COMMAND-alternatives variable, assign COMMAND as its definition
13866         name so that `describe-variable' can relocate it.
13868 2014-01-14  Matthew Leach  <matthew@mattleach.net>
13870         * font-lock.el (font-lock-keywords): Fix typo in docstring
13871         (bug#16307).
13873 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13875         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13876         line instead of wrongly reset `add-coment' (bug#13577).
13878 2014-01-14  Daiki Ueno  <ueno@gnu.org>
13880         * epa-file.el (epa-file-write-region): Encode the region according
13881         to `buffer-file-format'.  Problem reported at:
13882         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
13884 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13886         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
13887         so it applies in the right buffer (bug#16410).
13889 2014-01-13  Daniel Colascione  <dancol@dancol.org>
13891         * textmodes/rst.el (rst-define-key): Provide deprecated
13892         keybindings through named functions instead of anonymous ones so
13893         that "??" doesn't appear in describe-mode output.
13895 2014-01-13  Bastien Guerry  <bzg@gnu.org>
13897         * simple.el (define-alternatives): Call the selected command
13898         interactively.  When setting `COMMAND--implementation' for the
13899         first time, tell the user how to chose another implementation.
13900         Enhance the docstring.
13902 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13904         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
13905         (log-edit--match-first-line): New function.
13906         (log-edit-font-lock-keywords): Use it.
13907         (log-edit-mode): Make jit-lock-defer-multiline work.
13909 2014-01-13  Bastien Guerry  <bzg@gnu.org>
13911         * rect.el (rectangle-mark-mode): When the region is not active,
13912         display a message saying that the mark as been set and that
13913         rectangle mode is in use.
13914         (rectangle--highlight-for-redisplay): Only put an overlay with a
13915         visible vertical bar when (display-graphic-p) is non-nil.
13916         This partially fixes Bug#16403.
13918 2014-01-13  Juri Linkov  <juri@jurta.org>
13920         * info.el (Info-find-file): Go to DIR before displaying the error
13921         about a nonexistent file if no previous Info file is visited.
13922         Use `user-error' instead of `error' for "Info file %s does not exist".
13923         (Info-find-node-2): In case of a nonexistent node in unwind forms
13924         go to the Top node if there is no previous node to revert to.
13925         (Bug#16405)
13927 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
13929         fit-frame/window-to-buffer code fixes including one for Bug#14096.
13930         * window.el (fit-frame-to-buffer): Fix doc-string.
13931         Respect window-min-height/-width.  Fit pixelwise when
13932         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
13933         when avoiding that frame goes partially off-screen.
13934         (fit-window-to-buffer): Respect window-min-height/-width
13935         (Bug#14096).
13937 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13939         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
13940         after an empty line.
13942 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13944         * net/shr.el (shr-render-region): Autoload.
13946 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
13948         * net/eww.el (eww-download-directory): Rename from
13949         `eww-download-path' (Bug#16419).
13951 2014-01-12  Leo Liu  <sdl.web@gmail.com>
13953         * dired-x.el (dired-mode-map): Fix last change.
13955         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
13957 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
13959         Spelling fixes.
13960         * emacs-lisp/generic.el (generic--normalize-comments):
13961         Rename from generic--normalise-comments.  All uses changed.
13962         * play/bubbles.el (bubbles--neighborhood-score)
13963         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
13964         (bubbles--neighborhood-available)
13965         (bubbles--update-neighborhood-score):
13966         Rename from names with 'neighbourhood'.  All uses changed.
13968 2014-01-12  Leo Liu  <sdl.web@gmail.com>
13970         Re-implement the feature of showing eldoc info after editing.
13971         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
13972         (eldoc-edit-message-commands): New function.
13973         (eldoc-print-after-edit): New variable.
13974         (eldoc-pre-command-refresh-echo-area): Emit message only by
13975         eldoc-message-commands.
13976         (eldoc-mode): Restrict eldoc-message-commands to editing commands
13977         if eldoc-print-after-edit is set.  (Bug#16346)
13978         * simple.el (read--expression): Enable eldoc-mode.
13979         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
13981 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
13982             Eric S. Raymond  <esr@thyrsus.com>
13984         * version.el (emacs-repository-get-version): Enhance so the
13985         function works correctly in either a Bazaar or Git repo.
13987 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
13989         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
13990         Goes with removal of the joke manpages from /etc.
13992 2014-01-10  Kenichi Handa  <handa@gnu.org>
13994         * mail/rmail.el (rmail-get-coding-system):
13995         Check rmail-get-coding-function before "funcall"ing it.
13997 2014-01-10  Glenn Morris  <rgm@gnu.org>
13999         * emacs-lisp/authors.el (authors-fixed-entries):
14000         Update for files that no longer exist.
14002 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
14004         * version.el (emacs-bzr-get-version): Restore compatibilty with
14005         24.3 (Tested).
14007 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
14009         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
14010         and Podfile.
14012 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
14014         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
14016 2014-01-10  Chong Yidong  <cyd@gnu.org>
14018         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
14020 2014-01-10  Anders Lindgren  <andlind@gmail.com>
14022         * follow.el (follow-cache-command-list): Include right-char and
14023         left-char.
14025 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
14027         Spelling fixes.
14028         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
14029         * woman.el (woman-mark-horizontal-position):
14030         Rename from woman-mark-horizonal-position.  Use changed.
14032 2014-01-10  Glenn Morris  <rgm@gnu.org>
14034         * info.el (info-initialize): If running uninstalled, ensure our
14035         own info files are always found first, even if INFOPATH is set.
14037         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
14039 2014-01-09  David Engster  <deng@randomsample.de>
14041         * emacs-lisp/eieio-custom.el:
14042         * emacs-lisp/eieio-opt.el: Set generated autoload file to
14043         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
14044         * emacs-lisp/eieio.el: Regenerate autoloads.
14046 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
14048         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
14049         following renames.  (Bug#8756)
14051 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14053         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
14054         (bug#16382).
14055         (activate-mark): Add `no-tmm' argument.
14056         (set-mark, push-mark-command): Use it instead of running
14057         activate-mark-hook by hand.
14059 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
14061         In preparation for the move to git, sanitize out some
14062         Bazaar-specific names.
14064         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
14066         * version.el (emacs-bzr-version): Name changed to
14067         emacs-repository-version.  Obsolete-variable alias made.
14068         * loadup.el: Follow through on this name change.
14069         * mail/emacsbug.el (report-emacs-bug): Factor out any
14070         assumption about the version control system in use.
14072 2014-01-08  David Engster  <deng@randomsample.de>
14074         * help-fns.el (help-fns-describe-function-functions):
14075         New variable to call functions for augmenting help buffers.
14076         (describe-function-1): Remove explicit calls to
14077         `help-fns--compiler-macro', `help-fns--parent-mode' and
14078         `help-fns--obsolete'.  Put them in above new variable instead, and
14079         call them through `run-hook-with-args'.
14080         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
14081         `eieio-describe-class'.  Not meant for interactive use anymore,
14082         but to augment existing help buffers.  Remove optional second
14083         argument.  Create proper button for file location.
14084         Rewrite function to use `insert' instead of `princ' and `prin1' where
14085         possible.
14086         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
14087         (eieio-method-def, eieio-class-def): Move further up.
14088         (describe-method, describe-generic, eieio-describe-method):
14089         Remove aliases.
14090         (eieio-help-constructor, eieio-help-generic): Rename from
14091         `eieio-describe-constructor' and `eieio-describe-generic', resp.
14092         Rewrite to use `insert' in the current buffer and use proper help
14093         buttons.
14094         (eieio-help-find-method-definition)
14095         (eieio-help-find-class-definition): Also accept symbols as
14096         arguments.
14097         (eieio-help-mode-augmentation-maybee): Remove.
14098         (eieio-describe-class-sb): Use `describe-function'.
14099         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
14100         Add `eieio-help-generic' and `eieio-help-constructor'.
14102 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
14104         Spelling fixes.
14105         * language/china-util.el (hz-ascii-designation):
14106         Rename from hz-ascii-designnation.
14107         (hz-ascii-designation): Rename from hz-ascii-designnation.
14108         All uses changed.
14110 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14112         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
14113         package-alist.
14115 2014-01-08  Bastien Guerry  <bzg@gnu.org>
14117         * emacs-lisp/package.el (package-delete):
14118         Correctly delete the package from package-alist.
14120 2014-01-08  Daiki Ueno  <ueno@gnu.org>
14122         * emacs-lisp/package.el (url-recreate-url): Declare.
14123         (url-http-target-url): Declare.
14124         (package-handle-response): Include requested URL in the error message.
14125         (package--check-signature): Don't re-signal errors from
14126         package--with-work-buffer.  Suggested by Stefan Monnier.
14128 2014-01-07  Bastien Guerry  <bzg@gnu.org>
14130         * minibuffer.el (completion--try-word-completion): When both a
14131         hyphen and a space are possible candidates for the character
14132         following a word, display both candidates.  (Bug#15980)
14134 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
14136         * window.el (balance-windows-2): While rounding don't give a
14137         window more than the remainder.  Bug#16351, bug#16383.
14139 2014-01-07  Glenn Morris  <rgm@gnu.org>
14141         * menu-bar.el (menu-bar-help-extra-packages): Remove.
14142         (menu-bar-help-menu): Use view-external-packages instead.
14144 2014-01-07  Bastien Guerry  <bzg@gnu.org>
14146         * emacs-lisp/package.el (package-delete): Also delete the package
14147         name from `package-alist', not its description only.
14149 2014-01-07  Glenn Morris  <rgm@gnu.org>
14151         * help.el (view-external-packages):
14152         * menu-bar.el (menu-bar-help-extra-packages):
14153         Visit efaq.info rather than etc/MORE.STUFF.
14155 2014-01-07  Juri Linkov  <juri@jurta.org>
14157         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
14158         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
14160         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
14161         that shadows RET.  (Bug#16342)
14163 2014-01-07  Chong Yidong  <cyd@gnu.org>
14165         * isearch.el (isearch-yank-char, isearch-yank-word)
14166         (isearch-yank-line): Doc fix.
14168 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14170         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
14171         * emacs-lisp/elint.el (elint-find-builtins):
14172         * emacs-lisp/eldoc.el (eldoc-symbol-function):
14173         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
14174         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
14175         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
14176         * apropos.el (apropos-safe-documentation):
14177         * subr.el (symbol-file): Remove redundant fboundp.
14178         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
14180 2014-01-06  Bastien Guerry  <bzg@gnu.org>
14182         * hl-line.el (global-hl-line-overlay): Make a local variable.
14183         (global-hl-line-overlays): New variable to store all overlays.
14184         (global-hl-line-mode): Don't delete overlays from the current
14185         buffer when `global-hl-line-sticky-flag' is non-nil.
14186         (global-hl-line-highlight): Add new overlays to
14187         `global-hl-line-overlays'.
14188         (global-hl-line-unhighlight-all): New function to delete all
14189         overlays when turning off `global-hl-line-mode'.
14190         This fixes Bug#16183.
14192 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14194         * subr.el (set-transient-map): Fix nested case and docstring.
14196 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
14198         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
14199         `Texinfo' entry.
14201 2014-01-06  Daniel Colascione  <dancol@dancol.org>
14203         Fix defun navigation in vc log view.
14205         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
14206         like `beginning-of-defun'.
14207         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
14208         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
14209         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
14210         (log-view-extract-comment): Call `log-view-current-entry' directly
14211         instead of relying on broken `log-view-beginning-of-defun' behavior.
14213 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
14215         Spelling fixes.
14216         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
14217         * emacs-lisp/debug.el (cancel-debug-on-entry):
14218         * epg.el (epg-error-to-string):
14219         * files.el (recover-file):
14220         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
14221         * mail/emacsbug.el (report-emacs-bug-hook):
14222         * mail/sendmail.el (mail-recover):
14223         * ses.el (ses-yank-resize):
14224         * term/ns-win.el (ns-print-buffer):
14225         Spelling fixes in diagnostics, mostly for "canceled" with one L.
14226         * epg.el (epg-key-capability-alist): Rename from misspelled version.
14227         All uses changed.
14228         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
14230 2014-01-06  Leo Liu  <sdl.web@gmail.com>
14232         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
14233         to avoid shadowing global key.  (Bug#16354)
14235 2014-01-06  Daniel Colascione  <dancol@dancol.org>
14237         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
14238         rst-mode.
14240 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
14242         * window.el (balance-windows): Add mising t to fix Bug#16351.
14244 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14246         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
14247         (bug#16285).
14248         (shr-insert): If we have a word that's longer than `shr-width',
14249         break after it anyway.  Otherwise we'll do no breaking once we get
14250         such a long word.
14252 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
14254         * net/eww.el (eww): Support single/double quote for search.
14255         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
14256         (eww-history-quit): Delete and use quit-window.
14257         (eww-history-kill): Delete, because it doesn't work well and
14258         not necessary.
14259         (eww-history-mode-map): Delete some keys and add easy-menu.
14261 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
14263         Fix misspelling of 'chinese' in rx (Bug#16237).
14264         * emacs-lisp/rx.el (rx-categories): Correct spelling of
14265         chinese-two-byte.
14267         Change subword regexps back to vars (Bug#16296).
14268         * progmodes/subword.el (subword-forward-regexp)
14269         (subword-backward-regexp): Change these back to variables.
14271 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14273         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
14274         syntax-begin-function (bug#16247).
14276 2014-01-03  Chong Yidong  <cyd@gnu.org>
14278         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
14279         (advice--docstring): Delete variable.
14280         (advice--make-1): Leave the docstring empty.
14281         (advice-add): Use function-documentation for advised docstring.
14283         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
14284         Ignore function-documentation property when getting documentation.
14285         (ad-activate-advised-definition): Use function-documentation
14286         generate the docstring.
14287         (ad-make-advised-definition): Don't call
14288         ad-make-advised-definition-docstring.
14289         (ad-make-advised-definition-docstring, ad-advised-definition-p):
14290         Delete functions.
14292         * progmodes/sql.el (sql-help): Use function-documentation instead
14293         of dynamic-docstring-function property.  No need to autoload now.
14294         (sql--help-docstring): New variable.
14295         (sql--make-help-docstring): Use it.
14297 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14299         * ielm.el (ielm-tab): Retarget.
14300         (ielm-map): Use ielm-tab for tab.
14301         (ielm-complete-filename): Use comint-filename-completion.
14302         (ielm-complete-symbol): Remove.
14303         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
14304         remove ielm-tab from completion-at-point-functions (bug#16224).
14306         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
14307         Beware signals raised by predicates (bug#16201).
14309 2014-01-02  Richard Stallman  <rms@gnu.org>
14311         * dired-aux.el (dired-do-print): Handle printer-name.
14313         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
14314         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
14315         (rmail-epa-decrypt): Turn off mime processing.
14317         * mail/rmail.el (rmail-make-in-reply-to-field):
14318         Add parens in message-id.
14320         * mail/rmail.el (rmail-get-coding-function): Variable.
14321         (rmail-get-coding-system): Use it.
14323 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
14325         * international/mule-conf.el: Unify the charset indian-is13194.
14326         (indian-is13194): Specify unify-map.
14328 2013-12-31  Leo Liu  <sdl.web@gmail.com>
14330         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
14332 2013-12-30  Daniel Colascione  <dancol@dancol.org>
14334         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
14335         of printing a useless when we resume from sleep.
14337         * progmodes/sh-script.el
14338         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
14339         in indentation code.  (Bug#16233)
14341 2013-12-28  João Távora  <joaotavora@gmail.com>
14343         * elec-pair.el (electric-pair-post-self-insert-function):
14344         Don't open extra newlines at beginning of buffer.  (Bug#16272)
14346 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
14348         * frame.el (window-system-for-display): Don't allow to create a
14349         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
14351 2013-12-28  Glenn Morris  <rgm@gnu.org>
14353         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
14354         Update callers.
14356         * apropos.el (apropos-match-face):
14357         * calculator.el (calculator-displayer):
14358         * dabbrev.el (dabbrev-search-these-buffers-only):
14359         * face-remap.el (buffer-face-mode-face):
14360         * simple.el (yank-handled-properties):
14361         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
14362         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
14363         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
14364         (hashcash-double-spend-database):
14365         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
14366         (ruby-deep-indent-paren-style):
14367         * textmodes/flyspell.el (flyspell-auto-correct-binding):
14368         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
14369         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
14370         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
14371         Specify custom types.
14373         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
14374         * bookmark.el (bookmark-bmenu-use-header-line):
14375         * doc-view.el (doc-view-scale-internally):
14376         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
14377         * register.el (register-preview-delay):
14378         * net/shr.el (shr-bullet):
14379         * progmodes/cfengine.el (cfengine-cf-promises)
14380         (cfengine-parameters-indent):
14381         * progmodes/octave.el (inferior-octave-error-regexp-alist):
14382         * textmodes/reftex-vars.el (reftex-label-regexps):
14383         * vc/log-edit.el (log-edit-setup-add-author): Add version.
14385         * net/tls.el (tls-certtool-program): Fix default value.
14387         * desktop.el (desktop-restore-in-current-display):
14388         * newcomment.el (comment-empty-lines):
14389         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
14390         (idlwave-pad-keyword):
14391         * progmodes/tcl.el (tcl-tab-always-indent):
14392         * textmodes/reftex-vars.el (reftex-index-default-tag):
14393         * elec-pair.el (electric-pair-skip-whitespace):
14394         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
14396         * emacs-lisp/authors.el (authors-ignored-files)
14397         (authors-valid-file-names, authors-renamed-files-alist): Additions.
14399 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
14401         * shell.el (shell-dynamic-complete-command): Doc fix.
14402         (shell--command-completion-data): Shell completion now matches
14403         executable filenames from the current buffer's directory, on
14404         systems in which this behavior is the default (windows-nt, ms-dos).
14406 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
14408         * net/shr.el (shr-insert): Don't infloop if the width is zero.
14410 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14412         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
14413         (bug#16251).
14415         * electric.el: Move all electric-pair-* to elec-pair.el.
14416         * elec-pair.el: New file, split from electric.el.
14418 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
14420         * net/shr.el (shr-find-fill-point): Don't try to fill if the
14421         indentation level is larger than the width, because that will
14422         infloop.
14423         (shr-insert): Fill repeatedly long texts, so that Japanese is
14424         formatted correctly (bug#16263).
14425         (shr-find-fill-point): Off by one error in comparison with the
14426         indentation.
14428 2013-12-26  João Távora  <joaotavora@gmail.com>
14430         * electric.el (electric-pair-mode): More flexible engine for skip-
14431         and inhibit predicates, new options for pairing-related functionality.
14432         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
14433         if that keeps or improves their balance in buffers.
14434         (electric-pair-delete-adjacent-pairs): Delete the pair when
14435         backspacing over adjacent matched delimiters.
14436         (electric-pair-open-extra-newline): Open extra newline when
14437         inserting newlines between adjacent matched delimiters.
14438         (electric--sort-post-self-insertion-hook):
14439         Sort post-self-insert-hook according to priority values when
14440         minor-modes are activated.
14441         * simple.el (newline-and-indent): Call newline with interactive
14442         set to t.
14443         (blink-paren-post-self-insert-function): Set priority to 100.
14444         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14445         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
14446         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
14447         electric-pair-open-newline-between-pairs to nil.
14449 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14451         * progmodes/python.el: Use lexical-binding.
14452         (python-nav-beginning-of-defun): Stop searching ASAP.
14454 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
14456         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
14457         Fix interactive spec.  Doc fix.  (Bug#15754)
14459 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
14461         * emacs-lisp/byte-run.el (eval-when-compile):
14462         * progmodes/cc-defs.el (cc-eval-when-compile):
14463         Fix edebug spec (bug#16184).
14465 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
14467         * net/shr.el (shr-visit-file): Remove debugging function.
14468         (shr-insert): Don't infloop if we can't find a good place to break
14469         the line (bug#16256).
14471 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14473         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
14474         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
14475         python-nav-lisp-forward-sexp-safe.
14476         (python-nav--forward-sexp): New argument SAFE allows switching
14477         forward sexp movement behavior for parens.
14478         (python-nav-forward-sexp): Throw errors on unterminated parens
14479         (Bug#16191).
14480         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
14481         (python-nav-backward-sexp-safe): New functions.
14482         (python-shell-buffer-substring):
14483         Use `python-nav-forward-sexp-safe'.
14485 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
14487         * net/shr.el (shr-find-fill-point): Don't break lines before a
14488         quotation mark.
14489         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
14490         (shr-find-fill-point): Remove the special checks for the quotation
14491         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
14493 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
14495         * net/eww.el (eww-form-textarea): Use a different face for
14496         textareas than text input since they have different keymaps
14497         (bug#16142).
14499 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14501         * progmodes/python.el (python-nav-beginning-of-statement):
14502         Speed up (Bug#15295).
14504 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
14506         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
14507         the window configuration.
14509 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
14511         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
14512         we run on MS-Windows or MS-DOS.
14514 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
14516         * window.el (balance-windows-area): Call window-size instead of
14517         window-height and window-width.  Bug#16241.
14519 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
14521         * net/eww.el (eww-bookmark-quit): Remove.
14522         (eww-bookmark-browse): Restore the window configuration when you
14523         choose a bookmark (bug#16144).
14525 2013-12-24  Daniel Colascione  <dancol@dancol.org>
14527         * icomplete.el: Remove redundant :group arguments to `defcustom'
14528         throughout.
14529         (icomplete-show-matches-on-no-input): New customizable variable.
14530         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
14531         we have something to show.
14532         (icomplete-exhibit): Compute completions even if we have no user input.
14534 2013-12-23  Daniel Colascione  <dancol@dancol.org>
14536         * icomplete.el: Move `provide' to end of file.
14538 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
14540         * net/gnutls.el (gnutls-verify-error): Add version tag.
14542 2013-12-23  Chong Yidong  <cyd@gnu.org>
14544         * subr.el (set-transient-map): Rename from
14545         set-temporary-overlay-map.  Doc fix.
14547         * face-remap.el (text-scale-adjust):
14548         * indent.el (indent-rigidly):
14549         * kmacro.el (kmacro-call-macro):
14550         * minibuffer.el (minibuffer-force-complete):
14551         * repeat.el (repeat):
14552         * simple.el (universal-argument--mode):
14553         * calendar/todo-mode.el (todo-insert-item--next-param):
14554         * progmodes/f90.el (f90-abbrev-start): Callers changed.
14556         * indent.el (indent-rigidly): Use substitute-command-keys.
14558 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
14560         * net/eww.el (eww-tag-select): Add text-property to jump to next
14561         select field.
14562         (eww): Add non-supported ftp error.
14564 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
14566         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
14567         comments.  Handle electric indent after typing `?' and `!'.
14569 2013-12-22  Chong Yidong  <cyd@gnu.org>
14571         * faces.el (face-spec-recalc): If the theme specs are not
14572         applicable to a frame, fall back on the defface spec.
14573         This prevents themes from obliterating faces on low-color terminals.
14575 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
14577         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14578         after `{'.  We need it after block openers, and it doesn't seem
14579         to hurt after hash openers.
14581 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
14583         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
14584         extracted from `ruby-smie-rules'.
14585         (ruby--electric-indent-chars): New variable.
14586         (ruby--electric-indent-p): New function.
14587         (ruby-mode): Use `electric-indent-functions' instead of
14588         `electric-indent-chars'.
14590 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
14592         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
14593         docstring.
14594         (ruby-smie-rules): Indent plus one level after `=>'.
14596 2013-12-21  Richard Stallman  <rms@gnu.org>
14598         * simple.el (newline): Doc fix.
14600 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
14602         * net/eww.el (eww-list-histories, eww-list-histories)
14603         (eww-history-browse, eww-history-quit, eww-history-kill)
14604         (eww-history-mode-map, eww-history-mode): New command and
14605         functions to list browser histories.
14606         (eww-form-text): Support text form with disabled
14607         and readonly attributes.
14608         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
14610 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14612         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
14613         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
14614         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
14615         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
14616         Use `user-error'.
14617         (eww-bookmark-mode-map): Add menu.
14618         (eww-render, eww-mode): Use `setq-local'.
14619         (eww-tool-bar-map): New variable.
14620         (eww-mode): Set `tool-bar-map'.
14621         (eww-view-source): Check for `html-mode' with `fboundp'.
14623 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14625         * net/shr.el (shr--extract-best-source): Don't bug out on audio
14626         elements with text inside.  Also remove debugging.
14628 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
14630         * cus-start.el (all): Add ns-use-srgb-colorspace.
14632 2013-12-21  Chong Yidong  <cyd@gnu.org>
14634         * custom.el (custom-theme-recalc-face): Do nothing if the face is
14635         undefined.  Thus, theme settings for undefined faces do not take
14636         effect until the faces are defined with defface, the same as with
14637         theme variables.
14639         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
14640         (face-spec-reset-face): Don't assign extra properties in temacs.
14641         (face-spec-recalc): Apply X resources too.
14643 2013-12-21  Chong Yidong  <cyd@gnu.org>
14645         * faces.el (face-spec-set):
14646         * cus-face.el (custom-theme-set-faces, custom-set-faces):
14647         * custom.el (defface): Doc fixes (Bug#16203).
14649         * indent.el (indent-rigidly-map): Add docstring, and move commands
14650         into named functions.
14651         (indent-rigidly-left, indent-rigidly-right)
14652         (indent-rigidly-left-to-tab-stop)
14653         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
14654         indentation direction based on bidi direction, and accumulate
14655         sequential commands in a single undo boundary.
14656         (indent-rigidly--pop-undo): New utility function.
14658 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
14660         * faces.el (read-face-name): Require crm.el when using crm-separator.
14662 2013-12-20  Daniel Colascione  <dancol@dancol.org>
14664         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
14665         so that we don't reflow comments into the shebang line.
14667 2013-12-20  Juri Linkov  <juri@jurta.org>
14669         * saveplace.el (save-place-to-alist): Add `dired-filename' as
14670         a position when `dired-directory' is non-nil.  Check integer
14671         positions with `integerp'.
14672         (toggle-save-place, save-places-to-alist): Add check for
14673         `dired-directory'.
14674         (save-place-find-file-hook): Check integer positions with
14675         `integerp'.
14676         (save-place-dired-hook): Use `dired-goto-file' when
14677         `dired-filename' is found in the assoc list.  Check integer
14678         positions with `integerp'.
14679         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
14681         * dired.el (dired-initial-position-hook): Rename back from
14682         `dired-initial-point-hook'.
14683         (dired-initial-position): Rename `dired-initial-point-hook' to
14684         `dired-initial-position-hook'.
14685         (dired-file-name-at-point): Doc fix.  (Bug#15329)
14687 2013-12-20  Juri Linkov  <juri@jurta.org>
14689         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
14690         (read-regexp-suggestions): New function.
14691         (read-regexp): Use `read-regexp-defaults-function' to get default values.
14692         Use `read-regexp-suggestions'.  Add non-empty default to history
14693         for empty input.
14694         (occur-read-regexp-defaults-function): Remove function.
14695         (occur-read-primary-args): Use `regexp-history-last' instead of
14696         `occur-read-regexp-defaults-function'.
14698         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
14699         (hi-lock-line-face-buffer, hi-lock-face-buffer)
14700         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
14701         `hi-lock-read-regexp-defaults-function'.  Doc fix.
14702         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
14703         with `find-tag-default-as-symbol-regexp'.  Doc fix.
14704         (hi-lock-read-regexp-defaults): Remove function.
14705         (hi-lock-regexp-okay): Add check for null.
14707         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
14708         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
14710         * subr.el (find-tag-default-as-symbol-regexp): New function.
14711         (find-tag-default-as-regexp): Move symbol regexp formatting to
14712         `find-tag-default-as-symbol-regexp'.
14714 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
14716         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
14717         (Bug#14179)
14719 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
14721         * calendar/todo-mode.el: New implementation of item insertion
14722         commands and key bindings.
14723         (todo-key-prompt): New face.
14724         (todo-insert-item): New command.
14725         (todo-insert-item--parameters): New defconst, replacing defvar
14726         todo-insertion-commands-args-genlist.
14727         (todo-insert-item--param-key-alist): New defconst, replacing
14728         defvar todo-insertion-commands-arg-key-list.
14729         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14730         (todo-insert-item--argsleft, todo-insert-item--apply-args)
14731         (todo-insert-item--next-param): New functions.
14732         (todo-insert-item--args, todo-insert-item--argleft)
14733         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14734         New variables.
14735         (todo-key-bindings-t): Change binding of "i" from
14736         todo-insertion-map to todo-insert-item.
14737         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14738         (todo-insertion-command-name, todo-insertion-commands-names)
14739         (todo-define-insertion-command, todo-insertion-commands)
14740         (todo-insertion-key-bindings, todo-insertion-map): Remove.
14742 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
14744         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14745         (todo-toggle-item-highlighting): Use eval-and-compile instead of
14746         eval-when-compile.
14747         (todo-move-category): Allow choosing a non-existing todo file to
14748         move the category to, and create that file.
14749         (todo-default-priority): New user option.
14750         (todo-set-item-priority): Use it.
14751         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14752         (desktop-restore-file-buffer): Declare.
14753         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14754         (todo-modes-set-2): Locally set desktop-save-buffer to
14755         todo-desktop-save-buffer.
14756         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14757         (auto-mode-alist): Add autoload cookie.
14759 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
14761         * emacs-lisp/subr-x.el: Renamed from helpers.el.
14762         helpers.el was a poor choice of name.
14763         (string-remove-prefix): New function.
14764         (string-remove-suffix): New function.
14766 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
14768         Fix assignment for new window total sizes.
14769         * window.el (window--pixel-to-size): Remove function.
14770         (window--pixel-to-total-1, window--pixel-to-total):
14771         Fix calculation of new total sizes.
14773 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
14775         * comint.el (comint-output-filter): Fix rear-nonsticky property
14776         placement (Bug#16010).
14778 2013-12-20  Chong Yidong  <cyd@gnu.org>
14780         * faces.el (read-color): Minor fix for completion function.
14782 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
14784         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14785         New option.  (Bug#16182)
14786         (ruby-smie--indent-to-stmt-p): Use it.
14787         (ruby-smie-rules): Revert the logic in the handling of `when'.
14788         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14789         (ruby-deep-arglist, ruby-deep-indent-paren)
14790         (ruby-deep-indent-paren-style): Update docstrings to note that the
14791         vars don't have any effect with SMIE.
14793 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
14795         * calc/calc.el (calc-enter, calc-pop): Use the variable
14796         `calc-context-sensitive-enter'.
14798 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14800         * net/shr.el (shr-insert): Protect against infloops in degenerate
14801         tables.
14803 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14805         * progmodes/octave.el (octave): Add link to manual and octave
14806         homepage.
14807         (octave-mode-menu): Link to octave-mode manual.
14809 2013-12-20  Leo Liu  <sdl.web@gmail.com>
14811         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14812         insertion using skeleton-end-newline.  (Bug#16138)
14814 2013-12-20  Juri Linkov  <juri@jurta.org>
14816         * replace.el (occur-engine): Use `add-face-text-property'
14817         to add the face property to matches and titles.  (Bug#14645)
14819         * hi-lock.el (hi-green): Use lighter color "light green" closer to
14820         the palette of other hi-lock colors.
14821         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14823 2013-12-19  Juri Linkov  <juri@jurta.org>
14825         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14826         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
14827         (minibuffer-history-symbol): Move variable declaration closer to
14828         its usage.
14830         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14831         (Bug#14785)
14833 2013-12-19  Juri Linkov  <juri@jurta.org>
14835         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14836         New function.
14837         (log-edit-hook): Add it to :options.  (Bug#16170)
14839 2013-12-19  Juri Linkov  <juri@jurta.org>
14841         * simple.el (eval-expression-print-format): Don't check for
14842         command names and the last command.  Always display additional
14843         formats of the integer result in the echo area, and insert them
14844         to the current buffer only with a zero prefix arg.
14845         Display character when char-displayable-p is non-nil.
14846         (eval-expression): With a zero prefix arg, set `print-length' and
14847         `print-level' to nil, and insert the integer values from
14848         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
14850         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14851         `eval-last-sexp-arg-internal'.  Doc fix.
14852         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14853         `eval-last-sexp-print-value'.  Doc fix.
14854         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14855         Set `print-length' and `print-level' to nil when arg is zero.
14856         (eval-last-sexp): Doc fix.
14857         (eval-defun-2): Print the integer values from
14858         `eval-expression-print-format' at the end.
14860         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14861         values from `eval-expression-print-format' at the end.
14863         * ielm.el (ielm-eval-input): Print the integer
14864         values from `eval-expression-print-format' at the end.
14866 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
14868         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14869         2013-12-11T19:01:44Z!tzz@lifelogs.com.
14871 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14873         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
14874         (hl-line-highlight, global-hl-line-highlight): Use it.
14875         (hl-line-overlay): Use defvar-local.
14877 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
14879         * term/ns-win.el: Require dnd.
14880         (global-map): Remove drag items.
14881         (ns-insert-text, ns-set-foreground-at-mouse)
14882         (ns-set-background-at-mouse):
14883         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
14884         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
14885         New functions.
14887 2013-12-19  Glenn Morris  <rgm@gnu.org>
14889         * emacs-lisp/ert.el (ert-select-tests):
14890         Fix string/symbol mixup.  (Bug#16121)
14892 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
14894         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
14895         keywords to their parent.
14897 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
14899         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14900         first arg to be a string (fixed dead code), or an operator symbol.
14901         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
14902         operator symbols.
14903         (ruby-smie-rules): Remove parent token check in the `.' clause, it
14904         did nothing.  Don't respond to `(:after ".")', it will be called
14905         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
14906         change anything.  Only return indentation for binary operators
14907         when they are hanging.  De-dent opening paren when its parent is
14908         `.', otherwise it looks bad when the dot is not at bol or eol
14909         (bug#16182).
14911 2013-12-19  Juri Linkov  <juri@jurta.org>
14913         * replace.el (query-replace-read-args): Split a non-negative arg
14914         and a negative arg into separate elements.
14915         (query-replace, query-replace-regexp, replace-string)
14916         (replace-regexp): Add arg `backward'.  Doc fix.
14917         (replace-match-maybe-edit): When new arg `backward' is non-nil,
14918         move point to the beginning of the match.
14919         (replace-search, replace-highlight): Use new arg `backward'
14920         to set the value of `isearch-forward'.
14921         (perform-replace): Add arg `backward' and use it to perform
14922         replacement backward.  (Bug#14979)
14924         * isearch.el (isearch-query-replace): Use a negative prefix arg
14925         to call `perform-replace' with a non-nil arg `backward'.
14927 2013-12-18  Juri Linkov  <juri@jurta.org>
14929         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
14930         to the default list.  Move `log-edit-show-files' to the end.
14931         Add more available functions to options.
14932         (log-edit): Move default specific settings to
14933         `log-edit-insert-message-template'.  Don't move point.
14934         (log-edit-insert-message-template): New function.
14935         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
14936         (Bug#16170)
14938 2013-12-18  Juri Linkov  <juri@jurta.org>
14940         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
14941         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
14943 2013-12-18  Leo Liu  <sdl.web@gmail.com>
14945         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
14946         (Bug#16186)
14948 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
14950         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
14951         formats for displaying file sizes when the -s switch is given.
14952         Instead, compute a separate format for displaying the size in
14953         blocks, which is displayed in addition to the "regular" size.
14954         When -h is given in addition to -s, produce size in blocks in
14955         human-readable form as well.  (Bug#16179)
14957 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
14959         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
14960         Reference tables with ~\ref{...} instead of only \ref{...}.
14962 2013-12-18  Chong Yidong  <cyd@gnu.org>
14964         * cus-edit.el (custom-magic-alist): Fix "themed" description
14965         (Bug#14348).
14967         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
14968         is non-nil, do not create a new entry in the symbol's theme-value
14969         or theme-face property; update theme-settings only (Bug#14664).
14970         (custom-available-themes): Doc fix.
14972         * cus-theme.el (custom-new-theme-mode-map): Add bindings
14973         (Bug#15674).
14975         * replace.el (occur-engine): Avoid infloop (Bug#7593).
14977 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
14979         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
14980         (Bug#13914).
14982 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
14984         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
14986 2013-12-18  Glenn Morris  <rgm@gnu.org>
14988         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
14989         * cus-start.el (load-prefer-newer): New option.
14991 2013-12-18  Le Wang  <l26wang@gmail.com>
14993         * comint.el (comint-previous-matching-input-from-input):
14994         Retain point (Bug#13404).
14996 2013-12-18  Chong Yidong  <cyd@gnu.org>
14998         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
15000 2013-12-18  Glenn Morris  <rgm@gnu.org>
15002         * mail/emacsbug.el (report-emacs-bug):
15003         Only mention enable-multibyte-characters if non-standard.
15005 2013-12-17  Juri Linkov  <juri@jurta.org>
15007         * arc-mode.el (archive-extract-by-file): Check if directory exists
15008         before deletion to not show irrelevant errors if it doesn't exist.
15010 2013-12-17  Juri Linkov  <juri@jurta.org>
15012         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
15013         (Bug#14751)
15015         * net/eww.el (browse-web): Add alias to `eww'.
15016         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
15017         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
15019         * net/browse-url.el (browse-url-browser-function): Move `eww'
15020         closer to similar functions.
15022         * startup.el (fancy-startup-screen, fancy-about-screen):
15023         Set browse-url-browser-function to eww-browse-url locally.
15024         (Bug#14751)
15026 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15028         * window.el (window--pixel-to-total): Remove unused `mini' var.
15029         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
15030         (split-window): Remove unused `new' var.
15031         (window--display-buffer): Remove unused `frame' and `delta' vars.
15032         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
15033         and display-width'.
15035 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
15037         * dired.el (dired-mark-pop-up):
15038         * register.el (register-preview): Don't bind
15039         split-height-threshold here since it's now done in
15040         display-buffer-below-selected.
15042 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
15044         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
15045         xterm-rgb-convert-to-16bit.
15046         (rxvt-register-default-colors): Standardize with
15047         xterm-register-default-colors (Bug#14078).
15049 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
15051         * simple.el (kill-region): Pass mark first, then point, so that
15052         kill-append works right (Bug#12819).
15053         (copy-region-as-kill, kill-ring-save): Likewise.
15055 2013-12-17  Leo Liu  <sdl.web@gmail.com>
15057         * net/rcirc.el (rcirc-add-face):
15058         * eshell/em-prompt.el (eshell-emit-prompt):
15059         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
15060         (Bug#16167)
15062 2013-12-17  Chong Yidong  <cyd@gnu.org>
15064         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
15065         Suggested by Xue Fuqiao.
15067 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
15069         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
15071 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15073         * net/shr.el (shr-insert-document): Remove unused var
15074         `shr-preliminary-table-render'.
15075         (shr-rescale-image): Remove unused arg `force'.
15076         (shr-put-image): Update calls accordingly.
15077         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
15079 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
15081         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
15082         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
15083         :close-all, to see which indentation method to use (Bug#16116).
15084         (smie-rules-function): Document the method :close-all.
15086 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15088         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
15090         * net/eww.el (eww-display-html): If we can't find the anchor we're
15091         looking for, then go to point-min.
15093 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
15095         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
15096         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
15097         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
15098         Expand dir too, in case it's relative.
15100 2013-12-16  Juri Linkov  <juri@jurta.org>
15102         * desktop.el (desktop-auto-save-timeout): Change default to
15103         `auto-save-timeout'.  Doc fix.
15104         (desktop-save): Skip the timestamp in desktop-saved-frameset
15105         when checking for auto-save changes.
15106         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
15107         `desktop-auto-save' is called repeatedly by the idle timer.
15108         (desktop-auto-save-set-timer): Replace `run-with-timer' with
15109         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
15110         (Bug#15331)
15112 2013-12-16  Juri Linkov  <juri@jurta.org>
15114         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
15115         (Bug#16035)
15116         (isearch-pre-command-hook): Check `this-command' for symbolp.
15118 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15120         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
15122 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
15124         * progmodes/cfengine.el (cfengine3--current-word): Remove.
15125         (cfengine3--current-function): Bring in the current-function
15126         functionality from `cfengine3--current-word'.
15127         (cfengine3-completion-function): Bring in the
15128         bounds-of-current-word functionality from
15129         `cfengine3--current-word'.
15131 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
15133         * window.el (display-buffer-below-selected):
15134         Bind split-height-threshold to 0 as suggested by Juri Linkov.
15136 2013-12-16  Leo Liu  <sdl.web@gmail.com>
15138         * progmodes/compile.el (compile-goto-error): Do not push-mark.
15139         Remove NOMSG arg and all uses changed.
15141 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15143         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
15144         (cua--deactivate-rectangle): Don't deactivate the mark.
15145         (cua-set-rectangle-mark): Don't set mark-active since
15146         cua--activate-rectangle already does it for us.
15147         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
15148         non-rectangular region.
15150         * emulation/cua-base.el (cua-repeat-replace-region):
15151         Use with-current-buffer.
15153         * net/gnutls.el: Use cl-lib.
15154         (gnutls-negotiate): `mapcan' -> cl-mapcan.
15156 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
15158         * emacs-lisp/package.el (package-built-in-p): Support both
15159         built-in and the package.el converted package descriptions.
15160         (package-show-package-list): Allow keywords.
15161         (package-keyword-button-action): Use it instead of
15162         `finder-list-matches'.
15163         (package-menu-filter-interactive): Interactive filtering (by
15164         keyword) function.
15165         (package-menu--generate): Support keywords and change keymappings
15166         and headers when they are given.
15167         (package--has-keyword-p): Helper function.
15168         (package-menu--refresh): Use it.
15169         (package--mapc): Helper function.
15170         (package-all-keywords): Use it.
15171         (package-menu-mode-map): Set up menu items and keybindings to
15172         provide a filtering UI.
15174 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
15176         * net/gnutls.el (gnutls-verify-error): New defcustom to control
15177         the behavior when a certificate fails validation.  Defaults to
15178         old behavior: never abort, just warn.
15179         (gnutls-negotiate): Use it.
15181 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
15183         * window.el (display-buffer-below-selected): Never split window
15184         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
15186 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
15188         * emacs-lisp/package.el (package--prepare-dependencies): New function.
15189         (package-buffer-info): Use it (bug#15108).
15191 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15193         * icomplete.el (icomplete-completions): Make sure the prefix is already
15194         displayed elsewhere before hiding it (bug#16219).
15196 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
15198         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
15199         open-paren tokens when preceded by a open-paren, too.
15200         (ruby-smie-rules): Handle virtual indentation after open-paren
15201         tokens specially.  If there is code between it and eol, return the
15202         column where is starts (Bug#16118).
15204 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
15206         * progmodes/cfengine.el: Fix `add-hook' doc.
15207         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
15208         (cfengine3--current-word): Fix parameters.
15209         (cfengine3-make-syntax-cache): Simplify further.
15210         (cfengine3-completion-function, cfengine3--current-function):
15211         Use `assq' for symbols.
15212         (cfengine3--current-function): Fix `cfengine3--current-word' call.
15214 2013-12-13  Glenn Morris  <rgm@gnu.org>
15216         * loadup.el (load-path): Warn if site-load or site-init changes it.
15217         No more need to reset it when bootstrapping.
15219 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
15221         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
15222         locations for cf-promises.
15223         (cfengine-mode-syntax-functions-regex): New caching variable.
15224         (cfengine3-fallback-syntax): Fallback syntax for cases where
15225         cf-promises doesn't run.
15226         (cfengine3--current-word): Reimplement using
15227         `cfengine-mode-syntax-functions-regex'.
15228         (cfengine3-completion-function, cfengine3--current-function):
15229         Use `cfengine3-make-syntax-cache' directly.
15230         (cfengine3-clear-syntax-cache): New function.
15231         (cfengine3-make-syntax-cache): Simplify and create
15232         `cfengine-mode-syntax-functions-regex' on demand.
15233         (cfengine3-format-function-docstring): Don't call
15234         `cfengine3-make-syntax-cache' explicitly.
15236 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
15238         Fix windmove-find-other-window broken after pixelwise resizing
15239         (Bug#16017).
15240         * windmove.el (windmove-other-window-loc): Revert change from
15241         2013-12-04.
15242         (windmove-find-other-window): Call window-in-direction.
15243         * window.el (window-in-direction): New arguments SIGN, WRAP and
15244         MINI to emulate original windmove-find-other-window behavior.
15246 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
15248         * simple.el (blink-matching--overlay): New variable.
15249         (blink-matching-open): Instead of moving point, highlight the
15250         matching paren with an overlay
15251         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
15253         * faces.el (paren-showing-faces, show-paren-match)
15254         (show-paren-mismatch): Move from paren.el.
15256 2013-12-13  Leo Liu  <sdl.web@gmail.com>
15258         * indent.el (indent-region): Disable progress reporter in
15259         minibuffer.  (Bug#16108)
15261         * bindings.el (visual-order-cursor-movement): Fix version.
15263 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15265         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
15266         Also match after beginning of line.
15267         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
15268         files.  Thanks to Russell Sim.  (Bug#15378)
15270 2013-12-13  Juri Linkov  <juri@jurta.org>
15272         * simple.el <Keypad support>: Remove key bindings duplicated
15273         with bindings.el.  (Bug#14397)
15275 2013-12-13  Juri Linkov  <juri@jurta.org>
15277         * comint.el (comint-mode-map): Replace `delete-char' with
15278         `delete-forward-char'.  (Bug#16109)
15280 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15282         * progmodes/python.el (python-indent-calculate-indentation):
15283         Fix de-denters cornercase.  (Bug#15731)
15285 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15287         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
15288         (advice--make): Pay attention to `depth'.
15289         (advice--make-1): Don't autoload commands eagerly.
15290         * emacs-lisp/elp.el (elp-instrument-function):
15291         * emacs-lisp/trace.el (trace-function-internal):
15292         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
15294         * iswitchb.el (iswitchb-mode): Don't belittle ido.
15296 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
15298         * term/w32-win.el (w32-handle-dropped-file):
15299         * startup.el (normal-top-level):
15300         * net/browse-url.el (browse-url-file-url):
15301         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
15302         decode file names using 'utf-8' rather than
15303         file-name-coding-system.
15305 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15307         * progmodes/python.el (python-indent-context)
15308         (python-indent-calculate-indentation): Fix auto-identation
15309         behavior for comment blocks.  (Bug#15916)
15311 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
15313         * progmodes/python.el (python-indent-calculate-indentation):
15314         When determining indentation, don't treat "return", "pass", etc., as
15315         operators when they are just string constituents.  (Bug#15812)
15317 2013-12-12  Juri Linkov  <juri@jurta.org>
15319         * uniquify.el (uniquify-buffer-name-style): Change default to
15320         `post-forward-angle-brackets'.
15322         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
15323         `uniquify'.  Change default to `post-forward-angle-brackets'.
15325 2013-12-11  Glenn Morris  <rgm@gnu.org>
15327         * emacs-lisp/package.el (finder-list-matches):
15328         Autoload rather than falsely declaring.
15330 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
15332         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
15333         (eww-mode-map): Use them.
15335 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
15337         * window.el (display-buffer-in-side-window): Fix doc-string
15338         (Bug#16115).
15340 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
15342         * vc/vc-git.el: Silence byte-compiler warnings.
15343         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
15344         (log-edit-set-header): Declare.
15346 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
15348         * Makefile.in (custom-deps, finder-data): Run output file names
15349         through unmsys--file-name.  (Bug#16099)
15351 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15353         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
15354         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
15356         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
15357         instead of deleting the selection "by hand" (bug#16098).
15358         Rely on insert-for-yank to yank rectangles.
15359         (cua-highlight-region-shift-only): Mark obsolete.
15360         (cua-mode): Don't enable/disable transient-mark-mode,
15361         shift-select-mode (cua-mode works both with and without them), and
15362         pc-selection-mode (obsolete).
15363         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
15364         (cua--deactivate-rectangle): Deactivate it.
15366         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
15367         (delete-selection-helper): Make sure yank starts at the top of the
15368         deleted region.
15369         (minibuffer-keyboard-quit): Use region-active-p.
15371         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
15373         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
15374         to `delete' (bug#16109).
15376 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15378         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
15379         info manual and show keybindings and set `:group' keyword.
15381 2013-12-11  Juri Linkov  <juri@jurta.org>
15383         * delsel.el (delete-active-region): Let-bind `this-command'
15384         to prevent `kill-region' from changing its original value.
15385         (delete-selection-helper): Handle `overwrite-mode' for the type
15386         `kill' exactly the same way as for the type `t'.
15387         (insert-char, quoted-insert, reindent-then-newline-and-indent):
15388         Support more commands.  (Bug#13312)
15390 2013-12-11  Juri Linkov  <juri@jurta.org>
15392         * bindings.el: Map kp keys to non-kp keys systematically
15393         with basic modifiers control, meta and shift.  (Bug#14397)
15395 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
15397         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
15398         "Close browser" menu items.  Fix wrong function of "List
15399         bookmarks".
15401 2013-12-11  Juri Linkov  <juri@jurta.org>
15403         * misearch.el (multi-isearch-buffers): Set the value of
15404         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
15405         arg of isearch-forward to t.
15406         (multi-isearch-buffers-regexp): Set the value of
15407         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
15408         arg of isearch-forward-regexp to t.
15409         (multi-isearch-files): Set the value of
15410         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
15411         arg of isearch-forward to t.
15412         (multi-isearch-files-regexp): Set the value of
15413         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
15414         arg of isearch-forward-regexp to t.  (Bug#16035)
15416         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
15417         arg of isearch-forward to t.
15418         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
15419         arg of isearch-forward-regexp to t.
15420         (dired-isearch-filter-filenames): Remove unnecessary check for
15421         `dired-isearch-filenames'.
15423         * comint.el (comint-history-isearch-backward):
15424         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
15425         (comint-history-isearch-backward-regexp):
15426         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
15428 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
15430         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
15431         unmsys--file-name.  (Bug#16099)
15433 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
15435         * emacs-lisp/package.el (package-keyword-button-action):
15436         Remove finder.el require dependency.
15438 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
15440         * emacs-lisp/package.el: Require finder.el.
15441         (describe-package-1): Add keyword buttons.
15442         (package-make-button): New convenience function.
15443         (package-keyword-button-action): Keyword button action using
15444         `finder-list-matches'.
15446 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
15448         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
15449         last commit.
15451 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
15453         * autorevert.el (auto-revert-notify-add-watch): Do not handle
15454         symlinked files.
15456 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
15458         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
15459         after the end of a percent literal.
15461 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
15463         * progmodes/ruby-mode.el (ruby-forward-string): Document.
15464         Handle caret-delimited strings (Bug#16079).
15466 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
15468         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
15469         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
15470         `ruby-parse-partial' (Bug#16078).
15472 2013-12-09  Leo Liu  <sdl.web@gmail.com>
15474         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
15476 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
15478         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
15479         (js-switch-indent-offset): New option.
15480         (js--proper-indentation): Use it.  And handle the case when
15481         "default" is actually a key in an object literal.
15482         (js--same-line): New function.
15483         (js--multi-line-declaration-indentation): Use it.
15484         (js--indent-in-array-comp, js--array-comp-indentation):
15485         New functions.
15486         (js--proper-indentation): Use them, to handle array comprehension
15487         continuations.
15489 2013-12-08  Leo Liu  <sdl.web@gmail.com>
15491         * progmodes/flymake.el (flymake-highlight-line): Re-write.
15492         (flymake-make-overlay): Remove arg MOUSE-FACE.
15493         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
15495 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15497         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
15498         New function.
15499         (redisplay-highlight-region-function): Use it.
15501         * emulation/cua-base.el (cua--explicit-region-start)
15502         (cua--last-region-shifted): Remove.
15503         (cua--deactivate): Use deactivate-mark.
15504         (cua--pre-command-handler-1): Don't handle shift-selection.
15505         (cua--post-command-handler-1): Don't change transient-mark-mode.
15506         (cua--select-keymaps): Use region-active-p rather than
15507         cua--explicit-region-start or cua--last-region-shifted.
15508         (cua-mode): Enable shift-select-mode.
15510 2013-12-08  Leo Liu  <sdl.web@gmail.com>
15512         * progmodes/flymake.el (flymake-popup-current-error-menu):
15513         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
15514         (flymake-posn-at-point-as-event, flymake-popup-menu)
15515         (flymake-make-emacs-menu): Remove.  (Bug#16077)
15517 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15519         * rect.el (rectangle-mark-mode): Activate mark even if
15520         transient-mark-mode is off (bug#16066).
15521         (rectangle--highlight-for-redisplay): Fix boundary condition when point
15522         is > mark and at bolp.
15524         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
15525         (region-extract-function): Use it.
15526         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
15527         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
15528         Delete functions.
15529         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
15530         kill-ring-save, kill-region, delete-char, delete-forward-char.
15531         Ignore self-insert-iso.
15533         * emulation/cua-gmrk.el (cua--init-global-mark):
15534         Ignore `self-insert-iso'.
15536         * emulation/cua-base.el (cua--prefix-copy-handler)
15537         (cua--prefix-cut-handler): Rely on region-extract-function rather than
15538         checking cua--rectangle.
15539         (cua-delete-region): Use region-extract-function.
15540         (cua-replace-region): Delete function.
15541         (cua-copy-region, cua-cut-region): Obey region-extract-function.
15542         (cua--pre-command-handler-1): Don't do the delete-selection thing.
15543         (cua--self-insert-char-p): Ignore `self-insert-iso'.
15544         (cua--init-keymaps): Don't remap delete-selection commands.
15545         (cua-mode): Use delete-selection-mode instead of rolling our own
15546         (bug#16085).
15548         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
15549         Obey region-extract-function.
15551         Make registers and delete-selection-mode work on rectangles.
15552         * register.el (describe-register-1): Don't modify the register's value.
15553         (copy-to-register): Obey region-extract-function.
15554         * delsel.el (delete-active-region): Obey region-extract-function.
15556 2013-12-08  Leo Liu  <sdl.web@gmail.com>
15558         * progmodes/flymake.el (flymake, flymake-error-bitmap)
15559         (flymake-warning-bitmap, flymake-fringe-indicator-position)
15560         (flymake-compilation-prevents-syntax-check)
15561         (flymake-start-syntax-check-on-newline)
15562         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
15563         (flymake-start-syntax-check-on-find-file, flymake-log-level)
15564         (flymake-xml-program, flymake-master-file-dirs)
15565         (flymake-master-file-count-limit)
15566         (flymake-allowed-file-name-masks): Relocate.
15567         (flymake-makehash, flymake-float-time)
15568         (flymake-replace-regexp-in-string, flymake-split-string)
15569         (flymake-get-temp-dir): Remove.
15570         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
15571         (flymake-current-row, flymake-selected-frame)
15572         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
15573         related functions.  (Bug#16077)
15575 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
15577         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
15579 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
15581         * help-fns.el (describe-function-1): Use new advice-* functions
15582         rather than old ad-* functions.  Fix function type description and
15583         source links for advised functions and subrs.
15585 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15587         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
15589 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
15591         * progmodes/compile.el (compilation-start):
15592         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
15594         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
15595         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
15597 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
15599         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
15600         Touch up the last change.
15602 2013-12-06  Leo Liu  <sdl.web@gmail.com>
15604         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
15605         (inferior-octave-startup): Always use "octave> " for prompt.
15606         (octave-goto-function-definition)
15607         (octave-sync-function-file-names)
15608         (octave-find-definition-default-filename): Remove redundant backquotes.
15610 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
15612         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
15613         syntax for `?'.
15614         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
15615         where appropriate already.
15616         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
15617         end of method names (Bug#15874).
15619 2013-12-06  Juri Linkov  <juri@jurta.org>
15621         * isearch.el (isearch--saved-overriding-local-map):
15622         New internal variable.
15623         (isearch-mode): Set it to the initial value of
15624         `overriding-terminal-local-map'.
15625         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
15626         with `isearch--saved-overriding-local-map'.  (Bug#16035)
15628 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
15630         * progmodes/octave.el (inferior-octave-completion-table):
15631         Turn back into function, use `completion-table-with-cache'
15632         (Bug#11906).  Update all references.
15634         * minibuffer.el (completion-table-with-cache): New function.
15636 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
15638         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
15640 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
15642         * net/eww.el (eww-current-source): New variable to store page
15643         source.
15644         (eww-display-html, eww-mode, eww-save-history)
15645         (eww-restore-history): Use it.
15646         (eww-view-source): New command to view page source.
15647         Opportunistically uses `html-mode' to highlight the buffer.
15648         (eww-mode-map): Install it.
15650 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
15652         * net/dbus.el (dbus-unregister-service)
15653         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
15654         Fix docstring.
15655         (dbus-unregister-service): Skip :serial entries in
15656         `dbus-registered-objects-table'.
15657         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
15659 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
15661         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
15662         around keywords with extra `split-string' argument.
15664 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
15666         * windmove.el (windmove-other-window-loc): Handle navigation
15667         between windows (excluding the minibuffer window - Bug#16017).
15669 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
15671         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
15672         in D-Bus type syntax.
15673         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
15674         preserve unibyte strings.  (Bug#16048)
15676 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15678         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
15679         Call force-mode-line-update is the proper buffer (bug#16042).
15681 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
15683         * vc/log-edit.el (log-edit-add-new-comment): Rename to
15684         `log-edit-remember-comment', make argument optional.  Adjust all
15685         callers.
15686         (log-edit-mode): Add `log-edit-remember-comment' to
15687         `kill-buffer-hook' locally.
15688         (log-edit-kill-buffer): Don't remember comment explicitly since
15689         the buffer is killed anyway.
15691 2013-12-04  Juri Linkov  <juri@jurta.org>
15693         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
15694         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
15696 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
15698         * notifications.el (notifications-close-notification): Call the
15699         D-Bus method with ID being a `:uint32'.  (Bug#16030)
15701 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
15703         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
15705 2013-12-03  Juri Linkov  <juri@jurta.org>
15707         * progmodes/compile.el (compilation-start): Rename window alist
15708         entry `no-display-ok' to `allow-no-window'.
15710         * simple.el (shell-command): Add window alist entry
15711         `allow-no-window' to `display-buffer'.
15712         (async-shell-command): Doc fix.
15714         * window.el (display-buffer-no-window): New action function.
15715         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
15717 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
15719         * vc/log-edit.el (log-edit-set-header): Extract from
15720         `log-edit-toggle-header'.
15721         (log-edit-extract-headers): Separate the summary, when extracted
15722         from header, from the rest of the message with an empty line.
15724         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
15725         line, if present, to the Summary header.
15727 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15729         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15730         in current-buffer (bug#16029).
15732 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
15734         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15735         (debugger-mode-map): Bind it.
15736         (debugger--backtrace-base): New function.
15737         (debugger-eval-expression): Use it.
15738         (debugger-frame-number): Skip local vars when present.
15739         (debugger--locals-visible-p, debugger--insert-locals)
15740         (debugger--show-locals, debugger--hide-locals): New functions.
15742 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
15744         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15745         "LC_ALL".
15746         (tramp-get-remote-locale): New defun.
15747         (tramp-open-connection-setup-interactive-shell): Use it.
15749 2013-12-02  Leo Liu  <sdl.web@gmail.com>
15751         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
15753         * progmodes/sh-script.el (sh-shell-process):
15754         * progmodes/octave.el (inferior-octave-process-live-p):
15755         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15756         (gdb-inferior-io-sentinel):
15757         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15759 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
15761         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15762         `save-selected-window' to `log-edit-hide-buf'.  This makes
15763         `log-edit-show-files' idempotent.
15764         (log-edit-show-files): Mark the new window as dedicated.
15766 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
15768         * vc/log-edit.el (log-edit-mode-map): Add binding for
15769         `log-edit-kill-biffer'.
15770         (log-edit-hide-buf): Add a FIXME comment.
15771         (log-edit-add-new-comment): New function, extracted from
15772         `log-edit-done'.
15773         (log-edit-done, log-edit-add-to-changelog): Use it.
15774         (log-edit-kill-buffer): New command.
15776 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15778         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15779         instead of killing the buffer.
15781 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15783         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15785 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15787         * net/eww.el (eww-form-checkbox-selected-symbol)
15788         (eww-form-checkbox-symbol): New customizable variable.
15789         (eww-form-checkbox, eww-toggle-checkbox):
15790         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15792         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15793         (shr--get-media-pref, shr--extract-best-source): New function.
15794         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15795         no :src tag was specified.
15797         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15798         (eww-render): Handle `eww-use-external-browser-for-content-type'.
15799         Use \\` to match beginning of string instead of ^.
15800         (eww-browse-with-external-browser): Provide optional URL parameter.
15801         (eww-render): Set `eww-current-title' back to "".
15803         * net/shr.el (shr-tag-video): Display content for video if no
15804         poster is available.
15805         (shr-tag-audio): Add support for <audio> tag.
15807         * net/eww.el (eww-text-input-types): New const.
15808         (eww-process-text-input): Treat input types in
15809         `eww-text-input-types' as text.
15811         * net/shr.el (shr-tag-table): Fix comment typo.
15813 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15815         * net/eww.el (eww-follow-link): New command to avoid reloading
15816         pages when we follow #target links (bug#15243).
15817         (eww-quit): Special mode buffers shouldn't query before exiting.
15819 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
15821         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15822         forms.
15824 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15826         * net/eww.el (eww-restore-history): Update the window title after
15827         moving in the history.
15828         (eww-current-dom): New variable used to save the current DOM.
15830 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
15832         * vc/log-edit.el (log-edit-mode-map): Add binding for
15833         `log-edit-beginning-of-line'.
15834         (log-edit-setup-add-author): New user option.
15835         (log-edit-beginning-of-line): New command.
15836         (log-edit): Move major mode call above the contents setup so that
15837         the local variable values are already applied.
15838         (log-edit): Only insert "Author: " when
15839         `log-edit-setup-add-author' is non-nil.
15840         (log-edit): When SETUP is non-nil, position point after ": "
15841         instead of point-min.
15843 2013-12-01  Glenn Morris  <rgm@gnu.org>
15845         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15847 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
15849         * startup.el (fancy-splash-frame): On MS-Windows, trigger
15850         redisplay to make sure the initial frame gets a chance to become
15851         visible.  (Bug#16014)
15853 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
15855         Support resizing frames and windows pixelwise.
15856         * cus-start.el (frame-resize-pixelwise)
15857         (window-resize-pixelwise): New entries.
15858         * emacs-lisp/debug.el (debug): Use window-total-height instead
15859         of window-total-size.
15860         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15861         * help.el (describe-bindings-internal): Use help-buffer as
15862         argument for with-help-window.
15863         (temp-buffer-max-width): New option.
15864         (resize-temp-buffer-window, help-window-setup)
15865         (with-help-window): Rewrite.
15866         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
15867         dragging dividers.
15868         * window.el (frame-char-size, window-min-pixel-height)
15869         (window-safe-min-pixel-height, window-safe-min-pixel-width)
15870         (window-min-pixel-width, window-safe-min-pixel-size)
15871         (window-combination-p, window-safe-min-size)
15872         (window-resizable-p, window--size-to-pixel)
15873         (window--pixel-to-size, window--resize-apply-p): New functions.
15874         (window-safe-min-height): Fix doc-string.
15875         (window-size, window-min-size, window--min-size-1)
15876         (window-sizable, window-sizable-p, window--min-delta-1)
15877         (window-min-delta, window--max-delta-1, window-max-delta)
15878         (window--resizable, window--resizable-p, window-resizable)
15879         (window-full-height-p, window-full-width-p, window-at-side-p)
15880         (window--in-direction-2, window-in-direction)
15881         (window--resize-reset-1, window--resize-mini-window)
15882         (window-resize, window-resize-no-error)
15883         (window--resize-child-windows-normal)
15884         (window--resize-child-windows, window--resize-siblings)
15885         (window--resize-this-window, window--resize-root-window)
15886         (window--resize-root-window-vertically)
15887         (adjust-window-trailing-edge, enlarge-window, shrink-window)
15888         (maximize-window, minimize-window, delete-window)
15889         (quit-restore-window, window-split-min-size, split-window)
15890         (balance-windows-2, balance-windows)
15891         (balance-windows-area-adjust, balance-windows-area)
15892         (window--state-get-1, window-state-get, window--state-put-1)
15893         (window--state-put-2, window-state-put)
15894         (display-buffer-record-window, window--display-buffer):
15895         Make functions handle pixelwise sizing of windows.
15896         (display-buffer--action-function-custom-type)
15897         (display-buffer-fallback-action):
15898         Add display-buffer-in-previous-window.
15899         (display-buffer-use-some-window): Resize window to height it had
15900         before.
15901         (fit-window-to-buffer-horizontally): New option.
15902         (fit-frame-to-buffer): Describe new values.
15903         (fit-frame-to-buffer-bottom-margin): Replace with
15904         fit-frame-to-buffer-margins.
15905         (window--sanitize-margin): New function.
15906         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
15907         using window-text-pixel-size.
15909 2013-11-30  Glenn Morris  <rgm@gnu.org>
15911         * emacs-lisp/bytecomp.el (byte-compile-form):
15912         Make the `interactive-only' warning like the `obsolete' one.
15913         * comint.el (comint-run):
15914         * files.el (insert-file-literally, insert-file):
15915         * replace.el (replace-string, replace-regexp):
15916         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
15917         (goto-line, insert-buffer, next-line, previous-line):
15918         Tweak `interactive-only' spec.
15920         Stop keeping (most) generated cedet grammar files in the repository.
15921         * Makefile.in (semantic): New.
15922         (compile-main): Depend on semantic.
15924 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15926         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
15927         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
15929         * uniquify.el (uniquify-buffer-name-style): Change default.
15931         * loadup.el: Preload "uniquify".
15933         * time.el (display-time-update): Update all mode lines (bug#15999).
15935         * electric.el (electric-indent-mode): Enable by default.
15936         * loadup.el: Preload "electric".
15938 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
15940         * emacs-lisp/helpers.el (string-empty-p): New function.
15941         (string-blank-p): New function.
15943 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
15945         * imenu.el (imenu--index-alist): Add missing dot to the docstring
15946         (Bug#14029).
15948 2013-11-29  Andreas Politz  <politza@fh-trier.de>
15949         * imenu.el (imenu--subalist-p): Don't error on non-conses and
15950         allow non-lambda lists as functions.
15951         (imenu--in-alist): Don't recurse into non-subalists.
15952         (imenu): Don't pass function itself as an argument (Bug#14029).
15954 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15956         * progmodes/python.el (python-mode-map): Remove binding for ":".
15957         (python-indent-electric-colon): Remove command.
15958         (python-indent-post-self-insert-function): Integrate the previous code
15959         of python-indent-electric-colon.  Make it conditional on
15960         electric-indent-mode.
15961         (python-mode): Add ?: to electric-indent-chars.
15962         Move python-indent-post-self-insert-function to the end of
15963         post-self-insert-hook.
15965 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15967         * doc-view.el (doc-view-goto-page): Update mode-line.
15969         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
15971 2013-11-27  Glenn Morris  <rgm@gnu.org>
15973         * international/charprop.el, international/uni-bidi.el:
15974         * international/uni-category.el, international/uni-combining.el:
15975         * international/uni-comment.el, international/uni-decimal.el:
15976         * international/uni-decomposition.el, international/uni-digit.el:
15977         * international/uni-lowercase.el, international/uni-mirrored.el:
15978         * international/uni-name.el, international/uni-numeric.el:
15979         * international/uni-old-name.el, international/uni-titlecase.el:
15980         * international/uni-uppercase.el:
15981         Remove generated files from VCS repository.
15983 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
15985         * filenotify.el (file-notify-add-watch): Don't special-case
15986         w32notify when computing the directory to watch.
15988 2013-11-27  Glenn Morris  <rgm@gnu.org>
15990         Make bootstrap without generated uni-*.el files possible again.
15991         * loadup.el: Update command-line-args checking for unidata-gen.
15992         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
15993         * composite.el, international/characters.el:
15994         Handle unicode tables being undefined.
15996         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
15997         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
15998         (compile-main): Depend on leim rule.
15999         (leim): New rule.
16000         * loadup.el: Move leim-list.el to leim/ subdirectory.
16001         * startup.el (normal-top-level): No more leim directory.
16002         * international/ja-dic-cnv.el (skkdic-convert):
16003         Disable version-control and autoloads in output files.
16004         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
16005         Disable version-control and autoloads in output files.
16006         * leim/quail: Move here from ../leim.
16007         * leim/quail/hangul.el (hangul-input-method-activate):
16008         Add autoload cookie.
16009         (generated-autoload-load-name): Set file-local value.
16010         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
16011         (generated-autoload-load-name): Set file-local value.
16013 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
16015         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
16016         (eww-add-bookmark): Ask confirmation when add to bookmarks.
16017         (eww-quit): Ask confirmation before quitting eww.
16019 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
16021         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
16022         reading output from Diff on MS-Windows and MS-DOS.
16024 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
16026         * emacs-lisp/helpers.el (string-reverse): New function.
16028 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
16030         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
16031         names on MS Windows, like "/[::1]:".
16033         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
16034         SWITCHES.
16036 2013-11-26  Glenn Morris  <rgm@gnu.org>
16038         * progmodes/python.el (python-indent-guess-indent-offset):
16039         Avoid corner-case error.  (Bug#15975)
16041         Preload leim-list.el.  (Bug#4789)
16042         * loadup.el: Load leim-list.el when found.
16043         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
16045 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
16047         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
16049         * emacs-lisp/helpers.el (string-join): New function.
16051 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
16053         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16054         Mark as obsolete and replace it with a symbol property.
16055         (byte-compile-form): Use new 'interactive-only property.
16056         * comint.el, files.el, replace.el, simple.el:
16057         Apply new 'interactive-only properly.
16059 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
16061         * window.el (display-buffer-at-bottom): Make sure that
16062         split-window-sensibly creates the new window on bottom
16063         (Bug#15961).
16065 2013-11-23  David Kastrup  <dak@gnu.org>
16067         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
16068         on the conflict markers when available.
16069         (smerge--get-marker): New function.
16070         (smerge-end-re, smerge-base-re): Add subgroup.
16072 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16074         * frame.el (handle-focus-in, handle-focus-out): Add missing
16075         interactive spec.
16077 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
16079         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
16080         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
16082 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16084         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
16085         (gomoku--last-pos): New var.
16086         (gomoku--intangible-chars): New const.
16087         (gomoku--intangible): New function.
16088         (gomoku-mode): Use it.  Derive from special-mode.
16089         (gomoku-move-up): Adjust line count.
16090         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
16091         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
16092         Simplify accordingly.
16094         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
16095         Remove blink-cursor code.
16096         (blink-cursor-timer-function, blink-cursor-suspend):
16097         Don't special-case GUIs.
16098         (blink-cursor-mode): Use focus-in/out-hook.
16100 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
16102         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
16103         work when annotation is invisible (Bug#13886).
16105 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
16107         * json.el (json-alist-p): Only return non-nil if the alist has
16108         simple keys (Bug#13518).
16110 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
16112         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
16113         when control-statement is the first statement in a buffer (Bug#15956).
16115 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
16117         * imenu.el (imenu-generic-skip-comments-and-strings):
16118         New option (Bug#15560).
16119         (imenu--generic-function): Use it.
16121 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
16123         * minibuffer.el (completion--in-region-1): Scroll the correct window.
16124         (Bug#13898)
16126 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
16128         * emacs-lisp/helpers.el: Add some string helpers.
16129         (string-trim-left): Removes leading whitespace.
16130         (string-trim-right): Removes trailing whitespace.
16131         (string-trim): Removes leading and trailing whitespace.
16133         * subr.el (string-suffix-p): New function.
16135 2013-11-23  Glenn Morris  <rgm@gnu.org>
16137         * progmodes/python.el (python-shell-send-file):
16138         Add option to delete file when done.  (Bug#15647)
16139         (python-shell-send-string, python-shell-send-region): Use it.
16141 2013-11-23  Ivan Shmakov  <ivan@siamics.net>
16143         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
16144         to set buffer-read-only to t, never to nil.  (Bug#15938)
16146         * textmodes/tex-mode.el (latex-noindent-environments):
16147         Add safe-local-variable property.  (Bug#15936)
16149 2013-11-23  Glenn Morris  <rgm@gnu.org>
16151         * textmodes/enriched.el (enriched-mode): Doc fix.
16152         * emacs-lisp/authors.el (authors-renamed-files-alist):
16153         Add enriched.doc -> enriched.txt.
16155         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
16157 2013-11-22  Leo Liu  <sdl.web@gmail.com>
16159         * progmodes/octave.el (inferior-octave-startup): Spit out error
16160         message.
16162 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
16164         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
16165         Improve docstring.
16166         Add :version.
16167         (ruby-encoding-magic-comment-style): Add :version.
16169 2013-11-22  Leo Liu  <sdl.web@gmail.com>
16171         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
16172         (Bug#15076)
16173         (octave-help-mode): Adapt to change to help-mode-finish to use
16174         derived-mode-p on 2013-09-17.
16175         (inferior-octave-prompt): Also match octave-gui.
16176         (octave-kill-process): Don't ask twice.  (Bug#10564)
16178 2013-11-22  Leo Liu  <sdl.web@gmail.com>
16180         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
16181         (inferior-octave-startup, inferior-octave-check-process)
16182         (inferior-octave-track-window-width-change)
16183         (octave-completion-at-point, octave-eldoc-function): Use it.
16184         (octave-kill-process): Provide confirmation.  (Bug#10564)
16186 2013-11-21  Leo Liu  <sdl.web@gmail.com>
16188         * progmodes/octave.el (octave-mode, inferior-octave-mode):
16189         Fix obsolete variable comment-use-global-state.
16191 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16193         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
16194         Add `octave-source-file'.
16195         (octave-source-file): New function.  (Bug#15935)
16197 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
16199         * net/eww.el (eww-local-regex): New variable.
16200         (eww): Use it to detect localhost and similar.
16202 2013-11-21  Leo Liu  <sdl.web@gmail.com>
16204         Add completion for command `ag'.
16205         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
16206         (pcomplete/ag): New function.
16207         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
16209 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16211         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
16212         (bug#14646).
16213         (make-obsolete): Remove interactive spec.
16215 2013-11-21  Glenn Morris  <rgm@gnu.org>
16217         * startup.el (command-line-1): Use path-separator with -L.
16219 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
16221         * emacs-lisp/package.el (describe-package-1): Add package archive
16222         to shown fields.
16224 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
16226         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
16227         Change default to "# encoding: %s" to differentiate it from the
16228         default Ruby encoding comment template.
16230 2013-11-20  Era Eriksson  <era+emacsbugs@iki.fi>
16232         * ses.el (ses-mode): Doc fix.  (Bug#14748)
16234 2013-11-20  Leo Liu  <sdl.web@gmail.com>
16236         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
16238 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
16240         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
16241         when rebase or bisect are in progress.
16243 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
16245         * filenotify.el (file-notify-add-watch): Doc fix.
16247 2013-11-19  Leo Liu  <sdl.web@gmail.com>
16249         * obsolete/rcompile.el: Mark obsolete.
16251         * progmodes/compile.el (compilation-start)
16252         (compilation-goto-locus, compilation-find-file):
16253         Pass no-display-ok and handle nil value from display-buffer.
16254         (Bug#13594)
16256         * window.el (display-buffer-alist, display-buffer): Document the
16257         new parameter no-display-ok.  Return either a window or nil
16258         but never a non-window value.
16260 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16262         * electric.el (electric-indent-mode-map): Remove.
16263         (electric-indent-mode): Change the global-map instead (bug#15915).
16265         * textmodes/text-mode.el (paragraph-indent-minor-mode):
16266         Use add-function.
16268 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16270         * emacs-lisp/nadvice.el (remove-function): Align with
16271         add-function's behavior.
16273         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
16274         (gdb--string-regexp): New constant.
16275         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
16276         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
16277         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
16278         submatch 1.
16279         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
16280         Adjust use accordingly.
16281         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
16283 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
16285         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
16286         interpolation curlies (Bug#15914).
16288 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
16290         * calc/calc.el (calc-context-sensitive-enter): New variable.
16291         (calc-enter): Use `calc-context-sensitive-enter'.
16293 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
16295         * progmodes/cfengine.el: Version bump.
16296         (cfengine-cf-promises): New defcustom to locate cf-promises.
16297         (cfengine3-vartypes): Add new "data" type.
16298         (cfengine3--current-word): New function to get current name-like
16299         word or its bounds.
16300         (cfengine3--current-function): New function to look up a CFEngine
16301         function's definition.
16302         (cfengine3-format-function-docstring): New function.
16303         (cfengine3-make-syntax-cache): New function.
16304         (cfengine3-documentation-function): New function: ElDoc glue.
16305         (cfengine3-completion-function): New function: completion glue.
16306         (cfengine3-mode): Set `compile-command',
16307         `eldoc-documentation-function', and add to
16308         `completion-at-point-functions'.
16310 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
16312         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
16313         `tramp-current-connection'.
16315 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
16317         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
16318         nil/self/true/false with "end of symbol".
16320 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
16322         * subr.el (version-regexp-alist): Fix a typo.
16324 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
16326         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
16327         "en_US.utf8" and "LC_CTYPE" to "".
16328         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
16329         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
16331 2013-11-15  Leo Liu  <sdl.web@gmail.com>
16333         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
16335 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16337         * progmodes/gud.el (ctl-x-map):
16338         Remove C-x SPC binding.  (Bug#12342)
16339         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
16341 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
16343         * subr.el (version-regexp-alist):
16344         Recognize hg, svn and darcs versions as snapshot versions.
16346         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
16347         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
16348         (ruby--encoding-comment-required-p): Extract from
16349         `ruby-mode-set-encoding'.
16350         (ruby-mode-set-encoding): Add the ability to always insert an
16351         utf-8 encoding comment.  Fix and simplify coding comment update
16352         logic.
16354 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
16356         * net/tramp-gvfs.el (top): Run init code only when
16357         `tramp-gvfs-enabled' is not nil.
16358         (tramp-gvfs-enabled): Check also :system bus.
16360 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16362         Sync with upstream verilog-mode revision 78e66ba.
16363         * progmodes/verilog-mode.el (verilog-end-of-defun)
16364         (verilog-type-completion, verilog-get-list): Remove unused funcs.
16365         (verilog-get-end-of-defun): Remove unused argument.
16366         (verilog-comment-depth): Remove unused local `e'.
16367         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
16368         Don't pass arg to verilog-get-end-of-defun.
16370 2013-11-14  Glenn Morris  <rgm@gnu.org>
16372         * obsolete/assoc.el (aget): Prefix dynamic variable.
16374         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
16376 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16378         * widget.el, hfy-cmap.el: Remove bogus package version number.
16380 2013-11-13  Glenn Morris  <rgm@gnu.org>
16382         * replace.el (replace-eval-replacement):
16383         Try to give more helpful error message.  (Bug#15836)
16385         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16386         (archive-7z-update): Avoid custom type mismatches.
16388         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
16390 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
16392         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
16393         address can be empty.
16395         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
16396         Accept nil SWITCHES.
16397         (tramp-gvfs-handle-write-region): Implement APPEND.
16399 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
16401         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
16402         binary "|" operator and closing block args delimiter.
16403         Remove FIXME comment referring to Ruby 1.8-only syntax.
16404         (ruby-smie--implicit-semi-p): Not after "|" operator.
16405         (ruby-smie--closing-pipe-p): New function.
16406         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
16407         (ruby-smie-rules): Indent after "|".
16409 2013-11-12  Glenn Morris  <rgm@gnu.org>
16411         * ps-print.el (ps-face-attribute-list):
16412         Handle anonymous faces.  (Bug#15827)
16414 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
16416         * window.el (display-buffer-other-frame): Fix doc-string.
16417         (Bug#15868)
16419 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16421         * subr.el (force-mode-line-update): Delete, move to buffer.c.
16423 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
16425         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
16426         (tramp-sh-handle-file-local-copy): Don't write a message when
16427         saving temporary files.
16429         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
16430         both directories are remote.
16431         (tramp-smb-handle-directory-files): Do not return double entries.
16432         Do not expand full file names.
16433         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
16434         (tramp-smb-handle-write-region): Implement APPEND.
16435         (tramp-smb-get-stat-capability): Fix a stupid bug.
16437 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16439         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
16441 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
16443         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
16444         throwing error over malformed let/let* (bug#15814).
16446 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16448         * iswitchb.el (iswitchb-mode): Mark obsolete.
16450 2013-11-11  Glenn Morris  <rgm@gnu.org>
16452         * international/uni-bidi.el, international/uni-category.el:
16453         * international/uni-name.el, international/uni-numeric.el:
16454         Regenerate for Unicode 6.3.0.
16456 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
16458         * net/tramp.el (tramp-methods):
16459         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
16460         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
16462 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
16464         * progmodes/sh-script.el (sh-font-lock-keywords-var):
16465         Force highlighting text after Summary keyword in doc face for rpm.
16467 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
16469         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
16470         available and the word has no wildcards, append one to the grep pattern.
16471         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
16472         (ispell-complete-word): Call `ispell-lookup-words' with the value
16473         independent of `ispell-look-p'.
16475 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
16477         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
16478         Not after "||".
16479         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
16480         their parent.
16482 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16484         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
16485         (ruby-font-lock-keywords): Use backquote.
16487 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
16489         * progmodes/ruby-mode.el (ruby-smie--forward-token)
16490         (ruby-smie--backward-token): Only consider full-string matches.
16492 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
16494         * faces.el (describe-face): Add distant-foreground.
16496 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
16498         * progmodes/ruby-mode.el: Improve encoding comment handling.
16499         (ruby-encoding-magic-comment-style): New option.
16500         (ruby-custom-encoding-magic-comment-template): New option.
16501         (ruby--insert-coding-comment, ruby--detect-encoding):
16502         New functions extracted from `ruby-mode-set-encoding'.
16503         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
16504         to control the style of the auto-inserted encoding comment.
16506 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
16508         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
16509         Use `smie-backward-sexp' with token argument.
16511 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
16513         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16514         Remove instrumentation code.
16516 2013-11-08  Glenn Morris  <rgm@gnu.org>
16518         * progmodes/autoconf.el (autoconf-mode):
16519         Tweak comment-start-skip.  (Bug#15822)
16521 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16523         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
16524         at bobp (bug#15826).
16525         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
16527 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
16529         * man.el (Man-start-calling): New macro, extracted from
16530         Man-getpage-in-background.
16531         (Man-getpage-in-background): Use it.
16532         (Man-update-manpage): New command.
16533         (Man-mode-map): Bind it.
16535 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
16537         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
16538         of "and", "or", "&&" and "||".
16539         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
16540         argument.  Prohibit opening curly brace because it could only be a
16541         block opener in that position.
16542         (ruby-smie--forward-token, ruby-smie--backward-token):
16543         Separate "|" from "&" or "*" going after it.  That can happen in block
16544         arguments.
16545         (ruby-smie--indent-to-stmt): New function, seeks the end of
16546         previous statement or beginning of buffer.
16547         (ruby-smie-rules): Use it.
16548         (ruby-smie-rules): Check if there's a ":" before a curly block
16549         opener candidate; if there is, it's a hash.
16551 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16553         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
16554         (cl--block-wrapper): Fix last accidental change.
16556 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
16558         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16559         Instrument, in order to hunt failure on hydra.
16561 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
16563         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
16564         malformed bindings form (bug#15814).
16566 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
16568         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
16569         "." compared to " @ ".  This incidentally fixes some indentation
16570         examples with "do".
16571         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
16572         (ruby-smie-grammar): New tokens: "and" and "or".
16573         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
16574         Exclude "and" and "or".  Remove "do" in order to work around token
16575         priorities.
16576         (ruby-smie-rules): Add all infix tokens.  Handle the case of
16577         beginning-of-buffer.
16579 2013-11-06  Glenn Morris  <rgm@gnu.org>
16581         * Makefile.in (setwins_almost, setwins_for_subdirs):
16582         Avoid accidental matches.
16584 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16586         * menu-bar.el (popup-menu): Use key-binding.
16588 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
16590         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
16591         menus, support also the menus produced by minor modes.
16592         (Bug#15817)
16594 2013-11-06  Leo Liu  <sdl.web@gmail.com>
16596         * thingatpt.el (thing-at-point-looking-at): Add optional arg
16597         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
16599 2013-11-06  Glenn Morris  <rgm@gnu.org>
16601         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
16602         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
16603         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
16605 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16607         * electric.el (electric-indent-just-newline): New command.
16608         (electric-indent-mode-map): New keymap.
16609         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
16610         Re-add :group which weren't redundant.
16612         * electric.el (electric-indent-local-mode): New minor mode.
16613         (electric-indent-functions-without-reindent): New var.
16614         (electric-indent-post-self-insert-function): Use it.
16615         * emacs-lisp/gv.el (buffer-local-value): Add setter.
16617 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
16619         * international/quail.el (quail-help): Be more explicit about the
16620         meaning of the labels shown on the keys.  (Bug#15800)
16622         * startup.el (normal-top-level): Load the subdirs.el files before
16623         setting the locale environment.  (Bug#15805)
16625 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16627         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
16628         via arguments so as to get the right ones (bug#15418).
16630         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
16632 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
16634         Fix problems found while writing a test suite.
16636         * net/tramp-compat.el (tramp-compat-load): New defun.
16637         * net/tramp.el (tramp-handle-load): Use it.
16639         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
16640         "(numberp ok-if-already-exists)" correctly.
16642 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
16644         * international/characters.el (glyphless-char-display-control):
16645         Add usage note.
16647 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
16649         * progmodes/python.el (python-mode):
16650         * progmodes/scheme.el (scheme-mode):
16651         * progmodes/prolog.el (prolog-mode):
16652         * progmodes/ruby-mode.el (ruby-mode):
16653         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
16654         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
16656 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16658         * rect.el (rectangle--highlight-for-redisplay):
16659         * emacs-lisp/smie.el (smie--next-indent-change):
16660         Use buffer-chars-modified-tick.
16662         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
16664         * electric.el (electric-indent-post-self-insert-function):
16665         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
16667 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
16669         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
16671 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
16673         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
16674         (bug#15786).
16676 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16678         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
16680         * progmodes/python.el: Fix up last change.
16681         (python-shell--save-temp-file): New function.
16682         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
16683         `string' comes from the current buffer.
16684         (python-shell-send-string-no-output): Remove `msg' arg.
16685         (python--use-fake-loc): New var.
16686         (python-shell-buffer-substring): Obey it.  Try to compensate for the
16687         extra coding line added by python-shell--save-temp-file.
16688         (python-shell-send-region): Use python-shell--save-temp-file and
16689         python-shell-send-file directly.  Add `nomain' argument.
16690         (python-shell-send-buffer): Use python-shell-send-region.
16691         (python-electric-pair-string-delimiter): New function.
16692         (python-mode): Use it.
16694 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
16696         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
16697         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
16698         environment and decoding all of the default-directory's to here
16699         from command-line.
16700         (command-line): Decode also argv[0].
16702         * loadup.el: Error out if default-directory is a multibyte string
16703         when we are dumping.
16705         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
16707 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
16709         * emacs-lisp/package.el (package-menu-mode)
16710         (package-menu--print-info, package-menu--archive-predicate):
16711         Add Archive column to package list.
16713 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
16715         Fix problems found while writing a test suite.
16717         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
16718         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
16719         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
16720         to nil when running original file name handler.  Otherwise,
16721         there are problems with constructs like "$$FOO".
16723         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
16724         for `localname'.
16726 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
16728         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16730         * subr.el (version<, version<=, version=):
16731         Update docstrings with information for snapshot versions.
16733         * helpers.el: New library for misc helper functions.
16734         (hash-table-keys): New function returning a list of hash keys.
16735         (hash-table-values): New function returning a list of hash values.
16737 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
16739         * progmodes/ruby-mode.el (ruby-smie--forward-token)
16740         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16742 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
16744         * textmodes/fill.el (fill-single-char-nobreak-p): New function
16745         checking whether point is after a 1-letter word.
16747 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
16749         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16750         Don't infloop when expanding region over `multiline' syntax-type that
16751         begins a line (bug#15778).
16753 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16755         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16756         Make it into a proper minor mode.
16757         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16758         (rectangle-mark-mode-map): New keymap.
16759         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16761 2013-11-04  Glenn Morris  <rgm@gnu.org>
16763         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16765 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16767         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16768         (ruby-smie-rules): Use smie-rule-parent instead.
16770         * emacs-lisp/smie.el (smie-rule-parent): Always call
16771         smie-indent-virtual rather than only for hanging tokens.
16772         (smie--next-indent-change): New helper command.
16774 2013-11-03  Glenn Morris  <rgm@gnu.org>
16776         * Makefile.in (abs_srcdir): Remove.
16777         (emacs): Unset EMACSLOADPATH.
16779 2013-11-02  Glenn Morris  <rgm@gnu.org>
16781         * Makefile.in (EMACS): Use a relative filename.
16782         (abs_top_builddir): Remove.
16783         (custom-deps, finder-data, autoloads): Use --chdir.
16785         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16787         Use relative filenames in TAGS files.
16788         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16789         (lisptagsfiles4, TAGS): Use relative file names.
16790         (TAGS-LISP): Remove.
16791         (maintainer-clean): No more TAGS-LISP file.
16793         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16794         (lisptagsfiles4): Use absolute filenames again.
16795         (TAGS, TAGS-LISP): Not everything needs to run in one line.
16796         Remove all *loaddefs files, not just the first.  Remove esh-groups.
16797         (maintainer-clean): Delete TAGS, TAGS-LISP.
16799 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
16801         * emacs-lisp/package.el (package-version-join):
16802         Recognize snapshot versions.
16804 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
16806         * subr.el (version-regexp-alist): Add support for snapshot versions.
16808 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
16810         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16811         New function, replacement for `smie-rule-parent' for when we want to
16812         skip over our direct parent if it's an assignment token..
16813         (ruby-smie-rules): Use it.
16815 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
16817         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16818         unconditionally.  Remove now unnecessary forward declarations.
16819         Remove XEmacs-specific setup.
16820         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16821         (ruby-font-lock-syntactic-keywords)
16822         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16823         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16824         (ruby-here-doc-end-syntax): Remove.
16825         (ruby-mode): Don't check whether `syntax-propertize-rules' is
16826         defined as function.
16828 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
16830         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16832 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
16834         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16835         table and abbrev table, `define-derived-mode' does that for us
16836         anyway.
16838 2013-11-01  Glenn Morris  <rgm@gnu.org>
16840         * Makefile.in: Remove manual mh-e dependencies (writing .elc
16841         files is atomic for some time, so no parallel compilation issues).
16843 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
16845         * faces.el (face-x-resources): Add :distant-foreground.
16846         (region): Use :distant-foreground for gtk and ns.
16848 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
16850         Allow multiple bibliographies when BibLaTeX is used rather than
16851         BibTeX.
16852         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16853         (reftex-locate-bibliography-files): Us it.
16855 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
16857         * image.el (image-type-header-regexps): Fix the 'pbm' part to
16858         allow comments in pbm files.
16860         * term/w32-win.el (dynamic-library-alist): Support newer versions
16861         of libjpeg starting with v7: look only for the DLL from the
16862         version against which Emacs was built.
16863         Support versions of libpng beyond 1.4.x.
16864         Support libtiff v4.x.
16866 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
16868         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16869         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16870         Add property :safe.
16871         (ruby-deep-arglist): Add property :type.
16873 2013-10-31  Glenn Morris  <rgm@gnu.org>
16875         * Makefile.in (custom-deps, finder-data): No need to setq the target
16876         variables, we are in the right directory and the defaults work fine.
16878 2013-10-30  Glenn Morris  <rgm@gnu.org>
16880         * Makefile.in (autoloads): Do not use abs_lisp.
16882         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16883         `newline' does not respect `standard-output', so use `princ'.
16885 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
16887         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
16888         * buff-menu.el (Buffer-menu--unmark): New function.
16889         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
16891 2013-10-30  Glenn Morris  <rgm@gnu.org>
16893         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
16895         * emacs-lisp/package.el (lm-homepage): Declare.
16897         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
16898         Fix doc typos.
16900         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
16902         * Makefile.in (finder-data, autoloads, update-subdirs)
16903         (compile-main, compile-clean, compile-always, bootstrap-clean):
16904         Check return value of cd.
16905         (compile-calc): Remove.
16907 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16909         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
16911         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
16912         (byte-compile-and-folded): New function.
16913         (=, <, >, <=, >=): Use it.
16915         * dos-w32.el (minibuffer-history-case-insensitive-variables)
16916         (path-separator, null-device, buffer-file-coding-system)
16917         (lpr-headers-switches): Check system-type before modifying them.
16918         (find-buffer-file-type-coding-system): Mark obsolete.
16919         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
16920         find-file-not-found-set-buffer-file-coding-system.
16921         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
16922         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
16923         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
16924         (w32-direct-print-region-helper, w32-direct-print-region-function)
16925         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
16926         * startup.el (normal-top-level-add-subdirs-to-load-path):
16927         * ps-print.el (ps-print-region-function):
16928         * lpr.el (print-region-function): Use new name.
16930         * subr.el (custom-declare-variable-early): Remove function.
16931         (custom-declare-variable-list): Remove var.
16932         (error, user-error): Remove `while' loop.
16933         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
16934         (user-emacs-directory-warning, locate-user-emacs-file):
16935         Move to files.el.
16936         * simple.el (read-quoted-char-radix, read-quoted-char):
16937         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
16938         Move from subr.el.
16939         * custom.el (custom-declare-variable-list): Don't process
16940         custom-declare-variable-list.
16942         * progmodes/python.el (python-shell-get-buffer): New function.
16943         (python-shell-get-process): Use it.
16944         (python-shell-send-string): Always use utf-8 and add a cookie to tell
16945         Python which encoding was used.  Don't split-string since we only care
16946         about the first line.  Return the temp-file, if applicable.
16947         (python-shell-send-region): Tell compile.el how to turn locations in
16948         the temp-file into locations in the source buffer.
16950 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16952         * subr.el (undefined): Add missing behavior from the C code for
16953         unbound keys.
16955         * rect.el: Use lexical-binding.  Add new rectangular region support.
16956         (rectangle-mark): New command.
16957         (rectangle--region): New var.
16958         (deactivate-mark-hook): Reset rectangle--region.
16959         (rectangle--extract-region, rectangle--insert-for-yank)
16960         (rectangle--highlight-for-redisplay)
16961         (rectangle--unhighlight-for-redisplay): New functions.
16962         (region-extract-function, redisplay-unhighlight-region-function)
16963         (redisplay-highlight-region-function): Use them to handle
16964         rectangular region.
16965         * simple.el (region-extract-function): New var.
16966         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
16967         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16968         (kill-region): Replace obsolete `yank-handler' arg with `region'.
16969         (copy-region-as-kill, kill-ring-save): Add `region' argument.
16970         (redisplay-unhighlight-region-function)
16971         (redisplay-highlight-region-function): New vars.
16972         (redisplay--update-region-highlight): New function.
16973         (pre-redisplay-function): Use it.
16974         (exchange-point-and-mark): Don't deactivate the mark before
16975         reactivate-it anyway.
16976         * comint.el (comint-kill-region): Remove yank-handler argument.
16977         * delsel.el (delete-backward-char, backward-delete-char-untabify)
16978         (delete-char): Remove property, since it's now part of their
16979         default behavior.
16980         (self-insert-iso): Remove property since this command doesn't exist.
16982         * emacs-lisp/package.el (package--download-one-archive)
16983         (describe-package-1): Don't query the user about final newline.
16985 2013-10-29  Daniel Colascione  <dancol@dancol.org>
16987         * net/tramp.el (tramp-methods): Document new functionality.
16988         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
16989         tramp-hostname-checker if method provides one instead of scanning
16990         argument list for "%h" to decide hostname acceptability.
16992 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
16994         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16995         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16996         Handle COPY-CONTENTS.  (Bug#15737)
16998 2013-10-28  Daiki Ueno  <ueno@gnu.org>
17000         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17001         Document that this option has no effect with GnuPG 2.0 (bug#15552).
17003 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
17005         * image.el (defimage, image-load-path): Doc fixes.
17007 2013-10-27  Alan Mackenzie  <acm@muc.de>
17009         Indent statements in macros following "##" correctly.
17010         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17011         Modify the "#" arm of a cond form to handle "#" and "##" operators.
17013 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
17015         * linum.el (linum-update-window): Fix boundary test (bug#13446).
17017 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
17019         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
17020         after `=' is probably a new expression.
17022 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17024         * man.el (man-imenu-title): New option.
17025         (Man-mode-map): Add menu.  (Bug#15722)
17026         (Man-mode): Add imenu to menu.
17028 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
17030         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
17031         specific in what the first arg can be: a non-keyword word,
17032         string/regexp/percent literal opener, opening paren, or unary
17033         operator followed directly by word.
17035 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17037         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
17038         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
17039         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
17040         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
17041         Remove vars, they do not apply any more.
17042         (prolog-mode-abbrev-table): Remove redundant declaration.
17043         (prolog-upper-case-string, prolog-lower-case-string): Remove.
17044         (prolog-use-smie): Remove.
17045         (prolog-smie-rules): Add indentation rule for the if-then-else layout
17046         supported by prolog-electric-if-then-else-flag.
17047         (prolog-mode-variables, prolog-menu): Use setq-local.
17048         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
17049         Remove binding to `Backspace' since this key doesn't exist anyway.
17050         Remove bindings for electric self-inserting keys.
17051         (prog-mode): Assume it's defined.
17052         (prolog-post-self-insert): New function.
17053         (prolog-mode): Use it.
17054         (prolog-indent-line, prolog-indent-level)
17055         (prolog-find-indent-of-matching-paren)
17056         (prolog-indentation-level-of-line, prolog-goto-comment-column)
17057         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
17058         (prolog-goto-next-paren, prolog-in-string-or-comment)
17059         (prolog-tokenize, prolog-inside-mline-comment)
17060         (prolog-find-start-of-mline-comment): Remove functions.
17061         (prolog-find-unmatched-paren, prolog-clause-end)
17062         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
17063         (prolog-electric--if-then-else): Rename from
17064         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
17065         (prolog-tokenize-searchkey): Remove const.
17066         (prolog-clause-info): Use forward-sexp.
17067         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
17068         (prolog-electric-if-then-else): Remove commands.
17069         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
17070         for use in post-self-insert-hook.
17071         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
17072         for use in post-self-insert-hook.
17073         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
17074         for use in post-self-insert-hook.
17075         (prolog-electric--underscore): Rename from prolog-electric--underscore;
17076         adapt it for use in post-self-insert-hook.
17078 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
17080         * emacs-lisp/ert.el (ert-run-tests-interactively):
17081         Use `completing-read'.  (Bug#9756)
17083 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
17085         * simple.el (line-move): Call line-move-1 instead of
17086         line-move-visual when the current window hscroll is zero, but
17087         temporary-goal-column indicates we will need to hscroll as result
17088         of the movement.  (Bug#15712)
17090 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
17092         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
17093         capitalization.  Use :visible instead of :active.
17094         Fix `ruby-indent-exp' reference.  Add menu items for the generic
17095         commands that are used with SMIE.
17096         (ruby-do-end-to-brace): Insert space after `{'.
17098 2013-10-25  John Anthony  <john@jo.hnanthony.com>
17100         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
17102         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
17104 2013-10-25  Glenn Morris  <rgm@gnu.org>
17106         * vc/vc.el (vc-print-log): Don't use a working revision unless
17107         one was explicitly specified.  (Bug#15322)
17109 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17111         * subr.el (add-to-list): Preserve return value in compiler-macro
17112         (bug#15692).
17114 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17116         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
17117         result.  Ask user to retry using '-all' flag.  (Bug#15701)
17119 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17121         * emacs-lisp/smie.el: New smie-config system.
17122         (smie-config): New defcustom.
17123         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
17124         (smie-config-guess, smie-config-save): New commands.
17125         (smie-config--mode-local, smie-config--buffer-local)
17126         (smie-config--trace, smie-config--modefuns): New vars.
17127         (smie-config--advice, smie-config--mode-hook)
17128         (smie-config--setter, smie-config-local, smie-config--get-trace)
17129         (smie-config--guess-value, smie-config--guess): New functions.
17130         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
17131         text properties.  Treat "string fence" syntax like string syntax.
17133         * progmodes/sh-script.el (sh-use-smie): Change default.
17134         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
17135         (sh-var-value): Simplify by CSE.
17136         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
17137         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
17138         is used.
17139         (sh-guess-basic-offset): Use cl-incf.
17140         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
17142 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
17144         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
17145         (bug#15699).
17147 2013-10-24  Glenn Morris  <rgm@gnu.org>
17149         * Makefile.in (abs_top_srcdir): Remove.
17150         (update-subdirs): Use relative path to update-subdirs.
17152 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
17154         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
17155         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
17156         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
17157         Call unmsys--file-name before expand-file-name, not after it.
17159 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
17161         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
17162         (ert-test-skipped): New error.
17163         (ert-skip, ert-stats-skipped): New defuns.
17164         (ert--skip-unless): New macro.
17165         (ert-test-skipped): New struct.
17166         (ert--run-test-debugger, ert-test-result-type-p)
17167         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
17168         (ert--stats-set-test-and-result, ert-char-for-test-result)
17169         (ert-string-for-test-result, ert-run-tests-batch)
17170         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
17171         Handle skipped tests.  (Bug#9803)
17173 2013-10-24  Glenn Morris  <rgm@gnu.org>
17175         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
17177         * Makefile.in (abs_top_srcdir): New, set by configure.
17178         (update-subdirs): Correct build-aux location.
17180 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
17182         * vc/vc.el (vc-print-root-log): Always set `default-directory'
17183         value, whether we could auto-deduce `backend', or not.
17185         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
17186         with parameters" example.  Simplify the "is it block or is it
17187         hash" check, but also make it more thorough.
17189 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
17191         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
17193 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17195         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
17196         { if it is hanging.
17198         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
17199         :before ";".
17201 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
17203         * progmodes/compile.el (compilation-directory-matcher)
17204         (compilation-page-delimiter):
17205         Support GNU Make-4.0 directory quoting.  (Bug#15678)
17207 2013-10-23  Leo Liu  <sdl.web@gmail.com>
17209         * ido.el (ido-tidy): Handle read-only text.
17211 2013-10-23  Glenn Morris  <rgm@gnu.org>
17213         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
17214         (emacs, compile, compile-always):
17215         Quote entities that might contain whitespace.
17216         (custom-deps, finder-data, autoloads): Use abs_lisp.
17217         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
17218         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
17219         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
17221 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
17223         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
17224         Use `following-char'.
17226 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17228         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
17229         * progmodes/ruby-mode.el (ruby-smie-rules):
17230         Remove corresponding workaround.  Fix indentation rule of ";" so it
17231         also applies when ";" is the parent.
17233 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
17235         * frame.el (display-screens, display-pixel-height)
17236         (display-pixel-width, display-mm-width, display-backing-store)
17237         (display-save-under, display-planes, display-color-cells)
17238         (display-visual-class, display-monitor-attributes-list):
17239         Mention the optional ‘display’ argument in doc strings.
17241 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
17243         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
17244         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
17246 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
17248         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
17249         TODO.  Add "." after " @ ".
17250         (ruby-smie--at-dot-call): New function.  Checks if point at method
17251         call with explicit target.
17252         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
17253         to the method name tokens when it precedes them.
17254         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
17255         (ruby-smie-rules): Add rule for indentation before and after "."
17256         token.
17258 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17260         * textmodes/remember.el (remember-diary-extract-entries):
17261         Avoid add-to-list.
17263         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
17264         an instruction.
17266 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
17268         * progmodes/ruby-mode.el (ruby-smie-grammar):
17269         Add (almost) all infix operators.
17270         (ruby-smie--implicit-semi-p): Add new operator chars.
17272         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
17273         `smie-down-list'.
17274         (ruby-smie--args-separator-p): Check that there's no newline
17275         between method call and its arguments.
17277 2013-10-20  Alan Mackenzie  <acm@muc.de>
17279         Allow comma separated lists after Java "implements".
17281         * progmodes/cc-engine.el (c-backward-over-enum-header):
17282         Parse commas.
17283         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
17284         from a "disallowed" list in enum fontification.
17286 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
17288         * startup.el (default-frame-background-mode): Remove unused defvar.
17290         * progmodes/verilog-mode.el (verilog-mode): Don't set
17291         comment-indent-function globally.
17293 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
17295         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
17296         Move Info menu item creation to ns-win.el.
17298         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
17299         in menu bar.
17301         * menu-bar.el: Move GNUstep specific menus...
17303         * term/ns-win.el (ns-initialize-window-system): ... to here.
17305 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17307         * simple.el (newline): Only run post-self-insert-hook when
17308         called interactively.
17310 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
17312         * icomplete.el (icomplete-with-completion-tables): Add :version.
17314 2013-10-19  Alan Mackenzie  <acm@muc.de>
17316         Fix fontification bugs with constructors and const.
17318         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
17319         CASE 2) Remove the check for the absence of a suffix construct
17320         after a function declaration with only types (no identifiers) in
17321         the parentheses.  Also, accept a function declaration with just a
17322         type inside the parentheses, if this type can be positively
17323         recognised as such, or if a prefix keyword like "explicit" nails
17324         down the construct as a declaration.
17326 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
17328         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
17329         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
17330         the problem whereby selecting a menu item that leads to a
17331         minibuffer prompt moves the cursor out of the minibuffer window,
17332         making it hard to type at the prompt.  Suggested by Stefan Monnier
17333         <monnier@iro.umontreal.ca>.
17335 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
17337         * menu-bar.el: Don't make Services menu.
17339 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17341         * ffap.el: Handle "/usr/include/c++/<version>" directories.
17342         (ffap-alist): Use ffap-c++-mode for c++-mode.
17343         (ffap-c++-path): New variable.
17344         (ffap-c++-mode): New function.
17346 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
17348         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
17350 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
17352         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
17353         introduced on 2013-09-08, which results in an infinite loop
17354         requesting a password.
17356 2013-10-18  Glenn Morris  <rgm@gnu.org>
17358         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
17360 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
17362         Sync with upstream verilog-mode revision 1a6ecec7.
17363         * progmodes/verilog-mode.el (verilog-mode-version): Update.
17364         (verilog-mode-release-date): Remove.
17365         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
17366         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
17367         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
17368         (verilog-auto-tieoff-ignore-regexp)
17369         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
17370         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
17371         (verilog-signals-with, verilog-dir-cache-preserving)
17372         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
17373         Doc fixes.
17374         (verilog-case-fold): New option, to control case folding in
17375         regexp searches, bug597.
17376         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
17377         (verilog-string-match-fold, verilog-in-paren-count)
17378         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
17379         (verilog-at-close-struct-p): New functions.
17380         (verilog-beg-block-re-ordered, verilog-extended-case-re)
17381         (verilog-forward-sexp, verilog-set-auto-endcomments)
17382         (verilog-leap-to-case-head): Handle "unique0" case.
17383         (verilog-in-constraint-re): New constant.
17384         (verilog-keywords, verilog-type-font-keywords):
17385         Add some SystemVerilog 1800-2012 keywords.
17386         (verilog-label-be): Remove unimplemented argument, bug669.
17387         (verilog-batch-execute-func): When batch expanding clear
17388         create-lockfiles to prevent spurious user locks when a file ends
17389         up not changing.
17390         (verilog-calculate-indent, verilog-calc-1)
17391         (verilog-at-close-constraint-p, verilog-at-constraint-p)
17392         (verilog-do-indent): Fix indentation of nested constraints
17393         and structures.
17394         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
17395         (verilog-auto-inst-param): Use verilog-string-match-fold.
17396         (verilog-read-inst-module-matcher):
17397         Fix AUTOINST on gate primitives with #1.
17398         (verilog-read-decls): Fix double-declaring user-defined typed signals.
17399         Reads all user-defined typed variables.
17400         (verilog-read-defines): Fix reading definitions inside comments, bug647.
17401         (verilog-signals-matching-regexp)
17402         (verilog-signals-not-matching-regexp, verilog-auto):
17403         Respect verilog-case-fold.
17404         (verilog-diff-report): Fix line count.
17405         (verilog-auto-assign-modport): Remove unused local `modi'.
17406         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
17407         better handle multidimensional arrays.
17408         Fix packed array ports misadding bit index in AUTOINST, bug637.
17409         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
17410         to not double-declare existing outputs and inputs, respectively.
17411         (verilog-template-map): Bind U to verilog-sk-uvm-component.
17412         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
17413         (verilog-sk-uvm-component): New skeleton.
17414         (verilog-submit-bug-report): Add verilog-case-fold,
17415         remove verilog-mode-release-date.
17417 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
17419         * subr.el (sit-for): Call (input-pending-p t) so as to behave
17420         as before.
17422 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
17424         * textmodes/remember.el (remember): Set buffer-offer-save in
17425         remember buffers (bug#13566).
17427 2013-10-18  Daniel Colascione  <dancol@dancol.org>
17429         When evaluating forms in ielm, direct standard output to ielm
17430         buffer.  Add new ielm-return-for-effect command.  Remove trailing
17431         whitespace throughout.
17433         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
17434         (ielm-return-for-effect): New command.
17435         (ielm-send-input): Accept optional `for-effect' parameter.
17436         (ielm-eval-input): Accept optional `for-effect' parameter.
17437         Bind `standard-output' to stream we create using
17438         `ielm-standard-output-impl'.  Suppress printing result when
17439         `for-effect'.
17440         (ielm-standard-output-impl): New function.
17441         (inferior-emacs-lisp-mode): Explain new features in documentation.
17443 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
17445         Code cleanup.
17447         * net/tramp.el (tramp-debug-message): Do not check for connection
17448         buffer.
17449         (tramp-message): Use "vector" connection property.
17451         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
17452         (tramp-equal-remote, tramp-eshell-directory-change)
17453         * net/tramp-adb.el (tramp-adb-handle-copy-file)
17454         (tramp-adb-handle-rename-file)
17455         * net/tramp-cmds.el (tramp-list-remote-buffers)
17456         (tramp-cleanup-connection, tramp-cleanup-this-connection)
17457         * net/tramp-compat.el (tramp-compat-process-running-p)
17458         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
17459         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
17460         (tramp-gvfs-handle-rename-file)
17461         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17462         (tramp-set-file-uid-gid)
17463         * net/tramp-smb.el (tramp-smb-handle-copy-file)
17464         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
17465         of `file-remote-p'.
17467         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
17468         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17469         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
17470         (tramp-gw-open-network-stream): Suppress unrelated traces.
17472         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
17473         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17474         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17475         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
17476         connection property.
17478         * net/tramp-cache.el (top): Suppress traces when reading
17479         persistency file.
17481         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
17482         Refactor common code.  Improve debug message.
17483         (tramp-maybe-open-connection)
17484         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
17485         connection buffer too early.
17487         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
17488         from `tramp-smb-actions-with-acl'.
17489         (tramp-smb-actions-set-acl): New defconst.
17490         (tramp-smb-handle-copy-directory)
17491         (tramp-smb-action-get-acl): New defun, renamed from
17492         `tramp-smb-action-with-acl'.
17493         (tramp-smb-action-set-acl): New defun.
17494         (tramp-smb-handle-set-file-acl): Rewrite.
17496 2013-10-17  Glenn Morris  <rgm@gnu.org>
17498         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
17500 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17502         * skeleton.el (skeleton-newline): Remove.
17503         (skeleton-internal-1): Use (insert "\n") instead.
17505         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
17506         let-bindings.
17508         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
17509         forward-sexp-function while we redo its job (bug#15613).
17511 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
17513         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
17514         represented by lists.
17516 2013-10-16  Glenn Morris  <rgm@gnu.org>
17518         * tmm.el (tmm--history): New dynamic variable.
17519         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
17521 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
17523         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
17524         (tramp-smb-errors): Add error messages.
17525         (tramp-smb-actions-with-acl): New defconst.
17526         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
17527         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
17528         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
17529         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
17530         (tramp-smb-get-stat-capability): Fix tests.
17532 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
17534         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
17535         (bug#15580).
17537 2013-10-16  Glenn Morris  <rgm@gnu.org>
17539         * ansi-color.el (ansi-color-drop-regexp):
17540         Add 1J, 1K, 2K.  (Bug#15617)
17542         * files.el (hack-local-variables--warned-lexical): New.
17543         (hack-local-variables):
17544         Warn about misplaced lexical-binding.  (Bug#15616)
17546         * net/eww.el (eww-render): Always set eww-current-url,
17547         and update header line.  (Bug#15622)
17548         (eww-display-html): ... Rather than just doing it here.
17550 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
17552         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
17553         menu navigations commands.
17555 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
17557         * progmodes/subword.el (subword-capitalize): Be careful when
17558         the search for [[:alpha:]] fails (bug#15580).
17560 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
17562         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
17563         to commands that scroll the menu.
17565 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
17567         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
17568         Handle methods ending with `?' and `!'.
17570 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
17572         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
17573         `japanese-cp932' to `cp932' to fix the problem where saving a
17574         source file written in Shift_JIS twice would end up having
17575         `coding: japanese-cp932' which Ruby could not recognize.
17576         (ruby-mode-set-encoding): Add support for encodings mapped to nil
17577         in `ruby-encoding-map'.
17578         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
17579         doesn't need to be explicitly declared in magic comment.
17580         (ruby-encoding-map): Add type declaration for better customize UI.
17582 2013-10-13  Glenn Morris  <rgm@gnu.org>
17584         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
17585         Occur buffers are read-only.  http://bugs.debian.org/720775
17587         * emacs-lisp/authors.el (authors-fixed-entries):
17588         Comment out old alpha stuff.
17590 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
17592         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
17593         to `after-save-hook' instead of `before-save-hook'.
17594         (ruby-mode-set-encoding): Use the value of coding system used to
17595         write the file.  Call `basic-save-buffer-1' after modifying the
17596         buffer.
17598 2013-10-13  Alan Mackenzie  <acm@muc.de>
17600         Fix indentation/fontification of Java enum with
17601         "implements"/generic.
17603         * progmodes/cc-engine.el (c-backward-over-enum-header):
17604         Extracted from the three other places and enhanced to handle generics.
17605         (c-inside-bracelist-p): Uses new function above.
17606         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
17607         function above.
17608         (c-font-lock-enum-tail): Uses new function above.
17610 2013-10-13  Kenichi Handa  <handa@gnu.org>
17612         * international/mule-cmds.el (select-safe-coding-system): Remove a
17613         superfluous condition in chekcing whether a coding system is safe
17614         or not.
17616 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
17618         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
17620 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
17622         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
17624 2013-10-13  Glenn Morris  <rgm@gnu.org>
17626         * menu-bar.el (menu-bar-update-buffers):
17627         Unify Buffers menu prompt string.  (Bug#15576)
17629         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
17631         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
17632         Add some entries.
17633         (authors-fixed-entries): Use accented form of name.
17635 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17637         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
17638         method calls (bug#15594).
17639         (ruby-smie--args-separator-p): New function.
17640         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
17641         recognize paren-free method calls.
17643         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
17644         internals of universal-argument.
17646 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
17648         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
17649         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
17650         dropped menu on second mouse click on the menu bar.
17652 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17654         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
17655         (explicit-shell-file-name): Declare.
17656         (sh--vars-before-point, sh--cmd-completion-table): New functions.
17657         (sh-completion-at-point-function): New function.
17658         (sh-mode): Use it.
17659         (sh-smie--keyword-p): Remove unused argument.
17660         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
17661         vars.
17662         (sh-set-shell): Always setup SMIE, even if we use the
17663         old indentation code.
17665 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
17667         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
17668         cases of ? and =.
17669         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
17670         predicate would return nil are almost non-existent.
17671         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
17673         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
17674         cache also after commands that modify the buffer but don't move
17675         point.
17677 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17679         * env.el (substitute-env-in-file-name): New function.
17680         (substitute-env-vars): Extend the meaning of the optional arg.
17682 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
17684         * term/w32-win.el (dynamic-library-alist): Define separate lists
17685         of GIF DLLs for versions before and after 5.0.0 of giflib.
17686         (Bug#15531)
17688 2013-10-10  João Távora  <joaotavora@gmail.com>
17690         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
17691         not locked, use last revision and current source as
17692         defaults.  (Bug#15569)
17694 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
17696         * menu-bar.el (menu-bar-open): Don't use popup-menu if
17697         menu-bar is hidden.
17699 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
17701         * window.el (pop-to-buffer-same-window): Fix doc-string.
17702         (Bug#15492)
17704 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17706         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
17708 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
17710         * calendar/icalendar.el (icalendar-import-file):
17711         Fix interactive spec.  (Bug#15482)
17713 2013-10-10  Glenn Morris  <rgm@gnu.org>
17715         * desktop.el (desktop-save): Default to saving in .emacs.d,
17716         since PWD is no longer in desktop-path by default.  (Bug#15319)
17718         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
17719         now that text mode has a menu with the same entry.
17720         (menu-bar-text-mode-auto-fill): Remove now unused func.
17721         * textmodes/text-mode.el (text-mode-map):
17722         Use auto-fill help text from menu-bar.el.
17724 2013-10-10  John Anthony  <john@jo.hnanthony.com>
17726         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
17728 2013-10-09  Juri Linkov  <juri@jurta.org>
17730         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17731         instead of this-command-keys.  Add universal-argument-more and
17732         universal-argument-minus to the list of prefix commands.  (Bug#15568)
17734 2013-10-09  Glenn Morris  <rgm@gnu.org>
17736         * vc/vc-svn.el (vc-svn-create-repo):
17737         Expand paths in file://... url.  (Bug#15446)
17739         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17740         Add some entries.
17741         (authors): Remove unused local variables.
17743 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
17745         * profiler.el: Create a more coherent calltree from partial backtraces.
17746         (profiler-format): Hide the tail with `invisible' so that C-s can still
17747         find the hidden elements.
17748         (profiler-calltree-depth): Don't recurse so enthusiastically.
17749         (profiler-function-equal): New hash-table-test.
17750         (profiler-calltree-build-unified): New function.
17751         (profiler-calltree-build): Use it.
17752         (profiler-report-make-name-part): Indent the calltree less.
17753         (profiler-report-mode): Add visibility specs for profiler-format.
17754         (profiler-report-expand-entry, profiler-report-toggle-entry):
17755         Expand the whole subtree when provided with a prefix arg.
17757 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
17759         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17760         iuwu-mod token.
17761         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17762         hanging iuwu-mod token.
17763         (ruby-smie--forward-token): Do not include a dot after a token in
17764         that token.
17765         (ruby-smie--backward-token): Likewise.
17767 2013-10-08  Juri Linkov  <juri@jurta.org>
17769         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17770         to isearch-other-control-char.
17771         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17772         and isearch-post-command-hook to post-command-hook.
17773         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17774         and isearch-post-command-hook from post-command-hook.
17775         (isearch-unread-key-sequence)
17776         (isearch-reread-key-sequence-naturally)
17777         (isearch-lookup-scroll-key, isearch-other-control-char)
17778         (isearch-other-meta-char): Remove functions.
17779         (isearch-pre-command-hook, isearch-post-command-hook):
17780         New functions based on isearch-other-meta-char rewritten
17781         relying on the new behavior of overriding-terminal-local-map
17782         that does not replace the local keymaps any more.  (Bug#15200)
17784 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
17786         Support menus on text-mode terminals.
17787         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17788         functionality.
17790         * tooltip.el (tooltip-mode): Don't error out on TTYs.
17792         * menu-bar.el (popup-menu, popup-menu-normalize-position):
17793         Move here from mouse.el.
17794         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17795         and arrow keys.
17796         (tty-menu-navigation-map): New map for TTY menu navigation.
17798         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17800         * frame.el (display-mouse-p): Report text-mode mouse as available
17801         on w32.
17802         (display-popup-menus-p): Report availability if mouse is
17803         available; don't condition on window-system.
17805         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17806         (tty-menu-selected-face): New faces.
17808 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17810         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17811         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17812         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17813         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17814         New constants.
17815         (lisp-mode-variables): New `elisp' argument.
17816         (emacs-lisp-mode): Use it.
17817         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17818         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17820         * indent.el: Use lexical-binding.
17821         (indent-region): Add progress reporter.
17822         (tab-stop-list): Make it implicitly extend to infinity by repeating the
17823         last step.
17824         (indent--next-tab-stop): New function to implement this behavior.
17825         (tab-to-tab-stop, move-to-tab-stop): Use it.
17827 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
17829         * indent.el (indent-rigidly--current-indentation): New function.
17830         (indent-rigidly-map): New var.
17831         (indent-rigidly): Use it to provide interactive mode (bug#8196).
17833 2013-10-08  Bastien Guerry  <bzg@gnu.org>
17835         * register.el (insert-register): Fix 2013-10-07 change.
17837 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17839         * progmodes/perl-mode.el: Use lexical-binding.
17840         Remove redundant :group args.
17841         (perl-nochange): Change default to be closer to other major modes's
17842         standard behavior.
17843         (perl-indent-line): Don't consider text on current line as a
17844         valid beginning of function from which to indent.
17846         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17847         with more than one argument (bug#15538).
17849         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17851         * vc/pcvs.el: Use lexical-binding.
17852         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17853         environment of `eval'.
17854         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17855         than a list of expressions.  Adjust callers.
17856         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17858 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
17860         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17861         case of the dot in a chained method call being on the following line.
17863 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17865         * electric.el (electric-indent-inhibit): New var.
17866         (electric-indent-post-self-insert-function): Use it.
17867         * progmodes/python.el (python-mode): Set it.
17869         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17870         open braces.
17872         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17874         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17875         (css-mode): Use electric-indent-chars.
17877         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17878         (font-lock-beg, font-lock-end): Move before first use.
17879         (nxml-mode): Use syntax-propertize-function.
17880         (nxml-after-change, nxml-after-change1): Adjust accordingly.
17881         (nxml-extend-after-change-region): Remove.
17882         * nxml/xmltok.el: Use lexical-binding.
17883         (xmltok-save): Use `declare'.
17884         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
17885         * nxml/nxml-util.el: Use lexical-binding.
17886         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
17887         Use `declare'.
17888         * nxml/nxml-ns.el: Use lexical-binding.
17889         (nxml-ns-save): Use `declare'.
17890         (nxml-ns-prefixes-for): Avoid add-to-list.
17891         * nxml/rng-match.el: Use lexical-binding.
17892         (rng--ipattern): Use cl-defstruct.
17893         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
17894         (rng-cons-group-after, rng-subst-group-after)
17895         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
17896         Use closures instead of `(lambda...).
17898 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
17900         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
17901         of BEG and END.
17903         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17904         Use `tramp-handle-insert-file-contents'.
17905         (tramp-gvfs-handle-insert-file-contents): Remove function.
17907         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17908         Use `save-restriction' in order to keep markers.
17910         * net/trampver.el: Update release number.
17912 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17914         * progmodes/compile.el (compilation-parse-errors):
17915         Use compilation--put-prop.
17916         (compilation--ensure-parse): Check compilation-multiline.
17918         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
17920         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
17921         lexical-binding.
17923         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
17925         * progmodes/ruby-mode.el: Fix recently added tests.
17926         (ruby-smie-grammar): Add - and +.
17927         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
17928         (ruby-smie--backward-id): New functions.
17929         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
17930         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
17931         any more.
17933 2013-10-07  Leo Liu  <sdl.web@gmail.com>
17935         * register.el (register-preview-delay)
17936         (register-preview-functions): New variables.
17937         (register-read-with-preview, register-preview)
17938         (register-describe-oneline): New functions.
17939         (point-to-register, window-configuration-to-register)
17940         (frame-configuration-to-register, jump-to-register)
17941         (number-to-register, view-register, insert-register)
17942         (copy-to-register, append-to-register, prepend-to-register)
17943         (copy-rectangle-to-register): Use register-read-with-preview to
17944         read register.  (Bug#15525)
17946 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
17948         * net/network-stream.el (network-stream-open-starttls): Don't add
17949         --insecure if it's already present, because that gnutls-cli
17950         rejects getting that parameter twice.
17952 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
17954         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
17955         keyword, too.
17957 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
17959         * newcomment.el (comment-use-global-state): Change default value
17960         to t, mark obsolete (Bug#15251).
17961         (comment-beginning): In addition to `comment-to-syntax', check the
17962         value of `comment-use-global-state'.
17964 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17966         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
17967         (ruby-comment-column): Follow the global default, by default.
17968         (ruby-smie-grammar): Add assignment syntax.
17969         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
17970         open-paren, a comma, or a \.
17971         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
17972         and line continuations.
17973         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
17974         followed by implicit semi-colons.  Add rule for string concatenation
17975         and for indentation at BOB.
17976         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
17978         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
17979         calling next-sexp, since next-token may have skipped chars which
17980         next-sexp doesn't know should be skipped!
17982 2013-10-05  Leo Liu  <sdl.web@gmail.com>
17984         * progmodes/octave.el (octave-send-region):
17985         Call compilation-forget-errors.
17987 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
17989         * vc/vc-svn.el (vc-svn-find-admin-dir):
17990         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
17991         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
17992         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
17993         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
17995 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17997         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
17999 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18001         * subr.el (read-passwd): Hide chars even when called within a context
18002         where after-change-functions is disabled (bug#15501).
18003         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
18004         until we removed ourself from overriding-terminal-local-map.
18006 2013-10-04  Leo Liu  <sdl.web@gmail.com>
18008         * progmodes/octave.el (inferior-octave-mode):
18009         Call compilation-forget-errors.
18011 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
18013         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
18015 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
18017         * net/secrets.el (secrets-create-collection): Add optional
18018         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
18019         dbus-call-method argument.  (Bug#15516)
18021 2013-10-04  Leo Liu  <sdl.web@gmail.com>
18023         * progmodes/octave.el (inferior-octave-error-regexp-alist)
18024         (inferior-octave-compilation-font-lock-keywords): New variables.
18025         (compilation-error-regexp-alist)
18026         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
18027         (inferior-octave-mode): Use compilation-shell-minor-mode.
18029 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
18031         * minibuffer.el (completion--replace): Be careful that `end' might be
18032         a marker.
18034 2013-10-03  Daiki Ueno  <ueno@gnu.org>
18036         Add support for package signature checking.
18037         * emacs-lisp/package.el (url-http-file-exists-p)
18038         (epg-make-context, epg-context-set-home-directory)
18039         (epg-verify-string, epg-context-result-for)
18040         (epg-signature-status, epg-signature-to-string)
18041         (epg-check-configuration, epg-configuration)
18042         (epg-import-keys-from-file): Declare.
18043         (package-check-signature): New user option.
18044         (package-unsigned-archives): New user option.
18045         (package-desc): Add `signed' field.
18046         (package-load-descriptor): Set `signed' field if .signed file exists.
18047         (package--archive-file-exists-p): New function.
18048         (package--check-signature): New function.
18049         (package-install-from-archive): Check package signature.
18050         (package--download-one-archive): Check archive signature.
18051         (package-delete): Remove .signed file.
18052         (package-import-keyring): New command.
18053         (package-refresh-contents): Import default keyring.
18054         (package-desc-status): Add "unsigned" status.
18055         (describe-package-1, package-menu--print-info)
18056         (package-menu-mark-delete, package-menu--find-upgrades)
18057         (package-menu--status-predicate): Support "unsigned" status.
18059 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18061         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
18062         the new compilation scheme using the new byte-codes.
18064         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
18065         (byte-pophandler): New byte codes.
18066         (byte-goto-ops): Adjust accordingly.
18067         (byte-compile--use-old-handlers): New var.
18068         (byte-compile-catch): Use new byte codes depending on
18069         byte-compile--use-old-handlers.
18070         (byte-compile-condition-case--old): Rename from
18071         byte-compile-condition-case.
18072         (byte-compile-condition-case--new): New function.
18073         (byte-compile-condition-case): New function that dispatches depending
18074         on byte-compile--use-old-handlers.
18075         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
18076         when we can.
18078         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
18079         Optimize under `condition-case' and `catch' if
18080         byte-compile--use-old-handlers is nil.
18081         (disassemble-offset): Handle new bytecodes.
18083 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18085         * subr.el (error): Use `declare'.
18086         (decode-char, encode-char): Use advertised-calling-convention instead
18087         of the docstring to discourage use of the `restriction' arg.
18089 2013-10-03  Daiki Ueno  <ueno@gnu.org>
18091         * epg.el (epg-verify-file): Add a comment saying that it does not
18092         notify verification error as a return value nor a signal.
18093         (epg-verify-string): Ditto.
18095 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
18097         * progmodes/compile.el (compilation-start): Try globbing the arg to
18098         `cd' (bug#15417).
18100 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
18102         Sync with Tramp 2.2.8.
18104         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
18105         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
18106         * net/trampver.el: Update release number.
18108 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
18110         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
18111         and default-process-coding-system for darwin only.
18113 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18115         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
18117 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
18119         * vc/vc-git.el (vc-git-grep): Disable pager.
18121 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
18123         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
18124         Use :url instead of :homepage, as per
18125         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
18127         * newcomment.el (comment-beginning): When `comment-use-syntax' is
18128         non-nil, use `syntax-ppss' (Bug#15251).
18130 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
18132         * progmodes/octave.el (inferior-octave-startup-file):
18133         Prefer ~/.emacs.d/init_octave.m.
18135 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
18137         * emacs-lisp/package.el (package-desc-from-define):
18138         Accept additional arguments as plist, convert them to an alist and store
18139         them in the `extras' slot.
18140         (package-generate-description-file): Convert extras alist back to
18141         plist and append to the `define-package' form arguments.
18142         (package--alist-to-plist): New function.
18143         (package--ac-desc): Add `extras' slot.
18144         (package--add-to-archive-contents): Check if the archive-contents
18145         vector is long enough, and if it is, pass its `extras' slot value
18146         to `package-desc-create'.
18147         (package-buffer-info): Call `lm-homepage', pass the returned value
18148         to `package-desc-from-define'.
18149         (describe-package-1): Render the homepage button (Bug#13291).
18151         * emacs-lisp/package-x.el (package-upload-buffer-internal):
18152         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
18154 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
18156         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
18157         and default-process-coding-system to utf-8-unix (Bug#15402).
18159 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
18161         * subr.el (looking-back): Do not recommend using looking-back.
18163 2013-09-28  Alan Mackenzie  <acm@muc.de>
18165         Fix indentation/fontification of Java enum with "implements".
18167         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
18168         regexp which matches "implements", etc., in Java.
18169         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
18170         specifier clauses coming after "enum".
18171         * progmodes/cc-fonts.el (c-font-lock-declarations)
18172         (c-font-lock-enum-tail): Check for extra specifier clauses coming
18173         after "enum".
18175 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
18177         * faces.el (region): Change ns_selection_color to
18178         ns_selection_fg_color, add ns_selection_bg_color.
18180 2013-09-28  Leo Liu  <sdl.web@gmail.com>
18182         * progmodes/octave.el (inferior-octave-completion-table)
18183         (inferior-octave-completion-at-point): Minor tweaks.
18185         * textmodes/ispell.el (ispell-lookup-words): Rename from
18186         lookup-words.  (Bug#15460)
18187         (lookup-words): Obsolete.
18188         (ispell-complete-word, ispell-command-loop): All uses changed.
18190 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
18192         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
18193         (octave-mode-menu): Add octave-send-buffer.
18194         (octave-send-buffer): New function.
18196 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
18198         * progmodes/octave.el (octave-mode-map): Add key binding for
18199         octave-lookfor.
18200         (octave-mode-menu): Add octave-lookfor.
18201         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
18202         octave-lookfor.
18203         (octave-lookfor): New function.
18205 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18207         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
18208         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
18209         its convention.
18210         (cl--loop-set-iterator-function): New function.
18211         (cl-loop): Adjust accordingly, so as not to use cl-subst.
18212         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
18213         Bind `it' with `let' instead of substituting it with `cl-subst'.
18214         (cl--unused-var-p): New function.
18215         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
18216         Eliminate some unused variable warnings (bug#15326).
18218 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
18220         * doc-view.el (doc-view-scale-reset): Rename from
18221         `doc-view-reset-zoom-level'.
18222         (doc-view-scale-adjust): New command.
18223         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
18224         `doc-view-scale-adjust'.
18226 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
18228         * doc-view.el (doc-view-reset-zoom-level): New command.
18229         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
18230         zoom commands (bug#15466).
18232 2013-09-26  Kenichi Handa  <handa@gnu.org>
18234         * international/quail.el (quail-help): Make it not a command.
18236 2013-09-26  Leo Liu  <sdl.web@gmail.com>
18238         * minibuffer.el (completion-all-sorted-completions): Make args
18239         optional as they are.
18241 2013-09-25  Daniel Colascione  <dancol@dancol.org>
18243         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
18244         specs are and that they're not evaluated.
18246 2013-09-24  Sam Steingold  <sds@gnu.org>
18248         * midnight.el (clean-buffer-list-kill-regexps)
18249         (clean-buffer-list-kill-buffer-names): Update for the new Man
18250         buffer naming which includes the object name.
18252 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18254         * eshell/esh-cmd.el (eshell--sep-terms): New var.
18255         (eshell-parse-command, eshell-parse-pipeline): Use it since
18256         eshell-separate-commands requires a dynamic scoped var.
18257         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
18259 2013-09-23  Leo Liu  <sdl.web@gmail.com>
18261         * autoinsert.el (auto-insert-alist): Make the value of
18262         lexical-binding match its file setting.
18264 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
18266         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
18268         * autoarg.el (autoarg-kp-digit-argument):
18269         * electric.el (Electric-command-loop):
18270         * kmacro.el (kmacro-step-edit-insert):
18271         Do not set universal-argument-num-events.
18273 2013-09-22  Leo Liu  <sdl.web@gmail.com>
18275         * files.el (interpreter-mode-alist): Add octave.
18277 2013-09-21  Alan Mackenzie  <acm@muc.de>
18279         C++: fontify identifier in declaration following "public:" correctly.
18280         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
18281         to match "public", etc.
18282         (c-decl-prefix-re): Add ":" into the C++ value.
18283         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
18284         bit.  Add a check for a ":" preceded by "public", etc.
18286 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
18288         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
18289         recognized by GDB 7.5 and later.
18291 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
18293         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
18295 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18297         * subr.el (internal--call-interactively): New const.
18298         (called-interactively-p): Use it (bug#3984).
18300 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
18302         * vc/pcvs.el (cvs-mode-ignore):
18303         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
18304         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
18306 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18308         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
18309         (eshell-ls-orig-insert-directory): Remove.
18310         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
18311         (eshell-ls-use-in-dired): Use advice-add/remove.
18312         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
18313         Add `orig-fun' arg for use in :around advice.
18314         Make it check (redundantly) eshell-ls-use-in-dired.
18316 2013-09-19  Glenn Morris  <rgm@gnu.org>
18318         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
18320         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
18322         * emacs-lisp/eieio.el (class-parent): Undo previous change.
18324 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
18326         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
18327         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
18328         (tramp-get-remote-python): New defuns.
18329         (tramp-get-remote-uid-with-perl)
18330         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
18331         contributed by yary <not.com@gmail.com> (tiny change).
18332         (tramp-get-remote-uid-with-python)
18333         (tramp-get-remote-gid-with-python): New defuns.  Python code
18334         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
18335         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
18337 2013-09-19  Glenn Morris  <rgm@gnu.org>
18339         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
18341         * eshell/em-unix.el (eshell-remove-entries):
18342         Rename argument to avoid name-clash with global `top-level'.
18344         * eshell/esh-proc.el (eshell-kill-process-function):
18345         Remove eshell-reset-after-proc from eshell-kill-hook if present.
18346         (eshell-reset-after-proc): Remove unused arg `proc'.
18348         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
18349         (directory-files-and-attributes): Mark unused arg.
18351         * eshell/em-unix.el (eshell-remove-entries):
18352         Remove unused arg `path'.  Update callers.
18354         * eshell/em-hist.el (eshell-hist-parse-arguments):
18355         Remove unused arg `silent'.  Update callers.
18357         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
18358         Fix (f)boundp mix-up.
18360         * eshell/em-smart.el (eshell-smart-scroll-window)
18361         (eshell-disable-after-change):
18362         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
18364 2013-09-18  Alan Mackenzie  <acm@muc.de>
18366         Fix fontification of type when followed by "const".
18367         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
18368         "known" types from fontification.
18370 2013-09-18  Glenn Morris  <rgm@gnu.org>
18372         * emacs-lisp/chart.el (x-display-color-cells): Declare.
18373         (chart-face-list): Drop Emacsen without display-color-p.
18375         * net/eww.el (libxml-parse-html-region): Declare.
18376         (eww-display-html): Explicit error if no libxml2 support.
18378         * doc-view.el (doc-view-mode): Silence --without-x compilation.
18380         * image.el (image-type-from-buffer, image-multi-frame-p):
18381         Remove --without-x warning/error.
18383         * mouse.el (mouse-yank-primary):
18384         * term.el (term-mouse-paste):
18385         Reorder to silence --without-x compilation.
18387         * mpc.el (doc-view-mode): Silence --without-x compilation.
18389         * mail/rmailmm.el (rmail-mime-set-bulk-data):
18390         Silence --without-x compilation.
18392         * progmodes/gud.el (gud-find-file, gud-mode):
18393         Silence --without-x compilation.
18394         (tooltip-mode): Declare.
18396         * wdired.el (dired-backup-overwrite): Remove declaration.
18397         (wdired-mode-map): Add doc string.
18399         * custom.el (x-get-resource): Declare.
18401         * eshell/em-glob.el (ange-cache):
18402         * eshell/em-unix.el (ange-cache): Declare.
18404         * faces.el (x-display-list, x-open-connection, x-get-resource):
18405         Declare.
18407         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
18408         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
18409         Declare.
18411         * frame.el (x-display-grayscale-p, x-display-name): Declare.
18413         * net/gnutls.el (gnutls-log-level): Declare.
18415         * net/shr.el (image-size, image-animate): Declare.
18417         * simple.el (font-info): Declare.
18419         * subr.el (x-popup-dialog): Declare.
18421         * term/common-win.el (x-select-enable-primary)
18422         (x-last-selected-text-primary, x-last-selected-text-clipboard):
18423         Declare.
18425         * term/ns-win.el (x-handle-args): Declare.
18427         * term/x-win.el (x-select-enable-clipboard): Declare.
18429         * term/w32-win.el (create-default-fontset): Declare.
18431         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
18432         Declare.
18434         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
18435         (fit-frame-to-buffer): Explicit error if --without-x.
18436         (mouse-autoselect-window-select): Silence compiler.
18438         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18440         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
18441         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
18442         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
18443         * eshell/esh-util.el (eshell-sublist):
18444         Remove unused local variables.
18446         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
18448         * textmodes/two-column.el: Make 2C-split work for --without-x.
18449         (scroll-bar-columns): Autoload.
18450         (top-level): Require fringe when compiling.
18452 2013-09-18  Leo Liu  <sdl.web@gmail.com>
18454         * subr.el (add-hook): Robustify to handle closure as well.
18456 2013-09-17  Glenn Morris  <rgm@gnu.org>
18458         * simple.el (messages-buffer-mode-map): Unbind "g".
18460 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18462         * help-mode.el (help-mode-finish): Use derived-mode-p.
18463         Remove obsolete highlighting.
18465         * play/life.el (life-mode): Use define-derived-mode.  Derive from
18466         special-mode.
18467         (life): Let-bind inhibit-read-only.
18468         (life-setup): Avoid `setq'.  Use `life-mode'.
18470         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
18471         which should not be needed any more.
18472         (package-menu-refresh, package-menu-describe-package): Use user-error.
18474         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
18475         (eshell-post-rewrite-command-hook): Make obsolete.
18476         (eshell-parse-command): Simplify.
18477         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
18478         (eshell--cmd): Declare.
18479         (eshell-parse-pipeline): Remove unused var `final-p'.
18480         Pass a dynvar to eshell-post-rewrite-command-hook.
18481         Implement the new eshell-post-rewrite-command-function.
18482         (eshell-invoke-directly): Remove unused arg `input'.
18483         * eshell/esh-io.el (eshell-io-initialize):
18484         Use eshell-post-rewrite-command-function (bug#15399).
18485         (eshell--apply-redirections): Rename from eshell-apply-redirections;
18486         adjust to new calling convention.
18487         (eshell-create-handles): Rename args to avoid clashing with dynvar
18488         `standard-output'.
18490 2013-09-17  Glenn Morris  <rgm@gnu.org>
18492         * simple.el (messages-buffer-mode): New major mode.
18493         (messages-buffer): New function.
18494         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
18495         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
18496         (ert-run-test): Use `messages-buffer' function.
18497         (ert--force-message-log-buffer-truncation): Ignore read-only.
18498         * help.el (view-echo-area-messages): Use `messages-buffer' function.
18499         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
18501 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18503         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
18505         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
18507 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18509         * icomplete.el (icomplete-in-buffer): New var.
18510         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
18511         vars and replace them with functions.
18512         (icomplete-minibuffer-setup): Adjust accordingly.
18513         (icomplete--completion-table, icomplete--completion-predicate)
18514         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
18515         New functions.
18516         (icomplete-forward-completions, icomplete-backward-completions)
18517         (icomplete-simple-completing-p, icomplete-exhibit)
18518         (icomplete-completions): Use them.
18519         (icomplete--in-region-buffer): New var.
18520         (icomplete--in-region-setup): New function.
18521         (icomplete-mode): Use it.
18523         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
18524         (bug#15379).
18525         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
18526         return args and options.
18527         (eshell-eval-using-options): Use the new return value of
18528         eshell--do-opts to set the options's vars in their scope.
18529         (eshell--set-option): Rename from eshell-set-option.
18530         Add arg `opt-vals'.
18531         (eshell--process-option): Rename from eshell-process-option.
18532         Add arg `opt-vals'.
18533         (eshell--process-args): Use an `opt-vals' alist to store the options's
18534         values during their processing and return them additionally to the
18535         remaining args.
18537 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
18539         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
18540         continuation character an operator, as far as indentation is
18541         concerned (Bug#15369).
18543 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
18545         * window.el (window--state-put-2): Don't process buffer state
18546         when buffer doesn't exist any more (Bug#15382).
18548 2013-09-15  Glenn Morris  <rgm@gnu.org>
18550         * eshell/em-unix.el (eshell/rm):
18551         Make -f ignore missing files.  (Bug#15373)
18553         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
18554         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
18555         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
18557 2013-09-14  Glenn Morris  <rgm@gnu.org>
18559         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
18561 2013-09-13  Glenn Morris  <rgm@gnu.org>
18563         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
18564         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
18566 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
18568         * frame.el (x-focus-frame): Mark as declared in frame.c.
18570 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18572         * ls-lisp.el: Use advice-add.
18573         (original-insert-directory): Remove.
18574         (ls-lisp--insert-directory): Rename from insert-directory; add
18575         `orig-fun' argument.
18576         (insert-directory): Advise.
18578 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
18580         * term.el (term-emulate-terminal): Decode the command string
18581         before passing it to term-command-hook.  (Bug#15337)
18583 2013-09-13  Glenn Morris  <rgm@gnu.org>
18585         * eshell/esh-util.el (ange-cache): Move declaration earlier.
18587         * eshell/esh-ext.el (eshell-search-path): Declare.
18589         * eshell/em-prompt.el (eshell/pwd): Autoload it.
18590         Otherwise an error occurs if eshell-dirs module not loaded.
18592         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
18594 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
18596         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
18597         `tramp-check-proper-host'.  Check for a valid method name.
18599         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18600         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18601         * net/tramp-sh.el (tramp-maybe-open-connection):
18602         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
18604         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
18605         also for hash values.
18607 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18609         * term/ns-win.el (parameters): Don't declare as dynamic.
18610         (before-make-frame-hook): Don't add ineffective function.
18612         * eshell/*.el: Use lexical-binding (bug#15231).
18614 2013-09-12  Kenichi Handa  <handa@gnu.org>
18616         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
18618 2013-09-12  Glenn Morris  <rgm@gnu.org>
18620         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
18621         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
18623         * subr.el (do-after-load-evaluation): Also give compiler warnings
18624         when obsolete files are used (except by obsolete files).
18626         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
18627         in the status output, assume `filename' is the first.  (Bug#15322)
18629         * vc/vc.el (vc-deduce-fileset): Doc fix.
18631         * calc/calc-help.el (Info-goto-node):
18632         * progmodes/cperl-mode.el (Info-find-node):
18633         * vc/ediff.el (Info-goto-node): Update declarations.
18635         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
18637         * vc/vc-bzr.el (vc-compilation-mode): Declare.
18638         (vc-bzr-pull): Require vc-dispatcher.
18639         * vc/vc-git.el (vc-compilation-mode): Declare.
18640         (vc-git-pull): Require vc-dispatcher.
18642         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
18644         * progmodes/octave.el (help-button-action): Declare.
18646         * shell.el (shell-directory-tracker): Output error as a message
18647         rather than just returning it as a string.
18648         (shell-process-pushd): Remove useless use of message.
18650         * dframe.el (dframe-timer-fn):
18651         * files.el (dir-locals-read-from-file):
18652         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
18653         (mpc-format):
18654         * reveal.el (reveal-post-command):
18655         * saveplace.el (load-save-place-alist-from-file):
18656         * shell.el (shell-resync-dirs):
18657         * w32-common-fns.el (x-get-selection-value):
18658         * emacs-lisp/copyright.el (copyright-find-copyright):
18659         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
18660         * emulation/tpu-edt.el (tpu-copy-keyfile):
18661         * play/bubbles.el (bubbles--mark-neighbourhood):
18662         * progmodes/executable.el
18663         (executable-make-buffer-file-executable-if-script-p):
18664         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
18666 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18668         Cleanup Eshell to rely less on dynamic scoping.
18669         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
18670         last-value, and ext-command here.  Bind `args' closer to `body'.
18671         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
18672         (eshell--args): Declare new dynamic var.
18673         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
18674         last-value, and ext-command.  Pass `args' to `body'.
18675         (eshell-process-args): Bind eshell--args.
18676         (eshell-set-option): Use eshell--args.
18677         * eshell/eshell.el (eshell): Use derived-mode-p.
18678         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
18679         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
18680         (eshell-glob-function): Declare.
18681         * eshell/esh-util.el: Require cl-lib.
18682         (eshell-read-hosts-file): Avoid add-to-list.
18683         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
18684         `err'.
18685         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
18686         Declare.
18687         (eshell/diff): Remove unused var `err'.
18688         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
18689         `killflag'.
18690         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
18691         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
18692         first use.
18693         * eshell/em-glob.el (eshell-glob-matches, message-shown):
18694         Move declaration before first use.
18695         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
18696         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
18697         rely on cl-return.
18699 2013-09-12  Glenn Morris  <rgm@gnu.org>
18701         * term/ns-win.el (global-map): Remove binding for ispell-next,
18702         deleted 1999-05-29.  (Bug#15357)
18704 2013-09-11  Glenn Morris  <rgm@gnu.org>
18706         * echistory.el (electric-command-history): Remove call to deleted func.
18708         * play/landmark.el (landmark-mode): Fix typos.
18710         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
18711         Check cvs-sort-ignore-file is bound.
18713         * savehist.el: No need for cl when compiling on Emacs.
18715 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18717         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
18718         (bug#15338).
18719         (eshell-self-insert-command, eshell-send-invisible):
18720         Remove unused argument.
18721         (eshell-handle-control-codes): Remove unused var `orig'.
18722         Avoid delete-backward-char.
18724         * files.el (set-auto-mode): Simplify a bit further.
18726 2013-09-11  Glenn Morris  <rgm@gnu.org>
18728         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18729         (set-auto-mode): Don't regexp-quote elements.
18730         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18731         * progmodes/cc-mode.el (interpreter-mode-alist):
18732         * progmodes/ruby-mode.el (interpreter-mode-alist):
18733         Revert previous change.
18735 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18737         * play/snake.el (snake-mode):
18738         * play/mpuz.el (mpuz-mode):
18739         * play/landmark.el (lm-mode):
18740         * play/blackbox.el (blackbox-mode):
18741         * play/5x5.el (5x5-mode):
18742         * obsolete/options.el (Edit-options-mode):
18743         * net/quickurl.el (quickurl-list-mode):
18744         * net/newst-treeview.el (newsticker-treeview-mode):
18745         * mail/rmailsum.el (rmail-summary-mode):
18746         * mail/mspools.el (mspools-mode):
18747         * locate.el (locate-mode):
18748         * ibuffer.el (ibuffer-mode):
18749         * emulation/ws-mode.el (wordstar-mode):
18750         * emacs-lisp/debug.el (debugger-mode):
18751         * array.el (array-mode):
18752         * net/eudc.el (eudc-mode): Use define-derived-mode.
18753         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18754         Move initialization into declaration.
18755         (mairix-searches-mode): Use define-derived-mode.
18756         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18757         (eudc-edit-hotlist): Use dolist.
18758         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18759         (Man-mode): Use define-derived-mode.
18760         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18761         (Info-edit-mode): Use define-derived-mode.
18762         (Info-cease-edit): Use Info-mode.
18763         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18764         into declaration.
18765         (eshell-mode): Use define-derived-mode.
18766         * chistory.el (command-history-mode-map): Rename from
18767         command-history-map.
18768         (command-history-mode): Use define-derived-mode.
18769         (Command-history-setup): Remove function.
18770         * calc/calc.el (calc-trail-mode-map): New var.
18771         (calc-trail-mode): Use define-derived-mode.
18772         (calc-trail-buffer): Set calc-main-buffer manually.
18773         * bookmark.el (bookmark-insert-annotation): New function.
18774         (bookmark-edit-annotation): Use it.
18775         (bookmark-edit-annotation-mode): Make it a proper major mode.
18776         (bookmark-send-edited-annotation): Use derived-mode-p.
18777         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18778         closer to its ideal place.  Use \' to match EOS.
18780         * profiler.el (profiler-calltree-find): Use function-equal.
18782 2013-09-10  Glenn Morris  <rgm@gnu.org>
18784         * files.el (interpreter-mode-alist): Convert to regexps.
18785         (set-auto-mode): Adapt for this.  (Bug#15306)
18786         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18787         Comment out unused variable.
18788         * progmodes/cc-mode.el (interpreter-mode-alist):
18789         * progmodes/python.el (interpreter-mode-alist):
18790         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18791         * progmodes/sh-script.el (sh-set-shell):
18792         No longer use interpreter-mode-alist to get list of shells.
18794         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18796 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18798         * simple.el: Use set-temporary-overlay-map for universal-argument.
18799         (universal-argument-map): Don't use default-bindings (bug#15317).
18800         Bind switch-frame explicitly.  Replace universal-argument-minus with
18801         a conditional binding.
18802         (universal-argument-num-events, saved-overriding-map): Remove.
18803         (restore-overriding-map): Remove.
18804         (universal-argument--mode): Rename from save&set-overriding-map,
18805         and rewrite.
18806         (universal-argument, universal-argument-more, negative-argument)
18807         (digit-argument): Adjust accordingly.
18808         (universal-argument-minus): Remove.
18809         (universal-argument-other-key): Remove.
18811         * subr.el (with-demoted-errors): Add `format' argument.
18813 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
18815         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
18816         `tramp-cleanup-connection'.
18818         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18819         parameters KEEP-DEBUG and KEEP-PASSWORD.
18821         * net/tramp.el (tramp-file-name-handler):
18822         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18823         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18824         (tramp-maybe-open-connection):
18825         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18826         Use `tramp-cleanup-connection'.
18828         * net/tramp-sh.el (tramp-maybe-open-connection):
18829         Catch 'uname-changed inside the progress reporter.
18831 2013-09-10  Glenn Morris  <rgm@gnu.org>
18833         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
18835         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18836         returns "alternate access method" in mode (eg "-rw-r--r--.").
18838 2013-09-08  Glenn Morris  <rgm@gnu.org>
18840         * saveplace.el (load-save-place-alist-from-file):
18841         Demote errors.  (Bug#15305)
18843 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
18845         Improve compatibility with older Emacsen, and XEmacs.
18847         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18848         only if it is bound.  It isn't for XEmacs.
18849         (with-tramp-progress-reporter): Do not let-bind `result'.
18850         This yields to scoping errors in XEmacs.
18851         (tramp-handle-make-auto-save-file-name): New function, moved from
18852         tramp-sh.el.
18854         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18855         for `make-auto-save-file-name'.
18856         (tramp-adb--gnu-switches-to-ash):
18857         Use `tramp-compat-replace-regexp-in-string'.
18859         * net/tramp-cache.el (tramp-cache-print): Call
18860         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
18862         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18863         bound.  It isn't for XEmacs.
18865         * net/tramp-compat.el (tramp-compat-copy-file):
18866         Catch `wrong-number-of-arguments' error.
18867         (tramp-compat-replace-regexp-in-string): New defun.
18869         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18870         for `make-auto-save-file-name'.
18871         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18872         `copy-file'.
18873         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18874         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18875         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18877         * net/tramp-gw.el (tramp-gw-open-network-stream):
18878         Use `tramp-compat-replace-regexp-in-string'.
18880         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18881         Call `tramp-handle-make-auto-save-file-name'.
18882         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
18883         (tramp-sh-file-gvfs-monitor-dir-process-filter)
18884         (tramp-sh-file-inotifywait-process-filter):
18885         Use `tramp-compat-replace-regexp-in-string'.
18886         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
18888         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
18889         for `make-auto-save-file-name'.
18890         (tramp-smb-handle-copy-directory):
18891         Call `tramp-compat-replace-regexp-in-string'.
18892         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
18893         (tramp-smb-handle-copy-file): Improve error message.
18894         (tramp-smb-handle-rename-file): Rename directly only in case
18895         `newname' does not exist yet.  This is a restriction of smbclient.
18896         (tramp-smb-maybe-open-connection): Rerun the function only when
18897         `auth-sources' is non-nil.
18899 2013-09-08  Kenichi Handa  <handa@gnu.org>
18901         * international/characters.el: Set category "^" (Combining) for
18902         more characters.
18904 2013-09-07  Alan Mackenzie  <acm@muc.de>
18906         Correctly fontify Java class constructors.
18907         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
18908         in Java Mode.
18909         (c-recognize-typeless-decls): Set the Java value to t.
18910         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18911         While handling a "(", add a check for, effectively, Java, and handle a
18912         "typeless" declaration there.
18914 2013-09-07  Roland Winkler  <winkler@gnu.org>
18916         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
18917         field subtitle for entry type book.
18919 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18921         * minibuffer.el: Make minibuffer-complete call completion-in-region
18922         rather than other way around.
18923         (completion--some, completion-pcm--find-all-completions):
18924         Don't delay signals when debugging.
18925         (minibuffer-completion-contents): Beware fields within the
18926         minibuffer contents.
18927         (completion-all-sorted-completions): Use defvar-local.
18928         (completion--do-completion, completion--cache-all-sorted-completions)
18929         (completion-all-sorted-completions, minibuffer-force-complete):
18930         Add args `beg' and `end'.
18931         (completion--in-region-1): New fun, extracted from minibuffer-complete.
18932         (minibuffer-complete): Use completion-in-region.
18933         (completion-complete-and-exit): New fun, extracted from
18934         minibuffer-complete-and-exit.
18935         (minibuffer-complete-and-exit): Use it.
18936         (completion--complete-and-exit): Rename from
18937         minibuffer--complete-and-exit.
18938         (completion-in-region--single-word): New function, extracted from
18939         minibuffer-complete-word.
18940         (minibuffer-complete-word): Use it.
18941         (display-completion-list): Make `common-substring' argument obsolete.
18942         (completion--in-region): Call completion--in-region-1 instead of
18943         minibuffer-complete.
18944         (completion-help-at-point): Pass boundaries to
18945         minibuffer-completion-help as args rather than via an overlay.
18946         (completion-pcm--string->pattern): Use `any-delim'.
18947         (completion-pcm--optimize-pattern): New function.
18948         (completion-pcm--pattern->regex): Handle `any-delim'.
18949         * icomplete.el (icomplete-forward-completions)
18950         (icomplete-backward-completions, icomplete-completions):
18951         Adjust calls to completion-all-sorted-completions and
18952         completion--cache-all-sorted-completions.
18953         (icomplete-with-completion-tables): Default to t.
18954         * emacs-lisp/crm.el (crm--current-element): Rename from
18955         crm--select-current-element.  Don't put an overlay but return the
18956         boundaries instead.
18957         (crm--completion-command): Take two new args to bind to the boundaries.
18958         (crm-completion-help): Adjust accordingly.
18959         (crm-complete): Use completion-in-region.
18960         (crm-complete-word): Use completion-in-region--single-word.
18961         (crm-complete-and-exit): Use completion-complete-and-exit.
18963 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18965         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
18966         than dynamically.
18968 2013-09-06  Juri Linkov  <juri@jurta.org>
18970         * info.el (Info-display-images-node): When image file doesn't exist
18971         display text version of the image if it's provided in the Info file.
18972         Otherwise, display the location of missing image from SRC attribute.
18973         Add help-echo text property from ALT attribute.  (Bug#15279)
18975 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18977         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
18978         (edit-abbrevs-mode): Use define-derived-mode.
18980         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
18981         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
18982         that it's defined.
18983         (epa-key-list-mode, epa-key-mode, epa-info-mode):
18984         Use define-derived-mode.
18986         * epg.el (epg-start-encrypt): Minor CSE simplification.
18988 2013-09-06  William Xu  <william.xwl@gmail.com>
18990         * arc-mode.el: Add support for 7za (bug#15264).
18991         (archive-7z-program): New var.
18992         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
18993         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
18994         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
18996 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
18998         Remove URL syntax.
19000         * net/tramp.el (tramp-syntax, tramp-prefix-format)
19001         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
19002         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
19003         (tramp-postfix-host-format, tramp-file-name-regexp)
19004         (tramp-completion-file-name-regexp)
19005         (tramp-completion-dissect-file-name)
19006         (tramp-handle-substitute-in-file-name): Remove 'url case.
19007         (tramp-file-name-regexp-url)
19008         (tramp-completion-file-name-regexp-url): Remove constants.
19010 2013-09-06  Glenn Morris  <rgm@gnu.org>
19012         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
19014 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
19016         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
19017         keywords" below "here-doc beginnings" (Bug#15270).
19019 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19021         * subr.el (pop): Use `car-safe'.
19022         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
19023         to detect unused `pop' return value.
19025         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
19026         var `block-regexp'.
19027         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
19028         (python-fill-string): Remove unused var `marker'.
19029         (python-skeleton-add-menu-items): Remove unused var `items'.
19031         * international/mule-cmds.el: Require CL.
19032         (find-coding-systems-for-charsets): Avoid add-to-list.
19033         (sanitize-coding-system-list): New function, extracted from
19034         select-safe-coding-system-interactively.
19035         (select-safe-coding-system-interactively): Use it.
19036         (read-input-method-name): Accept symbols for `default'.
19038         * emacs-lisp/advice.el (defadvice): Add indent rule.
19040 2013-09-05  Daniel Hackney  <dan@haxney.org>
19042         * dired-x.el:
19043         * net/ange-ftp.el:
19044         * net/browse-url.el:
19045         * net/dbus.el:
19046         * net/eudc.el:
19047         * net/eudcb-ldap.el:
19048         * net/eww.el:
19049         * net/imap.el:
19050         * printing.el:
19051         * vc/ediff-diff.el:
19052         * vc/ediff-init.el:
19053         * vc/ediff-merg.el:
19054         * vc/ediff-mult.el:
19055         * vc/ediff-util.el:
19056         * vc/ediff-wind.el:
19057         * vc/ediff.el:
19058         * vc/emerge.el:
19059         * vc/pcvs.el:
19060         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
19061         byte compiler.  Remove some unused let-bound variables.
19063 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19065         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
19066         a "ref-cell", since it gets better optimized (bug#14883).
19068 2013-09-05  Glenn Morris  <rgm@gnu.org>
19070         * progmodes/cc-awk.el (c-forward-sws): Declare.
19072 2013-09-04  Glenn Morris  <rgm@gnu.org>
19074         * generic-x.el [rul-generic-mode]: Require cc-mode.
19075         (c++-mode-syntax-table): Declare.
19076         (rul-generic-mode-syntax-table): Init in the defvar.
19078 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19080         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
19081         (vc-do-command, vc-set-async-update):
19082         * vc/vc-mtn.el (vc-mtn-dir-status):
19083         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
19084         (vc-hg-pull, vc-hg-merge-branch):
19085         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
19086         (vc-git-merge-branch):
19087         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
19088         (vc-cvs-dir-status-files):
19089         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
19090         (vc-bzr-dir-status-files):
19091         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
19092         * vc/vc-annotate.el: Use lexical-binding.
19093         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
19094         (vc-sentinel-movepoint): Declare.
19095         (vc-annotate): Don't use `goto-line'.
19096         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
19097         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
19098         (vc-sentinel-movepoint): Declare.
19099         * vc/vc-svn.el: Use lexical-binding.
19100         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
19101         * vc/vc-sccs.el:
19102         * vc/vc-rcs.el: Use lexical-binding.
19104         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
19105         `deleted'.  Don't drop errors silently.
19107         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
19109 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
19111         * vc/vc.el (vc-ignore): Rewrite.
19112         (vc-default-ignore): New function.
19113         (vc-default-ignore-completion-table): Use find-ignore-file.
19115         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
19116         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
19117         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
19118         Remove.  Most code moved to vc.el.
19120 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
19122         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
19123         * net/tramp-smb.el (tramp-smb-get-file-entries):
19124         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
19125         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
19127         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
19128         Update call to it.
19129         (eww-change-select): Remove unused var `properties'.
19130         (eww-make-unique-file-name): Remove unused var `base'.
19132         * finder.el (finder-compile-keywords): Don't mess with windows.
19134         * calculator.el (calculator-funcall): Fix typo in last change.
19136         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
19138         * emacs-lisp/package.el (package-activate-1): Don't let a missing
19139         <pkg>-autoloads.el file stop us.
19141         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
19142         warnings, and factor out common code.
19144 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
19146         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
19147         two-character operators and whether the character preceding them
19148         changes their meaning (Bug#15208).
19150 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
19152         Format code sent to Python shell for robustness.
19153         * progmodes/python.el (python-shell-buffer-substring):
19154         New function.
19155         (python-shell-send-region, python-shell-send-buffer): Use it.
19157 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
19159         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
19160         * net/tramp.el (tramp-user-error): ... here.
19161         (tramp-find-method, tramp-check-proper-host)
19162         (tramp-dissect-file-name, tramp-debug-message)
19163         (tramp-handle-shell-command):
19164         * net/tramp-adb.el (tramp-adb-handle-shell-command):
19165         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
19167         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
19169 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
19171         * avoid.el (mouse-avoidance-point-position)
19172         (mouse-avoidance-too-close-p): Handle case where posn-at-point
19173         returns nil.
19175 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
19177         * progmodes/python.el (python-shell-completion-get-completions):
19178         Drop use of deleted `comint-last-prompt-overlay'.
19179         (python-nav-if-name-main): New command.
19181 2013-09-01  Glenn Morris  <rgm@gnu.org>
19183         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
19184         Avoid leading space in $wins.  Otherwise the sed command used by
19185         eg compile-main ends up containing "/*.el".  (Bug#15170)
19187         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
19189 2013-08-30  Glenn Morris  <rgm@gnu.org>
19191         * emacs-lisp/bytecomp.el (byte-recompile-directory):
19192         Fix is-this-a-directory logic.  (Bug#15220)
19194 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19196         * textmodes/css-mode.el: Use SMIE.
19197         (css-smie-grammar): New var.
19198         (css-smie--forward-token, css-smie--backward-token)
19199         (css-smie-rules): New functions.
19200         (css-mode): Use them.
19201         (css-navigation-syntax-table): Remove var.
19202         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
19203         (css-indent-calculate, css-indent-line): Remove functions.
19205         Misc changes to reduce use of `(lambda...); and other cleanups.
19206         * cus-edit.el: Use lexical-binding.
19207         (customize-push-and-save, customize-apropos)
19208         (custom-buffer-create-internal): Use closures.
19209         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
19210         * progmodes/ada-xref.el: Use setq.
19211         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
19212         * dframe.el: Use lexical-binding.
19213         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
19214         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
19215         * descr-text.el: Use lexical-binding.
19216         (describe-text-widget, describe-text-sexp, describe-property-list):
19217         Use closures.
19218         * comint.el (comint-history-isearch-push-state): Use a closure.
19219         * calculator.el: Use lexical-binding.
19220         (calculator-number-to-string): Make it work with lexical-binding.
19221         (calculator-funcall): Same and use cl-letf.
19223         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
19224         (lisp--company-doc-string, lisp--company-location): New functions.
19225         (lisp-completion-at-point): Use them to improve Company support.
19227         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
19228         params of lambda expressions.
19229         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
19230         (ruby-smie--opening-pipe-p): New function.
19231         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
19232         symbols and matched |...| for formal params.
19233         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
19234         from being treated as hanging.  Handle "rescue".
19236 2013-08-29  Glenn Morris  <rgm@gnu.org>
19238         * progmodes/cc-engine.el (c-pull-open-brace):
19239         Move definition before use.
19241 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19243         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
19244         are immutable.  Don't use `unsafe' any more.
19245         (cl--defsubst-expand): Don't substitute at the same time as keeping
19246         a residual unused let-binding.  Don't use `unsafe' any more.
19248 2013-08-29  Glenn Morris  <rgm@gnu.org>
19250         * calendar/cal-china.el (calendar-chinese-year-cache):
19251         Recenter on 2015.
19253         * nxml/nxml-util.el (nxml-debug-clear-inside):
19254         Use cl-loop rather than loop.
19256         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
19258         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
19260 2013-08-28  Glenn Morris  <rgm@gnu.org>
19262         * progmodes/antlr-mode.el: No need to require cc-mode twice.
19264         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
19266         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
19268 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19270         * simple.el (repeat-complex-command--called-interactively-skip):
19271         New function.
19272         (repeat-complex-command): Use it (bug#14136).
19274         * progmodes/cc-mode.el: Minor cleanup of var declarations.
19275         (c-define-abbrev-table): Add `doc' argument.
19276         (c-mode-abbrev-table, c++-mode-abbrev-table)
19277         (objc-mode-abbrev-table, java-mode-abbrev-table)
19278         (idl-mode-abbrev-table, pike-mode-abbrev-table)
19279         (awk-mode-abbrev-table): Use it.
19280         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
19281         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
19282         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
19283         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
19284         Move initialization into the declaration; and remove any
19285         autoload cookie.
19287         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
19288         and dynamic let binding.
19290         * vc/smerge-mode.el: Remove redundant :group args.
19292         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
19293         to load-path.
19295 2013-08-28  Juri Linkov  <juri@jurta.org>
19297         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
19298         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
19299         (isearch-other-meta-char): Handle an undefined shifted printing
19300         character by downshifting it.  (Bug#15200)
19302 2013-08-28  Juri Linkov  <juri@jurta.org>
19304         * isearch.el (isearch-search): Change regexp error message for
19305         non-regexp searches.  (Bug#15166)
19307 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
19309         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
19310         for portability to hosts where /bin/sh has problems.
19312 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19314         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
19316 2013-08-27  Juri Linkov  <juri@jurta.org>
19318         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
19319         in the keyboard macro.  (Bug#15126)
19321 2013-08-27  Juri Linkov  <juri@jurta.org>
19323         * isearch.el (isearch-quote-char): Comment out converting unibyte
19324         to multibyte, thus syncing with its `quoted-insert' counterpart.
19325         (Bug#15166)
19327 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
19329         * window.el (display-buffer-use-some-window): Add missing
19330         argument in call of get-largest-window (Bug#15185).
19331         Reported by Stephen Leake.
19333 2013-08-27  Glenn Morris  <rgm@gnu.org>
19335         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
19337 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19339         * progmodes/python.el (python-font-lock-keywords): Don't return nil
19340         from a matcher-function unless there's no more matches (bug#15161).
19342 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
19344         * minibuffer.el: Revert change from 2013-08-20.
19346         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
19347         with text property `tramp-default', if appropriate.
19348         (tramp-check-proper-host): New defun.
19349         (tramp-dissect-file-name): Do not check hostname.  Revert change
19350         of 2013-03-18.
19351         (tramp-backtrace): Make VEC-OR-PROC optional.
19353         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
19354         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19355         * net/tramp-sh.el (tramp-maybe-open-connection):
19356         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
19357         Apply `tramp-check-proper-host'.
19359 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
19361         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
19362         lambda expression in order to have `describe-variable' display it.
19364 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
19366         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
19367         BUF can be optional.  (Bug#15186)
19369 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
19371         * progmodes/flymake.el (flymake-get-real-file-name-function):
19372         Fix broken customization.  (Bug#15184)
19374 2013-08-25  Alan Mackenzie  <acm@muc.de>
19376         Improve indentation of bracelists defined by macros (without "=").
19378         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
19379         expansion begins with "{", regard it as bracelist when it doesn't
19380         contain a ";".
19382         Parse C++ inher-intro when there's a template split over 2 lines.
19384         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
19385         rigorously the search for "class" etc. followed by ":".
19387         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
19388         random languages a regexp which never matches rather than nil.
19390         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
19392         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
19393         (c-awk-regexp-one-line-possibly-open-char-list-re)
19394         (c-awk-one-line-possibly-open-regexp-re)
19395         (c-awk-one-line-non-syn-ws*-re): Remove.
19396         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
19397         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
19398         (c-awk-space*-unclosed-regexp-/-re): New constants.
19399         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
19400         aren't regexp delimiters.
19402         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
19403         handling for a rare situation in AWK Mode involving unterminated
19404         strings/regexps.
19406 2013-08-23  Glenn Morris  <rgm@gnu.org>
19408         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
19410         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
19412         * files.el (create-file-buffer): If the result would begin with
19413         spaces, prepend a "|" instead of removing them.  (Bug#15162)
19415 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19417         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
19418         text-properties (bug#15155).
19420         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
19421         exist any more.
19422         (calc-keypad-redraw): Remove unused var `pad'.
19423         (calc-keypad-press): Remove unused var `menu'.
19425 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
19427         * window.el (display-buffer-pop-up-frame):
19428         Call pop-up-frame-function with BUFFER current so `make-frame' will
19429         use it as the new frame's buffer (Bug#15133).
19431 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19433         * calendar/timeclock.el: Minor cleanups.
19434         (timeclock-ask-before-exiting, timeclock-use-display-time):
19435         Use `symbol'.
19436         (timeclock-modeline-display): Define as alias before the
19437         actual definition.
19438         (timeclock-mode-line-display): Use define-minor-mode.
19439         (timeclock-day-list-template): Make it a function, add an argument.
19440         (timeclock-day-list-required, timeclock-day-list-length)
19441         (timeclock-day-list-debt, timeclock-day-list-span)
19442         (timeclock-day-list-break): Adjust calls accordingly.
19444 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19446         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
19447         Use read--expression so that completion works again.
19449 2013-08-21  Sam Steingold  <sds@gnu.org>
19451         Add rudimentary inferior shell interaction
19452         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
19453         (sh-set-shell): Reset it.
19454         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
19455         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
19457 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19459         * align.el: Use lexical-binding.
19460         (align-region): Simplify accordingly.
19462 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
19464         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
19466         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
19467         `non-essential' up.
19469 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
19471         * net/tramp.el:
19472         * net/tramp-adb.el:
19473         * net/tramp-cmds.el:
19474         * net/tramp-ftp.el:
19475         * net/tramp-gvfs.el:
19476         * net/tramp-gw.el:
19477         * net/tramp-sh.el: Don't wrap external variable declarations by
19478         `eval-when-compile'.
19480 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19482         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
19483         now that Emacs supports ImageMagick animations.
19485 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
19487         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
19488         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
19490 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
19492         * window.el (mouse-autoselect-window-select): Do autoselect when
19493         mouse pointer is on margin.
19495 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
19497         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
19499 2013-08-16  Glenn Morris  <rgm@gnu.org>
19501         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
19502         Handle "Remote Directory" response of some clients.  (Bug#15058)
19504         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
19505         Tweak warning.  (Bug#14926)
19507         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
19508         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
19510         * image-mode.el (image-mode-map): Add menu items to reverse,
19511         increase, decrease, reset animation speed.
19512         (image--set-speed, image-increase-speed, image-decrease-speed)
19513         (image-reverse-speed, image-reset-speed): New functions.
19514         (image-mode-map): Add bindings for speed commands.
19516         * image.el (image-animate-get-speed, image-animate-set-speed):
19517         New functions.
19518         (image-animate-timeout): Respect image :speed property.
19520 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19522         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
19523         previous line (bug#15101).
19524         (debugger-eval-expression, debugger-record-expression):
19525         Use read--expression (bug#15102).
19527 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
19529         Remove byte compiler warnings, visible when compiling with
19530         `byte-compile-force-lexical-warnings' set to t.
19532         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
19533         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
19534         (tramp-handle-unhandled-file-name-directory)
19535         (tramp-handle-file-notify-add-watch, tramp-action-login)
19536         (tramp-action-succeed, tramp-action-permission-denied)
19537         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
19538         arguments with "_".
19540         * net/tramp-adb.el (tramp-adb-parse-device-names)
19541         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
19542         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
19543         (tramp-adb-handle-file-truename): Remove unused arguments.
19545         * net/tramp-cache.el (tramp-flush-directory-property)
19546         (tramp-flush-connection-property, tramp-list-connections)
19547         (tramp-parse-connection-properties): Prefix unused arguments with "_".
19549         * net/tramp-compat.el (tramp-compat-make-temp-file):
19550         Rename FILENAME to F.
19552         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
19553         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
19554         (tramp-zeroconf-parse-workstation-device-names)
19555         (tramp-zeroconf-parse-webdav-device-names)
19556         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
19558         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
19559         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
19561         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
19562         arguments.
19563         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
19564         (tramp-sh-handle-insert-file-contents-literally)
19565         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
19566         with "_".
19567         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
19568         Remove unused variables.
19570         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
19571         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
19572         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
19574         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
19575         Make them a defconst.
19576         (tramp-uuencode-region): Remove unused variable.
19578 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
19580         * frameset.el (frameset--prop-setter): New function.
19581         (frameset-prop): Add gv-setter declaration.
19582         (frameset-filter-minibuffer): Deal with the case that the minibuffer
19583         parameter was already set in FILTERED.  Doc fix.
19584         (frameset--record-minibuffer-relationships): Allow saving a
19585         minibufferless frame without its corresponding minibuffer frame.
19586         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
19587         frame, if the frame id matches.
19588         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
19589         frames before orphaned ones.
19590         (frameset-restore): Warn about orphaned windows, instead of error out.
19592 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
19594         * window.el (window-make-atom): Don't overwrite parameter
19595         already present.
19596         (display-buffer-in-atom-window): Handle special case where we
19597         split an already atomic window.
19598         (window--major-non-side-window, display-buffer-in-side-window)
19599         (window--side-check): Ignore minibuffer window when walking
19600         window tree.
19601         (window-deletable-p): Return 'frame only if no other frame uses
19602         our minibuffer window.
19603         (record-window-buffer): Run buffer-list-update-hook.
19604         (split-window): Make sure window--check-frame won't destroy an
19605         existing atomic window in case the new window gets nested
19606         inside.
19607         (display-buffer-at-bottom): Ignore minibuffer window when
19608         walking window tree.  Don't split a side window.
19609         (pop-to-buffer): Don't set-buffer here, the select-window call
19610         should do that.
19611         (mouse-autoselect-window-select): Autoselect only if we are in the
19612         text portion of the window.
19614 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19616         * net/shr.el (shr-parse-image-data): New function to grab both the
19617         data itself and the Content-Type.
19618         (shr-put-image): Use it.
19620         * net/eww.el (eww-display-image): Ditto.
19622         * image.el (image-content-type-suffixes): New variable.
19624 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
19626         * progmodes/python.el (python-imenu--build-tree)
19627         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
19629 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
19631         * simple.el (backward-word): Mention the optional argument.
19633 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19635         * frameset.el (frameset--make): Rename constructor from make-frameset.
19636         (frameset-p, frameset-valid-p): Don't autoload.
19637         (frameset-valid-p): Use normal accessors.
19639 2013-08-13  Glenn Morris  <rgm@gnu.org>
19641         * progmodes/compile.el (compile-command): Tweak example in doc.
19642         * obsolete/scribe.el (scribe-mode):
19643         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
19645         * mail/feedmail.el (feedmail-confirm-outgoing)
19646         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
19648         * cus-start.el (truncate-partial-width-windows): Fix type.
19650         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
19652         * net/shr.el (shr-table-horizontal-line): Fix custom type.
19654 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19656         * emacs-lisp/timer.el (timer--time-setter): New function.
19657         (timer--time): Use it as gv-setter.
19659         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
19660         setter is not a symbol.
19662 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
19664         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
19665         if sending fails.  This makes debugging easier.
19667 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
19669         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
19670         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
19671         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
19673 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
19675         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
19677 2013-08-12  Glenn Morris  <rgm@gnu.org>
19679         * format.el (format-annotate-function):
19680         Handle read-only text properties in the source.  (Bug#14887)
19682 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19684         * net/eww.el (eww-display-html): Ignore coding system errors.
19685         One web site uses "utf-8lias" as the coding system.
19687 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
19689         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
19691 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
19693         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
19694         (tutorial--detailed-help): Remove unused local variables.
19695         (tutorial--save-tutorial-to): Use ignore-errors.
19696         (help-with-tutorial): Use looking-at-p.
19698         * view.el (view-buffer-other-window, view-buffer-other-frame):
19699         Mark unused arguments.
19701         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
19702         (woman-select-symbol-fonts, woman, woman-find-file)
19703         (woman-insert-file-contents, woman-non-underline-faces):
19704         Use string-match-p.
19705         (woman1-unquote): Move declaration.
19707         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
19708         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
19709         argument.  Remove unused local variable.
19710         (xml-parse-elem-type): Use string-match-p.
19711         (xml-substitute-numeric-entities): Use ignore-errors.
19713         * calculator.el (calculator): Mark unused argument.
19714         (calculator-paste, calculator-quit, calculator-integer-p):
19715         Use ignore-errors.
19716         (calculator-string-to-number, calculator-decimal, calculator-exp)
19717         (calculator-op-or-exp): Use string-match-p.
19719         * dired.el (dired-buffer-more-recently-used-p): Declare.
19720         (dired-insert-set-properties, dired-insert-old-subdirs):
19721         Use ignore-errors.
19723         * dired-aux.el (dired-compress): Use ignore-errors.
19724         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
19725         (dired-do-async-shell-command, dired-do-shell-command)
19726         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
19727         (dired-insert-subdir-validate): Use string-match-p.
19728         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19729         (dired-add-entry): Use string-match-p, looking-at-p.
19730         (dired-insert-subdir-newpos): Remove unused local variable.
19732         * filenotify.el (file-notify-callback): Remove unused local variable.
19734         * filesets.el (filesets-error): Mark unused argument.
19735         (filesets-which-command-p, filesets-filter-dir-names)
19736         (filesets-directory-files, filesets-get-external-viewer)
19737         (filesets-ingroup-get-data): Use string-match-p.
19739         * find-file.el (ff-other-file-name, ff-other-file-name)
19740         (ff-find-the-other-file, ff-cc-hh-converter):
19741         Remove unused local variables.
19742         (ff-get-file-name): Use string-match-p.
19743         (ff-all-dirs-under): Use ignore-errors.
19745         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19746         (follow-select-if-visible): Remove unused local variable.
19748         * forms.el (read-file-filter): Move declaration.
19749         (forms--make-format, forms--make-parser, forms-insert-record):
19750         Quote function with #'.
19751         (forms--update): Use string-match-p.  Quote function with #'.
19753         * help-mode.el (help-dir-local-var-def): Mark unused argument.
19754         (help-make-xrefs): Use looking-at-p.
19755         (help-xref-on-pp): Use looking-at-p, ignore-errors.
19757         * ibuffer.el (ibuffer-ext-visible-p): Declare.
19758         (ibuffer-confirm-operation-on): Use string-match-p.
19760         * msb.el (msb-item-handler, msb-dired-item-handler):
19761         Mark unused arguments.
19763         * ses.el (ses-decode-cell-symbol)
19764         (ses-kill-override): Remove unused local variable.
19765         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19766         (ses-load): Use ignore-errors, looking-at-p.
19767         (ses-jump-safe): Use ignore-errors.
19768         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19770         * tabify.el (untabify, tabify): Mark unused arguments.
19772         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19773         Mark unused argument.
19774         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19775         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19777         * emacs-lisp/timer.el (timer--time): Define setter with
19778         gv-define-setter to avoid deprecation warning.
19780         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19781         (*record-cmpl-statistics-p*): Remove (was commented out).
19782         (cmpl-statistics-block): Remove (body was commented out).
19783         All callers changed.
19784         (add-completions-from-buffer, load-completions-from-file):
19785         Remove unused variables.
19787 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
19789         * filecache.el (file-cache-delete-file-list):
19790         Print message only when told so.
19791         (file-cache-files-matching): Use #' in mapconcat argument.
19793         * ffap.el (ffap-url-at-point): Fix reference to variable
19794         thing-at-point-default-mail-uri-scheme.
19796 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19798         * subr.el (define-error): New function.
19799         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19800         error-file-not-found and define with define-error.
19801         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19802         and define with define-error.
19803         * userlock.el (file-locked, file-supersession):
19804         * simple.el (mark-inactive):
19805         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19806         * progmodes/ada-mode.el (ada-mode-errors):
19807         * play/life.el (life-extinct):
19808         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19809         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19810         * nxml/rng-util.el (rng-error):
19811         * nxml/rng-uri.el (rng-uri-error):
19812         * nxml/rng-match.el (rng-compile-error):
19813         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19814         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19815         * nxml/nxml-rap.el (nxml-scan-error):
19816         * nxml/nxml-outln.el (nxml-outline-error):
19817         * net/soap-client.el (soap-error):
19818         * net/gnutls.el (gnutls-error):
19819         * net/ange-ftp.el (ftp-error):
19820         * mpc.el (mpc-proc-error):
19821         * json.el (json-error, json-readtable-error, json-unknown-keyword)
19822         (json-number-format, json-string-escape, json-string-format)
19823         (json-key-format, json-object-format):
19824         * jka-compr.el (compression-error):
19825         * international/quail.el (quail-error):
19826         * international/kkc.el (kkc-error):
19827         * emacs-lisp/ert.el (ert-test-failed):
19828         * calc/calc.el (calc-error, inexact-result, math-overflow)
19829         (math-underflow):
19830         * bookmark.el (bookmark-error-no-filename):
19831         * epg.el (epg-error): Define with define-error.
19833         * time.el (display-time-event-handler)
19834         (display-time-next-load-average): Don't call sit-for since it seems
19835         unnecessary (bug#15045).
19837         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19838         Use #' instead of ' to quote functions.
19839         (checkdoc-output-mode): Use setq-local.
19840         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19841         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19842         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19843         (checkdoc-ispell, checkdoc-ispell-current-buffer)
19844         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19845         (checkdoc-ispell-message-text, checkdoc-ispell-start)
19846         (checkdoc-ispell-continue, checkdoc-ispell-comments)
19847         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19849         * ido.el (ido-completion-help): Fix up compiler warning.
19851 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
19853         * frameset.el (frameset-p): Add autoload cookie.
19854         (frameset--jump-to-register): New function, based on code moved from
19855         register.el.
19856         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
19858         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19859         (frameset-restore, frameset-save, frameset-session-filter-alist):
19860         Remove declarations.
19861         (register-alist): Doc fix.
19862         (frameset-to-register): Move to frameset.el.
19863         (jump-to-register, describe-register-1): Remove frameset-specific code.
19865 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
19867         * allout-widgets.el (allout-widgets-pre-command-business)
19868         (allout-widgets-post-command-business)
19869         (allout-widgets-after-change-handler)
19870         (allout-decorate-item-and-context, allout-set-boundary-marker)
19871         (allout-body-modification-handler)
19872         (allout-graphics-modification-handler): Mark ignored arguments.
19873         (allout-widgets-post-command-business)
19874         (allout-widgets-exposure-change-processor)
19875         (allout-widgets-exposure-undo-processor)
19876         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19877         (allout-parse-item-at-point, allout-decorate-item-guides)
19878         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19879         * allout.el (epa-passphrase-callback-function): Declare.
19880         (allout-overlay-insert-in-front-handler)
19881         (allout-overlay-interior-modification-handler)
19882         (allout-isearch-end-handler, allout-chart-siblings)
19883         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
19884         (allout-yank-processing, allout-process-exposed)
19885         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
19886         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
19887         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
19888         (lisp-indent-defform): Mark ignored arguments.
19889         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
19890         (calculate-lisp-indent): Remove unused variables.
19891         * international/characters.el (indian-2-column, arabic-2-column)
19892         (tibetan): Mark ignored arguments.
19893         (use-cjk-char-width-table): Mark ignored arguments.
19894         Remove unused variables.
19895         * international/fontset.el (build-default-fontset-data)
19896         (x-compose-font-name, create-fontset-from-fontset-spec):
19897         Mark ignored arguments.
19898         (fontset-plain-name): Remove unused variables.
19899         * international/mule.el (charset-id, charset-bytes, generic-char-p)
19900         (keyboard-coding-system): Mark ignored arguments.
19901         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
19902         * help.el (resize-temp-buffer-window):
19903         * window.el (display-buffer-in-major-side-window)
19904         (display-buffer-in-side-window, display-buffer-in-previous-window):
19905         Remove unused variables.
19906         * isearch.el (isearch-forward-symbol):
19907         * version.el (emacs-bzr-version-bzr):
19908         * international/mule-cmds.el (current-language-environment):
19909         * term/common-win.el (x-handle-iconic, x-handle-geometry)
19910         (x-handle-display):
19911         * term/pc-win.el (x-list-fonts, x-display-planes)
19912         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
19913         (x-server-version, x-display-screens, x-display-mm-height)
19914         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
19915         (x-selection-owner-p, x-own-selection-internal)
19916         (x-disown-selection-internal, x-get-selection-internal)
19917         (msdos-initialize-window-system):
19918         * term/tty-colors.el (tty-color-alist, tty-color-clear):
19919         * term/x-win.el (x-handle-no-bitmap-icon):
19920         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
19921         (vc-default-find-file-hook, vc-default-extra-menu):
19922         Mark ignored arguments.
19924 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19926         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
19927         break-condition in the context of the debugged code (bug#12685).
19929 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
19931         * comint.el:
19932         Do not use an overlay to highlight the last prompt.  (Bug#14744)
19933         (comint-mode): Make comint-last-prompt buffer local.
19934         (comint-last-prompt): New variable.
19935         (comint-last-prompt-overlay): Remove.  Superseded by
19936         comint-last-prompt.
19937         (comint-snapshot-last-prompt, comint-output-filter):
19938         Use comint-last-prompt.
19940 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
19942         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
19943         (frameset-save): Check validity of the resulting frameset.
19945 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
19947         * ido.el (ido-record-command): Add doc string.
19949 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
19951         * frameset.el (frameset): Do not disable creation of the default
19952         frameset-p predicate.  Doc fix.
19953         (frameset-valid-p): New function, copied from the old predicate-p.
19954         Add additional checks.
19955         (frameset-restore): Check with frameset-valid-p.
19956         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
19957         (frameset-name, frameset-description, frameset-properties)
19958         (frameset-states): Add docstring.
19959         (frameset-session-filter-alist, frameset-persistent-filter-alist)
19960         (frameset-filter-alist): Doc fixes.
19962 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
19964         * frameset.el (frameset-p, frameset-prop): Doc fixes.
19966 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19968         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19969         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
19970         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
19971         (byte-compile-normal-call): Remove obsolescence check.
19973 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
19975         * frameset.el (frameset-restore): Doc fix.
19977         * register.el (frameset-frame-id, frameset-frame-with-id)
19978         (frameset-p, frameset-restore, frameset-save): Declare.
19979         (register-alist): Document framesets.
19980         (frameset-session-filter-alist): Declare.
19981         (frameset-to-register): New function.
19982         (jump-to-register): Implement jumping to framesets.  Doc fix.
19983         (describe-register-1): Describe framesets.
19985         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
19987 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
19989         * desktop.el (desktop-save-frameset): Use new frameset-save args.
19990         Use lexical-binding.
19992         * frameset.el (frameset): Use type vector, not list (incompatible
19993         change).  Do not declare a new constructor, use the default one.
19994         Upgrade suggested properties `app', `name' and `desc' to slots `app',
19995         `name' and `description', respectively, and add read-only slot
19996         `timestamp'.  Doc fixes.
19997         (frameset-copy, frameset-persistent-filter-alist)
19998         (frameset-filter-alist, frameset-switch-to-gui-p)
19999         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
20000         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
20001         (frameset-filter-iconified, frameset-keep-original-display-p):
20002         Doc fixes.
20003         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
20004         Rename from frameset-filter-(save|restore)-param.  All callers changed.
20005         Doc fix.
20006         (frameset-p): Adapt to change to vector and be more thorough.
20007         Change arg name to OBJECT.  Doc fix.
20008         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
20009         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
20010         All callers changed.
20011         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
20012         All callers changed.
20013         (frameset--record-minibuffer-relationships): Rename from
20014         frameset--process-minibuffer-frames.  All callers changed.
20015         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
20016         Use new default constructor (again).  Doc fix.
20017         (frameset--find-frame-if): Rename from `frameset--find-frame'.
20018         All callers changed.
20019         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
20020         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
20021         Doc fix.
20022         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
20023         PARAMETERS and WINDOW-STATE, respectively.
20024         (frameset-restore): Add new keyword argument PREDICATE.
20025         Reset frameset--target-display to nil.  Doc fix.
20027 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
20029         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
20030         (bat-mode): Use it.
20031         (bat-mode-syntax-table): Mark \n as end-of-comment.
20032         (bat-font-lock-keywords): Remove comment rule.
20034         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
20035         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
20037         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
20038         (byte-compile-callargs-warn): Use `push'.
20039         (byte-compile-arglist-warn): Ignore higher-order "calls".
20040         (byte-compile-file-form-autoload): Use `pcase'.
20041         (byte-compile-function-form): If quoting a symbol, check that it exists.
20043 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
20045         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
20046         and add a few popular commands found in batch files.
20047         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
20048         (dos-mode): Doc fixes.
20050 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
20052         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
20053         (dos-mode): Use setq-local.  Add space after "rem".
20054         (dos-mode-syntax-table): Don't use "w" for symbol chars.
20055         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
20057 2013-08-07  Arni Magnusson  <arnima@hafro.is>
20059         * progmodes/dos.el: New file.
20060         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
20061         dos-mode.
20063 2013-08-06  Glenn Morris  <rgm@gnu.org>
20065         * calendar/calendar.el: Add new faces, and day-header-array.
20066         (calendar-weekday-header, calendar-weekend-header)
20067         (calendar-month-header): New faces.
20068         (calendar-day-header-construct): New function.
20069         (calendar-day-header-width): Also :set calendar-day-header-array.
20070         (calendar-american-month-header, calendar-european-month-header)
20071         (calendar-iso-month-header): Use calendar- faces.
20072         (calendar-generate-month):
20073         Use calendar-day-header-array for day headers; apply faces to them.
20074         (calendar-mode): Check calendar-font-lock-keywords non-nil.
20075         (calendar-abbrev-construct): Add optional maxlen argument.
20076         (calendar-day-name-array): Doc fix.
20077         (calendar-day-name-array, calendar-abbrev-length)
20078         (calendar-day-abbrev-array):
20079         Also :set calendar-day-header-array, and maybe redraw.
20080         (calendar-day-header-array): New option.  (Bug#15007)
20081         (calendar-font-lock-keywords): Set to nil and make obsolete.
20082         (calendar-day-name): Add option to use header array.
20084 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20086         * net/shr.el (shr-render-td): Remove debugging.
20087         (shr-render-td): Make width computation consistent by defaulting
20088         all zero-width columns to 10 characters.  This may not be optimal,
20089         but it's at least consistent.
20090         (shr-make-table-1): Redo last change to fix the real problem in
20091         colspan handling.
20093 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
20095         * files.el (cache-long-line-scans):
20096         Make obsolete alias to `cache-long-scans'.
20098 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
20100         * frameset.el (frameset, frameset-filter-alist)
20101         (frameset-filter-params, frameset-save, frameset--reuse-frame)
20102         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
20103         (frameset-compute-pos): Rename from frameset--compute-pos,
20104         and add docstring.
20105         (frameset-move-onscreen): Use frameset-compute-pos.
20106         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
20108         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
20109         Fix typos in docstrings.
20111 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
20113         * frame.el (get-other-frame): Tiny cleanup.
20115 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
20117         * vc/vc.el (vc-default-ignore-completion-table):
20118         Silence byte-compiler warning.
20120         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
20121         slot, which can indeed be nil.
20122         (frameset-live-filter-alist, frameset-persistent-filter-alist):
20123         Move entry for `left' from persistent to live filter alist.
20124         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
20125         Doc fixes.
20126         (frameset-filter-params): When restoring a frame, copy items added to
20127         `filtered', to avoid unwittingly modifying the original parameters.
20128         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
20129         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
20131         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
20132         to use looking-at-p instead of looking-at.  (Bug#15028)
20134 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20136         Revert introduction of isearch-filter-predicates (bug#14714).
20137         Rely on add-function instead.
20138         * isearch.el (isearch-filter-predicates): Rename it back to
20139         isearch-filter-predicate.
20140         (isearch-message-prefix): Use advice-function-mapc and advice
20141         properties to get the isearch-message-prefix.
20142         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
20143         instead of run-hook-with-args-until-failure.
20144         (isearch-filter-visible): Not obsolete any more.
20145         * loadup.el: Preload nadvice.
20146         * replace.el (perform-replace): Revert to funcall
20147         instead of run-hook-with-args-until-failure.
20148         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
20149         * dired-aux.el (dired-isearch-filenames-mode): Rename from
20150         dired-isearch-filenames-toggle; make it into a proper minor mode.
20151         Use add/remove-function.
20152         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
20153         Call the minor-mode rather than add/remove-hook.
20154         (dired-isearch-filter-filenames):
20155         Remove isearch-message-prefix property.
20156         * info.el (Info--search-loop): New function, extracted from Info-search.
20157         Funcall isearch-filter-predicate instead of
20158         run-hook-with-args-until-failure isearch-filter-predicates.
20159         (Info-search): Use it.
20160         (Info-mode): Use isearch-filter-predicate instead of
20161         isearch-filter-predicates.
20163 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
20165         Do not call to `selected-window' where it is assumed by default.
20166         Affected functions are `window-minibuffer-p', `window-dedicated-p',
20167         `window-hscroll', `window-width', `window-height', `window-buffer',
20168         `window-frame', `window-start', `window-point', `next-window'
20169         and `window-display-table'.
20170         * abbrev.el (abbrev--default-expand):
20171         * bs.el (bs--show-with-configuration):
20172         * buff-menu.el (Buffer-menu-mouse-select):
20173         * calc/calc.el (calc):
20174         * calendar/calendar.el (calendar-generate-window):
20175         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
20176         (diary-make-entry):
20177         * comint.el (send-invisible, comint-dynamic-complete-filename)
20178         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
20179         * completion.el (complete):
20180         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
20181         * disp-table.el (describe-current-display-table):
20182         * doc-view.el (doc-view-insert-image):
20183         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
20184         * ehelp.el (with-electric-help):
20185         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
20186         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
20187         * emacs-lisp/helper.el (Helper-help-scroller):
20188         * emulation/cua-base.el (cua--post-command-handler-1):
20189         * eshell/esh-mode.el (eshell-output-filter):
20190         * ffap.el (ffap-gnus-wrapper):
20191         * help-macro.el (make-help-screen):
20192         * hilit-chg.el (highlight-compare-buffers):
20193         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
20194         * hl-line.el (global-hl-line-highlight):
20195         * icomplete.el (icomplete-simple-completing-p):
20196         * isearch.el (isearch-done):
20197         * jit-lock.el (jit-lock-stealth-fontify):
20198         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
20199         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
20200         * mpc.el (mpc-tagbrowser, mpc):
20201         * net/rcirc.el (rcirc-any-buffer):
20202         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
20203         * play/landmark.el (landmark-max-width, landmark-max-height):
20204         * play/zone.el (zone):
20205         * progmodes/compile.el (compilation-goto-locus):
20206         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
20207         * progmodes/etags.el (find-tag-other-window):
20208         * progmodes/fortran.el (fortran-column-ruler):
20209         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
20210         * progmodes/verilog-mode.el (verilog-point-text):
20211         * reposition.el (reposition-window):
20212         * rot13.el (toggle-rot13-mode):
20213         * server.el (server-switch-buffer):
20214         * shell.el (shell-dynamic-complete-command)
20215         (shell-dynamic-complete-environment-variable):
20216         * simple.el (insert-buffer, set-selective-display)
20217         (delete-completion-window):
20218         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
20219         (speedbar-recenter):
20220         * startup.el (fancy-splash-head):
20221         * textmodes/ispell.el (ispell-command-loop):
20222         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
20223         * tutorial.el (help-with-tutorial):
20224         * vc/add-log.el (add-change-log-entry):
20225         * vc/compare-w.el (compare-windows):
20226         * vc/ediff-help.el (ediff-indent-help-message):
20227         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
20228         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
20229         (ediff-setup-control-frame):
20230         * vc/emerge.el (emerge-position-region):
20231         * vc/pcvs-util.el (cvs-bury-buffer):
20232         * window.el (walk-windows, mouse-autoselect-window-select):
20233         * winner.el (winner-set-conf, winner-undo): Related users changed.
20235 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
20237         * frameset.el (frameset--set-id): Doc fix.
20238         (frameset-frame-id, frameset-frame-id-equal-p)
20239         (frameset-locate-frame-id): New functions.
20240         (frameset--process-minibuffer-frames, frameset--reuse-frame)
20241         (frameset-restore): Use them.
20243 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
20245         Do not call to `selected-frame' where it is assumed by default.
20246         Affected functions are `raise-frame', `redraw-frame',
20247         `frame-first-window', `frame-terminal' and `delete-frame'.
20248         * calendar/appt.el (appt-disp-window):
20249         * epg.el (epg-wait-for-completion):
20250         * follow.el (follow-delete-other-windows-and-split)
20251         (follow-avoid-tail-recenter):
20252         * international/mule.el (set-terminal-coding-system):
20253         * mail/rmail.el (rmail-mail-return):
20254         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
20255         * progmodes/f90.el (f90-add-imenu-menu):
20256         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
20257         * server.el (server-switch-buffer):
20258         * simple.el (delete-completion-window):
20259         * talk.el (talk):
20260         * term/xterm.el (terminal-init-xterm-modify-other-keys)
20261         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
20262         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
20263         * vc/ediff.el (ediff-documentation): Related users changed.
20264         * frame.el (selected-terminal): Remove the leftover.
20266 2013-08-05  Glenn Morris  <rgm@gnu.org>
20268         * calendar/calendar.el (calendar-generate-month):
20269         Fix for calendar-column-width != 1 + calendar-day-digit-width.
20270         (calendar-generate-month, calendar-font-lock-keywords):
20271         Fix for calendar-day-header-width > length of any day name.
20273 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
20275         * desktop.el (desktop-clear): Use new name of sort predicate.
20277         * frameset.el (frameset): Add docstring.  Move :version property to its
20278         own `version' slot.
20279         (frameset-copy): Rename from copy-frameset.
20280         (frameset-p): Check more thoroughly.
20281         (frameset-prop): Do not check for :version, which is no longer a prop.
20282         (frameset-live-filter-alist, frameset-persistent-filter-alist):
20283         Use new :never value instead of t.
20284         (frameset-filter-alist): Expand and clarify docstring.
20285         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
20286         (frameset-filter-minibuffer, frameset-filter-save-param)
20287         (frameset-filter-restore-param, frameset-filter-iconified):
20288         Add pointer to docstring of frameset-filter-alist.
20289         (frameset-filter-params): Rename filter values to be more meaningful:
20290         :never instead of t, and reverse the meanings of :save and :restore.
20291         (frameset--process-minibuffer-frames): Clarify error message.
20292         (frameset-save): Avoid unnecessary and confusing call to framep.
20293         Use new BOA constructor for framesets.
20294         (frameset--reuse-list): Doc fix.
20295         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
20296         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
20297         (frameset-minibufferless-first-p): Doc fix.
20298         Rename from frameset-sort-frames-for-deletion.
20299         (frameset-restore): Doc fixes.  Use new function names.
20300         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
20302 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
20304         * desktop.el (desktop-restore-forces-onscreen)
20305         (desktop-restore-reuses-frames): Document :keyword constant values.
20306         (desktop-filter-parameters-alist): Remove, now identical to
20307         frameset-filter-alist.
20308         (desktop--filter-tty*): Remove, moved to frameset.el.
20309         (desktop-save-frameset, desktop-restore-frameset):
20310         Do not pass :filters argument.
20312         * frameset.el (frameset-live-filter-alist)
20313         (frameset-persistent-filter-alist): New variables.
20314         (frameset-filter-alist): Use them.  Add autoload cookie.
20315         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
20316         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
20317         `frameset--id' (it's supposed to be internal to frameset.el).
20318         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
20319         (frameset--initial-params): New function.
20320         (frameset--get-frame): Use it.  Doc fix.
20321         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
20322         Accept :all, not 'all.
20323         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
20324         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
20325         with fbound symbols.  Fix frame id matching, and remove matching ids if
20326         the frame being restored is deleted.  Obey :delete.
20328 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20330         * subr.el (macrop): New function.
20331         (text-clone--maintaining): New var.
20332         (text-clone--maintain): Rename from text-clone-maintain.  Use it
20333         instead of inhibit-modification-hooks.
20335         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
20336         a proxy, so as handle autoloads and redefinitions of the target.
20337         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
20339         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
20340         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
20341         (pcase--mutually-exclusive-p): New function.
20342         (pcase--split-consp): Use it.
20343         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
20344         mutually exclusive with the current predicate.
20346         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
20347         (edebug-macrop): Remove.  Use `macrop' instead.
20348         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
20349         (ad-macro-p):
20350         * eshell/esh-cmd.el (eshell-macrop):
20351         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
20353 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20355         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
20356         (advice-mapc): New function, using it.
20357         (advice-function-member-p): New function.
20358         (advice--normalize): Store the cdr in advice--saved-rewrite since
20359         that's the part that will be changed.
20360         (advice--symbol-function): New function.
20361         (advice-remove): Handle removal before the function is defined.
20362         Adjust to new advice--saved-rewrite.
20363         (advice-member-p): Use advice-function-member-p and
20364         advice--symbol-function.
20366 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
20368         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
20369         (frameset-filter-minibuffer): Doc fix.
20370         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
20371         (frameset--set-id, frameset--process-minibuffer-frames)
20372         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
20373         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
20375         * desktop.el (desktop-clear): Only delete frames when called
20376         interactively and desktop-restore-frames is non-nil.  Doc fix.
20377         (desktop-read): Set desktop-saved-frameset to nil.
20379 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
20381         * vc/vc.el (vc-ignore): Rewrite.
20382         (vc-default-ignore-completion-table, vc--read-lines)
20383         (vc--add-line, vc--remove-regexp): New functions.
20385         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
20386         (vc-svn-ignore-completion-table): New function.
20388         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
20389         (vc-hg-ignore-completion-table)
20390         (vc-hg-find-ignore-file): New functions.
20392         * vc/vc-git.el (vc-git-ignore): Rewrite.
20393         (vc-git-ignore-completion-table)
20394         (vc-git-find-ignore-file): New functions.
20396         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
20398         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
20399         (vc-bzr-ignore-completion-table)
20400         (vc-bzr-find-ignore-file): New functions.
20402 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
20404         * frameset.el (frameset-prop): New function and setter.
20405         (frameset-save): Do not modify frame list passed by the caller.
20407 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
20409         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
20411 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
20413         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
20414         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
20416         * custom.el (custom-initialize-default, custom-initialize-set)
20417         (custom-initialize-reset, custom-initialize-changed): Affect the
20418         toplevel-default-value (bug#6275, bug#14586).
20419         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
20420         for bug#6275.
20422 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
20424         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
20425         Add cl-def* expressions.
20427         * frameset.el (frameset-filter-params): Fix order of arguments.
20429 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
20431         Move code related to saving frames to frameset.el.
20432         * desktop.el: Require frameset.
20433         (desktop-restore-frames): Doc fix.
20434         (desktop-restore-reuses-frames): Rename from
20435         desktop-restoring-reuses-frames.
20436         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
20437         (desktop-clear): Clear frames too.
20438         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
20439         (desktop--filter-tty*, desktop-save, desktop-read):
20440         Use frameset functions.
20441         (desktop-before-saving-frames-functions, desktop--filter-*-color)
20442         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20443         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
20444         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
20445         (desktop--process-minibuffer-frames, desktop-save-frames)
20446         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
20447         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
20448         (desktop--sort-states, desktop-restoring-frames-p)
20449         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
20450         (desktop-restoring-frameset-p, desktop-restore-frameset)
20451         (desktop--check-dont-save, desktop-save-frameset): New functions.
20452         (desktop--app-id): New constant.
20453         (desktop-first-buffer, desktop-buffer-ok-count)
20454         (desktop-buffer-fail-count): Move before first use.
20455         * frameset.el: New file.
20457 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20459         * files.el: Use lexical-binding.
20460         (dir-locals-read-from-file): Remove unused `err' variable.
20461         (hack-dir-local-variables--warned-coding): New var.
20462         (hack-dir-local-variables): Use it to avoid repeated warnings.
20463         (make-backup-file-name--default-function): New function.
20464         (make-backup-file-name-function): Use it as default.
20465         (buffer-stale--default-function): New function.
20466         (buffer-stale-function): Use it as default.
20467         (revert-buffer-insert-file-contents--default-function): New function.
20468         (revert-buffer-insert-file-contents-function): Use it as default.
20469         (insert-directory): Avoid add-to-list.
20471         * autorevert.el (auto-revert-handler): Simplify.
20472         Use buffer-stale--default-function.
20474 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
20476         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
20478         * whitespace.el (whitespace-ensure-local-variables): New function.
20479         (whitespace-cleanup-region): Call it.
20480         (whitespace-turn-on): Call it.
20482 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
20484         Complete file name handlers.
20486         * net/tramp.el (tramp-handle-set-visited-file-modtime)
20487         (tramp-handle-verify-visited-file-modtime)
20488         (tramp-handle-file-notify-rm-watch): New functions.
20489         (tramp-call-process): Do not bind `default-directory'.
20491         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20492         Order alphabetically.
20493         <access-file, add-name-to-file, dired-call-process>:
20494         <dired-compress-file, file-acl, file-notify-rm-watch>:
20495         <file-ownership-preserved-p, file-selinux-context>:
20496         <make-directory-internal, make-symbolic-link, set-file-acl>:
20497         <set-file-selinux-context, set-visited-file-modtime>:
20498         <verify-visited-file-modtime>: Add handler.
20499         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
20501         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
20502         <file-notify-add-watch, file-notify-rm-watch>:
20503         <set-file-times, set-visited-file-modtime>:
20504         <verify-visited-file-modtime>: Add handler.
20505         (with-tramp-gvfs-error-message)
20506         (tramp-gvfs-handle-set-visited-file-modtime)
20507         (tramp-gvfs-fuse-file-name): Remove.
20508         (tramp-gvfs-handle-file-notify-add-watch)
20509         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
20510         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
20512         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20513         Order alphabetically.
20514         <file-notify-rm-watch>: Use default Tramp handler.
20515         <executable-find>: Remove private handler.
20516         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
20517         `default-directory'.
20518         (tramp-sh-handle-executable-find)
20519         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
20520         (tramp-sh-file-gvfs-monitor-dir-process-filter)
20521         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
20522         Do not use `format' in `tramp-message'.
20524         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
20525         <file-notify-rm-watch, set-visited-file-modtime>:
20526         <verify-visited-file-modtime>: Add handler.
20527         (tramp-smb-call-winexe): Do not bind `default-directory'.
20529 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
20531         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
20533 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
20535         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
20536         use it.
20537         (log-view-diff-changeset): Same.
20538         (log-view-diff-common): Call backend command `previous-revision'
20539         to find out the previous revision, in both cases.  Swap the
20540         variables `to' and `fr', so that `fr' usually refers to the
20541         earlier revision (Bug#14989).
20543 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
20545         * ibuf-ext.el (ibuffer-filter-by-filename):
20546         Make it work with dired buffers too.
20548 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
20550         * emacs-lisp/re-builder.el (reb-color-display-p):
20551         * files.el (save-buffers-kill-terminal):
20552         * net/browse-url.el (browse-url):
20553         * server.el (server-save-buffers-kill-terminal):
20554         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
20555         Prefer nil to selected-frame for the first arg of frame-parameter.
20557 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
20559         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
20561 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
20563         * minibuffer.el (completion--twq-all): Try and preserve each
20564         completion's case choice (bug#14907).
20566 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20568         * net/network-stream.el (open-network-stream): Mention the new
20569         :nogreeting parameter.
20570         (network-stream-open-starttls): Use the :nogreeting parameter
20571         (bug#14938).
20573         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
20575         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
20576         more natural than popping.
20578         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
20579         (shr-urlify): Highlight under mouse.
20581 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
20583         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
20585         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
20587         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
20588         buffer for output.
20590         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
20591         point-min==1.  Fix search string.  Fix parentheses missing.
20593         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
20594         assume point-min==1.  Fix search string.  Fix parentheses missing.
20596         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
20598         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
20599         buffer for output.
20601 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
20603         * frame.el (frame-notice-user-settings): Avoid inflooping when the
20604         initial frame is minibuffer-less.  (Bug#14841)
20606 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
20608         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
20609         option.
20611         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20612         (tramp-maybe-open-connection): Use it.
20614 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
20616         * desktop.el (desktop--make-frame): Include `minibuffer' in the
20617         minimal set of parameters passed when creating a frame, because
20618         the minibuffer status of a frame cannot be changed later.
20620 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
20622         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
20623         replace-regexp-in-string and inadvertent omissions in previous change.
20624         (todo-filter-items): Ensure only file names are comma-separated in
20625         name of filtered items buffer.
20627 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
20629         * desktop.el: Optionally force offscreen frames back onscreen.
20630         (desktop-restoring-reuses-frames): New option.
20631         (desktop--compute-pos, desktop--move-onscreen): New functions.
20632         (desktop--make-frame): Use desktop--move-onscreen.
20634 2013-07-27  Alan Mackenzie  <acm@muc.de>
20636         Fontify a Java generic method as a function.
20637         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
20638         value to t.
20640 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
20642         * calendar/todo-mode.el: Add command to rename todo files.
20643         (todo-rename-file): New command.
20644         (todo-key-bindings-t): Add key binding for it.  Change the
20645         bindings of todo-filter-regexp-items(-multifile) to use `x'
20646         instead of `r', since the latter is better suited to the new
20647         renaming command.
20649 2013-07-27  Alan Mackenzie  <acm@muc.de>
20651         Make Java try-with-resources statement parse properly.
20652         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
20653         (c-block-stmt-1-2-key): New language constants/variables.
20654         * progmodes/cc-engine.el (c-beginning-of-statement-1)
20655         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
20656         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
20657         with c-block-stmt-1-2-key.
20659 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
20661         * desktop.el (desktop--make-frame): Apply most frame parameters after
20662         creating the frame to force (partially or totally) offscreen frames to
20663         be restored as such.
20665 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
20667         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
20668         (Bug#14948)
20670 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20672         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
20673         `base' arg of backtrace-frame.
20675 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
20677         * simple.el (list-processes): Doc fix.
20679 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
20681         * desktop.el (desktop--select-frame):
20682         Try harder to reuse existing frames.
20684 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20686         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
20687         (edebug-eval): Use backtrace-eval.
20688         (edebug--display, edebug--recursive-edit): Don't let-bind the
20689         edebug-outer-* vars that keep track of variables we locally let-bind.
20690         (edebug-outside-excursion): Don't restore outside values of locally
20691         let-bound vars.
20692         (edebug--display): Use user-error.
20693         (cl-lexical-debug, cl-debug-env): Remove.
20695 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
20697         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
20698         are restored to be sure that they are visible before deleting any
20699         remaining ones.
20701 2013-07-26  Matthias Meulien  <orontee@gmail.com>
20703         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
20704         vc-print-root-log.  (Bug#14948)
20706 2013-07-26  Richard Stallman  <rms@gnu.org>
20708         Add aliases for encrypting mail.
20709         * epa.el (epa-mail-aliases): New option.
20710         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
20711         Bind inhibit-read-only so read-only text doesn't ruin everything.
20712         (epa-mail-default-recipients): New subroutine broken out.
20713         Handle epa-mail-aliases.
20715 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20717         Add support for lexical variables to the debugger's `e' command.
20718         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
20719         vars, except for debugger-outer-match-data.
20720         (debugger-frame-number): Move check for "on a function call" from
20721         callers into it.  Add `skip-base' argument.
20722         (debugger-frame, debugger-frame-clear): Simplify accordingly.
20723         (debugger-env-macro): Only reset the state stored in non-variables,
20724         i.e. current-buffer and match-data.
20725         (debugger-eval-expression): Rewrite using backtrace-eval.
20726         * subr.el (internal--called-interactively-p--get-frame): Remove.
20727         (called-interactively-p):
20728         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20729         `base' arg of backtrace-frame instead.
20731 2013-07-26  Glenn Morris  <rgm@gnu.org>
20733         * align.el (align-regexp): Doc fix.  (Bug#14857)
20734         (align-region): Explicit error if subexpression missing/does not match.
20736         * simple.el (global-visual-line-mode):
20737         Do not duplicate the mode lighter.  (Bug#14858)
20739 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
20741         * window.el (display-buffer): In display-buffer bind
20742         split-window-keep-point to t, bug#14829.
20744 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
20746         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20747         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20748         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20749         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20750         Change accordingly.
20751         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20752         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20754 2013-07-25  Glenn Morris  <rgm@gnu.org>
20756         * dired-x.el (dired-mark-extension): Convert comment to doc string.
20758 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
20760         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20761         parameter to modify-frame-parameters if the value has not changed;
20762         this is a workaround for bug#14949.
20763         (desktop--make-frame): On cl-delete-if call, check parameter name,
20764         not full parameter.
20766 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
20768         * vc/vc.el (vc-ignore): New function.
20770         * vc/vc-svn.el (vc-svn-ignore): New function.
20772         * vc/vc-hg.el (vc-hg-ignore): New function.
20774         * vc/vc-git.el (vc-git-ignore): New function.
20776         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20777         (vc-dir-ignore): New function.
20779         * vc/vc-cvs.el (vc-cvs-ignore): New function.
20780         (cvs-append-to-ignore): Move here from pcvs.el.
20782         * vc/vc-bzr.el (vc-bzr-ignore): New function.
20784         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20786 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
20788         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20789         (desktop-restore-frames): Warn when deleting an existing frame failed.
20791 2013-07-24  Glenn Morris  <rgm@gnu.org>
20793         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
20795 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
20797         * filenotify.el (file-notify-supported-p):
20798         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20799         Remove functions.
20801         * autorevert.el (auto-revert-use-notify)
20802         (auto-revert-notify-add-watch):
20803         * net/tramp.el (tramp-file-name-for-operation):
20804         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20805         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20806         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20807         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20808         Remove `file-notify-supported-p' entry.
20810 2013-07-24  Glenn Morris  <rgm@gnu.org>
20812         * printing.el: Replace all uses of deleted ps-windows-system,
20813         ps-lp-system, ps-flatten-list with lpr- versions.
20815 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20817         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20818         checked with memq (bug#14935).
20820         * files.el (revert-buffer-function): Use a non-nil default.
20821         (revert-buffer-preserve-modes): Declare var to
20822         provide access to the `preserve-modes' argument.
20823         (revert-buffer): Let-bind it.
20824         (revert-buffer--default): New function, extracted from revert-buffer.
20826 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20828         * lpr.el: Signal print errors more prominently.
20829         (print-region-function): Don't default to nil.
20830         (lpr-print-region): New function, extracted from print-region-1.
20831         Check lpr's return value and signal an error in case of problem.
20832         (print-region-1): Use it.
20833         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
20834         versions instead.
20835         (ps-printer-name): Default to nil.
20836         (ps-printer-name-option): Default to lpr-printer-switch.
20837         (ps-print-region-function): Don't default to nil.
20838         (ps-postscript-code-directory): Simplify default.
20839         (ps-do-despool): Use lpr-print-region to properly check the outcome.
20840         (ps-string-list, ps-eval-switch, ps-flatten-list)
20841         (ps-flatten-list-1): Remove.
20842         (ps-multibyte-buffer): Avoid setq.
20843         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20844         (print-region-function, ps-print-region-function): Don't set them here.
20846 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
20848         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20849         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20850         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20851         (ido-decorations): Doc fix.
20853         * ansi-color.el: Fix old URL.
20855 2013-07-23  Michael R. Mauger  <michael@mauger.com>
20857         * progmodes/sql.el: Version 3.3
20858         (sql-product-alist): Improve oracle :prompt-cont-regexp.
20859         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20860         (sql-interactive-remove-continuation-prompt): Rewrite, use
20861         functions above.  Fix continuation prompt and complete output line
20862         handling.
20863         (sql-redirect-one, sql-execute): Use `read-only-mode' on
20864         redirected output buffer.
20865         (sql-mode): Restore deleted code (Bug#13591).
20867 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
20869         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20871 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
20873         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20875         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20876         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20877         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20879 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
20881         * desktop.el (desktop-clear): Simplify; remove useless checks
20882         against invalid buffer names.
20883         (desktop-list*): Use cl-list*.
20884         (desktop-buffer-info, desktop-create-buffer): Simplify.
20886 2013-07-23  Leo Liu  <sdl.web@gmail.com>
20888         * bookmark.el (bookmark-make-record): Restore NAME as a default
20889         value.  (Bug#14933)
20891 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
20893         * emacs-lisp/autoload.el (autoload--setup-output): New function,
20894         extracted from autoload--insert-text.
20895         (autoload--insert-text): Remove.
20896         (autoload--print-cookie-text): New function, extracted from
20897         autoload--insert-cookie-text.
20898         (autoload--insert-cookie-text): Remove.
20899         (autoload-generate-file-autoloads): Adjust calls accordingly.
20901         * winner.el (winner-hook-installed-p): Remove.
20902         (winner-mode): Simplify accordingly.
20904         * subr.el (add-to-list): Fix compiler-macro when `append' is
20905         not constant.  Don't use `cl-member' for the base case.
20907         * progmodes/subword.el: Fix boundary case (bug#13758).
20908         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
20909         own group.
20910         (subword-backward-regexp): Make it a constant.
20911         (subword-forward-internal): Don't treat a trailing capital as the
20912         beginning of a word.
20914 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
20916         * emacs-lisp/package.el (package-menu-mode): Don't modify the
20917         global value of tabulated-list-revert-hook (bug#14930).
20919 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
20921         * desktop.el: Require 'cl-lib.
20922         (desktop-before-saving-frames-functions): New hook.
20923         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
20924         for frames being saved.  Rename from desktop--save-minibuffer-frames.
20925         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
20926         Do not save frames with non-nil `desktop-dont-save' parameter.
20927         Filter out deleted frames.
20928         (desktop--find-frame): Use cl-find-if.
20929         (desktop--select-frame): Use cl-(first|second|third) to access values
20930         of desktop-mini.
20931         (desktop--make-frame): Use cl-delete-if.
20932         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
20933         (desktop-restore-frames): Use cl-(first|second|third) to access values
20934         of desktop-mini.  Look for visible frame at the end, not while
20935         restoring frames.
20937         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
20938         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
20939         Use string-match-p, looking-at-p (bug#14927).
20941 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
20943         * desktop.el (desktop-saved-frame-states):
20944         Rename from desktop--saved-states; all users changed.
20945         (desktop-save-frames): Rename from desktop--save-frames.
20946         Do not save state to desktop file.
20947         (desktop-save): Save desktop-saved-frame-states to desktop file
20948         and reset to nil.
20949         (desktop-restoring-frames-p): New function.
20950         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
20951         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
20952         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
20954         * desktop.el: Correctly restore iconified frames.
20955         (desktop--filter-iconified-position): New function.
20956         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
20958 2013-07-20  Glenn Morris  <rgm@gnu.org>
20960         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
20961         Let `message' do the formatting.
20962         (def-gdb-preempt-display-buffer): Add explicit format.
20964         * image-dired.el (image-dired-track-original-file):
20965         Use with-current-buffer.
20966         (image-dired-track-thumbnail): Use with-current-buffer.
20967         Avoid changing point of wrong window.
20969         * image-dired.el (image-dired-track-original-file):
20970         Avoid changing point of wrong window.  (Bug#14909)
20972 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
20974         * progmodes/gdb-mi.el (gdb-done-or-error):
20975         Guard against "%" in gdb output.  (Bug#14127)
20977 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
20979         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
20980         (Bug#14826)
20982         * international/mule.el (coding-system-iso-2022-flags): Fix last
20983         change.
20985 2013-07-20  Kenichi Handa  <handa@gnu.org>
20987         * international/mule.el (coding-system-iso-2022-flags):
20988         Add `8-bit-level-4'.  (Bug#8522)
20990 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20992         * net/shr.el (shr-mouse-browse-url): New command and keystroke
20993         (bug#14815).
20995         * net/eww.el (eww-process-text-input): Allow inputting when the
20996         point is at the start of the line, as the properties aren't
20997         front-sticky.
20999         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
21000         degenerate widths.
21002 2013-07-19  Richard Stallman  <rms@gnu.org>
21004         * epa.el (epa-popup-info-window): Doc fix.
21006         * subr.el (split-string): New arg TRIM.
21008 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
21010         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
21011         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
21013 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
21015         * filenotify.el (file-notify--library): Rename from
21016         `file-notify-support'.  Do not autoload.  Adapt all uses.
21017         (file-notify-supported-p): New defun.
21019         * autorevert.el (auto-revert-use-notify):
21020         Use `file-notify-supported-p' instead of `file-notify-support'.
21021         Adapt docstring.
21022         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
21024         * net/tramp.el (tramp-file-name-for-operation):
21025         Add `file-notify-supported-p'.
21027         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
21028         New defun.
21029         (tramp-sh-file-name-handler-alist): Add it as handler for
21030         `file-notify-supported-p '.
21032         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
21033         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21034         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21035         Add `ignore' as handler for `file-notify-*' functions.
21037 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
21039         * simple.el (line-move-partial, line-move): Don't start vscroll or
21040         scroll-up if the current line is not taller than the window.
21041         (Bug#14881)
21043 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
21045         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
21046         highlight question marks in the method names as strings.
21047         (ruby-block-beg-keywords): Inline.
21048         (ruby-font-lock-keyword-beg-re): Extract from
21049         `ruby-font-lock-keywords'.
21051 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
21053         * frame.el (blink-cursor-blinks): New defcustom.
21054         (blink-cursor-blinks-done): New defvar.
21055         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
21056         (blink-cursor-timer-function): Check if number of blinks has been
21057         done on X and NS.
21058         (blink-cursor-suspend, blink-cursor-check): New defuns.
21060 2013-07-15  Glenn Morris  <rgm@gnu.org>
21062         * edmacro.el (edmacro-format-keys): Fix previous change.
21064 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
21066         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
21067         The hack didn't work outside English locales anyway.
21069 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
21071         * simple.el (define-alternatives): Rename from alternatives-define,
21072         per RMS' suggestion.
21074 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
21076         * desktop.el (desktop-restore-frames): Change default to t.
21077         (desktop-restore-in-current-display): Now offer more options.
21078         (desktop-restoring-reuses-frames): New customization option.
21079         (desktop--saved-states): Doc fix.
21080         (desktop-filter-parameters-alist): New variable, renamed and expanded
21081         from desktop--excluded-frame-parameters.
21082         (desktop--target-display): New variable.
21083         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
21084         (desktop--filter-tty*, desktop--filter-*-color)
21085         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
21086         (desktop--filter-save-desktop-parm)
21087         (desktop-restore-in-original-display-p): New functions.
21088         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
21089         (desktop--save-minibuffer-frames): New function, inspired by a similar
21090         function from Martin Rudalics.
21091         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
21092         (desktop--restore-in-this-display-p): Remove.
21093         (desktop--find-frame): Rename from desktop--find-frame-in-display
21094         and add predicate argument.
21095         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
21096         (desktop--reuse-list): New variable.
21097         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
21098         New functions.
21099         (desktop--restore-frames): Add support for "minibuffer-special" frames.
21101 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
21103         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
21105 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
21107         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21108         Highlight conversion methods on Kernel.
21110 2013-07-13  Alan Mackenzie  <acm@muc.de>
21112         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
21113         and comment it out.  This out-commenting enables certain C++
21114         declarations to be parsed correctly.
21116 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
21118         * international/mule.el (define-coding-system): Doc fix.
21120         * simple.el (default-font-height): Don't call font-info if the
21121         frame's default font didn't change since the frame was created.
21122         (Bug#14838)
21124 2013-07-13  Leo Liu  <sdl.web@gmail.com>
21126         * ido.el (ido-read-file-name): Guard against non-symbol value.
21128 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
21130         * progmodes/python.el (python-imenu--build-tree): Fix corner case
21131         in nested defuns.
21133 2013-07-13  Leo Liu  <sdl.web@gmail.com>
21135         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
21136         ido-set-matches call.  (Bug#6852)
21138 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
21140         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
21141         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
21142         Ruby 2.0.
21143         (ruby-font-lock-keywords): Distinguish calls to functions with
21144         module-like names from module references.  Highlight character
21145         literals.
21147 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
21149         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
21150         (gdb-send): Handle continued commands.  (Bug#14847)
21152 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
21154         * desktop.el (desktop--v2s): Remove unused local variable.
21155         (desktop-save-buffer): Make defvar-local; adjust docstring.
21156         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
21157         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
21159 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
21161         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
21163 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
21165         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
21166         (Bug#14842)
21168 2013-07-12  Glenn Morris  <rgm@gnu.org>
21170         * doc-view.el: Require cl-lib at runtime too.
21171         (doc-view-remove-if): Remove.
21172         (doc-view-search-next-match, doc-view-search-previous-match):
21173         Use cl-remove-if.
21175         * edmacro.el: Require cl-lib at runtime too.
21176         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
21177         (edmacro-mismatch, edmacro-subseq): Remove.
21179         * shadowfile.el: Require cl-lib.
21180         (shadow-remove-if): Remove.
21181         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
21182         Use cl-remove-if.
21184         * wid-edit.el: Require cl-lib.
21185         (widget-choose): Use cl-remove-if.
21186         (widget-remove-if): Remove.
21188         * progmodes/ebrowse.el: Require cl-lib at runtime too.
21189         (ebrowse-delete-if-not): Remove.
21190         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
21191         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
21192         Use cl-delete-if-not.
21194 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
21196         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
21197         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
21199 2013-07-12  Leo Liu  <sdl.web@gmail.com>
21201         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
21203 2013-07-11  Glenn Morris  <rgm@gnu.org>
21205         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
21206         (edebug-gensym-index, edebug-gensym):
21207         Remove reimplementation of cl-gensym.
21208         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
21210         * thumbs.el: Require cl-lib at run-time too.
21211         (thumbs-gensym-counter, thumbs-gensym):
21212         Remove reimplementation of cl-gensym.
21213         (thumbs-temp-file): Use cl-gensym.
21215         * emacs-lisp/ert.el: Require cl-lib at runtime too.
21216         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
21217         (ert--intersection, ert--set-difference, ert--set-difference-eq)
21218         (ert--union, ert--gensym-counter, ert--gensym-counter)
21219         (ert--coerce-to-vector, ert--remove*, ert--string-position)
21220         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
21221         (ert-make-test-unbound, ert--expand-should-1)
21222         (ert--expand-should, ert--should-error-handle-error)
21223         (should-error, ert--explain-equal-rec)
21224         (ert--plist-difference-explanation, ert-select-tests)
21225         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
21226         Use cl-lib functions rather than reimplementations.
21228 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
21230         * net/tramp.el (tramp-methods): Extend docstring.
21231         (tramp-connection-timeout): New defcustom.
21232         (tramp-error-with-buffer): Reset timestamp only when appropriate.
21233         (with-tramp-progress-reporter): Simplify.
21234         (tramp-process-actions): Improve messages.
21236         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
21237         * net/tramp-sh.el (tramp-maybe-open-connection):
21238         Use `tramp-connection-timeout'.
21239         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
21240         (Bug#14808)
21242 2013-07-11  Leo Liu  <sdl.web@gmail.com>
21244         * ido.el (ido-read-file-name): Conform to the requirements of
21245         read-file-name.  (Bug#11861)
21246         (ido-read-directory-name): Conform to the requirements of
21247         read-directory-name.
21249 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
21251         * subr.el (delay-warning): New function.
21253 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
21255         * simple.el (default-line-height): New function.
21256         (line-move-partial, line-move): Use it instead of computing the
21257         line height inline.
21258         (line-move-partial): Always compute ROWH.  If the last line is
21259         partially-visible, but its text is completely visible, allow
21260         cursor to enter such a partially-visible line.
21262 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
21264         Improve error messages.  (Bug#14808)
21266         * net/tramp.el (tramp-current-connection): New defvar, moved from
21267         tramp-sh.el.
21268         (tramp-message-show-progress-reporter-message): Remove, not
21269         needed anymore.
21270         (tramp-error-with-buffer): Show message in minibuffer.
21271         Discard input before waiting.  Reset connection timestamp.
21272         (with-tramp-progress-reporter): Improve messages.
21273         (tramp-process-actions): Use progress reporter.  Delete process in
21274         case of error.  Improve messages.
21276         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
21277         Call `tramp-error-with-buffer' with vector and buffer.
21278         (tramp-current-connection): Remove.
21279         (tramp-maybe-open-connection): The car of
21280         `tramp-current-connection' are the first 3 slots of the vector.
21282 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
21284         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
21285         inside continued strings.
21287 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
21289         Timestamp fixes for undo (Bug#14824).
21290         * files.el (clear-visited-file-modtime): Move here from fileio.c.
21292 2013-07-10  Leo Liu  <sdl.web@gmail.com>
21294         * files.el (require-final-newline): Allow safe local value.
21295         (Bug#14834)
21297 2013-07-09  Leo Liu  <sdl.web@gmail.com>
21299         * ido.el (ido-read-directory-name): Handle fallback.
21300         (ido-read-file-name): Update DIR to ido-current-directory.
21301         (Bug#1516)
21302         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
21304 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
21306         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
21307         "autoload".  Remove "warn lower camel case" section, previously
21308         commented out.  Highlight negation char.  Do not highlight the
21309         target in singleton method definitions.
21311 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
21313         * faces.el (tty-setup-hook): Declare the hook.
21315         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
21316         and detect when a guard/pred depends on local vars (bug#14773).
21317         (pcase--u1): Adjust caller.
21319 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
21321         * simple.el (line-move-partial, line-move): Account for
21322         line-spacing.
21323         (line-move-partial): Avoid setting vscroll when the last
21324         partially-visible line in window is of default height.
21326 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21328         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
21329         been used a while.
21331 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
21333         * subr.el (read-quoted-char): Remove unused local variable `char'.
21335 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
21337         * vc/ediff.el (ediff-version): Version update.
21338         (ediff-files-command, ediff3-files-command, ediff-merge-command)
21339         (ediff-merge-with-ancestor-command, ediff-directories-command)
21340         (ediff-directories3-command, ediff-merge-directories-command)
21341         (ediff-merge-directories-with-ancestor-command): New functions.
21342         All are command-line interfaces to ediff: to facilitate calling
21343         Emacs with the appropriate ediff functions invoked.
21345         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
21346         New function.
21347         (viper-save-kill-buffer): Check if buffer is modified.
21349         * emulation/viper.el (viper-version): Version update.
21350         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
21352 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
21354         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
21355         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
21356         (viper-intercept-ESC-key): Simplify.
21357         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
21358         don't use kbd.
21359         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
21360         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
21361         (viper-setup-ESC-to-escape): New functions.
21362         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
21363         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
21365 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
21367         * simple.el (default-font-height, window-screen-lines):
21368         New functions.
21369         (line-move, line-move-partial): Use them instead of
21370         frame-char-height and window-text-height.  This makes scrolling
21371         text smoother when the buffer's default face uses a font that is
21372         different from the frame's default font.
21374 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
21376         * files.el (write-file): Do not display confirm dialog for NS,
21377         it does its own dialog, which can't be canceled (Bug#14578).
21379 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
21381         * simple.el (line-move-partial): Adjust the row returned by
21382         posn-at-point for the current window-vscroll.  (Bug#14567)
21384 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
21386         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
21387         (tramp-sh-file-inotifywait-process-filter): Handle file names with
21388         spaces.
21390 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
21392         * window.el (window-state-put-stale-windows): New variable.
21393         (window--state-put-2): Save list of windows without matching buffer.
21394         (window-state-put): Remove "bufferless" windows if possible.
21396 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
21398         * simple.el (alternatives-define): Remove leftover :group keyword.
21399         Tweak docstring.
21401 2013-07-06  Leo Liu  <sdl.web@gmail.com>
21403         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
21404         (ido-enable-virtual-buffers): New variable.
21405         (ido-buffer-internal, ido-toggle-virtual-buffers)
21406         (ido-make-buffer-list): Use it.
21407         (ido-exhibit): Support turning on and off virtual buffers
21408         automatically.
21410 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
21412         * simple.el (alternatives-define): New macro.
21414 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
21416         * subr.el (read-quoted-char): Use read-key.
21417         (sit-for): Let read-event decode tty input (bug#14782).
21419 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
21421         * calendar/todo-mode.el: Add handling of file deletion, both by
21422         mode command and externally.  Fix various related bugs.
21423         Clarify Commentary and improve some documentation strings and code.
21424         (todo-delete-file): New command.
21425         (todo-check-file): New function.
21426         (todo-show): Handle external deletion of the file we're trying to
21427         show (bug#14688).  Replace called-interactively-p by an optional
21428         prefix argument to avoid problematic interaction with catch form
21429         when byte compiled (bug#14702).
21430         (todo-quit): Handle external deletion of the archive's todo file.
21431         Make sure the buffer that was visiting the archive file is still
21432         live before trying to bury it.
21433         (todo-category-completions): Handle external deletion of any
21434         category completion files.
21435         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
21436         of todo files, in case of external deletion.
21437         (todo-add-file): Replace unnecessary setq by let-binding.
21438         (todo-find-archive): Check whether there are any archives.
21439         Replace unnecessary setq by let-binding.
21440         (todo-archive-done-item): Use find-file-noselect to get the
21441         archive buffer whether or not the archive already exists.
21442         Remove superfluous code.  Use file size instead of buffer-file-name to
21443         check if the archive is new; if it is, update list of archives.
21444         (todo-default-todo-file): Allow nil to be a valid value for when
21445         there are no todo files.
21446         (todo-reevaluate-default-file-defcustom): Use corrected definition
21447         of todo-default-todo-file.
21448         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
21449         (todo-delete-category, todo-show-categories-table)
21450         (todo-category-number): Clarify comment.
21451         (todo-filter-items): Clarify documentation string.
21452         (todo-show-current-file, todo-display-as-todo-file)
21453         (todo-reset-and-enable-done-separator): Tweak documentation string.
21454         (todo-done-separator): Make separator length window-width, since
21455         bug#2749 is now fixed.
21457 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
21459         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
21460         Support both "gvfs-monitor-dir" and "inotifywait".
21461         (tramp-sh-file-inotifywait-process-filter): Rename from
21462         `tramp-sh-file-notify-process-filter'.
21463         (tramp-sh-file-gvfs-monitor-dir-process-filter)
21464         (tramp-get-remote-gvfs-monitor-dir): New defuns.
21466 2013-07-05  Leo Liu  <sdl.web@gmail.com>
21468         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
21470 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21472         * frame.el (display-pixel-height, display-pixel-width)
21473         (display-mm-height, display-mm-width): Mention behavior on
21474         multi-monitor setups in docstrings.
21475         (w32-display-monitor-attributes-list): Declare function.
21476         (display-monitor-attributes-list): Use it.
21478 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
21480         * filenotify.el: New package.
21482         * autorevert.el (top): Require filenotify.el.
21483         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
21484         instead.
21485         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21486         (auto-revert-notify-handler): Use `file-notify-*' functions.
21488         * subr.el (file-notify-handle-event): Move function to filenotify.el.
21490         * net/tramp.el (tramp-file-name-for-operation):
21491         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
21493         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
21494         for `file-notify-add-watch' and `file-notify-rm-watch'.
21495         (tramp-process-sentinel): Improve trace.
21496         (tramp-sh-handle-file-notify-add-watch)
21497         (tramp-sh-file-notify-process-filter)
21498         (tramp-sh-handle-file-notify-rm-watch)
21499         (tramp-get-remote-inotifywait): New defuns.
21501 2013-07-03  Juri Linkov  <juri@jurta.org>
21503         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
21504         call of `occur-read-primary-args' to interactive spec.
21506         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
21507         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
21509 2013-07-03  Matthias Meulien  <orontee@gmail.com>
21511         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
21512         `Buffer-menu-multi-occur'.  Add it to the menu.
21513         (Buffer-menu-mode): Document it in docstring.
21514         (Buffer-menu-multi-occur): New command.  (Bug#14673)
21516 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
21518         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
21519         keywords and built-ins.
21521 2013-07-03  Glenn Morris  <rgm@gnu.org>
21523         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
21525         Make info-xref checks case-sensitive by default
21526         * info.el (Info-find-node, Info-find-in-tag-table)
21527         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
21528         Add option for exact case matching of nodes.
21529         * info-xref.el (info-xref): New custom group.
21530         (info-xref-case-fold): New option.
21531         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
21533 2013-07-03  Leo Liu  <sdl.web@gmail.com>
21535         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
21537 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
21539         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
21540         middle of block statement initially, lower the depth.  Remove
21541         FIXME comment, not longer valid.  Remove middle of block statement
21542         detection, no need to do that anymore since we've been using
21543         `ruby-parse-region' here.
21545 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
21547         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
21549 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
21551         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
21553 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
21555         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
21556         (desktop-restore-in-current-display): New customization option.
21557         (desktop--excluded-frame-parameters): Add `font'.
21558         (desktop--save-frames): Rename from desktop--save-windows.
21559         (desktop--restore-in-this-display-p): New function.
21560         (desktop--make-full-frame): Remove unwanted width/height from
21561         full(width|height) frames.
21562         (desktop--restore-frames): Rename from desktop--restore-windows.
21563         Obey desktop-restore-current-display.  Do not delete old frames or
21564         select a new frame unless we were able to restore at least one frame.
21566 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
21568         * files.el (find-file-noselect): Simplify conditional expression.
21570         * textmodes/remember.el (remember-append-to-file):
21571         Don't mix `find-buffer-visiting' and `get-file-buffer'.
21573         Add `remember-notes' function to store random notes across Emacs
21574         restarts.
21575         * textmodes/remember.el (remember-data-file): Add :set callback to
21576         affect notes buffer (if any).
21577         (remember-notes): New command.
21578         (remember-notes-buffer-name, bury-remember-notes-on-kill):
21579         New defcustoms for the `remember-notes' function.
21580         (remember-notes-save-and-bury-buffer): New command.
21581         (remember-notes-mode-map): New variable.
21582         (remember-mode): New minor mode.
21583         (remember-notes--kill-buffer-query): New function.
21584         * startup.el (initial-buffer-choice): Add notes to custom type.
21586 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
21588         * bindings.el (right-char, left-char): Don't call sit-for, this is
21589         no longer needed.  Use arithmetic comparison only for numerical
21590         arguments.
21592         * international/mule-cmds.el (select-safe-coding-system):
21593         Handle the case of FROM being a string correctly.  (Bug#14755)
21595 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21597         * net/shr.el (shr-make-table-1): Add a sanity check that allows
21598         progression on degenerate tables.
21599         (shr-rescale-image): ImageMagick animated images currently don't work.
21601 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
21603         Some fixes and improvements for desktop frame restoration.
21604         It is still experimental and disabled by default.
21605         * desktop.el (desktop--save-windows): Put the selected frame at
21606         the head of the list.
21607         (desktop--make-full-frame): New function.
21608         (desktop--restore-windows): Try to re-select the frame that was
21609         selected upon saving.  Do not abort if some frames fail to restore,
21610         just show an error message and continue.  Set up maximized frames
21611         so they have default non-maximized dimensions.
21613 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
21615         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
21616         Don't start heredoc inside a string or comment.
21618 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
21620         * bindings.el (visual-order-cursor-movement): New defcustom.
21621         (right-char, left-char): Provide visual-order cursor motion by
21622         calling move-point-visually.  Update the doc strings.
21624 2013-06-28  Kenichi Handa  <handa@gnu.org>
21626         * international/mule.el (define-coding-system): New coding system
21627         properties :inhibit-null-byte-detection,
21628         :inhibit-iso-escape-detection, and :prefer-utf-8.
21629         (set-buffer-file-coding-system): If :charset-list property of
21630         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
21631         appropriate for setting.
21633         * international/mule-cmds.el (select-safe-coding-system):
21634         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
21635         multibyte characters, return utf-8 (or one of its siblings).
21637         * international/mule-conf.el (prefer-utf-8): New coding system.
21638         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
21639         files.
21641 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
21643         * net/shr.el (shr-render-region): New function.
21645         * net/eww.el: Autoload `eww-browse-url'.
21647 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
21649         * emacs-lisp/package-x.el (package-upload-buffer-internal):
21650         Adapt to `package-desc-version' being a list.
21651         Use `package--ac-desc-version' to retrieve version from a package
21652         archive element.
21654 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
21656         New experimental feature to save&restore window and frame setup.
21657         * desktop.el (desktop-save-windows): New defcustom.
21658         (desktop--saved-states): New var.
21659         (desktop--excluded-frame-parameters): New defconst.
21660         (desktop--filter-frame-parms, desktop--find-frame-in-display)
21661         (desktop--restore-windows, desktop--save-windows): New functions.
21662         (desktop-save): Call `desktop--save-windows'.
21663         (desktop-read): Call `desktop--restore-windows'.
21665 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21667         * net/shr.el (add-face-text-property): Remove compat definition.
21669 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
21671         * info.el (Info-try-follow-nearest-node): Move search for footnote
21672         above search for node name to prevent missing a footnote (bug#14717).
21674 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
21676         * obsolete/otodo-mode.el: Add obsolescence info to file header.
21678 2013-06-27  Leo Liu  <sdl.web@gmail.com>
21680         * net/eww.el (eww-read-bookmarks): Check file size.
21682 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
21684         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
21685         advice--pending if newdef is nil or an autoload (bug#13820).
21686         (advice-mapc): New function.
21688 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21690         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
21691         probably.
21692         (eww-mode-map): Add a menu bar.
21693         (eww-add-bookmark): New command.
21694         (eww-bookmark-mode): New mode and commands.
21695         (eww-add-bookmark): Remove newlines from the title.
21696         (eww-bookmark-browse): Don't bug out if it's the only window.
21698 2013-06-26  Glenn Morris  <rgm@gnu.org>
21700         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
21701         (hfy-size): Handle ttys.  (Bug#14668)
21703         * info-xref.el: Update for Texinfo 5 change in *note format.
21704         (info-xref-node-re, info-xref-note-re): New constants.
21705         (info-xref-check-buffer): Use info-xref-note-re.
21707 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
21709         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
21711         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
21712         nil terminate the loop (bug#14718).
21714 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21716         * net/eww.el: Rework history traversal.  When going forward/back,
21717         put these actions into the history, too, so that they can be
21718         replayed.
21719         (eww-render): Move the history reset to the correct buffer.
21721 2013-06-25  Juri Linkov  <juri@jurta.org>
21723         * files-x.el (modify-dir-local-variable): Change the header comment
21724         in the file with directory local variables.  (Bug#14692)
21726         * files-x.el (read-file-local-variable-value): Add `default'.
21727         (Bug#14710)
21729 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21731         * net/eww.el (eww-make-unique-file-name): Create a unique file
21732         name before saving to entering `y' accidentally asynchronously.
21734 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
21736         * net/eww.el (eww-download): New command and keystroke.
21738 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21740         * net/eww.el (eww-copy-page-url): Change name of command.
21742         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21743         be more consistent with Info and dired.
21745         * net/eww.el (eww-mode-map): Ditto.
21747 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21749         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
21750         packages from archives.
21751         (package-archive-contents): Change format; include obsolete packages.
21752         (package-desc): Use `dir' to mark builtin packages.
21753         (package--from-builtin): Set the `dir' field to `builtin'.
21754         (generated-autoload-file, version-control): Declare.
21755         (package-compute-transaction): Change first arg and return value to be
21756         lists of package-descs.  Adjust to new package-archive-contents format.
21757         (package--add-to-archive-contents): Adjust to new
21758         package-archive-contents format.
21759         (package-download-transaction): Arg is now a list of package-descs.
21760         (package-install): If `pkg' is a package name, pass it as
21761         a requirement, so it is subject to the usual (e.g. disabled) checks.
21762         (describe-package): Accept package-desc as well.
21763         (describe-package-1): Describe a specific package-desc.  Add links to
21764         other package-descs for the same package name.
21765         (package-menu-describe-package): Pass the actual package-desc.
21766         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21767         works correctly.
21768         (package-desc-status): New function.
21769         (package-menu--refresh): New function, extracted
21770         from package-menu--generate.
21771         (package-menu--generate): Use it.
21772         (package-delete): Update package-alist.
21773         (package-menu-execute): Don't call package-initialize.
21775         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21776         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21777         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21778         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21779         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21780         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21782 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
21784         * window.el (window--state-get-1): Workaround for bug#14527.
21785         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21787 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21789         * net/eww.el (eww-back-url): Implement the history by stashing all
21790         the data into a list.
21791         (eww-forward-url): Allow going forward in the history, too.
21793 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21795         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21796         for values and use read--expression for expressions (bug#14710).
21797         (read-file-local-variable): Avoid setq.
21798         (read-file-local-variable-mode): Use minor-mode-list.
21800 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
21802         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21803         for DOI URLs.
21805 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
21807         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21808         Update imenu-support when dialect changes.
21810 2013-06-25  Leo Liu  <sdl.web@gmail.com>
21812         * ido.el (ido-read-internal): Allow forward slash on windows.
21814 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21816         * net/eww.el (eww): Start of strings is \\`, not ^.
21818 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
21820         * net/shr.el (shr-browse-url): Fix interactive spec.
21822         * net/eww.el (eww): Add a trailing slash to domain names.
21824 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
21826         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21828 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21830         * net/shr.el (shr-browse-url): Use an external browser if given a
21831         prefix.
21833         * net/eww.el (eww-external-browser): Move to shr.
21835 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
21837         * net/eww.el (eww): Work more correctly for file: URLs.
21838         (eww-detect-charset): Allow quoted charsets.
21839         (eww-yank-page-url): New command and keystroke.
21841 2013-06-24  Daiki Ueno  <ueno@gnu.org>
21843         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21844         file name of gpg executable.
21845         (epg-context-program): New function.
21846         (epg-context-home-directory): New function.
21847         (epg-context-set-program): New function.
21848         (epg-context-set-home-directory): New function.
21849         (epg--start): Use `epg-context-program' instead of
21850         'epg-gpg-program'.
21851         (epg--list-keys-1): Likewise.
21853 2013-06-24  Leo Liu  <sdl.web@gmail.com>
21855         * ido.el (ido-read-internal): Fix bug#14620.
21857 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
21859         * faces.el (face-documentation): Simplify.
21860         (read-face-attribute, tty-find-type, x-resolve-font-name):
21861         Use `string-match-p'.
21862         (list-faces-display): Use `string-match-p'.  Simplify.
21863         (face-spec-recalc): Check face to avoid face alias loops.
21864         (read-color): Use `string-match-p' and non-capturing parenthesis.
21866 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21868         * net/shr.el (shr-rescale-image): Use the new
21869         :max-width/:max-height functionality.
21871 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
21873         * net/eww.el (eww-search-prefix): New variable.
21874         (eww): Use it.
21875         (eww-external-browser): New variable.
21876         (eww-mode-map): New keystroke.
21877         (eww-browse-with-external-browser): New command.
21879         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
21881 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
21883         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
21884         Don't skip aligning the next header field when padding is 0;
21885         otherwise, field width is not respected unless the title is as
21886         wide as the field.
21888 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
21890         * emacs-lisp/package.el (package-el-version): Remove.
21891         (package-process-define-package): Fix inf-loop.
21892         (package-install): Allow symbols as arguments again.
21894 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
21896         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
21897         add some more keyword-like methods.
21898         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
21900 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
21902         * bs.el (bs-buffer-show-mark): Make defvar-local.
21903         (bs-mode): Use setq-local.
21905         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
21906         (emacs-lock--try-unlocking): Make defvar-local.
21908 2013-06-22  Glenn Morris  <rgm@gnu.org>
21910         * play/cookie1.el (cookie-apropos): Minor simplification.
21912         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
21914 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
21916         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
21917         `regexp-opt', it breaks the build during dumping.
21919 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
21921         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21922         Highlight keyword-like methods on Kernel and Module with
21923         font-lock-builtin-face.
21924         (auto-mode-alist): Consolidate different entries into one regexp
21925         and add more *file-s.
21927 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
21929         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
21931         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
21932         (diary-entry): Use it in the action of this button type instead of
21933         diary-goto-entry.
21935         * calendar/todo-mode.el: New version.
21936         (todo-add-category): Append new category to end of file and give
21937         it the highest number, instead of putting it at the beginning and
21938         giving it 0.  Incorporate noninteractive functionality.
21939         (todo-forward-category): Adapt to 1-based category numbering.
21940         Allow skipping over archived categories.
21941         (todo-backward-category): Derive from todo-forward-category.
21942         (todo-backward-item, todo-forward-item): Make noninteractive and
21943         delegate interactive part to new commands.  Make sensitive to done items.
21944         (todo-categories): Make value an alist of category names and
21945         vectors of item counts.
21946         (todo-category-beg): Make a defconst.
21947         (todo-category-number): Use 1 instead of 0 as initial value.
21948         (todo-category-select): Make sensitive to overlays, optional item
21949         highlighting and done items.
21950         (todo-delete-item): Make sensitive to overlays and marked and done items.
21951         (todo-edit-item): Make sensitive to overlays and editing of
21952         date/time header optional.  Add format checks.
21953         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
21954         no-op if point is not on an item.  Advertise using todo-edit-quit.
21955         (todo-edit-mode): Make sensitive to new format, font-locking, and
21956         multiple todo files.
21957         (todo-insert-item, todo-insert-item-here): Derive from
21958         todo-basic-insert-item and extend functionality.
21959         (todo-item-end, todo-item-start): Make sensitive to done items.
21960         (todo-item-string): Don't return text properties.  Restore point.
21961         (todo-jump-to-category): Make sensitive to multiple todo files and
21962         todo archives.  Use extended category completion.
21963         (todo-lower-item, todo-raise-item): Rename to *-priority and
21964         derive from todo-set-item-priority.
21965         (todo-mode): Derive from special-mode.  Make sensitive to new
21966         format, font-locking and multiple todo files.  Make read-only.
21967         (todo-mode-map): Don't suppress digit keys, so they can supply
21968         prefix arguments.  Add many new key bindings.
21969         (todo-prefix): Insert as an overlay instead of file text.
21970         Change semantics from diary date expression to purely visual mark.
21971         (todo-print): Rename to todo-print-buffer.  Make buffer display
21972         features printable.  Remove option to restrict number of items
21973         printed.  Add option to print to file.
21974         (todo-print-function): Rename to todo-print-buffer-function.
21975         (todo-quit): Extend to handle exiting new todo modes.
21976         (todo-remove-item): Make sensitive to overlays.
21977         (todo-save): Extend to buffers of filtered items.
21978         (todo-show): Make sensitive to done items, multiple todo files and
21979         new todo modes.  Offer to convert legacy todo file before creating
21980         first new todo file.
21981         (todo-show-priorities): Rename to todo-top-priorities.
21982         Change semantics of value 0.
21983         (todo-top-priorities): Rename to todo-filter-top-priorities,
21984         derive from todo-filter-items and extend functionality.
21985         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
21986         and extend functionality to other types of filtered items.
21987         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
21988         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
21989         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
21990         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
21991         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
21992         (todo-edit-mode-hook, todo-entry-prefix-function)
21993         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
21994         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
21995         (todo-initials, todo-insert-threshold, todo-item-string-start)
21996         (todo-line-string, todo-menu, todo-mode-hook)
21997         (todo-more-important-p, todo-previous-answer, todo-previous-line)
21998         (todo-print-priorities, todo-remove-separator)
21999         (todo-save-top-priorities-too, todo-string-count-lines)
22000         (todo-string-multiline-p, todo-time-string-format)
22001         (todo-tmp-buffer-name): Remove.
22002         (todo-add-file, todo-archive-done-item, todo-choose-archive)
22003         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
22004         (todo-edit-category-diary-inclusion)
22005         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
22006         (todo-edit-file, todo-edit-item-date-day)
22007         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
22008         (todo-edit-item-date-month, todo-edit-item-date-to-today)
22009         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
22010         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
22011         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
22012         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
22013         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
22014         (todo-filter-top-priorities-multifile, todo-find-archive)
22015         (todo-find-filtered-items-file, todo-go-to-source-item)
22016         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
22017         (todo-jump-to-archive-category, todo-lower-category)
22018         (todo-mark-category, todo-marked-item-p, todo-merge-category)
22019         (todo-move-category, todo-move-item, todo-next-button)
22020         (todo-next-item, todo-padded-string, todo-powerset)
22021         (todo-previous-button, todo-previous-item)
22022         (todo-print-buffer-to-file, todo-raise-category)
22023         (todo-rename-category, todo-repair-categories-sexp, todo-search)
22024         (todo-set-category-number, todo-set-item-priority)
22025         (todo-set-top-priorities-in-category)
22026         (todo-set-top-priorities-in-file, todo-show-categories-table)
22027         (todo-sort-categories-alphabetically-or-numerically)
22028         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
22029         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
22030         (todo-toggle-item-header, todo-toggle-item-highlighting)
22031         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
22032         (todo-toggle-view-done-items, todo-toggle-view-done-only)
22033         (todo-unarchive-items, todo-unmark-category): New commands.
22034         (todo-absolute-file-name, todo-add-to-buffer-list)
22035         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
22036         (todo-basic-insert-item, todo-category-completions)
22037         (todo-category-number, todo-category-string-matcher-1)
22038         (todo-category-string-matcher-2, todo-check-filtered-items-file)
22039         (todo-check-format, todo-clear-matches)
22040         (todo-comment-string-matcher, todo-convert-legacy-date-time)
22041         (todo-current-category, todo-date-string-matcher)
22042         (todo-define-insertion-command, todo-diary-expired-matcher)
22043         (todo-diary-goto-entry, todo-diary-item-p)
22044         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
22045         (todo-display-categories, todo-display-sorted, todo-done-item-p)
22046         (todo-done-item-section-p, todo-done-separator)
22047         (todo-done-string-matcher, todo-files, todo-filter-items)
22048         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
22049         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
22050         (todo-insert-category-line, todo-insert-item-from-calendar)
22051         (todo-insert-sort-button, todo-insert-with-overlays)
22052         (todo-insertion-command-name, todo-insertion-key-bindings)
22053         (todo-label-to-key, todo-longest-category-name-length)
22054         (todo-make-categories-list, todo-mode-external-set)
22055         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
22056         (todo-modes-set-3, todo-multiple-filter-files)
22057         (todo-nondiary-marker-matcher, todo-prefix-overlays)
22058         (todo-read-category, todo-read-date, todo-read-dayname)
22059         (todo-read-file-name, todo-read-time)
22060         (todo-reevaluate-category-completions-files-defcustom)
22061         (todo-reevaluate-default-file-defcustom)
22062         (todo-reevaluate-filelist-defcustoms)
22063         (todo-reevaluate-filter-files-defcustom)
22064         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
22065         (todo-reset-done-separator, todo-reset-done-separator-string)
22066         (todo-reset-done-string, todo-reset-global-current-todo-file)
22067         (todo-reset-highlight-item, todo-reset-nondiary-marker)
22068         (todo-reset-prefix, todo-set-categories)
22069         (todo-set-date-from-calendar, todo-set-show-current-file)
22070         (todo-set-top-priorities, todo-short-file-name)
22071         (todo-show-current-file, todo-sort, todo-time-string-matcher)
22072         (todo-total-item-counts, todo-update-buffer-list)
22073         (todo-update-categories-display, todo-update-categories-sexp)
22074         (todo-update-count, todo-validate-name, todo-y-or-n-p):
22075         New functions.
22076         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
22077         New major modes.
22078         (todo-categories, todo-display, todo-edit, todo-faces)
22079         (todo-filtered): New defgroups.
22080         (todo-archived-only, todo-button, todo-category-string, todo-date)
22081         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
22082         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
22083         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
22084         (todo-add-item-if-new-category, todo-always-add-time-string)
22085         (todo-categories-align, todo-categories-archived-label)
22086         (todo-categories-category-label, todo-categories-diary-label)
22087         (todo-categories-done-label, todo-categories-number-separator)
22088         (todo-categories-todo-label, todo-categories-totals-label)
22089         (todo-category-completions-files, todo-completion-ignore-case)
22090         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
22091         (todo-done-separator-string, todo-done-string)
22092         (todo-files-function, todo-filter-done-items, todo-filter-files)
22093         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
22094         (todo-initial-category, todo-initial-file, todo-item-mark)
22095         (todo-legacy-date-time-regexp, todo-mode-line-function)
22096         (todo-nondiary-marker, todo-number-prefix)
22097         (todo-print-buffer-function, todo-show-current-file)
22098         (todo-show-done-only, todo-show-first, todo-show-with-done)
22099         (todo-skip-archived-categories, todo-top-priorities-overrides)
22100         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
22101         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
22102         New defcustoms.
22103         (todo-category-done, todo-date-pattern, todo-date-string-start)
22104         (todo-diary-items-buffer, todo-done-string-start)
22105         (todo-filtered-items-buffer, todo-item-start)
22106         (todo-month-abbrev-array, todo-month-name-array)
22107         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
22108         (todo-top-priorities-buffer): New defconsts.
22109         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
22110         (todo-categories-with-marks, todo-category-string-face)
22111         (todo-comment-face, todo-comment-string, todo-current-todo-file)
22112         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
22113         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
22114         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
22115         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
22116         (todo-font-lock-keywords, todo-global-current-todo-file)
22117         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
22118         (todo-insertion-commands-args)
22119         (todo-insertion-commands-args-genlist)
22120         (todo-insertion-commands-names, todo-insertion-map)
22121         (todo-key-bindings-t, todo-key-bindings-t+a)
22122         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
22123         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
22124         (todo-nondiary-face, todo-print-buffer, todo-time-face)
22125         (todo-visited): New variables.
22127 2013-06-21  Glenn Morris  <rgm@gnu.org>
22129         * play/cookie1.el (cookie-apropos): Add optional display argument.
22130         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
22131         (psychoanalyze-pinhead): Use cookie-doctor.
22133 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
22135         * emacs-lisp/package.el (tar-get-file-descriptor)
22136         (tar--extract): Declare.
22138 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
22140         Extend flymake's warning predicate to be a function (bug#14217).
22141         * progmodes/flymake.el (flymake-warning-predicate): New.
22142         (flymake-parse-line): Use it.
22143         (flymake-warning-re): Make obsolete alias to
22144         `flymake-warning-predicate'.
22146 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
22148         * emacs-lisp/package.el (package-alist): Include obsolete packages.
22149         (package-obsolete-list): Remove.
22150         (package-activate): Remove min-version argument.  Add `force' argument.
22151         Adjust to new package-alist format.
22152         (package-mark-obsolete): Remove.
22153         (package-unpack): Force reload of the package's autoloads.
22154         (package-installed-p): Check builtins if the installed package is not
22155         recent enough.
22156         (package-initialize): Don't reset package-obsolete-list.
22157         Don't specify which package version to activate.
22158         (package-process-define-package, describe-package-1)
22159         (package-menu--generate): Adjust to new package-alist format.
22161 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
22163         * allout-widgets.el (allout-widgets-mode-off)
22164         (allout-widgets-mode-on, allout-widgets-pre-command-business)
22165         (allout-widgets-post-command-business)
22166         (allout-widgets-after-copy-or-kill-function)
22167         (allout-widgets-after-undo-function, allout-test-range-overlaps)
22168         (allout-decorate-item-and-context)
22169         (allout-graphics-modification-handler): Fix typos in docstrings.
22170         (allout-get-or-create-parent-widget): Use `looking-at-p'.
22172         * cmuscheme.el (scheme-start-file): Doc fix.
22173         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
22174         (scheme-input-filter): Use `string-match-p'.
22176         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
22178         * dired-x.el: Use Dired consistently in docstrings.
22180         * dired.el: Use Dired consistently in docstrings.
22181         (dired-readin, dired-mode): Use `setq-local'.
22182         (dired-switches-alist): Make defvar-local.
22183         (dired-buffers-for-dir): Use `zerop'.
22184         (dired-safe-switches-p, dired-switches-escape-p)
22185         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
22186         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
22187         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
22188         (dired-goto-next-nontrivial-file): Use `string-match-p'.
22189         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
22190         (dired-toggle-marks, dired-mark-files-containing-regexp)
22191         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
22192         (dired-flag-auto-save-files, dired-flag-backup-files):
22193         Use `looking-at-p'.
22194         (dired-mark-files-regexp, dired-build-subdir-alist):
22195         Use `string-match-p', `looking-at-p'.
22197         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
22198         (direct-print-region-helper): Use `string-match-p'.
22200 2013-06-21  Leo Liu  <sdl.web@gmail.com>
22202         * comint.el (comint-redirect-results-list-from-process):
22203         Fix infinite loop.
22205 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22207         * net/eww.el (eww-update-header-line-format): Quote % characters.
22209 2013-06-21  Glenn Morris  <rgm@gnu.org>
22211         * play/cookie1.el (cookie): New custom group.
22212         (cookie-file): New option.
22213         (cookie-check-file): New function.
22214         (cookie): Make it interactive.  Make start and end messages optional.
22215         Interactively, display the result.  Default to cookie-file.
22216         (cookie-insert): Default to cookie-file.
22217         (cookie-snarf): Make start and end messages optional.
22218         Default to cookie-file.  Use with-temp-buffer.
22219         (cookie-read): Rename from read-cookie.
22220         Make start and end messages optional.  Default to cookie-file.
22221         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
22222         Do not autoload it.
22223         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
22224         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
22226 2013-06-21  Leo Liu  <sdl.web@gmail.com>
22228         * progmodes/octave.el (octave-mode): Backward compatibility fix.
22230 2013-06-21  Glenn Morris  <rgm@gnu.org>
22232         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
22234 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
22235             Daniel Hackney  <dan@haxney.org>
22237         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
22238         Consolidate the single-file vs tarball code.
22239         (package-desc-suffix): New function.
22240         (package-desc-full-name): Don't bother inlining it.
22241         (package-load-descriptor): Return the new package-desc.
22242         (package-mark-obsolete): Remove unused arg `package'.
22243         (package-unpack): Make it work for single files as well.
22244         Make it update package-alist.
22245         (package--make-autoloads-and-stuff): Rename from
22246         package--make-autoloads-and-compile.  Don't compile any more.
22247         (package--compile): New function.
22248         (package-generate-description-file): New function, extracted from
22249         package-unpack-single.
22250         (package-unpack-single): Remove.
22251         (package--with-work-buffer): Add indentation and debugging info.
22252         (package-download-single): Remove.
22253         (package-install-from-archive): Rename from package-download-tar, make
22254         it take a pkg-desc, and make it work for single files as well.
22255         (package-download-transaction): Simplify.
22256         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
22257         external tar program.
22258         (package-install-from-buffer): Remove `pkg-desc' argument.
22259         Use package-tar-file-info for tar-mode buffers.
22260         (package-install-file): Simplify accordingly.
22261         (package-archive-base): Change to take a pkg-desc.
22262         * tar-mode.el (tar--check-descriptor): New function, extracted from
22263         tar-get-descriptor.
22264         (tar-get-descriptor): Use it.
22265         (tar-get-file-descriptor): New function.
22266         (tar--extract): New function, extracted from tar-extract.
22267         (tar--extract): Use it.
22268         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
22269         case the summary uses non-ascii.  Adjust to new calling convention of
22270         package-tar-file-info.
22272 2013-06-21  Leo Liu  <sdl.web@gmail.com>
22274         * comint.el (comint-redirect-results-list-from-process):
22275         Fix random delay.  (Bug#14681)
22277 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
22279         * profiler.el (profiler-format-number): Use log, not log10.
22281 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
22283         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
22285 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22287         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
22288         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
22289         yet available.
22290         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
22291         (AUTOGENEL): ... here.
22292         * emacs-lisp/cl-macs.el (cl--sublis): New function.
22293         (cl--defsubst-expand): Use it.
22295 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
22297         * subr.el (log10): Move here from C code, and declare as obsolete.
22298         All uses of (log10 X) replaced with (log X 10).
22300 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
22302         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
22303         Declare with `defvar-local'.
22304         (tabulated-list-use-header-line, tabulated-list-entries)
22305         (tabulated-list-padding, tabulated-list-printer)
22306         (tabulated-list-sort-key): Declare with `defvar-local'.
22307         (tabulated-list-init-header, tabulated-list-print-fake-header):
22308         Use `setq-local'.
22310 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
22312         * arc-mode.el (archive-mode): Add `archive-write-file' to
22313         `write-contents-functions' also for remote files.  (Bug#14652)
22315 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
22317         * cus-edit.el (custom-commands): Fix typos.
22318         (custom-display): Fix tooltip text.
22319         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
22320         Fix typos in docstrings.
22321         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
22322         (custom-unlispify-menu-entry, custom-magic-value-create)
22323         (custom-add-see-also, custom-group-value-create): Use ?\s.
22324         (custom-guess-type, customize-apropos, editable-field)
22325         (custom-face-value-create): Use `string-match-p'.
22326         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
22328         * custom.el (custom-load-symbol): Use `string-match-p'.
22330         * ansi-color.el: Convert to lexical binding.
22331         (ansi-colors): Fix URL.
22332         (ansi-color-context, ansi-color-context-region): Use defvar-local.
22333         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
22334         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
22336 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22338         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
22340         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
22342 2013-06-19  Tom Tromey  <tromey@redhat.com>
22344         * net/eww.el (eww-top-url): Remove.
22345         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
22346         (eww-render): Set new variables.  Don't set eww-top-url.
22347         (eww-handle-link): Handle "prev", "home", and "contents".
22348         Downcase the rel text.
22349         (eww-top-url): Choose best top URL.
22351 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22353         * net/eww.el: Rewrite to implement form elements "by hand" instead of
22354         relying in widget.el.  Using widget.el leads to too many
22355         user interface inconsistencies.
22356         (eww-self-insert): Implement entering commands in text fields.
22357         (eww-process-text-input): New function to make text input field editing
22358         work.
22359         (eww-submit): Rewrite to use the new-style form methods.
22360         (eww-select-display): Display the correct selected item.
22361         (eww-change-select): Implement changing the select value.
22362         (eww-toggle-checkbox): Implement radio/checkboxes.
22363         (eww-update-field): Fix compilation error.
22364         (eww-tag-textarea): Implement <textarea>.
22366         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
22367         we don't shadow mode-specific bindings.
22369         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
22370         nothing to push.
22372         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
22374 2013-06-19  Glenn Morris  <rgm@gnu.org>
22376         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
22378 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
22380         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
22381         not needed.
22383         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
22385 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22387         * net/browse-url.el (browse-url-browser-function):
22388         `eww-browse-url' has the right calling signature, `eww' does not.
22390 2013-06-19  Glenn Morris  <rgm@gnu.org>
22392         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
22393         Only eval autoloaded macros.
22394         (byte-compile-autoload): Only give the macro warning for macros.
22396         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
22397         (ps-underlined-faces): Declare.
22399         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
22400         (speedbar-add-supported-extension): Declare.
22402         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
22403         Don't include a date stamp in the header of the generated file;
22404         it leads to needless differences between output files.
22406 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
22408         * net/secrets.el (secrets-struct-secret-content-type):
22409         Replace check of introspection data by a test call of "CreateItem".
22410         Some servers do not offer introspection.
22412 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
22414         * electric.el (electric-pair-mode): Improve interaction with
22415         electric-layout-mode.
22416         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
22417         (electric-pair-syntax): Use text-mode-syntax-table in comments
22418         and strings.
22419         (electric-pair--insert): New function.
22420         (electric-pair-post-self-insert-function): Use it and
22421         electric--after-char-pos.
22423 2013-06-19  Leo Liu  <sdl.web@gmail.com>
22425         * progmodes/octave.el (octave-help): Fix regexp.
22427 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22429         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
22430         (shr-table-horizontal-line): Allow nil as a value, and change the
22431         default.
22432         (shr-insert-table-ruler): Respect the nil value.
22434 2013-06-18  Tom Tromey  <tromey@barimba>
22436         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22437         New defvars.
22438         (eww-open-file): New defun.
22439         (eww-render): Initialize new variables.
22440         (eww-display-html): Handle "link" and "a".
22441         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
22442         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
22443         (eww-back-url): Rename from eww-previous-url.
22444         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22445         New defuns.
22447 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
22449         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
22450         Distinguish ternary operator tokens from slash symbol and slash
22451         char literal.
22453 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
22455         Convert symbol prettification into minor mode and global minor mode.
22457         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
22458         `prog-prettify-symbols', and make a local defvar instead of defcustom.
22459         (prettify-symbols--keywords): Rename from
22460         `prog-prettify-symbols-alist' and make a local defvar.
22461         (prettify-symbols--compose-symbol): Rename from
22462         `prog--prettify-font-lock-compose-symbol'.
22463         (prettify-symbols--make-keywords): Rename from
22464         `prog-prettify-font-lock-symbols-keywords' and simplify.
22465         (prog-prettify-install): Remove.
22466         (prettify-symbols-mode): New minor mode, based on
22467         `prog-prettify-install'.
22468         (turn-on-prettify-symbols-mode): New function.
22469         (global-prettify-symbols-mode): New globalized minor mode.
22471         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22472         * progmodes/cfengine.el (cfengine3-mode):
22473         * progmodes/perl-mode.el (perl-mode): Don't call
22474         `prog-prettify-install'; set `prettify-symbols-alist' instead.
22476 2013-06-18  Juri Linkov  <juri@jurta.org>
22478         * files-x.el (modify-file-local-variable-message): New function.
22479         (modify-file-local-variable)
22480         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
22481         and call `modify-file-local-variable-message' when it's non-nil.
22482         (add-file-local-variable, delete-file-local-variable)
22483         (add-file-local-variable-prop-line)
22484         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
22485         and use it.  (Bug#9820)
22487 2013-06-18  Juri Linkov  <juri@jurta.org>
22489         * emulation/vi.el (vi-shell-op):
22490         * emulation/vip.el (vip-execute-com, ex-command):
22491         * emulation/viper-cmd.el (viper-exec-bang):
22492         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
22493         the call of `shell-command-on-region'.  (Bug#14637)
22495         * simple.el (shell-command-on-region): Doc fix.
22497 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
22499         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
22500         (bug#14633).
22502 2013-06-18  Glenn Morris  <rgm@gnu.org>
22504         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
22506         * newcomment.el (comment-search-forward, comment-search-backward):
22507         Doc fix.  (Bug#14376)
22509 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
22511         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
22512         (buffer-face-mode-invoke): Doc fix.
22514 2013-06-18  Matthias Meulien  <orontee@gmail.com>
22516         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
22517         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
22519 2013-06-18  Glenn Morris  <rgm@gnu.org>
22521         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
22522         Replace obsolete function generic-make-keywords with its expansion.
22524         * progmodes/python.el (ffap-alist): Declare.
22526         * textmodes/reftex.el (bibtex-mode-map): Declare.
22528 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
22530         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
22531         (package-unpack, package-unpack-single): Return the pkg-dir.
22532         (package-download-transaction): Use it to update package-alist.
22534 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22536         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
22537         possible choice.
22539 2013-06-17  Juri Linkov  <juri@jurta.org>
22541         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
22543 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
22545         * emacs-lisp/package.el (package-load-descriptor):
22546         Remove `with-syntax-table' call, `read' doesn't need it.
22547         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
22549 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
22551         * startup.el (command-line): Expand package name returned by
22552         `package--description-file' (bug#14639).
22554 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
22556         * emacs-lisp/package.el (package-load-descriptor): Do not call
22557         `emacs-lisp-mode', just use its syntax table.
22559 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
22561         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
22562         `font-lock-extra-managed-props' if any prettifying keyword is added.
22563         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
22564         (prog-mode): Use `setq-local'.
22566 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
22568         * international/characters.el (standard-case-table): Set syntax of ?»
22569         and ?« to punctuation.
22571 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
22573         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
22574         Save relevant match data before calling `syntax-ppss' (bug#14595).
22576 2013-06-15  Juri Linkov  <juri@jurta.org>
22578         * files-x.el (modify-file-local-variable-prop-line): Add local
22579         variables to the end of the existing comment on the first line.
22580         Use `file-auto-mode-skip' to skip interpreter magic line,
22581         and also skip XML declaration.
22583 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22585         * startup.el (package--builtin-versions): New var.
22586         (package-subdirectory-regexp): Remove.
22587         (package--description-file): Hard code its value instead.
22589         * emacs-lisp/package.el: Don't activate packages older than builtin.
22590         (package-obsolete-list): Rename from package-obsolete-alist, and make
22591         it into a simple list of package-desc.
22592         (package-strip-version): Remove.
22593         (package-built-in-p): Use package--builtin-versions.
22594         (package-mark-obsolete): Simplify.
22595         (package-process-define-package): Mark it obsolete if older than the
22596         builtin version.
22597         (package-handle-response): Use line-end-position.
22598         (package-read-archive-contents, package--download-one-archive):
22599         Simplify.
22600         (package--add-to-archive-contents): Skip if older than the builtin or
22601         installed version.
22602         (package-menu-describe-package): Fix last change.
22603         (package-list-unversioned): New var.
22604         (package-menu--generate): Use it.
22606         * emacs-lisp/autoload.el: Manage package--builtin-versions.
22607         (autoload--insert-text, autoload--insert-cookie-text): New functions.
22608         (autoload-builtin-package-versions): New variable.
22609         (autoload-generate-file-autoloads): Use them.
22610         Remove the list of autoloaded functions/macros from the
22611         (autoload...) comments.
22613         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
22615 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
22617         * simple.el (line-move-partial): Don't jump to the next screen
22618         line as soon as it becomes visible.  Instead, continue enlarging
22619         the vscroll until the portion of a tall screen line that's left on
22620         display is about the height of the frame's default font.
22621         (Bug#14567)
22623 2013-06-15  Glenn Morris  <rgm@gnu.org>
22625         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
22626         compilation-error-regexp-alist void, or local while let-bound.
22628         * progmodes/make-mode.el (makefile-mode-syntax-table):
22629         Treat "=" as punctuation.  (Bug#14614)
22631 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
22633         * help-fns.el (describe-variable):
22634         Add extra line for permanent-local variables.
22636 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
22638         * progmodes/scheme.el (scheme-font-lock-keywords-2):
22639         Add export, import, library.  (Bug#9164)
22640         (library): Set indent function.
22642 2013-06-14  Glenn Morris  <rgm@gnu.org>
22644         * term/xterm.el (xterm--query):
22645         Stop after first matching handler.  (Bug#14615)
22647 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
22649         Add support for dired in saveplace.
22650         * dired.el (dired-initial-position-hook): New variable.
22651         (dired-initial-position): Call hook to place cursor position.
22652         * saveplace.el (save-place-to-alist): Add dired position.
22653         (save-place-dired-hook): New function.
22655 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
22657         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
22658         through a symbol rather than letrec.
22660         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
22661         (package-desc): Add `dir' field.
22662         (package-desc-full-name): New function.
22663         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
22664         (package-maybe-load-descriptor): Remove.
22665         (package-load-all-descriptors): Just call package-load-descriptor.
22666         (package--disabled-p): New function.
22667         (package-desc-vers, package-desc-doc): Remove aliases.
22668         (package--dir): Remove function.
22669         (package-activate): Check if a package is disabled.
22670         (package-process-define-package): New function, extracted from
22671         define-package.
22672         (define-package): Turn into a place holder.
22673         (package-unpack-single, package-tar-file-info):
22674         Use package--description-file.
22675         (package-compute-transaction): Use package--disabled-p.
22676         (package-download-transaction): Don't call
22677         package-maybe-load-descriptor since they're all loaded anyway.
22678         (package-install): Change argument to be a pkg-desc.
22679         (package-delete): Use a single pkg-desc argument.
22680         (describe-package-1): Use package-desc-dir instead of package--dir.
22681         Use package-desc property instead of package-symbol.
22682         (package-install-button-action): Adjust accordingly.
22683         (package--push): Rewrite.
22684         (package-menu--print-info): Adjust accordingly.  Change the ID format
22685         to be a pkg-desc.
22686         (package-menu-describe-package, package-menu-get-status)
22687         (package-menu--find-upgrades, package-menu-mark-upgrades)
22688         (package-menu-execute, package-menu--name-predicate):
22689         Adjust accordingly.
22690         * startup.el (package--description-file): New function.
22691         (command-line): Use it.
22692         * emacs-lisp/package-x.el (package-upload-buffer-internal):
22693         Use package-desc-version.
22695         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
22696         (byte-compile-preprocess): Use it.
22697         (byte-compile-file-form-defalias): Try a bit harder to use macros we
22698         can't quite recognize.
22699         (byte-compile-add-to-list): Remove.
22700         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
22701         (cconv-closure-convert): Add assertion.
22703         * emacs-lisp/map-ynp.el: Use lexical-binding.
22704         (map-y-or-n-p): Remove unused vars `tail' and `object'.
22705         Factor out some repeated code.
22707 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
22709         * subr.el (with-eval-after-load): New macro.
22710         (eval-after-load): Allow form to be a function.
22711         take advantage of lexical-binding.
22712         (do-after-load-evaluation): Use dolist and adjust to new format.
22713         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
22715 2013-06-13  Juri Linkov  <juri@jurta.org>
22717         * replace.el (perform-replace): Display "symbol " and other search
22718         modes from `isearch-message-prefix' in the *Help* buffer.
22720         * isearch.el (isearch-query-replace): Add " symbol" and other
22721         possible search modes from `isearch-message-prefix' to the prompt.
22722         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
22723         when reading a regexp to collect.
22725 2013-06-13  Juri Linkov  <juri@jurta.org>
22727         * isearch.el (word-search-regexp): Match whitespace if the search
22728         string begins or ends in whitespace.  The LAX arg is applied to
22729         both ends of the search string.  Use `regexp-quote' and explicit
22730         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
22731         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22732         boundaries are replaced with symbol boundaries, and characters
22733         between symbols match non-word non-symbol syntax.  (Bug#14602)
22735 2013-06-13  Juri Linkov  <juri@jurta.org>
22737         * isearch.el (isearch-del-char): Don't exceed the length of
22738         `isearch-string' by the prefix arg.  (Bug#14563)
22740 2013-06-13  Juri Linkov  <juri@jurta.org>
22742         * isearch.el (isearch-yank-word, isearch-yank-line)
22743         (isearch-char-by-name, isearch-quote-char)
22744         (isearch-printing-char, isearch-process-search-char):
22745         Add optional count prefix arg.  (Bug#14563)
22747         * international/isearch-x.el
22748         (isearch-process-search-multibyte-characters):
22749         Add optional count prefix arg.
22751 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
22753         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22754         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22755         lexical-binding.
22757 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
22759         * subr.el (set-temporary-overlay-map): Add on-exit argument.
22761 2013-06-13  Glenn Morris  <rgm@gnu.org>
22763         * startup.el (tty-handle-args):
22764         Don't just discard "--" and anything after.  (Bug#14608)
22766         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22768 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
22770         Implement changes in Secret Service API.  Make it backward compatible.
22771         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22772         (secrets-create-item): Use it.  Prefix properties with interface.
22774 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
22776         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
22777         (term-emulate-terminal): Respect term-suppress-hard-newline.
22779 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
22781         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22782         Only remove a `thumb-file' overlay.  (Bug#14548)
22784 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
22786         * mail/reporter.el (reporter-submit-bug-report):
22787         Handle missing package-name.  (Bug#14600)
22789 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
22791         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22792         (reftex-citation-prompt, reftex-default-bibliography)
22793         (reftex-bib-or-thebib, reftex-get-bibfile-list)
22794         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22795         (reftex-bib-sort-author, reftex-bib-sort-year)
22796         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22797         (reftex-extract-bib-entries-from-thebibliography)
22798         (reftex-get-bibkey-default, reftex-get-bib-names)
22799         (reftex-parse-bibtex-entry, reftex-get-bib-field)
22800         (reftex-format-bib-entry, reftex-parse-bibitem)
22801         (reftex-format-bibitem, reftex-do-citation)
22802         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22803         (reftex-restrict-bib-matches, reftex-extract-bib-file)
22804         (reftex-insert-bib-matches, reftex-format-citation)
22805         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22806         (reftex-create-bibtex-file): Add docstrings, mostly by converting
22807         existing comments into docstrings.
22809 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
22811         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22813 2013-06-12  Andreas Schwab  <schwab@suse.de>
22815         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22816         for auto-save files.
22818 2013-06-12  Glenn Morris  <rgm@gnu.org>
22820         * ido.el (ido-delete-ignored-files): Remove.
22821         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22822         Go back to calling ido-ignore-item-p directly.
22824 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
22826         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22828         * ido.el (ido-delete-ignored-files): New function,
22829         split from ido-make-file-list-1.
22830         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
22831         (ido-make-file-list-1): Use ido-delete-ignored-files.
22833 2013-06-12  Leo Liu  <sdl.web@gmail.com>
22835         * progmodes/octave.el (inferior-octave-startup)
22836         (inferior-octave-completion-table)
22837         (inferior-octave-track-window-width-change)
22838         (octave-eldoc-function-signatures, octave-help)
22839         (octave-find-definition): Use single quoted strings.
22840         (inferior-octave-startup-args): Change default value.
22841         (inferior-octave-startup): Do not hard code "-i" and
22842         "--no-line-editing".
22843         (inferior-octave-resync-dirs): Add optional arg NOERROR.
22844         (inferior-octave-directory-tracker): Use it.
22845         (octave-goto-function-definition): Robustify.
22846         (octave-help): Support highlighting operators in 'See also'.
22847         (octave-find-definition): Find subfunctions only in Octave mode.
22849 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22851         * help-fns.el (help-fns--compiler-macro): If the handler function is
22852         named, then put a link to it.
22853         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22854         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22855         (cl-typep): Use it.
22856         (cl-eval-when): Simplify debug spec.
22857         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
22858         compiler-macro function instead of setting `compiler-macro-file'.
22860 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
22862         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22863         * vc/vc-hooks.el (vc-stay-local): Doc fix.
22865 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22866             Daniel Hackney  <dan@haxney.org>
22868         First part of Daniel Hackney's patch to package.el.
22869         * emacs-lisp/package.el: Use defstruct.
22870         (package-desc): New, main struct.
22871         (package--bi-desc, package--ac-desc): New structs, used to describe the
22872         format in external files.
22873         (package-desc-vers): Replace with package-desc-version accessor.
22874         (package-desc-doc): Replace with package-desc-summary accessor.
22875         (package-activate-1): Remove `package' arg since the pkg-vec now
22876         includes the name.
22877         (define-package): Use package-desc-from-define.
22878         (package-unpack-single): Change file-name arg to be a symbol.
22879         (package--add-to-archive-contents): Use package-desc-create and new
22880         accessor functions to package--ac-desc.
22881         (package-buffer-info, package-tar-file-info): Return a package-desc.
22882         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
22883         arg to be a package-desc.
22884         (package-install-file): Adjust accordingly.  Use \' to match EOS.
22885         (package--from-builtin): New function.
22886         (describe-package-1, package-menu--generate): Use it.
22887         (package--make-autoloads-and-compile): Change name arg to be a symbol.
22888         (package-generate-autoloads): Idem and return the name of the file.
22889         * emacs-lisp/package-x.el (package-upload-buffer-internal):
22890         Change pkg-info arg to be a package-desc.
22891         Use package-make-ac-desc.
22892         (package-upload-file): Use \' to match EOS.
22893         * finder.el (finder-compile-keywords): Use package-make-builtin.
22895 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
22897         * vc/vc.el (vc-deduce-fileset): Change error message.
22898         (vc-read-backend): New function.
22899         (vc-next-action): Use it.
22901         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
22903         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
22904         (prolog-font-lock-keywords): Use regexp-opt instead.
22905         Don't manually highlight strings.
22906         (prolog-mode-variables): Simplify comment-start-skip.
22907         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
22909         * emacs-lisp/generic.el (generic--normalise-comments)
22910         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
22911         (generic-mode-set-comments): Use them.
22912         (generic-bracket-support): Use setq-local.
22913         (generic-make-keywords-list): Declare obsolete.
22915 2013-06-11  Glenn Morris  <rgm@gnu.org>
22917         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22918         Prettify after setting font-lock-defaults.  (Bug#14574)
22920 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
22922         * replace.el (query-replace, occur-read-regexp-defaults-function)
22923         (replace-search):
22924         * subr.el (declare-function, number-sequence, local-set-key)
22925         (substitute-key-definition, locate-user-emacs-file)
22926         (with-silent-modifications, split-string, eval-after-load):
22927         Fix typos, remove unneeded backslashes and reflow some docstrings.
22929 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
22931         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
22932         default for Elisp files.
22934 2013-06-11  Glenn Morris  <rgm@gnu.org>
22936         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
22937         although define-derived-mode was doing this anyway.  (Bug#14583)
22939 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
22941         * allout.el (allout-encryption-plaintext-sanitization-regexps):
22942         Fix make-variable-buffer-local call to refer to the correct variable.
22944 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
22946         * eshell/em-term.el (eshell-visual-commands)
22947         (eshell-visual-subcommands, eshell-visual-options):
22948         Add summary line to docstrings.  Add cross-references.
22950 2013-06-10  Glenn Morris  <rgm@gnu.org>
22952         * epa.el (epa-read-file-name): New function.  (Bug#14510)
22953         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
22955 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
22957         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
22958         output redirection to be ignored with visual commands.
22960 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
22962         * eshell/em-term.el (eshell-visual-command-p): New function.
22963         (eshell-term-initialize): Move long lambda to separate function
22964         eshell-visual-command-p.
22965         * eshell/em-dirs.el (eshell-dirs-initialize):
22966         * eshell/em-script.el (eshell-script-initialize):
22967         Add missing #' to lambda.
22969 2013-06-08  Leo Liu  <sdl.web@gmail.com>
22971         * progmodes/octave.el (octave-add-log-current-defun): New function.
22972         (octave-mode): Set add-log-current-defun-function.
22973         (octave-goto-function-definition): Do not move point if not found.
22974         (octave-find-definition): Enhance to try subfunctions first.
22976 2013-06-08  Glenn Morris  <rgm@gnu.org>
22978         * emacs-lisp/bytecomp.el (byte-compile-char-before)
22979         (byte-compile-backward-char, byte-compile-backward-word):
22980         Improve previous change, to handle non-explicit nil.
22982 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
22984         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
22985         (smie--opener/closer-at-point): New function.
22986         (smie--matching-block-data): Use it.  Don't match from right after an
22987         opener or right before a closer.  Obey smie-blink-matching-inners.
22988         Don't signal a mismatch for repeated inners like "switch..case..case".
22990 2013-06-07  Leo Liu  <sdl.web@gmail.com>
22992         * progmodes/octave.el (octave-mode): Set comment-use-global-state
22993         to t.  (Bug#14303)
22994         (octave-function-header-regexp): Fix.  (Bug#14570)
22995         (octave-help-mode-finish-hook, octave-help-mode-finish):
22996         Remove.  Just use temp-buffer-show-hook.
22998         * newcomment.el (comment-search-backward): Revert last change.
22999         (Bug#14434)
23001         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
23003 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
23005         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
23006         through xargs, to avoid failure due to MS-Windows limitations on
23007         command-line length.
23009 2013-06-06  Glenn Morris  <rgm@gnu.org>
23011         * font-lock.el (lisp-font-lock-keywords-2):
23012         Treat user-error like error.
23014         * emacs-lisp/bytecomp.el (byte-compile-char-before)
23015         (byte-compile-backward-char, byte-compile-backward-word):
23016         Handle explicit nil arguments.  (Bug#14565)
23018 2013-06-05  Alan Mackenzie  <acm@muc.de>
23020         * isearch.el (isearch-allow-prefix): New user option.
23021         (isearch-other-meta-char): Don't exit isearch when a prefix
23022         argument is typed whilst `isearch-allow-prefix' is non-nil.
23023         (Bug#9706)
23025 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
23027         * autorevert.el (auto-revert-notify-handler): Use memq.
23028         Hide assertion failure.
23030         * skeleton.el: Use cl-lib.
23031         (skeleton-further-elements): Use defvar-local.
23032         (skeleton-insert): Use cl-progv.
23034 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
23036         * progmodes/prog-mode.el (prog-prettify-symbols)
23037         (prog-prettify-install): Update docstrings.
23039 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
23041         * simple.el: Move all the prog-mode code to prog-mode.el.
23042         * progmodes/prog-mode.el: New file.
23043         * loadup.el: Add prog-mode.el.
23045 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
23047         * simple.el (prog-prettify-symbols): Add version.
23048         (prog-prettify-install): Add convenience function to prettify symbols.
23050         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
23051         (perl--augmented-font-lock-keywords-1)
23052         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
23053         variables and use it.
23055         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
23056         (cfengine3-mode): Remove unneeded variable and use it.
23058         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
23059         (lisp--augmented-font-lock-keywords-1)
23060         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
23061         Remove unneeded variables and use it.
23063 2013-06-05  João Távora  <joaotavora@gmail.com>
23065         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
23066         to point when opening the connection.  (Bug#14380)
23068 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
23070         * subr.el (load-history-regexp, load-history-filename-element)
23071         (eval-after-load, after-load-functions, do-after-load-evaluation)
23072         (eval-next-after-load, display-delayed-warnings)
23073         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
23074         definition of save-match-data.
23075         (overriding-local-map): Remove accidental obsolescence declaration.
23077         * emacs-lisp/edebug.el (edebug-result): Move before first use.
23079 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
23081         Generalize symbol prettify support to prog-mode and implement it
23082         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
23083         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
23084         (prog--prettify-font-lock-compose-symbol)
23085         (prog-prettify-font-lock-symbols-keywords): New variables and
23086         functions to support symbol prettification.
23087         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
23088         (lisp--augmented-font-lock-keywords-1)
23089         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
23090         (lisp--prettify-symbols-alist): Implement prettify of lambda.
23091         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
23092         (cfengine3--prettify-symbols-alist, cfengine3-mode):
23093         Implement prettify of -> => :: strings.
23094         * progmodes/perl-mode.el (perl-prettify-symbols)
23095         (perl--font-lock-compose-symbol)
23096         (perl--font-lock-symbols-keywords): Move to prog-mode.
23097         (perl--prettify-symbols-alist): Prettify -> => :: strings.
23098         (perl-font-lock-keywords-1)
23099         (perl-font-lock-keywords-2): Remove explicit prettify support.
23100         (perl--augmented-font-lock-keywords)
23101         (perl--augmented-font-lock-keywords-1)
23102         (perl--augmented-font-lock-keywords-2, perl-mode):
23103         Implement prettify support.
23105 2013-06-05  Leo Liu  <sdl.web@gmail.com>
23107         Re-implement SMIE matching block highlight using
23108         show-paren-data-function.  (Bug#14395)
23109         * emacs-lisp/smie.el (smie-matching-block-highlight)
23110         (smie--highlight-matching-block-overlay)
23111         (smie--highlight-matching-block-lastpos)
23112         (smie-highlight-matching-block)
23113         (smie-highlight-matching-block-mode): Remove.
23114         (smie--matching-block-data-cache): New variable.
23115         (smie--matching-block-data): New function.
23116         (smie-setup): Use smie--matching-block-data for
23117         show-paren-data-function.
23119         * progmodes/octave.el (octave-mode-menu): Fix.
23120         (octave-find-definition): Skip garbage lines.
23122 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
23124         Fix compilation error with simultaneous dynamic+lexical scoping.
23125         Add warning when a defvar appears after the first let-binding.
23126         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
23127         (byte-compile-close-variables): Initialize it.
23128         (byte-compile--declare-var): New function.
23129         (byte-compile-file-form-defvar)
23130         (byte-compile-file-form-define-abbrev-table)
23131         (byte-compile-file-form-custom-declare-variable): Use it.
23132         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
23133         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
23134         (byte-compile-bind): Handle dynamic bindings that shadow
23135         lexical bindings.
23136         (byte-compile-unbind): Make arg non-optional.
23137         (byte-compile-let): Simplify.
23138         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
23139         (cconv--analyse-function, cconv-analyse-form): Populate it.
23140         Protect byte-compile-bound-variables to limit the scope of defvars.
23141         (cconv-analyse-form): Add missing rule for (defvar <foo>).
23142         Remove unneeded rule for `declare'.
23144         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
23145         so as to avoid depending on cl-adjoin at run-time.
23146         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
23148         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
23149         (macroexp--warn-and-return): Use it.
23151 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
23153         * subr.el: Convert to lexical binding.
23154         (overriding-local-map): Make obsolete.
23155         (add-to-list): Doc fix.  Add compiler macro.
23156         (read-key): Swap values of local maps.
23158 2013-06-05  Leo Liu  <sdl.web@gmail.com>
23160         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
23162 2013-06-04  Leo Liu  <sdl.web@gmail.com>
23164         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
23165         (compilation-auto-jump): Suppress the "Mark set" message to give
23166         way to exit message.
23168 2013-06-04  Alan Mackenzie  <acm@muc.de>
23170         Remove faulty optimization from indentation calculation.
23171         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
23172         search limit based on 2000 characters back from indent-point.
23174 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
23176         * eshell/em-term.el (cl-lib): Require `cl-lib'.
23178 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
23180         * emacs-lisp/lisp.el: Use lexical-binding.
23181         (lisp--local-variables-1, lisp--local-variables): New functions.
23182         (lisp--local-variables-completion-table): New var.
23183         (lisp-completion-at-point): Use it complete let-bound vars.
23185         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
23186         eagerly (bug#14422).
23188 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
23190         * autorevert.el (auto-revert-notify-enabled)
23191         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
23192         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
23193         (auto-revert-notify-handler): Handle also gfilenotify.
23195         * subr.el (file-notify-handle-event): New defun.  Replacing ...
23196         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
23197         Remove.
23199 2013-06-03  Juri Linkov  <juri@jurta.org>
23201         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
23202         `M-s h .'.  (Bug#14427)
23204         * hi-lock.el (highlight-symbol-at-point): New alias for the new
23205         command `hi-lock-face-symbol-at-point'.
23206         (hi-lock-face-symbol-at-point): New command.
23207         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
23208         (hi-lock-menu): Add `highlight-symbol-at-point'.
23209         (hi-lock-mode): Doc fix.
23211         * isearch.el (isearch-forward-symbol-at-point): New command.
23212         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
23213         (isearch-highlight-regexp): Add a regexp which matches
23214         words/symbols for word/symbol mode.
23216         * subr.el (find-tag-default-bounds): New function with the body
23217         mostly moved from `find-tag-default'.
23218         (find-tag-default): Move most code to `find-tag-default-bounds',
23219         call it and apply `buffer-substring-no-properties' afterwards.
23221 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
23223         * eshell/em-term.el (eshell-term-initialize):
23224         Use `cl-intersection' rather than `intersection'.
23226 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
23228         * vc/log-view.el: Doc fix.
23229         (log-view-mode-map): Copy keymap from `special-mode-map'.
23231 2013-06-02  Eric Ludlam  <zappo@gnu.org>
23233         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
23234         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
23235         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
23236         (eieio-unbound, eieio-default-superclass)
23237         (eieio--define-field-accessors, method-static, method-before)
23238         (method-primary, method-after, method-num-lists)
23239         (method-generic-before, method-generic-primary)
23240         (method-generic-after, method-num-slots)
23241         (eieio-specialized-key-to-generic-key)
23242         (eieio--check-type, class-v, class-p)
23243         (eieio-class-name, define-obsolete-function-alias)
23244         (eieio-class-parents-fast, eieio-class-children-fast)
23245         (same-class-fast-p, class-constructor, generic-p)
23246         (generic-primary-only-p, generic-primary-only-one-p)
23247         (class-option-assoc, class-option, eieio-object-p)
23248         (class-abstract-p, class-method-invocation-order)
23249         (eieio-defclass-autoload-map, eieio-defclass-autoload)
23250         (eieio-class-un-autoload, eieio-defclass)
23251         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
23252         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
23253         (eieio--defgeneric-init-form, eieio-defgeneric-form)
23254         (eieio-defgeneric-reset-generic-form)
23255         (eieio-defgeneric-form-primary-only)
23256         (eieio-defgeneric-reset-generic-form-primary-only)
23257         (eieio-defgeneric-form-primary-only-one)
23258         (eieio-defgeneric-reset-generic-form-primary-only-one)
23259         (eieio-unbind-method-implementations)
23260         (eieio--defmethod, eieio--typep)
23261         (eieio-perform-slot-validation, eieio-validate-slot-value)
23262         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
23263         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
23264         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
23265         (eieio-slot-name-index, eieio-class-slot-name-index)
23266         (eieio-set-defaults, eieio-initarg-to-attribute)
23267         (eieio-attribute-to-initarg, eieio-c3-candidate)
23268         (eieio-c3-merge-lists, eieio-class-precedence-c3)
23269         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
23270         (eieio-class-precedence-list, eieio-generic-call-methodname)
23271         (eieio-generic-call-arglst, eieio-generic-call-key)
23272         (eieio-generic-call-next-method-list)
23273         (eieio-pre-method-execution-functions, eieio-generic-call)
23274         (eieio-generic-call-primary-only, eieiomt-method-list)
23275         (eieiomt-optimizing-obarray, eieiomt-install)
23276         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
23277         (eieio-generic-form, eieio-defmethod, make-obsolete)
23278         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
23279         (defclass): Remove `eval-and-compile' from macro.
23280         (call-next-method, shared-initialize): Instead of using
23281         `scoped-class' variable, use new eieio--scoped-class, and
23282         eieio--with-scoped-class.
23283         (initialize-instance): Rename local variable 'scoped-class' to
23284         'this-class' to remove ambiguitity from old global.
23286         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
23287         eieio.el.
23288         (eieio--scoped-class-stack): New variable.
23289         (eieio--scoped-class): New fcn.
23290         (eieio--with-scoped-class): New scoping macro.
23291         (eieio-defclass): Use pushnew instead of add-to-list.
23292         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
23293         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
23294         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
23295         `scoped-class' variable, use new eieio--scoped-class, and
23296         eieio--with-scoped-class.
23298         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
23300 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
23302         * eshell/esh-ext.el (eshell-external-command): Pass args to
23303         `eshell-find-interpreter'.
23304         (eshell-find-interpreter): Add new second parameter ARGS.
23306         * eshell/em-script.el (eshell-script-initialize): Add second arg
23307         to the function added as MATCH to `eshell-interpreter-alist'.
23309         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
23310         the function added as MATCH to `eshell-interpreter-alist'.
23312         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
23313         (eshell-visual-options): New defcustom.
23314         (eshell-escape-control-x): Adapt docstring.
23315         (eshell-term-initialize): Test `eshell-visual-subcommands' and
23316         `eshell-visual-options' in addition to `eshell-visual-commands'.
23317         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
23319 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
23321         * progmodes/python.el (python-indent-block-enders): Add break,
23322         continue and raise keywords.
23324 2013-06-01  Glenn Morris  <rgm@gnu.org>
23326         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
23328         Plain (f)boundp silences compilation warnings since Emacs 22.1.
23329         * progmodes/cc-cmds.el (delete-forward-p):
23330         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
23331         * progmodes/cc-engine.el (buffer-syntactic-context):
23332         * progmodes/cc-fonts.el (face-property-instance):
23333         * progmodes/cc-mode.el (set-keymap-parents):
23334         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
23335         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
23336         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
23337         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
23338         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
23340         * progmodes/cc-vars.el (other): Emacs has this widget since
23341         at least 21.1, so don't (re)define it.
23343         * eshell/em-cmpl.el (eshell-cmpl-initialize):
23344         Replace the obsolete alias pcomplete-arg-quote-list.
23346 2013-06-01  Leo Liu  <sdl.web@gmail.com>
23348         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
23349         punctuation syntax.
23350         (inferior-octave-minimal-columns)
23351         (inferior-octave-last-column-width): New variables.
23352         (inferior-octave-track-window-width-change): New function.
23353         (inferior-octave-mode): Adjust column width so that Octave output,
23354         for example from 'ls', can fit into the window nicely.
23356 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
23358         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23359         Highlight expansions inside regexp literals.
23361 2013-05-31  Glenn Morris  <rgm@gnu.org>
23363         * obsolete/sym-comp.el (symbol-complete):
23364         Replace obsolete completion-annotate-function.
23366         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
23368 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
23370         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23371         New function, checks if point is inside a literal that allows
23372         expression expansion.
23373         (ruby-syntax-propertize-expansion): Use it.
23374         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
23375         around the body.
23377 2013-05-30  Juri Linkov  <juri@jurta.org>
23379         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
23380         to "\M-si".
23381         (isearch-invisible): New variable.
23382         (isearch-forward): Doc fix.
23383         (isearch-mode): Set `isearch-invisible'
23384         to the value of `search-invisible'.
23385         (isearch-toggle-case-fold): Doc fix.
23386         (isearch-toggle-invisible): New command.
23387         (isearch-query-replace): Let-bind `search-invisible'
23388         to the value of `isearch-invisible'.
23389         (isearch-search): Use `isearch-invisible' instead of
23390         `search-invisible'.  Let-bind `search-invisible'
23391         to the value of `isearch-invisible'.  (Bug#11378)
23393 2013-05-30  Juri Linkov  <juri@jurta.org>
23395         * replace.el (perform-replace): Avoid `isearch-range-invisible'
23396         call when `query-flag' is nil and `search-invisible' is non-nil.
23397         (Bug#11746)
23399 2013-05-30  Glenn Morris  <rgm@gnu.org>
23401         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
23403         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
23404         (cc-require): Suppress spurious "noruntime" warnings.
23405         (cc-require-when-compile): Use fboundp, for sake of compiler.
23407         * progmodes/cc-mode.el: Move load of cc-vars before that of
23408         cc-langs (which in turn loads cc-vars), to quieten compiler.
23410 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
23412         * paren.el: Simplify the code.
23413         (show-paren-mode): Always start the timer.
23414         (show-paren--idle-timer): Rename from show-paren-idle-timer.
23415         (show-paren--overlay, show-paren--overlay-1): Rename from
23416         show-paren-overlay and show-paren-overlay-1, and initialize to an
23417         overlay rather than to nil.
23418         (show-paren-function): Misc cleanup and simplifications.
23420 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
23422         * paren.el (show-paren-data-function): New hook.
23423         (show-paren--default): New function, extracted from show-paren-function.
23424         (show-paren-function): Use show-paren-data-function.
23426 2013-05-30  Glenn Morris  <rgm@gnu.org>
23428         * ielm.el (ielm-map, ielm-complete-symbol):
23429         Use completion-at-point rather than obsolete functions.
23430         (inferior-emacs-lisp-mode): Doc fix.
23431         Set completion-at-point-functions, rather than
23432         comint-dynamic-complete-functions.
23434         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
23435         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
23436         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
23438         * image.el (image-animated-p): Tweak definition.
23440         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
23441         (rlogin-process-connection-type): Tweak default.  Add set-after.
23442         (rlogin-host): Doc fix.
23443         (rlogin): Tweak prompt.
23444         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
23446         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
23447         * progmodes/tcl.el (inferior-tcl-mode-map):
23448         Use completion-at-point rather than obsolete alias.
23450         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
23452         * minibuffer.el (read-file-name-completion-ignore-case):
23453         Move before completion--in-region, for eager macro expansion.
23455 2013-05-29  Juri Linkov  <juri@jurta.org>
23457         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
23458         for total count of matching lines.  Add `global-matches' for total
23459         count of matches.  Rename `matches' to `lines' for count of
23460         matching lines.  Add `matches' for count of matches.
23461         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
23462         to `prev-line' for line number of prev match endpt.
23463         Increment `matches' for every match.  Print the number of
23464         matching lines in the header.
23465         (occur-context-lines): Rename `lines' to `curr-line'.
23466         Rename `prev-lines' to `prev-line'.  (Bug#14017)
23468 2013-05-29  Juri Linkov  <juri@jurta.org>
23470         * replace.el (perform-replace): Add `skip-read-only-count',
23471         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
23472         Increment them for corresponding conditions and report the number
23473         of skipped occurrences in the final message.  (Bug#11746)
23474         (query-replace, query-replace-regexp, query-replace-regexp-eval)
23475         (replace-string, replace-regexp): Doc fix.
23477 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
23479         * emacs-lisp/trace.el (trace--read-args): Provide a default.
23481         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
23482         prog-mode-map (bug#14504).
23484 2013-05-29  Leo Liu  <sdl.web@gmail.com>
23486         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
23487         (octave-help): Small simplification.
23489         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
23490         off the highlight first.
23492 2013-05-29  Glenn Morris  <rgm@gnu.org>
23494         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
23495         Handle idlwave-last-system-routine-info-cons-cell being nil.
23497         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
23498         (idlwave-write-paths): Simplify via with-temp-buffer.
23500         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
23501         * emulation/cua-rect.el: Also load cua-base at run time.
23503         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
23504         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
23505         (cperl-imenu-on-info): Require imenu.
23507 2013-05-28  Alan Mackenzie  <acm@muc.de>
23509         Handle "capitalised keywords" correctly.
23510         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
23512 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
23514         * eshell/em-unix.el: Add -r option to cp.
23516 2013-05-28  Glenn Morris  <rgm@gnu.org>
23518         * vc/vc-arch.el (vc-exec-after): Declare.
23519         (vc-switches): Autoload.
23520         * vc/vc-bzr.el: No need to require vc when compiling.
23521         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
23522         (vc-resynch-buffer, vc-dir-refresh): Declare.
23523         (vc-setup-buffer, vc-switches): Autoload.
23524         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
23525         (vc-resynch-buffer): Declare.
23526         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
23527         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
23528         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
23529         (grep-read-regexp, grep-read-files, grep-expand-template)
23530         (vc-dir-refresh): Declare.
23531         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
23532         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
23533         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
23534         * vc/vc-mtn.el (vc-exec-after): Declare.
23535         (vc-switches): Autoload.
23536         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
23537         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
23538         (vc-file-tree-walk): Declare.
23539         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
23540         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
23541         (vc-tag-precondition, vc-rename-master): Autoload.
23542         * vc/vc-svn.el (vc-exec-after): Declare.
23543         (vc-switches, vc-setup-buffer): Autoload.
23544         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
23545         Autoload.
23546         (vc-resynch-buffer): Declare.
23548         * obsolete/fast-lock.el (byte-compile-warnings):
23549         Don't warn about obsolete features in this obsolete file.
23551         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
23552         Move definition before use.
23554         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
23555         (dun-unix-verbs): Remove dun-zippy.
23556         (dun-zippy): Remove function.
23558         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
23560 2013-05-27  Juri Linkov  <juri@jurta.org>
23562         * replace.el (replace-search): New function with code moved out
23563         from `perform-replace'.
23564         (replace-highlight, replace-dehighlight): Move function definitions
23565         up closer to `replace-search'.  (Bug#11746)
23567 2013-05-27  Juri Linkov  <juri@jurta.org>
23569         * replace.el (perform-replace): Ignore invisible matches.
23570         In addition to checking `query-replace-skip-read-only', also
23571         filter out matches by calling `run-hook-with-args-until-failure'
23572         on `isearch-filter-predicates', and also check `search-invisible'
23573         for t or call `isearch-range-invisible'.
23574         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
23576 2013-05-27  Juri Linkov  <juri@jurta.org>
23578         * isearch.el (isearch-filter-predicates): Rename from
23579         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
23580         (isearch-message-prefix): Display text from the property
23581         `isearch-message-prefix' of the currently active filters.
23582         (isearch-search): Don't compare `isearch-filter-predicate' with
23583         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
23584         on `isearch-filter-predicates'.  Also check `search-invisible' for t
23585         or call `isearch-range-invisible'.
23586         (isearch-filter-visible): Make obsolete.
23587         (isearch-lazy-highlight-search):
23588         Call `run-hook-with-args-until-failure' on
23589         `isearch-filter-predicates' and use `isearch-range-invisible'.
23591         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
23592         `isearch-filter-predicates' instead of `funcall'ing
23593         `isearch-filter-predicate'.
23594         (Info-mode): Set `Info-isearch-filter' to
23595         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
23597         * dired-aux.el (dired-isearch-filter-predicate-orig):
23598         Remove variable.
23599         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
23600         (dired-isearch-filenames-end): Add and remove
23601         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
23602         instead of changing the value of `isearch-filter-predicate'.
23603         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
23604         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
23605         Put property `isearch-message-prefix' to "filename " on
23606         `dired-isearch-filter-filenames'.
23608         * wdired.el (wdired-change-to-wdired-mode):
23609         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
23610         locally instead of changing `isearch-filter-predicate'.
23611         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
23613 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
23615         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
23616         return the commit hash (Bug#14459).  Also set the
23617         `vc-git-detached' property.
23618         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
23619         (vc-git-mode-line-string): Use the same help-echo format whether
23620         in detached mode or not, because we know the actual revision now.
23621         When in detached mode, shorten the revision to 7 chars.
23623 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
23625         * emacs-lisp/easy-mmode.el (define-minor-mode):
23626         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
23627         mode hook and provide a docstring.
23629 2013-05-27  Alan Mackenzie  <acm@muc.de>
23631         Remove spurious syntax-table text properties inserted by C-y.
23632         * progmodes/cc-mode.el (c-after-change): Also clear hard
23633         syntax-table property with value nil.
23635 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
23637         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
23638         when reading the events; the buffer layout shall not be changed.
23640 2013-05-27  Leo Liu  <sdl.web@gmail.com>
23642         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
23643         New variable.
23644         (inferior-octave-directory-tracker): Automatically re-sync
23645         default-directory.
23646         (octave-help): Improve handling of 'See also'.
23648 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
23650         * doc-view.el: Minor naming convention tweaks.
23651         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
23653         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
23654         even if there's no `display' property yet (bug#14435).
23656 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
23658         * subr.el (unmsys--file-name): Rename from reveal-filename.
23660         * Makefile.in (custom-deps, finder-data, autoloads)
23661         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23662         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23663         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
23665 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
23667         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
23668         error-completion on the first 2 args of condition-case (bug#14446).
23669         Don't burp at EOB.
23671 2013-05-25  Leo Liu  <sdl.web@gmail.com>
23673         * comint.el (comint-previous-matching-input): Do not flood the
23674         *Messages* buffer with trivial messages.
23676 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
23678         * progmodes/flymake.el (flymake-nop): Don't return a string.
23679         (flymake-set-at): Fix typo.
23681         * simple.el (read--expression): New function, extracted from
23682         eval-expression.  Set completion-at-point-functions (bug#14465).
23683         (eval-expression, eval-minibuffer): Use it.
23685 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
23687         * progmodes/flymake.el (flymake-save-buffer-in-file)
23688         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
23689         (flymake-selected-frame, flymake-log, flymake-ins-after)
23690         (flymake-set-at, flymake-get-buildfile-from-cache)
23691         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
23692         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
23693         Refine the doc string.
23694         (flymake-get-file-name-mode-and-masks): Reformat.
23695         (flymake-get-real-file-name-function): Fix a minor bug.
23697 2013-05-24  Juri Linkov  <juri@jurta.org>
23699         * progmodes/grep.el (grep-mode-font-lock-keywords):
23700         Support =linenumber= format used by git-grep for lines with
23701         function names.  (Bug#13549)
23703 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
23705         * progmodes/octave.el (octave-smie-rules): Return nil rather than
23706         0 after a semi-colon; it works better for smie-auto-fill.
23707         (octave--indent-new-comment-line): New function.
23708         (octave-indent-new-comment-line): Use it (indirectly).
23709         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
23710         modify comment-line-break-function.
23712         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
23713         (smie-setup): Use add-function to set it.
23715 2013-05-24  Sam Steingold  <sds@gnu.org>
23717         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
23718         argument (before the `interactive' argument).
23720 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
23722         * image-mode.el (image-mode-winprops): Add winprops to
23723         image-mode-winprops-alist before running
23724         image-mode-new-window-functions.
23725         * doc-view.el (doc-view-new-window-function): Don't delay
23726         doc-view-goto-page via timers (bug#14435).
23728 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
23730         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
23731         (doc-view-desktop-save-buffer): New function.
23732         (doc-view-restore-desktop-buffer): New function.
23733         (desktop-buffer-mode-handlers):
23734         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23735         handler.
23736         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23737         `desktop-save-buffer' function.
23739 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
23741         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23742         (tramp-gvfs-file-name-handler): Raise a user error when
23743         `tramp-gvfs-enabled' is nil.
23744         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23745         Do not raise a user error when loading package.  (Bug#14447)
23747         * net/xesam.el: Move to obsolete/.
23749 2013-05-24  Glenn Morris  <rgm@gnu.org>
23751         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23753         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23755         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23756         (Info-find-node, Man-getpage-in-background): Declare.
23758         * mail/unrmail.el (unrmail):
23759         Replace obsolete detect-coding-with-priority.
23761         * net/socks.el (socks-split-string): Use this rather than split-string.
23762         (socks-nslookup-host): Update for above change.
23763         (dynamic-choice, s5-dynamic-choice-match)
23764         (s5-dynamic-choice-match-inline, s5-widget-value-create):
23765         Comment out unused code.
23767         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23768         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23769         (gud-tooltip-echo-area): Make obsolete.
23770         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23772         * progmodes/js.el (js--optimize-arglist): Declare.
23774         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23776         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23777         (ediff-window-C): Declare.
23779         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23780         Tweak requires to silence compiler.
23782         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23783         (he-search-string, he-tried-table, he-expand-list)
23784         (he-init-string, he-string-member, he-substitute-string)
23785         (he-reset-string): Declare.
23787         * obsolete/options.el (list-options): Use custom-variable-p,
23788         rather than obsolete alias.
23790 2013-05-23  Sam Steingold  <sds@gnu.org>
23792         * simple.el (shell-command-on-region): Pass the `replace' argument
23793         down to `call-process-region' to comply with the doc as reported on
23794         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23796 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
23798         * emacs-lisp/smie.el (smie-indent-forward-token)
23799         (smie-indent-backward-token): Handle string tokens (bug#14381).
23801 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
23803         * ielm.el (ielm-menu): New menu.
23804         (inferior-emacs-lisp-mode): Set comment-start.
23806 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
23808         * textmodes/reftex.el (reftex-ref-style-toggle):
23809         Fix deactivate action.
23811         * textmodes/reftex-vars.el (reftex-ref-style-alist):
23812         Add cleveref macros.
23814         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23815         Accept options for bibliography commands.
23816         * textmodes/reftex-vars.el (reftex-bibliography-commands):
23817         Add addbibresource.  Basic Biblatex support.
23819 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
23821         * net/tramp-gvfs.el (top):
23822         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23823         when loading package.  (Bug#14447)
23825 2013-05-23  Glenn Morris  <rgm@gnu.org>
23827         * progmodes/js.el: No need to load comint when compiling.
23828         (ring-insert, comint-send-string, comint-send-input)
23829         (comint-last-input-end, ido-chop): Declare.
23831         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23832         * vc/ediff-mult.el: Adjust requires.
23833         (ediff-directories-internal, ediff-directory-revisions-internal)
23834         (ediff-patch-file-internal): Declare.
23835         * vc/ediff-ptch.el: Adjust requires.
23836         (ediff-use-last-dir, ediff-buffers-internal): Declare.
23837         (ediff-find-file): Autoload.
23838         * vc/ediff-util.el: No need to load ediff when compiling.
23839         (ediff-regions-internal): Declare.
23840         * vc/ediff-wind.el: Adjust requires.
23841         (ediff-compute-toolbar-width): Define when compiling.
23842         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23843         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23844         (dired-get-filename, dired-get-marked-files)
23845         (ediff-last-dir-patch, ediff-patch-default-directory)
23846         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23847         (ediff-patch-buffer-internal): Declare.
23849         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23850         (ispell-process, ispell-buffer-local-words, lm-summary)
23851         (lm-section-start, lm-section-end): Declare.
23852         (checkdoc-ispell-init): Simplify.
23854         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23855         (he-string-member, he-reset-string, he-substitute-string): Declare.
23857         * eshell/em-ls.el: Adjust requires.
23858         (eshell-glob-regexp): Declare.
23859         * eshell/em-tramp.el: Adjust requires.
23860         (eshell-parse-command): Autoload.
23861         * eshell/em-xtra.el: Adjust requires.
23862         (eshell-parse-command): Autoload.
23863         * eshell/esh-ext.el: Adjust requires.
23864         (eshell-parse-command, eshell-close-handles): Autoload.
23865         * eshell/esh-io.el: Adjust requires.
23866         (eshell-output-filter): Autoload.
23867         * eshell/esh-util.el: No need to load tramp when compiling.
23868         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23869         Declare.
23870         (eshell-parse-ange-ls): Require ange-ftp and tramp.
23871         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23872         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23873         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23874         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23875         * eshell/esh-opt.el, eshell/esh-proc.el:
23876         * eshell/esh-var.el: Adjust requires.
23877         * eshell/eshell.el: Do not require esh-util twice.
23878         (eshell-add-input-to-history): Declare.
23879         (eshell-command): Check history module is active before using it.
23881         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
23883 2013-05-22  Leo Liu  <sdl.web@gmail.com>
23885         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
23887 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
23889         * autorevert.el (auto-revert-notify-add-watch)
23890         (auto-revert-notify-handler): Add `attrib' for the inotify case,
23891         it indicates changes in file modification time.
23893 2013-05-22  Glenn Morris  <rgm@gnu.org>
23895         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
23896         Always delete the autoloaded function from the noruntime and
23897         unresolved functions lists.
23899         * allout.el: No need to load epa, epg, overlay when compiling.
23900         (epg-context-set-passphrase-callback, epg-list-keys)
23901         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
23902         (epg-key-user-id-list): Declare.
23904         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
23905         (viper-set-parsing-style-toggling-macro)
23906         (viper-set-emacs-state-searchstyle-macros):
23907         Use called-interactively-p on Emacs.
23908         (viper-looking-back): Make it an obsolete alias.  Update callers.
23909         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
23910         Use looking-back rather than viper-looking-back.
23911         (viper-tmp-insert-at-eob, viper-enlarge-region)
23912         (viper-read-string-with-history, viper-register-to-point)
23913         (viper-append-to-register, viper-change-state-to-vi)
23914         (viper-backward-char-carefully, viper-forward-char-carefully)
23915         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
23916         (viper-change-state-to-emacs): Declare.
23917         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
23918         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
23919         * emulation/viper-mous.el: Do not load viper-cmd.
23920         (viper-backward-char-carefully, viper-forward-char-carefully)
23921         (viper-forward-word, viper-adjust-window): Declare.
23923         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
23925         * progmodes/idlw-help.el (idlwave-help-fontify):
23926         Use called-interactively-p.
23928         * term/w32console.el (w32-get-console-codepage)
23929         (w32-get-console-output-codepage): Declare.
23931         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
23932         Remove unnecessary declarations.
23933         (dframe-message): Doc fix.
23935         * info.el (dframe-select-attached-frame, dframe-current-frame):
23936         Declare.
23938         * speedbar.el (speedbar-message): Make it an obsolete alias.
23939         Update all callers.
23940         (speedbar-with-attached-buffer)
23941         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
23942         (speedbar-with-writable): Use backquote.
23943         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
23944         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
23945         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
23946         rather than speedbar- aliases.
23947         * mail/rmail.el: Load dframe rather than speedbar when compiling.
23948         (speedbar-make-specialized-keymap, speedbar-insert-button)
23949         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
23950         (speedbar-do-function-pointer): Declare.
23951         (rmail-speedbar-button, rmail-speedbar-find-file)
23952         (rmail-speedbar-move-message):
23953         Use dframe-with-attached-buffer rather than speedbar- alias.
23954         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
23955         (dframe-message, speedbar-make-specialized-keymap)
23956         (speedbar-add-expansion-list, speedbar-mode-functions-list)
23957         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
23958         (speedbar-insert-button, dframe-select-attached-frame)
23959         (dframe-maybee-jump-to-attached-frame)
23960         (speedbar-change-initial-expansion-list)
23961         (speedbar-previously-used-expansion-list-name): Declare.
23962         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
23963         Use dframe-message, dframe-with-attached-buffer rather than
23964         speedbar- aliases.
23965         (gud-sentinel): Silence compiler.
23966         * progmodes/vhdl-mode.el (speedbar-refresh)
23967         (speedbar-do-function-pointer, speedbar-add-supported-extension)
23968         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
23969         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
23970         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
23971         (speedbar-file-lists, speedbar-make-tag-line)
23972         (speedbar-line-directory, speedbar-goto-this-file)
23973         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
23974         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
23975         (speedbar-make-button, speedbar-reset-scanners)
23976         (speedbar-files-item-info, speedbar-line-text)
23977         (speedbar-find-file-in-frame, speedbar-set-timer)
23978         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
23979         (speedbar-with-writable): Do not (re)define it.
23980         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
23981         rather than speedbar- alias.
23983 2013-05-21  Leo Liu  <sdl.web@gmail.com>
23985         * progmodes/octave.el (octave-mode-menu): Update and re-organize
23986         menu items.
23987         (octave-mode): Tweak fill-nobreak-predicate.
23988         (inferior-octave-startup): Check process to avoid infinite loop.
23989         (inferior-octave): Pop to buffer first to show abornmal process
23990         exit information.
23992 2013-05-21  Glenn Morris  <rgm@gnu.org>
23994         * printing.el (pr-menu-bar): Define when compiling.
23996 2013-05-21  Leo Liu  <sdl.web@gmail.com>
23998         * progmodes/octave.el (octave-auto-fill): Remove.
23999         (octave-indent-new-comment-line): Improve.
24000         (octave-mode): Use auto fill mode through
24001         comment-line-break-function and fill-nobreak-predicate.
24002         (octave-goto-function-definition): Support DEFUN_DLD.
24003         (octave-beginning-of-defun): Small tweak.
24004         (octave-help): Show parent directory.
24006 2013-05-21  Glenn Morris  <rgm@gnu.org>
24008         * files.el (dired-unmark):
24009         * progmodes/gud.el (gdb-input): Update declarations.
24011         * calculator.el (electric, ehelp): No need to load when compiling.
24012         (Electric-command-loop, electric-describe-mode): Declare.
24014         * doc-view.el (doc-view-current-converter-processes): Move before use.
24016         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
24017         Move MODE-set-explicitly definition before use.
24019         * international/mule-diag.el (mule-diag):
24020         Don't use obsolete window-system-version.
24022         * mail/feedmail.el (smtpmail): No need to load when compiling.
24023         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
24025         * mail/mail-utils.el (rfc822): No need to load when compiling.
24026         (rfc822-addresses): Autoload it.
24027         (mail-strip-quoted-names): Trivial simplification.
24029         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
24030         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
24032         * net/snmp-mode.el (tempo): Don't duplicate requires.
24034         * progmodes/prolog.el (info): No need to load when compiling.
24035         (comint): Require before shell requires it.
24036         (Info-goto-node): Autoload it.
24037         (Info-follow-nearest-node): Declare.
24038         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
24040         * textmodes/artist.el (picture-mode-exit): Declare.
24042         * textmodes/reftex-parse.el (reftex-parse-from-file):
24043         Trivial rewrite so the compiler can parse it better.
24045 2013-05-20  Leo Liu  <sdl.web@gmail.com>
24047         * progmodes/octave.el (octave-help-mode-map)
24048         (octave-help-mode-finish-hook): New variables.
24049         (octave-help-mode, octave-help-mode-finish): New functions.
24050         (octave-help): Use octave-help-mode.
24052 2013-05-20  Glenn Morris  <rgm@gnu.org>
24054         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
24056 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
24058         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
24059         start at point, so that expansion starting right after opening
24060         slash in a regexp is recognized.
24061         (ruby-syntax-before-regexp-re): New defvar, extracted from
24062         ruby-syntax-propertize-function.  Since the value of this regexp
24063         is looked up at runtime now, we should be able to turn
24064         `ruby-syntax-methods-before-regexp' into a defcustom later.
24065         (ruby-syntax-propertize-function): Split regexp matching into two
24066         parts, for opening and closing slashes.  That allows us to skip
24067         over string interpolations and support multiline regexps.
24068         Don't call `ruby-syntax-propertize-expansions', instead use another rule
24069         for them, which calls `ruby-syntax-propertize-expansion'.
24070         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
24071         call to `ruby-syntax-propertize-function'.
24072         (ruby-syntax-propertize-expansion): Extracted from
24073         `ruby-syntax-propertize-expansions'.  Handles one expansion.
24074         (ruby-syntax-propertize-percent-literal): Leave point right after
24075         the percent symbol, so that the expression expansion rule can
24076         propertize the contents.
24077         (ruby-syntax-propertize-heredoc): Leave point at bol following the
24078         heredoc openers.
24079         (ruby-syntax-propertize-expansions): Remove.
24081 2013-05-18  Juri Linkov  <juri@jurta.org>
24083         * man.el (Man-default-man-entry): Remove `-' from the end
24084         of the default value.  (Bug#14400)
24086 2013-05-18  Glenn Morris  <rgm@gnu.org>
24088         * comint.el (comint-password-prompt-regexp):
24089         Allow "password for XXX" where XXX contains colons (eg https://...).
24091 2013-05-18  Leo Liu  <sdl.web@gmail.com>
24093         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
24094         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
24095         (octave-source-directories): Don't check process.
24096         (octave-source-directories, octave-find-definition): Doc fix.
24098 2013-05-18  Glenn Morris  <rgm@gnu.org>
24100         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
24101         Remove backspace/delete bindings.  (Bug#14392)
24103         * cus-dep.el (custom-make-dependencies): Sort the output.
24104         (custom-versions-load-alist): Convert comment to doc.
24106 2013-05-17  Leo Liu  <sdl.web@gmail.com>
24108         * newcomment.el (comment-search-backward): Stricter in finding
24109         comment start.  (Bug#14303)
24111         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
24112         (octave-comment-start-skip): Properly anchored.
24114 2013-05-17  Leo Liu  <sdl.web@gmail.com>
24116         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
24117         Clean up when turned off.  (Bug#14395)
24118         (smie--highlight-matching-block-overlay): No longer buffer-local.
24119         (smie-highlight-matching-block): Adjust.
24121 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
24123         Doc string fix for "nanoseconds" (Bug#14406).
24124         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
24125         Fix doc string typo that had "nanoseconds" instead of "microseconds".
24127 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
24129         * calc/calc-units.el (math-extract-units): Preserve powers
24130         of units.
24132 2013-05-17  Leo Liu  <sdl.web@gmail.com>
24134         * subr.el (delete-consecutive-dups): New function.
24135         * ido.el (ido-set-matches-1): Use it.
24136         * progmodes/octave.el (inferior-octave-completion-table): Use it.
24137         * ido.el (ido-remove-consecutive-dups): Remove.
24139 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
24141         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
24142         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
24143         regexp-opt's `words'.
24145 2013-05-16  Leo Liu  <sdl.web@gmail.com>
24147         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
24148         (smie--highlight-matching-block-overlay)
24149         (smie--highlight-matching-block-lastpos)
24150         (smie--highlight-matching-block-timer): New variables.
24151         (smie-highlight-matching-block): New function.
24152         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
24153         (smie-setup): Conditionally enable smie-blink-matching-open.
24155 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
24157         Sync with upstream verilog-mode r840.
24158         * progmodes/verilog-mode.el (verilog-mode-version)
24159         (verilog-mode-release-date): Update.
24160         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
24161         (verilog-sig-tieoff): Fix string error on
24162         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
24163         (verilog-read-decls): Fix parameters confusing
24164         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
24166 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
24168         * subr.el (reveal-filename): New function.
24170         * loadup.el: Compute Emacs executable versions on MS-Windows,
24171         where executables have the .exe extension.  Add a hard link
24172         emacs-XX.YY.ZZ.exe on MS-Windows.
24174         * Makefile.in (XARGS_LIMIT): New variable.
24175         (custom-deps, finder-data, autoloads)
24176         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
24177         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
24178         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
24179         (compile-main): Limit xargs according to $(XARGS_LIMIT).
24181 2013-05-16  Leo Liu  <sdl.web@gmail.com>
24183         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
24184         (octave-mode-menu, octave-mode-map): Remove its uses.
24186 2013-05-16  Reto Zimmermann  <reto@gnu.org>
24188         Sync with upstream vhdl mode v3.34.2.
24189         * progmodes/vhdl-mode.el: Use `push' throughout.
24190         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
24191         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
24192         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
24193         (vhdl-actual-generic-name): New option to derive actual generic name.
24194         (vhdl-port-paste-signals): Replace formal by actual generics.
24195         (vhdl-beautify): New name for old group vhdl-align.  Update users.
24196         (vhdl-beautify-options): New option.
24197         (vhdl-last-input-event): New compat alias.  Use throughout.
24198         (vhdl-goto-line): Replace user level function `goto-line'.
24199         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
24200         vhdl-fix-statement-buffer.
24201         (vhdl-create-mode-menu): Add some entries.
24202         (vhdl-align-region-groups): Respect vhdl-beautify-options.
24203         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
24204         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
24205         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
24206         to force statements on one line.
24207         (vhdl-remove-trailing-spaces-region):
24208         New, split from vhdl-remove-trailing-spaces.
24209         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
24210         Respect vhdl-beautify-options.
24211         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
24212         (vhdl-update-sensitivity-list): Not add with index if exists without.
24213         Not include array index with signal.  Ignore keywords in comments.
24214         (vhdl-get-visible-signals): Regexp tweaks.
24215         (vhdl-template-component-inst): Handle empty library.
24216         (vhdl-template-type): Add template for 'enum' type.
24217         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
24218         Use vhdl-replace-string.
24219         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
24220         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
24221         (vhdl-speedbar-initialize): Update for above name change.
24222         (vhdl-compose-wire-components): Fix in handling of constants.
24223         (vhdl-error-regexp-emacs-alist): New variable.
24224         (vhdl-error-regexp-add-emacs): New function;
24225         adds support for new compile.el (Emacs 22+)
24226         (vhdl-generate-makefile-1): Change target order for single lib. units.
24227         Allow use of absolute file names.
24229 2013-05-16  Leo Liu  <sdl.web@gmail.com>
24231         * simple.el (prog-indent-sexp): Indent enclosing defun.
24233 2013-05-15  Glenn Morris  <rgm@gnu.org>
24235         * cus-start.el (show-trailing-whitespace): Move to editing basics.
24236         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
24237         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
24238         (whitespace-highlight): Move to whitespace group.
24240         * comint.el (comint-source):
24241         * pcmpl-linux.el (pcmpl-linux):
24242         * shell.el (shell-faces):
24243         * eshell/esh-opt.el (eshell-opt):
24244         * international/ccl.el (ccl): Remove empty custom groups.
24246         * completion.el (dynamic-completion-mode):
24247         * jit-lock.el (jit-lock-debug-mode):
24248         * minibuffer.el (completion-in-region-mode):
24249         * type-break.el (type-break-mode-line-message-mode)
24250         (type-break-query-mode):
24251         * emulation/tpu-edt.el (tpu-edt-mode):
24252         * progmodes/subword.el (global-subword-mode, global-superword-mode):
24253         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
24254         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
24256         * term/xterm.el (xterm): Change parent group to terminals.
24258         * master.el (master): Remove empty custom group.
24259         (master-mode): Remove unused :group argument.
24260         * textmodes/refill.el (refill): Remove empty custom group.
24261         (refill-mode): Remove unused :group argument.
24263         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
24265         * cus-dep.el: Provide a feature.
24266         (custom-make-dependencies): Ignore dotfiles (dir-locals).
24267         Don't mistakenly ignore files whose basenames match a basename
24268         from preloaded-file-list (eg cedet/ede/simple.el).
24269         Add a fallback method for getting :group.
24271 2013-05-15  Juri Linkov  <juri@jurta.org>
24273         * isearch.el (isearch-char-by-name): Rename from
24274         `isearch-insert-char-by-name'.  Doc fix.
24275         (isearch-forward): Mention `isearch-char-by-name' in
24276         the docstring.  (Bug#13348)
24278         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
24279         `exit-minibuffer' instead of
24280         `isearch-nonincremental-exit-minibuffer'.
24281         (isearch-edit-string): Remove mention of
24282         `isearch-nonincremental-exit-minibuffer' from docstring.
24283         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
24284         (isearch-forward-exit-minibuffer)
24285         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
24287 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24289         * loadup.el: Just use unversioned DOC.
24291         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
24292         literals as extending to EOB.
24293         (nxml-last-fontify-end): Remove unused variable.
24294         (nxml-after-change1): Use with-silent-modifications.
24295         (nxml-extend-after-change-region): Simplify.
24296         (nxml-extend-after-change-region1): Remove function.
24297         (nxml-after-change1): Don't adjust for dependent regions.
24298         (nxml-fontify-matcher): Simplify.
24299         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
24300         (xmltok-add-dependent): Remove function.
24301         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
24302         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
24303         (xmltok-scan-prolog-after-processing-instruction-open): Treat
24304         unclosed <[[, <?, comment, and other literals as extending to EOB.
24305         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
24306         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
24307         Remove functions.
24308         (rng-do-some-validation-1): Don't mark dependent regions.
24309         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
24310         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
24311         (nxml-clear-dependent-regions): Remove functions.
24312         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
24313         (nxml-ensure-scan-up-to-date):
24314         Don't clear&mark dependent regions.
24316 2013-05-15  Leo Liu  <sdl.web@gmail.com>
24318         * progmodes/octave.el (octave-goto-function-definition):
24319         Improve and fix callers.
24321 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24323         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
24324         the setter (bug#14387).
24326         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
24327         surrounding group (bug#14402).
24329 2013-05-14  Juri Linkov  <juri@jurta.org>
24331         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
24332         (Bug#14390)
24334 2013-05-14  Glenn Morris  <rgm@gnu.org>
24336         * progmodes/f90.el (f90-imenu-generic-expression):
24337         Fix typo in 2013-05-08 change.  (Bug#14402)
24339 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
24341         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
24342         Remove signals for which replies are never received.
24344 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
24346         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
24347         (gdb-handler-alist, gdb-handler-number): Remove variables.
24348         (gdb-handler-list): New variable.
24349         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
24350         (gdb-pending-handler-p, gdb-handle-reply)
24351         (gdb-remove-all-pending-triggers): New functions.
24352         (gdb-discard-unordered-replies): New defcustom.
24353         (gdb-handler): New defstruct.
24354         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
24355         instead of gdb-pending-triggers.  Update docstring.
24356         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
24357         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
24358         (gdb-var-update-handler, def-gdb-auto-update-trigger)
24359         (def-gdb-auto-update-handler, gdb-get-changed-registers)
24360         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
24361         (gdb-frame-handler): Pending triggers are now automatically managed.
24362         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
24363         Remove argument.
24364         (gdb-input): Automatically handles pending triggers.  Update docstring.
24365         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
24366         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
24367         Update comments.
24368         (gdb-done-or-error): Now use gdb-handle-reply.
24370 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
24372         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
24373         gdb-debug-log.
24375 2013-05-14  Glenn Morris  <rgm@gnu.org>
24377         * subr.el (user-emacs-directory-warning): New option.
24378         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
24380 2013-05-14  Leo Liu  <sdl.web@gmail.com>
24382         * progmodes/octave.el (octave-font-lock-keywords): Fix error
24383         during redisplay.
24384         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
24385         (octave-font-lock-texinfo-comment): Fix invalid search bound
24386         error: wrong side of point.
24388 2013-05-14  Glenn Morris  <rgm@gnu.org>
24390         * progmodes/flymake.el (flymake-xml-program): New option.
24391         (flymake-xml-init): Use it.
24393         * term/xterm.el: Provide a feature.
24395         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
24397 2013-05-13  Glenn Morris  <rgm@gnu.org>
24399         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
24400         Add compat aliases as a hack workaround.  (Bug#14384)
24402 2013-05-13  Leo Liu  <sdl.web@gmail.com>
24404         * progmodes/octave.el (octave-indent-comment): Fix indentation for
24405         ###, and %!.
24406         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
24407         C-M-q.
24408         (octave-comment-start-skip): Include %!.
24409         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
24411 2013-05-12  Leo Liu  <sdl.web@gmail.com>
24413         * progmodes/octave.el (inferior-octave-startup): Store the value
24414         of __octave_srcdir__ for octave-source-directories.
24415         (inferior-octave-check-process): New function refactored out of
24416         inferior-octave-send-list-and-digest.
24417         (octave-source-directories)
24418         (octave-find-definition-filename-function): New variables.
24419         (octave-source-directories)
24420         (octave-find-definition-default-filename): New functions.
24421         (octave-find-definition): Improve to find functions implemented in C++.
24423 2013-05-12  Glenn Morris  <rgm@gnu.org>
24425         * calendar/diary-lib.el (diary-outlook-format-1):
24426         Don't include dayname in the output.  (Bug#14349)
24428 2013-05-11  Glenn Morris  <rgm@gnu.org>
24430         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
24432         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
24433         Treat cc-provide like provide.
24435 2013-05-11  Kevin Ryde  <user42@zip.com.au>
24437         * cus-dep.el (custom-make-dependencies):
24438         Use generated-autoload-load-name for the sake of files such
24439         such cedet/semantic/bovine/c.el, where the base file name
24440         is not in load-path.  (Bug#5277)
24442 2013-05-11  Glenn Morris  <rgm@gnu.org>
24444         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
24445         Provide features.
24447 2013-05-11  Leo Liu  <sdl.web@gmail.com>
24449         * progmodes/octave.el (octave-indent-comment): Improve.
24450         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
24451         (octave-eldoc-function-signatures, octave-eldoc-function):
24452         New functions.
24453         (octave-mode, inferior-octave-mode): Add eldoc support.
24455 2013-05-11  Richard Stallman  <rms@gnu.org>
24457         * epa.el (epa-decrypt-file): Take output file name as argument
24458         and read it using `interactive'.
24460 2013-05-11  Leo Liu  <sdl.web@gmail.com>
24462         * progmodes/octave.el (octave-beginning-of-line)
24463         (octave-end-of-line): Check before using up-list because it jumps
24464         out of more syntactic contructs since moving to smie.
24465         (octave-indent-comment): New function.
24466         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
24467         (octave-begin-keywords, octave-end-keywords)
24468         (octave-reserved-words, octave-smie-bnf-table)
24469         (octave-smie-rules): Add new keywords from Octave 3.6.4.
24471 2013-05-11  Glenn Morris  <rgm@gnu.org>
24473         * faces.el (internal-face-x-get-resource):
24474         * frame.el (ns-display-monitor-attributes-list):
24475         * calc/calc-aent.el (math-to-radians-2):
24476         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
24477         Fix declarations.
24479         * calc/calc-menu.el: Make it loadable in isolation.
24481         * net/eudcb-bbdb.el: Make it loadable without bbdb.
24482         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
24483         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
24484         (eudc-bbdb-query-internal): Require 'bbdb.
24486         * lpr.el (lpr-headers-switches):
24487         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
24489         * progmodes/sql.el (sql-login-params): Fix and improve :type.
24491         * emulation/edt-mapper.el: In batch mode, error rather than hang.
24493         * term.el (term-set-escape-char): Make it idempotent.
24495 2013-05-10  Leo Liu  <sdl.web@gmail.com>
24497         * progmodes/octave.el (inferior-octave-completion-table):
24498         No longer a function and all uses changed.  Use cache to speed up
24499         completion due to bug#11906.
24500         (octave-beginning-of-defun): Re-write to be more general.
24502 2013-05-10  Glenn Morris  <rgm@gnu.org>
24504         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
24506 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
24508         * comint.el (comint-redirect-send-command-to-process): Use :around
24509         rather than :override for comint-redirect-filter.
24510         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
24511         Call it instead of comint-redirect-original-filter-function (which
24512         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
24514 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
24516         * frame.el (display-monitor-attributes-list): Add NS case.
24517         (ns-display-monitor-attributes-list): Declare.
24519 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
24521         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
24523 2013-05-09  Glenn Morris  <rgm@gnu.org>
24525         * international/fontset.el (vertical-centering-font-regexp):
24526         Set standard-value.
24528         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
24530         * bookmark.el (bookmark-search-delay):
24531         * cus-start.el (vertical-centering-font-regexp):
24532         * ps-mule.el (ps-mule-font-info-database-default):
24533         * ps-print.el (ps-default-fg, ps-default-bg):
24534         * type-break.el (type-break-good-break-interval):
24535         * whitespace.el (whitespace-indentation-regexp)
24536         (whitespace-space-after-tab-regexp):
24537         * emacs-lisp/testcover.el (testcover-1value-functions)
24538         (testcover-noreturn-functions, testcover-progn-functions)
24539         (testcover-prog1-functions):
24540         * emulation/viper-init.el (viper-emacs-state-cursor-color):
24541         * eshell/em-glob.el (eshell-glob-translate-alist):
24542         * play/tetris.el (tetris-tty-colors):
24543         * progmodes/cpp.el (cpp-face-default-list):
24544         * progmodes/flymake.el (flymake-allowed-file-name-masks):
24545         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
24546         (idlwave-help-browser-generic-args):
24547         * progmodes/make-mode.el (makefile-special-targets-list):
24548         * progmodes/python.el (python-shell-virtualenv-path):
24549         * progmodes/verilog-mode.el (verilog-active-low-regexp)
24550         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
24551         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
24552         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
24553         * textmodes/reftex-vars.el (reftex-format-label-function):
24554         * textmodes/remember.el (remember-diary-file): Fix custom types.
24556         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
24557         Add :version.
24559 2013-05-09  Leo Liu  <sdl.web@gmail.com>
24561         * progmodes/octave.el (inferior-octave-completion-at-point):
24562         Restore file completion.  (Bug#14300)
24563         (inferior-octave-startup): Fix incorrect highlighting for the
24564         first prompt.
24566 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
24568         * progmodes/ruby-mode.el: First cut at SMIE support.
24569         (ruby-use-smie): New var.
24570         (ruby-smie-grammar): New constant.
24571         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
24572         (ruby-smie--forward-token, ruby-smie--backward-token)
24573         (ruby-smie-rules): New functions.
24574         (ruby-mode-variables): Setup SMIE if applicable.
24576 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
24578         * simple.el (line-move-visual): Signal beginning/end of buffer
24579         only if vertical-motion moved less than it was requested.  Avoids
24580         silly incorrect error messages when there are display strings with
24581         multiple newlines at EOL.
24583 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
24585         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
24586         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
24587         (prolog-char-quote-workaround):
24588         * progmodes/cperl-mode.el (cperl-under-as-char):
24589         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
24590         Mark as obsolete.
24591         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
24592         their declaration.
24593         (vhdl-mode-syntax-table-init): Remove.
24595         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
24596         last change.
24598         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
24599         syntax for "_".
24600         (ld-script-font-lock-keywords):
24601         Change regexps to use things like \_< and \_>.
24603         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
24604         Change all regexps to use things like \_< and \_>.
24606         * progmodes/autoconf.el (autoconf-definition-regexp)
24607         (autoconf-font-lock-keywords, autoconf-current-defun-function):
24608         Handle a _ with symbol syntax.
24609         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
24611         * progmodes/ada-mode.el (ada-mode-abbrev-table):
24612         Consolidate declaration.
24613         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
24614         the declaration.
24615         (ada-create-syntax-table): Remove.
24616         (ada-capitalize-word): Don't mess with the syntax of "_" since it
24617         already has the right syntax nowadays.
24618         (ada-goto-next-word): Don't change the syntax of "_".
24620         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
24621         with-wrapper-hook.
24623 2013-05-08  Sam Steingold  <sds@gnu.org>
24625         * thingatpt.el (thing-at-point): Accept optional second argument
24626         NO-PROPERTIES to strip the text properties from the return value.
24627         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
24628         to `thing-at-point' instead of stripping the properties ourselves.
24629         Also, when `thing-at-point' fails to find a url, prepend "http://"
24630         to the filename at point on the assumption that the user is
24631         pointing at something like gnu.org/gnu.
24633 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
24635         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24636         * faces.el (crm-separator):
24637         Silence byte-compiler.
24639         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
24640         (tool-bar-map): Remove unneeded defvars.
24642 2013-05-08  Leo Liu  <sdl.web@gmail.com>
24644         Re-work a fix for bug#10994 based on Le Wang's patch.
24645         * ido.el (ido-remove-consecutive-dups): New helper.
24646         (ido-completing-read): Use it.
24647         (ido-chop): Revert fix for bug#10994.
24649 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
24651         * cus-edit.el (custom-save-variables):
24652         Pretty-print long values.  (Bug#14187)
24654 2013-05-08  Glenn Morris  <rgm@gnu.org>
24656         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
24657         (m4-mode-syntax-table): Init in the defvar.
24658         (m4-mode-abbrev-table): Let define-derived-mode define it.
24660 2013-05-08  Tom Tromey  <tromey@redhat.com>
24662         * progmodes/m4-mode.el (m4-mode-syntax-table):
24663         Do not treat "_" as word constituent.  (Bug#14167)
24665 2013-05-07  Glenn Morris  <rgm@gnu.org>
24667         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
24668         Remove explicit eshell-isearch-cancel-map.
24670         * progmodes/f90.el (f90-smart-end-names): New option.
24671         (f90-smart-end): Doc fix.
24672         (f90-end-block-optional-name): New constant.
24673         (f90-block-match): Respect f90-smart-end-names.
24675 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
24677         * progmodes/octave.el (octave-smie-forward-token): Be more careful
24678         about implicit semi-colons (bug#14218).
24680 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
24682         * frame.el (display-monitor-attributes-list)
24683         (frame-monitor-attributes): New functions.
24685 2013-05-06  Leo Liu  <sdl.web@gmail.com>
24687         * progmodes/octave.el (octave-syntax-propertize-function): Change
24688         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
24689         (octave-font-lock-keywords): Use octave-operator-regexp.
24690         (octave-completion-at-point): Rename from
24691         octave-completion-at-point-function.
24692         (inferior-octave-directory-tracker): Robustify.
24693         (octave-text-functions): Remove and fix its uses.  No such things
24694         any more.
24696 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
24698         * emacs-lisp/trace.el (trace--display-buffer): New function.
24699         (trace-make-advice): Use it.
24701 2013-05-06  Juri Linkov  <juri@jurta.org>
24703         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
24704         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
24705         Doc fix.
24706         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
24707         in the help string.  (Bug#12985)
24709 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
24711         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
24713 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
24715         * progmodes/perl-mode.el: Add support for here documents.
24716         (perl-syntax-propertize-function): Match here-doc markers.
24717         (perl-syntax-propertize-special-constructs): Find their end.
24718         (perl-imenu-generic-expression): Use [:alnum:].
24720         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
24721         (advice--add-function): Refresh the advice if already present
24722         (bug#14317).
24724 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
24726         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
24728 2013-05-06  Glenn Morris  <rgm@gnu.org>
24730         * w32-fns.el (w32-charset-info-alist): Declare.
24732         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24733         of its defcustom properties.
24734         (eshell-cmpl-initialize): No need to load pcomplete.
24736         * generic-x.el: No need to require comint when compiling.
24738         * net/eudc-export.el: Make it loadable without bbdb.
24739         (top-level): Use require rather than load-library.
24740         (eudc-create-bbdb-record, eudc-bbdbify-phone)
24741         (eudc-batch-export-records-to-bbdb)
24742         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24743         Require bbdb.
24745 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
24747         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24748         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24749         some tweaks, instead.
24751 2013-05-05  Leo Liu  <sdl.web@gmail.com>
24753         * progmodes/octave.el (octave-font-lock-keywords)
24754         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24755         (inferior-octave-send-list-and-digest): Improve error message.
24756         (octave-mode, inferior-octave-mode): Use setq-local.
24757         (octave-help): Set info-lookup-mode.
24759 2013-05-05  Richard Stallman  <rms@gnu.org>
24761         * vc/compare-w.el (compare-windows-whitespace):
24762         Treat no-break space as whitespace.
24764         * mail/rmailsum.el (rmail-summary-rmail-update):
24765         Detect empty summary and don't change selected message.
24766         (rmail-summary-goto-msg): Likewise.
24768         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24769         Doc fixes, rename args.
24771 2013-05-05  Alan Mackenzie  <acm@muc.de>
24773         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24775 2013-05-05  Juri Linkov  <juri@jurta.org>
24777         * info.el (Info-read-subfile): Use (point-min) instead of (point)
24778         to not add the length of the summary segment to the return value.
24779         (Bug#14125)
24781 2013-05-05  Leo Liu  <sdl.web@gmail.com>
24783         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24784         (inferior-octave-output-filter): Remove.
24785         (octave-send-region, inferior-octave-startup): Fix callers.
24786         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24787         (octave-binary-file-extensions): New user variable.
24788         (octave-find-definition): Confirm if opening binary files.
24789         (octave-help-file): Use octave-find-definition to get the binary
24790         confirmation.
24791         (octave-help): Adjust for octave-help-file change.
24793 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
24795         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24796         Merge the two entries that handle function definitions.
24797         (pascal--syntax-propertize): New const.
24798         (pascal-mode): Use it.  Use setq-local.
24800 2013-05-04  Glenn Morris  <rgm@gnu.org>
24802         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24803         (diary-from-outlook): Respect diary-from-outlook-function.
24805 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
24807         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24808         Move the declaration from C.
24809         (read-minibuffer, eval-minibuffer): Move from C.
24810         (completion-setup-function): Avoid minibuffer-completion-contents.
24812 2013-05-03  Leo Liu  <sdl.web@gmail.com>
24814         * progmodes/octave.el (octave-font-lock-keywords): Do not
24815         dehighlight 'end' in comments or strings.
24816         (octave-completing-read, octave-goto-function-definition):
24817         New helpers.
24818         (octave-help-buffer): New user variable.
24819         (octave-help-file, octave-help-function): New button types.
24820         (octave-help): New command and bind it to C-h ;.
24821         (octave-find-definition): New command and bind it to M-.
24822         (user-error): Alias to error if not defined.
24824 2013-05-02  Leo Liu  <sdl.web@gmail.com>
24826         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24827         for \.  (bug#14332)
24828         (octave-font-lock-keywords): Include [ and {.
24830 2013-05-02  Leo Liu  <sdl.web@gmail.com>
24832         * progmodes/octave.el (inferior-octave-startup-file): Change default.
24833         (inferior-octave): Remove calling comint-mode and return the buffer.
24834         (inferior-octave-startup): Cosmetic changes.
24836 2013-05-02  Leo Liu  <sdl.web@gmail.com>
24838         * progmodes/octave.el (octave-syntax-propertize-function):
24839         Include the case when ' is at line beginning.  (Bug#14336)
24841 2013-05-02  Glenn Morris  <rgm@gnu.org>
24843         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24844         * desktop.el (vc-dir-mode): Just autoload it here.
24846 2013-05-02  Alan Mackenzie  <acm@muc.de>
24848         Eliminate variable c-standard-font-lock-fontify-region-function.
24849         * progmodes/cc-mode.el
24850         (c-standard-font-lock-fontify-region-function): Remove.
24851         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24853 2013-05-01  Leo Liu  <sdl.web@gmail.com>
24855         * progmodes/octave.el: Compatible with older emacs-24 releases.
24856         (inferior-octave-has-built-in-variables): Remove.  Built-in
24857         variables were removed from Octave in 2007.
24858         (inferior-octave-startup): Fix uses.
24859         (comint-line-beginning-position): Remove compatibility code for
24860         emacs 21.
24862 2013-05-01  Juri Linkov  <juri@jurta.org>
24864         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
24866 2013-05-01  Juri Linkov  <juri@jurta.org>
24868         * comint.el (comint-previous-matching-input): Don't print message
24869         "History item: %d" when `isearch-mode' is active.
24870         (comint-history-isearch-message): Print message "History item: %d"
24871         when `comint-input-ring-index' is not empty and this function is
24872         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
24874 2013-05-01  Leo Liu  <sdl.web@gmail.com>
24876         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24877         definitions.  Use completion-at-point to insert keywords.
24878         (octave-abbrev-start): Remove.
24879         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
24881 2013-04-30  Leo Liu  <sdl.web@gmail.com>
24883         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
24884         change.
24886 2013-04-30  Alan Mackenzie  <acm@muc.de>
24888         Handle arbitrarily long C++ member initialization lists.
24889         * progmodes/cc-engine.el (c-back-over-member-initializers):
24890         new function.
24891         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
24892         (most) member init lists.
24894 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
24896         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
24897         variable.
24899 2013-04-30  Leo Liu  <sdl.web@gmail.com>
24901         * progmodes/octave.el (octave-variables): Remove.  No builtin
24902         variables any more.  All converted to functions.
24903         (octave-font-lock-keywords, octave-completion-at-point-function):
24904         Fix uses.
24905         (octave-font-lock-texinfo-comment): New user variable.
24906         (octave-texinfo-font-lock-keywords): New variable for texinfo
24907         comment block.
24908         (octave-function-comment-block): New face.
24909         (octave-font-lock-texinfo-comment): New function.
24910         (octave-mode): Font lock texinfo comment block.
24912 2013-04-29  Leo Liu  <sdl.web@gmail.com>
24914         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
24915         indexing expression.
24916         (octave-continuation-string): Do not use \.
24917         (inferior-octave-complete-impossible): Remove.
24918         (inferior-octave-completion-table)
24919         (inferior-octave-completion-at-point): Remove its uses.
24920         (inferior-octave-startup): completion_matches was introduced to
24921         Octave in 1996 so safe to assume it.
24922         (octave-function-file-comment): Improve to follow how Octave does it.
24923         (octave-update-function-file-comment): Tweak.
24925 2013-04-29  Leo Liu  <sdl.web@gmail.com>
24927         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
24928         (inferior-octave-startup): Remove inferior-octave-startup-hook.
24929         (octave-function-file-comment): Fix typo.
24930         (octave-sync-function-file-names): Use read-char-choice.
24932 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
24934         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
24935         to t for the less important warnings.
24937 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
24939         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
24941 2013-04-27  Glenn Morris  <rgm@gnu.org>
24943         * vc/log-view.el (log-view-current-entry):
24944         Treat "---" separator lines as part of the following rev.  (Bug#14169)
24946 2013-04-27  Juri Linkov  <juri@jurta.org>
24948         * subr.el (read-number): Doc fix about using it by interactive
24949         code letter `n'.  (Bug#14254)
24951 2013-04-27  Juri Linkov  <juri@jurta.org>
24953         * desktop.el (desktop-auto-save-timeout): New option.
24954         (desktop-file-checksum): New variable.
24955         (desktop-save): Add optional arg `auto-save' and don't auto-save
24956         if nothing changed.
24957         (desktop-auto-save-timer): New variable.
24958         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
24959         (after-init-hook): Call `desktop-auto-save-set-timer'.
24960         Suggested by Reuben Thomas <rrt@sc3d.org> in
24961         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
24963 2013-04-27  Leo Liu  <sdl.web@gmail.com>
24965         * progmodes/octave.el (octave-function-file-p)
24966         (octave-skip-comment-forward, octave-function-file-comment)
24967         (octave-update-function-file-comment): New functions.
24968         (octave-mode-map): Bind C-c ; to
24969         octave-update-function-file-comment.
24970         (octave-mode-menu): Add octave-update-function-file-comment.
24971         (octave-mode, inferior-octave-mode): Fix doc-string.
24972         (octave-insert-defun): Conform to Octave's coding convention.
24973         (Bug#14285)
24975         * files.el (basic-save-buffer): Don't let errors in
24976         before-save-hook prevent saving buffer.
24978 2013-04-20  Roland Winkler  <winkler@gnu.org>
24980         * faces.el (read-face-name): Use completing-read if arg multiple
24981         is nil.
24983 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
24985         * ls-lisp.el (ls-lisp-insert-directory): If no files are
24986         displayed, move point to after the totals line.
24987         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
24988         for the details.
24990 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
24992         * emacs-lisp/package.el (package-autoload-ensure-default-file):
24993         Add current dir to the load-path.
24994         (package-generate-autoloads): Don't rely on
24995         autoload-ensure-default-file.
24997 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
24999         * textmodes/remember.el (remember-store-in-files): Document that
25000         the file name format is passed to `format-time-string'.
25002 2013-04-26  Leo Liu  <sdl.web@gmail.com>
25004         * progmodes/octave.el (octave-sync-function-file-names): New function.
25005         (octave-mode): Use it in before-save-hook.
25007 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
25009         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
25010         (bug#14274).
25012         * progmodes/octave.el (octave-smie-forward-token): Properly skip
25013         \n and comment, even if it's not an implicit ; (bug#14218).
25015 2013-04-26  Glenn Morris  <rgm@gnu.org>
25017         * subr.el (read-number): Once more use `read' rather than
25018         `string-to-number', to trap non-numeric input.  (Bug#14254)
25020 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
25022         * emacs-lisp/syntax.el (syntax-propertize-multiline):
25023         Use `syntax-multiline' text property consistently instead of
25024         `font-lock-multiline'.  (Bug#14237)
25026 2013-04-26  Glenn Morris  <rgm@gnu.org>
25028         * emacs-lisp/shadow.el (list-load-path-shadows):
25029         No longer necessary to check for duplicate simple.el, since
25030         2012-07-07 change to init_lread to not include installation lisp
25031         directories in load-path when running uninstalled.  (Bug#14270)
25033 2013-04-26  Leo Liu  <sdl.web@gmail.com>
25035         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
25036         (octave-mode, inferior-octave-mode): Use setq-local.
25037         (octave-not-in-string-or-comment-p): Rename to
25038         octave-in-string-or-comment-p.
25039         (octave-in-comment-p, octave-in-string-p)
25040         (octave-in-string-or-comment-p): Replace defsubst with defun.
25042 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
25044         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
25046 2013-04-25  Bastien Guerry  <bzg@gnu.org>
25048         * textmodes/remember.el (remember-data-directory)
25049         (remember-directory-file-name-format): Fix custom types.
25051 2013-04-25  Leo Liu  <sdl.web@gmail.com>
25053         * progmodes/octave.el (octave-completion-at-point-function):
25054         Make use of inferior octave process.
25055         (octave-initialize-completions): Remove.
25056         (inferior-octave-completion-table): New function.
25057         (inferior-octave-completion-at-point): Use it.
25058         (octave-completion-alist): Remove.
25060 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
25062         * progmodes/opascal.el: Use font-lock and syntax-propertize.
25063         (opascal-mode-syntax-table): New var.
25064         (opascal-literal-kind, opascal-is-literal-end)
25065         (opascal-literal-token-at): Rewrite.
25066         (opascal--literal-start-re, opascal-font-lock-keywords)
25067         (opascal--syntax-propertize): New constants.
25068         (opascal-font-lock-defaults): Adjust.
25069         (opascal-mode): Use them.  Set comment-<foo> variables as well.
25070         (delphi-comment-face, opascal-comment-face, delphi-string-face)
25071         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
25072         (delphi-other-face, opascal-other-face): Remove face variables.
25073         (opascal-save-state): Remove macro.
25074         (opascal-fontifying-progress-step): Remove constant.
25075         (opascal--ignore-changes): Remove var.
25076         (opascal-set-token-property, opascal-parse-next-literal)
25077         (opascal-is-stable-literal, opascal-complete-literal)
25078         (opascal-is-literal-start, opascal-face-of)
25079         (opascal-parse-region, opascal-parse-region-until-stable)
25080         (opascal-fontify-region, opascal-after-change)
25081         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
25082         (opascal-debug-parse-region, opascal-debug-parse-window)
25083         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
25084         (opascal-debug-fontify-buffer): Remove.
25085         (opascal-debug-mode-map): Adjust accordingly.
25087 2013-04-25  Leo Liu  <sdl.web@gmail.com>
25089         Merge octave-mod.el and octave-inf.el into octave.el with some
25090         cleanups.
25091         * progmodes/octave.el: New file renamed from octave-mod.el.
25092         * progmodes/octave-inf.el: Merged into octave.el.
25093         * progmodes/octave-mod.el: Renamed to octave.el.
25095 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
25097         * textmodes/reftex-vars.el
25098         (reftex-label-ignored-macros-and-environments): New defcustom.
25100         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
25102 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
25104         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
25105         (smie-indent-keyword): Improve the check to ensure that the next
25106         comment is really on the same line.
25107         (smie-indent-comment): Don't align with a subsequent closer (or eob).
25109         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
25110         semi-colons if the line is not otherwise empty (bug#14218).
25112 2013-04-25  Glenn Morris  <rgm@gnu.org>
25114         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
25116 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
25118         * progmodes/opascal.el (opascal-set-token-property): Rename from
25119         opascal-set-text-properties and only set `token' (bug#14134).
25120         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
25121         (opascal-literal-text-properties): Remove.
25122         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
25123         Adjust callers.
25125 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
25127         * textmodes/remember.el (remember-handler-functions): Add an
25128         option for a new handler `remember-store-in-files'.
25129         (remember-data-directory, remember-directory-file-name-format):
25130         New options.
25131         (remember-store-in-files): New function to store remember notes
25132         as separate files within a directory.
25134 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
25136         * progmodes/compile.el (compilation-next-error-function):
25137         Pass "formats" to compilation-find-file (bug#11777).
25139 2013-04-24  Glenn Morris  <rgm@gnu.org>
25141         * vc/vc-bzr.el (vc-bzr-print-log):
25142         * vc/vc-hg.el (vc-hg-print-log):
25143         * vc/vc-svn.el (vc-svn-print-log):
25144         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
25146         * vc/vc-bzr.el (vc-bzr-print-log):
25147         * vc/vc-cvs.el (vc-cvs-print-log):
25148         * vc/vc-git.el (vc-git-print-log):
25149         * vc/vc-hg.el (vc-hg-print-log):
25150         * vc/vc-mtn.el (vc-mtn-print-log):
25151         * vc/vc-rcs.el (vc-rcs-print-log):
25152         * vc/vc-sccs.el (vc-sccs-print-log):
25153         * vc/vc-svn.el (vc-svn-print-log):
25154         * vc/vc.el (vc-print-log-internal): Doc fixes.
25156 2013-04-23  Glenn Morris  <rgm@gnu.org>
25158         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
25159         Remove venerable code attempting to avoid substitute-command-keys.
25161 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
25163         * textmodes/reftex-vars.el (reftex-label-regexps):
25164         Call `reftex-compile-variables' after changes to this variable.
25166 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
25168         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
25169         Use lexical-binding.
25170         (jit-lock-force-redisplay): Use markers, check buffer's continued
25171         existence and beware narrowed buffers.
25172         (jit-lock-fontify-now): Adjust call accordingly.
25174 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
25176         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
25177         to avoid misleading the user.
25179 2013-04-22  Leo Liu  <sdl.web@gmail.com>
25181         * info-look.el: Prefer latex2e.info.  (Bug#14240)
25183 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
25185         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
25187         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
25188         * net/tramp.el (tramp-call-process): ... here.
25189         (tramp-set-completion-function, tramp-parse-putty):
25190         * net/tramp-adb.el (tramp-adb-execute-adb-command):
25191         * net/tramp-gvfs.el (tramp-gvfs-send-command):
25192         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
25193         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
25194         (tramp-call-local-coding-command): Use `tramp-call-process'
25195         instead of `tramp-compat-call-process'.
25197         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
25198         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
25199         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
25200         (tramp-find-inline-compress): Improve traces.
25201         (tramp-maybe-send-script): Check for Perl binary.
25202         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
25204 2013-04-22  Daiki Ueno  <ueno@gnu.org>
25206         * epg.el (epg-context-pinentry-mode): New function.
25207         (epg-context-set-pinentry-mode): New function.
25208         (epg--start): Pass --pinentry-mode option to gpg command.
25210 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
25212         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
25213         `comint-dynamic-complete' is obsolete since 24.1, replaced by
25214         `completion-at-point'.  (Bug#13774)
25216         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
25217         default key binding for `describe-distribution' has been moved to
25218         `C-h C-o'.  (Bug#13970)
25220 2013-04-21  Glenn Morris  <rgm@gnu.org>
25222         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
25223         Add doc strings.
25224         (vc-print-log): Clarify interactive prompt.
25226 2013-04-20  Glenn Morris  <rgm@gnu.org>
25228         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
25229         No longer include timestamp etc information.
25231 2013-04-20  Roland Winkler  <winkler@gnu.org>
25233         * faces.el (read-face-name): Bug fix, return just one face if arg
25234         multiple is nil.  (Bug#14209)
25236 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
25238         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
25239         (remove-function): Autoload.
25241         * comint.el (comint-redirect-original-filter-function): Remove.
25242         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
25243         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
25244         (vc-cvs-annotate-command):
25245         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
25246         * progmodes/prolog.el (prolog-consult-compile):
25247         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
25248         Use add/remove-function instead.
25249         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
25250         (gud-tooltip-process-output, gud-tooltip-tips):
25251         Use add/remove-function instead.
25252         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
25253         (scheme-interaction-mode, exit-scheme-interaction-mode):
25254         Use add/remove-function instead.
25256         * vc/vc-dispatcher.el: Use lexical-binding.
25257         (vc--process-sentinel): Rename from vc-process-sentinel.
25258         Change last arg to be the code to run.  Don't use vc-previous-sentinel
25259         and vc-sentinel-commands any more.
25260         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
25261         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
25263 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
25265         * progmodes/sh-script.el (sh-imenu-generic-expression):
25266         Handle function names with a single character.  (Bug#14111)
25268 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
25270         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
25271         for subroutines defined in an eval (bug#14182).
25273 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
25275         * bookmark.el (bookmark-completing-read): Improve handling of empty
25276         string (bug#14176).
25278 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
25280         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
25282 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
25284         New faster Imenu implementation (bug#14058).
25285         * progmodes/python.el (python-imenu-prev-index-position)
25286         (python-imenu-format-item-label-function)
25287         (python-imenu-format-parent-item-label-function)
25288         (python-imenu-format-parent-item-jump-label-function):
25289         New vars.
25290         (python-imenu-format-item-label)
25291         (python-imenu-format-parent-item-label)
25292         (python-imenu-format-parent-item-jump-label)
25293         (python-imenu--put-parent, python-imenu--build-tree)
25294         (python-imenu-create-index, python-imenu-create-flat-index)
25295         (python-util-popn): New functions.
25296         (python-mode): Set imenu-create-index-function to
25297         python-imenu-create-index.
25299 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
25301         * winner.el (winner-active-region): Use region-active-p, activate-mark
25302         and deactivate-mark (bug#14225).
25304         * simple.el (deactivate-mark): Don't inline it.
25306 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
25308         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
25310 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
25312         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
25313         file extensions from the archive-mode entry in order to prefer
25314         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
25316 2013-04-18  Leo Liu  <sdl.web@gmail.com>
25318         * bindings.el (help-event-list): Add ?\?.
25320 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
25322         * subr.el (with-wrapper-hook): Declare obsolete.
25323         * simple.el (filter-buffer-substring-function): New hook.
25324         (filter-buffer-substring): Use it.
25325         (filter-buffer-substring-functions): Mark obsolete.
25326         * minibuffer.el (completion-in-region-function): New hook.
25327         (completion-in-region): Use it.
25328         (completion-in-region-functions): Mark obsolete.
25329         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
25330         * abbrev.el (abbrev-expand-function): New hook.
25331         (expand-abbrev): Use it.
25332         (abbrev-expand-functions): Mark obsolete.
25333         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
25334         and :filter-return.
25336 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
25338         * progmodes/python.el (python-nav--syntactically): Fix cornercases
25339         and do not care about match data.
25341 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
25343         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
25344         completion tables when completing error conditions and
25345         `declare' arguments.
25346         (lisp-complete-symbol, field-complete): Mark as obsolete.
25347         (check-parens): Unmatched parens are user errors.
25348         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
25350 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
25352         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
25353         command changed buffer (ie. `flyspell-pre-buffer' is not current
25354         buffer), which prevents making decisions based on invalid value of
25355         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
25356         cause an error when `flyspell-pre-point' was nil after switching
25357         buffers.
25358         (flyspell-post-command-hook): No longer needs to change buffers when
25359         checking pre-word.  While at it remove unnecessary progn.
25361 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
25363         * textmodes/ispell.el (ispell-add-per-file-word-list):
25364         Fix `flyspell-correct-word-before-point' error when accepting
25365         words and `coment-padding' is an integer by using
25366         `comment-normalize-vars' (Bug #14214).
25368 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
25370         New defun movement commands.
25371         * progmodes/python.el (python-nav--syntactically)
25372         (python-nav--forward-defun, python-nav-backward-defun)
25373         (python-nav-forward-defun): New functions.
25375 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
25377         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
25378         (python-syntax-context): Use named compiler-macro for backwards
25379         compatibility with Emacs 24.x.
25381 2013-04-17  Leo Liu  <sdl.web@gmail.com>
25383         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
25384         octave-hide-process-buffer.
25386 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
25388         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
25389         (bug#14216).
25391 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
25393         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
25394         Fix adjustment of offset when receiving incomplete responses from GDB
25395         (bug#14129).
25397 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
25399         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
25400         python-mode-abbrev-table.
25401         (python-skeleton-define): Adjust accordingly.
25402         (python-mode-abbrev-table): New table that inherits from it so that
25403         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
25405         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
25406         (abbrev-symbol): Use it.
25407         (abbrev--before-point): Use it since we already handle inheritance.
25409 2013-04-16  Leo Liu  <sdl.web@gmail.com>
25411         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
25412         binding to info-lookup-symbol.
25414 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
25416         * minibuffer.el (completion--twq-all):
25417         * term/ns-win.el (ns-initialize-window-system):
25418         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
25420 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
25422         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
25423         global bindings.
25425         * doc-view.el (doc-view-start-process): Handle url-handler directories.
25427 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
25429         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
25430         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
25431         to nil.
25432         (ruby-end-of-defun): Remove the unused arg, change the docstring
25433         to reflect that this function is only used as the value of
25434         `end-of-defun-function'.
25435         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
25436         to reflect an earlier change that beginning/end-of-defun functions
25437         jump between methods in a class definition, as well as top-level
25438         functions.
25440 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
25442         * minibuffer.el (minibuffer-complete): Don't just scroll
25443         a *Completions* that's been iconified.
25444         (minibuffer-force-complete): Make sure repetitions do cycle when going
25445         through completion-in-region -> minibuffer-complete.
25447 2013-04-15  Alan Mackenzie  <acm@muc.de>
25449         Correct the placement of c-cpp-delimiters when there're #s not at
25450         col 0.
25452         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
25453         place a submatch around the #.
25454         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
25455         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
25456         on the #, not BOL.
25458 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
25460         * emacs-lisp/nadvice.el: Properly test names when adding advice.
25461         (advice--member-p): New arg `name'.
25462         (advice--add-function, advice-member-p): Use it (bug#14202).
25464 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
25466         Reformulate java imenu-generic-expression.
25467         The old expression contained ill formed regexps.
25469         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
25470         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
25471         (cc-imenu-java-method-arg-regexp): New defconsts.
25472         (cc-imenu-java-build-type-args-regex): New defun.
25473         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
25474         handling of spaces in the regexp.
25476 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
25478         * textmodes/ispell.el (ispell-command-loop): Remove
25479         flyspell highlight of a word when ispell accepts it (bug #14178).
25481 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
25483         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
25484         uses code from the previous `ange-ftp-run-real-handler'.
25485         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
25486         only in case that function exist.  This is needed for proper
25487         unloading of Tramp.
25489 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
25491         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
25493         * textmodes/reftex.el (reftex-compile-variables): Use it.
25495 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
25497         * files.el (normal-mode): Only use default major-mode if no other mode
25498         was specified.
25500         * emacs-lisp/trace.el (trace-values): New function.
25502         * files.el: Allow : in local variables (bug#14089).
25503         (hack-local-variable-regexp): New var.
25504         (hack-local-variables-prop-line, hack-local-variables): Use it.
25506 2013-04-13  Roland Winkler  <winkler@gnu.org>
25508         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
25509         data before it gets modified by bibtex-beginning-of-entry.
25511 2013-04-13  Roland Winkler  <winkler@gnu.org>
25513         * textmodes/bibtex.el (bibtex-url): Doc fix.
25515 2013-04-13  Roland Winkler  <winkler@gnu.org>
25517         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
25518         does not visit a BibTeX file, exclude it from the list of buffers
25519         returned by bibtex-initialize.
25521 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
25523         * window.el (split-window): Remove interactive form, since as a
25524         command this function is a special case of split-window-below.
25525         Correct doc string.
25527 2013-04-12  Roland Winkler  <winkler@gnu.org>
25529         * faces.el (read-face-name): Do not override value of arg default.
25530         Allow single faces and strings as default values.  Remove those
25531         elements from return value that are not faces.
25532         (describe-face): Simplify.
25533         (face-at-point): New optional args thing and multiple so that this
25534         function can provide the same functionality previously provided by
25535         read-face-name.
25536         (make-face-bold, make-face-unbold, make-face-italic)
25537         (make-face-unitalic, make-face-bold-italic, invert-face)
25538         (modify-face, read-face-and-attribute): Use face-at-point.
25540         * cus-edit.el (customize-face, customize-face-other-window)
25541         * cus-theme.el (custom-theme-add-face)
25542         * face-remap.el (buffer-face-set)
25543         * facemenu.el (facemenu-set-face): Use face-at-point.
25545 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
25547         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
25549 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
25551         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
25552         off leading { and trailing } from field values.
25554 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
25556         * emacs-lisp/timer.el (timer--check): New function.
25557         (timer--time, timer-set-function, timer-event-handler): Use it.
25558         (timer-set-idle-time): Simplify.
25559         (timer--activate): CSE.
25560         (timer-event-handler): Give more info in error message.
25561         (internal-timer-start-idle): New function, moved from C.
25563         * mpc.el (mpc-proc): Add `restart' argument.
25564         (mpc-proc-cmd): Use it.
25565         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
25566         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
25567         less often.
25569 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
25571         * progmodes/sh-script.el: Implement `sh-mode' own
25572         `add-log-current-defun-function' (bug#14112).
25573         (sh-current-defun-name): New function.
25574         (sh-mode): Use the function.
25576 2013-04-09  Bastien Guerry  <bzg@gnu.org>
25578         * simple.el (choose-completion-string): Fix docstring (bug#14163).
25580 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
25582         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
25584         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
25585         timer (bug#14156).
25587 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
25589         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
25590         declaration.
25592 2013-04-07  Leo Liu  <sdl.web@gmail.com>
25594         * pcmpl-x.el: New file.
25596 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
25598         Do not set x-display-name until X connection is established.
25599         This is needed to prevent from weird situation described at
25600         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
25601         * frame.el (make-frame): Set x-display-name after call to
25602         window system initialization function, not before.
25603         * term/x-win.el (x-initialize-window-system): Add optional
25604         display argument and use it.
25605         * term/w32-win.el (w32-initialize-window-system):
25606         * term/ns-win.el (ns-initialize-window-system):
25607         * term/pc-win.el (msdos-initialize-window-system):
25608         Add compatible optional display argument.
25610 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
25612         * files.el (normal-backup-enable-predicate): On MS-Windows and
25613         MS-DOS compare truenames of temporary-file-directory and of the
25614         file, so that 8+3 aliases (usually found in $TEMP on Windows)
25615         don't fail comparison by compare-strings.  Also, compare file
25616         names case-insensitively on MS-Windows and MS-DOS.
25618 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
25620         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
25621         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
25623 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
25625         * whitespace.el (whitespace-color-on, whitespace-color-off):
25626         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
25628 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
25630         * ispell.el (ispell-set-spellchecker-params):
25631         Really set `ispell-args' for all equivs.
25633 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
25635         * ido.el (ido-completions): Use extra elements of ido-decorations
25636         (bug#14143).
25637         (ido-decorations): Update docstring.
25639 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
25641         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
25642         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
25643         nil during initialization, in order not to miss changes since the
25644         file was opened.  (Bug#14140)
25646 2013-04-05  Leo Liu  <sdl.web@gmail.com>
25648         * kmacro.el (kmacro-call-macro): Fix bug#14135.
25650 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
25652         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
25654 2013-04-04  Glenn Morris  <rgm@gnu.org>
25656         * electric.el (electric-pair-inhibit-predicate): Add :version.
25658 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
25660         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
25661         when a package is required several times (bug#14082).
25663 2013-04-04  Roland Winkler  <winkler@gnu.org>
25665         * faces.el (read-face-name): Behave as promised by the docstring.
25666         Assume that arg default is a list of faces.
25667         (describe-face): Call read-face-name with list of default faces.
25669 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
25671         * bookmark.el: Fix deletion of bookmarks (bug#13972).
25672         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
25673         (bookmark-bmenu-execute-deletions): Only skip first line if it's
25674         the header.
25675         (bookmark-exit-hook-internal): Save even if list is empty.
25677 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
25679         * emacs-lisp/package.el (package-pinned-packages): New var.
25680         (package--add-to-archive-contents): Obey it (bug#14118).
25682 2013-04-03  Alan Mackenzie  <acm@muc.de>
25684         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
25685         Also adapt to the new values of element 7 of a parse state.
25687         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
25688         parameter `not-in-delimiter'.  Handle being inside comment opener.
25689         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
25690         character in case we're typing a '*' after a '/'.
25691         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
25692         instead by passing the parameter to c-state-pp-to-literal.
25694         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
25695         for elt. 7 of a parse state.
25697 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
25699         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
25700         * international/latin1-disp.el, international/mule-util.el:
25701         * language/cyril-util.el, language/european.el, language/ind-util.el:
25702         * language/lao-util.el, language/thai.el, language/tibet-util.el:
25703         * language/tibetan.el, language/viet-util.el:
25704         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
25706 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
25708         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
25709         (electric-pair-post-self-insert-function): Use it.
25710         (electric-pair-default-inhibit): New function, extracted from
25711         electric-pair-post-self-insert-function.
25713 2013-03-31  Roland Winkler  <winkler@gnu.org>
25715         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
25717 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
25719         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
25721 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
25723         Un-indent after "pass" and "return" statements (Bug#13888)
25724         * progmodes/python.el (python-indent-block-enders): New var.
25725         (python-indent-calculate-indentation): Use it.
25727 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
25729         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25730         defun.  Defining it as defalias could introduce too eager
25731         byte-compiler optimization.  (Bug#14030)
25733 2013-03-30  Chong Yidong  <cyd@gnu.org>
25735         * iswitchb.el (iswitchb-read-buffer): Fix typo.
25737 2013-03-30  Leo Liu  <sdl.web@gmail.com>
25739         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25740         (kmacro-execute-from-register): Pass the keyboard macro to
25741         kmacro-call-macro or repeating won't work correctly.
25743 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
25745         * progmodes/subword.el: Back to using `forward-symbol'.
25747         * subr.el (forward-whitespace, forward-symbol)
25748         (forward-same-syntax): Move from thingatpt.el.
25750 2013-03-29  Leo Liu  <sdl.web@gmail.com>
25752         * kmacro.el (kmacro-to-register): New command.
25753         (kmacro-execute-from-register): New function.
25754         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
25756 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
25758         * mpc.el: Use defvar-local and setq-local.
25759         (mpc--proc-connect): Connection failures are not bugs.
25760         (mpc-mode-map): `follow-link' only applies to the buffer's content.
25761         (mpc-volume-map): Bind to the up-events.
25763 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
25765         * progmodes/subword.el (superword-mode): Use `forward-sexp'
25766         instead of `forward-symbol'.
25768 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
25770         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25771         (edebug--recursive-edit): Use it.
25772         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25773         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25775 2013-03-28  Leo Liu  <sdl.web@gmail.com>
25777         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
25779 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
25781         * facemenu.el (list-colors-callback): New defvar.
25782         (list-colors-redisplay): New function.
25783         (list-colors-display): Install list-colors-redisplay as the
25784         revert-buffer-function.  (Bug#14063)
25786 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
25788         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25789         and suffixes don't overlap (bug#14061).
25791         * case-table.el: Use lexical-binding.
25792         (case-table-get-table): New function.
25793         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
25795 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
25797         * progmodes/subword.el: Add `superword-mode' to do word motion
25798         over symbol_words (parallels and leverages `subword-mode' which
25799         does word motion inside MixedCaseWords).
25801 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
25803         * eshell/em-unix.el: Move su and sudo to...
25804         * eshell/em-tramp.el: ...Eshell tramp module.
25806 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
25808         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25809         Change return value to be a sexp.  Delay `get-buffer' to after
25810         restoring the desktop (bug#13951).
25812 2013-03-26  Leo Liu  <sdl.web@gmail.com>
25814         * register.el: Move semantic tag handling back to
25815         cedet/semantic/senator.el.  (Bug#14052)
25817 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
25819         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25820         into the prompt either (bug#13963).
25822 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
25824         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25825         part of "(error-foo)".
25827 2013-03-24  Juri Linkov  <juri@jurta.org>
25829         * replace.el (list-matching-lines-prefix-face): New defcustom.
25830         (occur-1): Pass `list-matching-lines-prefix-face' to the function
25831         `occur-engine' if `face-differs-from-default-p' returns t.
25832         (occur-engine): Add `,' inside backquote construct to evaluate
25833         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
25834         Pass `prefix-face' to the functions `occur-context-lines' and
25835         `occur-engine-add-prefix'.
25836         (occur-engine-add-prefix, occur-context-lines): Add optional arg
25837         `prefix-face' and propertize the prefix with `prefix-face'.
25838         (Bug#14017)
25840 2013-03-24  Leo Liu  <sdl.web@gmail.com>
25842         * nxml/rng-valid.el (rng-validate-while-idle)
25843         (rng-validate-quick-while-idle): Guard against deleted buffer.
25844         (Bug#13999)
25846         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25847         is the last entry in kill-buffer-hook.
25849         * files.el (kill-buffer-hook): Doc fix.
25851 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
25853         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25854         Make it safe-local.
25856         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25858 2013-03-23  Leo Liu  <sdl.web@gmail.com>
25860         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25861         Remove.
25863         * nxml/rng-valid.el (rng-validate-mode)
25864         (rng-after-change-function, rng-do-some-validation):
25865         * nxml/rng-maint.el (rng-validate-buffer):
25866         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25867         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25868         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25869         (nxml-extend-after-change-region): Use with-silent-modifications.
25871         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25872         timer-idle-list.
25874         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25875         (rng-next-error-1, rng-previous-error-1): Do not let-bind
25876         timer-idle-list.  (Bug#13999)
25878 2013-03-23  Juri Linkov  <juri@jurta.org>
25880         * info.el (info-index-match): New face.
25881         (Info-index, Info-apropos-matches): Add a nested subgroup to the
25882         main pattern and add text properties with the new face to matches
25883         in index entries relative to the beginning of the index entry.
25884         (Bug#14015)
25886 2013-03-21  Eric Ludlam  <zappo@gnu.org>
25888         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
25889         Inhibit read only while inserting objects.
25891 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
25893         * progmodes/cfengine.el: Update docs to mention
25894         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
25895         symbol motion.  Remove "_" from the word syntax.
25897 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
25899         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
25900         syntax for both `cfengine2-mode' and `cfengine3-mode'.
25902 2013-03-20  Juri Linkov  <juri@jurta.org>
25904         * info.el (Info-next-reference-or-link)
25905         (Info-prev-reference-or-link): New functions.
25906         (Info-next-reference, Info-prev-reference): Use them.
25907         (Info-try-follow-nearest-node): Handle footnote navigation.
25908         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
25910 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
25912         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
25913         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
25915 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
25917         Suppress unnecessary non-ASCII chatter during build process.
25918         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
25919         (batch-skkdic-convert): Suppress most of the chatter.
25920         It's not needed so much now that machines are faster,
25921         and its non-ASCII component was confusing; see Dmitry Gutov in
25922         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
25924 2013-03-20  Leo Liu  <sdl.web@gmail.com>
25926         * ido.el (ido-chop): Fix bug#10994.
25928 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
25930         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
25931         Remove vars.
25932         (whitespace-color-on, whitespace-color-off):
25933         Use `font-lock-fontify-buffer' (Bug#13817).
25935 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
25937         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
25938         remapping in mode-line.
25939         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
25941 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
25943         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
25944         value for `whitespace-line' face (Bug#13875).
25945         (whitespace-font-lock-keywords): Change description.
25946         (whitespace-color-on): Don't save `font-lock-keywords' value, save
25947         the constructed keywords instead.
25948         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
25950 2013-03-19  Leo Liu  <sdl.web@gmail.com>
25952         * progmodes/compile.el (compilation-display-error): New command.
25953         (compilation-mode-map, compilation-minor-mode-map): Bind it to
25954         C-o.  (Bug#13992)
25956 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
25958         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
25960 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
25962         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
25964 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
25966         * net/tramp-compat.el (tramp-compat-user-error): New defun.
25968         * net/tramp-adb.el (tramp-adb-handle-shell-command):
25969         * net/tramp-gvfs.el (top):
25970         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
25971         (tramp-handle-shell-command): Use it.
25972         (tramp-dissect-file-name): Raise an error when hostname is a
25973         method name, and neither method nor user is specified.
25975         * net/trampver.el: Update release number.
25977 2013-03-18  Leo Liu  <sdl.web@gmail.com>
25979         Make sure eldoc can be turned off properly.
25980         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
25981         eldoc-mode.
25982         (eldoc-display-message-p): Revert last change.
25983         (eldoc-display-message-no-interference-p)
25984         (eldoc-print-current-symbol-info): Tweak.
25986 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
25988         * doc-view.el (doc-view-new-window-function): Check the new window
25989         overlay's display property instead the char property of the
25990         buffer's first char.  Use `with-selected-window' instead of
25991         `save-window-excursion' with `select-window'.
25992         (doc-view-document->bitmap): Check the current doc-view overlay's
25993         display property instead the char property of the buffer's first char.
25995 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
25997         Automate the build of ja-dic.el (Bug#13984).
25998         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
25999         from the input, rather than assume that it's been done for us by the
26000         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
26001         the current date into a ja-dic.el comment, as that complicates
26002         regression testing.
26004 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
26006         * whitespace.el: Fix double evaluation.
26007         (whitespace-space, whitespace-hspace, whitespace-tab)
26008         (whitespace-newline, whitespace-trailing, whitespace-line)
26009         (whitespace-space-before-tab, whitespace-indentation)
26010         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
26011         obsolete defvars.
26012         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
26013         (whitespace-color-on): Use a single font-lock-add-keywords call.
26014         Fix double-evaluation of face variables.
26016 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
26018         * net/tramp-adb.el (tramp-adb-parse-device-names):
26019         Use `start-process' instead of `call-process'.  Otherwise, the
26020         function might be blocked under MS Windows.  (Bug#13299)
26022 2013-03-17  Leo Liu  <sdl.web@gmail.com>
26024         Extend eldoc to display info in the mode-line.  (Bug#13978)
26025         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
26026         (eldoc-mode-line-string): New variable.
26027         (eldoc-minibuffer-message): New function.
26028         (eldoc-message-function): New variable.
26029         (eldoc-message): Use it.
26030         (eldoc-display-message-p)
26031         (eldoc-display-message-no-interference-p):
26032         Support eldoc-post-insert-mode.
26034         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
26035         (eval-expression): Run it.
26037 2013-03-17  Roland Winkler  <winkler@gnu.org>
26039         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
26040         strings in the list of return values.
26042 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
26044         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
26045         radix before checking for HMS forms.
26047 2013-03-16  Leo Liu  <sdl.web@gmail.com>
26049         * progmodes/scheme.el: Add indentation and font-locking for λ.
26050         (Bug#13975)
26052 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
26054         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
26055         token before point (bug#13942).
26057 2013-03-16  Leo Liu  <sdl.web@gmail.com>
26059         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
26061 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
26063         * startup.el (command-line-normalize-file-name): Fix handling of
26064         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
26065         <xfq.free@gmail.com> in
26066         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
26068 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
26070         Sync with Tramp 2.2.7.
26072         * net/trampver.el: Update release number.
26074 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
26076         * doc-view.el: Fix bug#13887.
26077         (doc-view-insert-image): Don't modify overlay associated to
26078         non-live windows, and implement horizontal centering of image in
26079         case it's smaller than the window.
26080         (doc-view-new-window-function): Force redisplay of new windows on
26081         doc-view buffers.
26083 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
26085         * saveplace.el (save-place-alist-to-file): Don't sort
26086         `save-place-alist', just pretty-print it (bug#13882).
26088 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
26090         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
26091         Check whether `default-file-name-coding-system' is bound.
26092         It isn't in XEmacs.
26094 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
26096         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
26097         backquotes for `obsolete' (bug#13929).
26099         * international/mule.el (find-auto-coding): Include file name in
26100         obsolescence warning (bug#13922).
26102 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
26104         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
26105         for CFEngine 3-specific indentation.
26106         (cfengine3-indent-line): Use it.  Fix up category regex.
26107         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
26109 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
26111         * type-break.el (type-break-file-name):
26112         * textmodes/remember.el (remember-data-file):
26113         * strokes.el (strokes-file):
26114         * shadowfile.el (shadow-initialize):
26115         * saveplace.el (save-place-file):
26116         * ps-bdf.el (bdf-cache-file):
26117         * progmodes/idlwave.el (idlwave-config-directory):
26118         * net/quickurl.el (quickurl-url-file):
26119         * international/kkc.el (kkc-init-file-name):
26120         * ido.el (ido-save-directory-list-file):
26121         * emulation/viper.el (viper-custom-file-name):
26122         * emulation/vip.el (vip-startup-file):
26123         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
26124         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
26126 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
26128         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
26129         * language/thai-word.el: Switch to UTF-8.
26131 See ChangeLog.16 for earlier changes.
26133 ;; Local Variables:
26134 ;; coding: utf-8
26135 ;; End:
26137   Copyright (C) 2011-2015 Free Software Foundation, Inc.
26139   This file is part of GNU Emacs.
26141   GNU Emacs is free software: you can redistribute it and/or modify
26142   it under the terms of the GNU General Public License as published by
26143   the Free Software Foundation, either version 3 of the License, or
26144   (at your option) any later version.
26146   GNU Emacs is distributed in the hope that it will be useful,
26147   but WITHOUT ANY WARRANTY; without even the implied warranty of
26148   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26149   GNU General Public License for more details.
26151   You should have received a copy of the GNU General Public License
26152   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.