Fix some fallback values to conform to the actual release number.
[emacs.git] / lisp / ChangeLog
blobe139b713d644d5c7095cd2e7e8dd4cb7be56803c
1 2014-10-26  Eric S. Raymond  <esr@thyrsus.com>
3         * version.el: Fix some fallback values to conform to the actual
4         release number.
6 2014-10-25  Eric S. Raymond  <esr@thyrsus.com>
8         * Makefile.in: Change some production names so they're neutral
9         about the repository type.
11 2014-10-25  Michael Albinus  <michael.albinus@gmx.de>
13         * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
14         (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
15         during initialization.  (Bug#18774)
17 2014-10-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
19         * ses.el (macroexp): add require for this package, so that
20         function `ses--cell' gets macroexp-quote --- this change was
21         supposed to be in my previous commit, but left out by mistake.
22         (ses--cell): Do not make formula a macroexp-quote of value when
23         value, not formula, is *skip*.
25 2014-10-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
27         * ses.el (macroexp): add require for this package, so that function
28         `ses--cell gets macroexp-quote.
29         (ses--cell): makes formula a macroexp-quote of value when formula
30         is nil. The rationale of this changr is to allow in the future
31         shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
32         instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
33         reference list REFLIST would be re-computed after load --- thus
34         trading off load time against file size.
36         * emacs-lisp/package.el (package--alist-to-plist-args): use
37         macroexp-quote instead of a lambda expression which has the same
38         content as macroexp-quote.
39         (macroexp): add require for this package, so that function
40         `package--alist-to-plist-args' gets macroexp-quote.
42         * emacs-lisp/macroexp.el (macroexp-quote): new defun.
44 2014-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
46         * term/ns-win.el (ns-store-cut-buffer-internal)
47         (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
49 2014-10-24  Martin Rudalics  <rudalics@gmx.at>
51         * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
52         Calculate increment from last position instead of window edge.
53         Add right- and bottom-divider bindings to transient map.
55 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
57         * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
58         even if :predicate was nil, for the benefit of typep.
59         Record the name of the predicate for typep's use.
60         (cl--make-type-test): Use pcase.  Obey new
61         cl-deftype-satisfies property.
63         * epg.el: Use cl-defstruct.
64         (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
65         (epg-data-string): Define via cl-defstruct.
66         (epg--gv-nreverse): New macro.
67         (epg-context--make): New constructor (provided vi cl-defstruct).
68         (epg-make-context): Rewrite using it.
69         (epg-context-protocol, epg-context-program)
70         (epg-context-home-directory, epg-context-armor, epg-context-textmode)
71         (epg-context-include-certs, epg-context-cipher-algorithm)
72         (epg-context-digest-algorithm, epg-context-compress-algorithm)
73         (epg-context-passphrase-callback, epg-context-progress-callback)
74         (epg-context-signers, epg-context-sig-notations, epg-context-process)
75         (epg-context-output-file, epg-context-result, epg-context-operation)
76         (epg-context-pinentry-mode): Define using cl-defstruct.
77         (epg-context-set-protocol, epg-context-set-program)
78         (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
79         (epg-context-set-digest-algorithm)
80         (epg-context-set-sig-notations, epg-context-set-process)
81         (epg-context-set-output-file, epg-context-set-result)
82         (epg-context-set-operation, epg-context-set-pinentry-mode)
83         (epg-context-set-compress-algorithm): Remove.  Use setf instead.
84         (epg-context-set-armor, epg-context-set-textmode)
85         (epg-context-set-signers): Redefine using setf
86         and declare as obsolete.
87         (epg-context-set-passphrase-callback)
88         (epg-context-set-progress-callback): Use setf.
89         (epg-signature-notations): Rename from epg-sig-notations.
90         (epg-make-signature, epg-signature-status, epg-signature-key-id)
91         (epg-signature-validity, epg-signature-fingerprint)
92         (epg-signature-creation-time, epg-signature-expiration-time)
93         (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
94         (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
95         (epg-signature-set-status, epg-signature-set-key-id)
96         (epg-signature-set-validity, epg-signature-set-fingerprint)
97         (epg-signature-set-creation-time, epg-signature-set-expiration-time)
98         (epg-signature-set-pubkey-algorithm)
99         (epg-signature-set-digest-algorithm, epg-signature-set-class)
100         (epg-signature-set-version, epg-signature-set-notations): Remove.
101         Use setf instead.
102         (epg-make-new-signature, epg-new-signature-type)
103         (epg-new-signature-pubkey-algorithm)
104         (epg-new-signature-digest-algorithm, epg-new-signature-class)
105         (epg-new-signature-creation-time, epg-new-signature-fingerprint):
106         Define using cl-defstruct.
107         (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
108         (epg-key-user-id-list): Define using cl-defstruct.
109         (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
110         Use setf instead.
111         (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
112         (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
113         (epg-sub-key-id, epg-sub-key-creation-time)
114         (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
115         cl-defstruct.
116         (epg-sub-key-set-fingerprint): Remove.  Use setf instead.
117         (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
118         (epg-user-id-signature-list): Define using cl-defstruct.
119         (epg-user-id-set-signature-list): Remove.  Use setf instead.
120         (epg-make-key-signature, epg-key-signature-validity)
121         (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
122         (epg-key-signature-creation-time, epg-key-signature-expiration-time)
123         (epg-key-signature-user-id, epg-key-signature-class)
124         (epg-key-signature-exportable-p): Define using cl-defstruct.
125         (epg-make-sig-notation, epg-sig-notation-name)
126         (epg-sig-notation-value, epg-sig-notation-human-readable)
127         (epg-sig-notation-critical): Define using cl-defstruct.
128         (epg-sig-notation-set-value): Remove.  Use setf instead.
129         (epg-make-import-status, epg-import-status-fingerprint)
130         (epg-import-status-reason, epg-import-status-new)
131         (epg-import-status-user-id, epg-import-status-signature)
132         (epg-import-status-sub-key, epg-import-status-secret): Define using
133         cl-defstruct.
134         (epg-make-import-result, epg-import-result-considered)
135         (epg-import-result-no-user-id, epg-import-result-imported)
136         (epg-import-result-imported-rsa, epg-import-result-unchanged)
137         (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
138         (epg-import-result-new-signatures, epg-import-result-new-revocations)
139         (epg-import-result-secret-read, epg-import-result-secret-imported)
140         (epg-import-result-secret-unchanged, epg-import-result-not-imported)
141         (epg-import-result-imports): Define using cl-defstruct.
143         * emacs-lisp/package.el: Require EPG during macroexpansion.
144         (package--check-signature, package-import-keyring): Use setf instead of
145         epg-context-set-home-directory.
147 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
149         * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
151 2014-10-23  Leo Liu  <sdl.web@gmail.com>
153         * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
154         (cfengine3-create-imenu-index): Use it and use ` ' for separation.
155         (cfengine3-current-defun): New function.
156         (cfengine3-mode): Set add-log-current-defun-function.
158 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
160         * select.el: Use lexical-binding.
161         (gui-set-selection): Provide an implementation for non-GUI frames
162         (bug#18791).
163         * term/x-win.el: Use lexical-binding.
164         (x-clipboard-yank): Fix up missed renamings.
165         * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
166         (w32--set-selection): Fix up var names.
167         * term/pc-win.el: Use lexical-binding.
168         (w16-selection-exists-p): Silence compiler warning.
169         (w16-selection-owner-p): Fix up missed renamings.
171         * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
173         * frame.el (frame-notice-user-settings): Fix excessive quoting.
175 2014-10-22  Tassilo Horn  <tsdh@gnu.org>
177         * doc-view.el (doc-view-open-text): View the document's plain text
178         in the current buffer instead of a new one.
179         (doc-view-toggle-display): Handle the case where the current
180         buffer contains the plain text contents of the document.
181         (doc-view-initiate-display): Don't switch to fallback mode if the
182         user wants to view the doc's plain text.
183         (doc-view-set-doc-type): Use assoc-string instead of
184         assoc-ignore-case.
186 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
188         * subr.el (read-key): Fix clicks on the mode-line.
189         (set-transient-map): Return exit function.
191         * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
192         (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
193         (mouse-yank-secondary): Use gui-get-selection.
194         (mouse--down-1-maybe-follows-link): Use read-key.
196         * xt-mouse.el: Add `event-kind' property on the fly from
197         xterm-mouse-translate-1 rather than statically at the outset.
199 2014-10-21  Daniel Colascione  <dancol@dancol.org>
201         * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
202         change window configuration when we turn it off.
204 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
206         Get rid of backend-dependent selection-handling functions for kill/yank
207         and make it generic instead by relying on the lower-level selection
208         management functions.
210         * select.el (select-enable-clipboard): Rename from
211         gui-select-enable-clipboard.
212         (select-enable-primary): Move from x-win.el and rename from
213         x-select-enable-primary.
214         (gui-last-selected-text): Remove.
215         (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
216         New vars.
217         (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
218         (gui-select-text-alist, gui-selection-value-alist): Remove.
219         (x-select-request-type): Move from x-win.el.
220         (gui--selection-value-internal): New function, taken from x-win's
221         x-selection-value-internal.
222         (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
223         (gui-set-selection-alist): Rename from gui-own-selection-alist and
224         extend it to handle a nil value as a "disown" request.
225         (gui-disown-selection-alist): Remove.
226         (xselect-convert-to-delete): Adjust accordingly.
227         (gui-set-selection): Simplify accordingly as well.  Use dotimes.
229         * term/x-win.el (x-last-selected-text-primary)
230         (x-select-enable-primary): Remove (moved to select.el).
231         (x-select-request-type): Move to select.el.
232         (x-selection-value-internal, x--selection-value): Remove functions.
233         (gui-selection-value, gui-select-text): Remove moethods.
234         (gui-set-selection): Merge own and disown methods.
236         * term/w32-win.el (w32--select-text, w32--get-selection-value):
237         Delete function (move functionality into w32--set-selection and
238         w32--get-selection).
239         (gui-select-text, gui-selection-value): Don't define methods.
240         (w32--set-selection, w32--get-selection, w32--selection-owner-p):
241         New functions.
242         (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
243         Use them.
244         (gui-selection-exists-p): Adjust to new name of C primitive.
246         * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
247         test of gui-select-enable-clipboard, to make it usable as
248         a gui-get-selection method.
249         (gui-selection-exists-p): Adjust to new name of C primitive.
250         (gui-set-selection): Merge own and disown methods.
251         (gui-select-text, gui-selection-value): Delete methods.
252         (w16--select-text): Delete function.
254         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
255         (ns-selection-value): Remove functions.
256         (gui-select-text, gui-selection-value): Don't define method any more.
257         (gui-set-selection): Merge the old own and disown methods.
258         (gui-selection-exists-p, gui-get-selection): Adjust to new name of
259         underlying C primitive.
261         * startup.el (command-line): Adjust now that `gui-method' expects nil
262         for ttys.
264         * frame.el (gui-method): Use window-system rather than framep.
265         (gui-method-declare): The tty case is now nil rather than t.
266         (make-frame): Adjust accordingly.
268 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
270         * net/newst-reader.el (newsticker--image-read): Simplify.
271         (newsticker--icon-read): Use dolist and fix free var error.
273         * imenu.el (imenu--menubar-keymap): New var.
274         (imenu-add-to-menubar): Set it to remember the keymap we used.
275         (imenu-update-menubar): Use it instead of asking lookup-key.
277         * obsolete/cc-compat.el: Make obsolete (bug#18561).
279         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
281         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
282         case (bug#18767).
284 2014-10-21  Glenn Morris  <rgm@gnu.org>
286         * Merge in all changes up to version 24.4 release.
288 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
290         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
291         case (bug#18767).
293 2014-10-20  Glenn Morris  <rgm@gnu.org>
295         * Merge in all changes up to 24.4 release.
297 2014-10-20  Ulf Jasper  <ulf.jasper@web.de>
299         * net/newst-backend.el
300         (newsticker--image-download-by-url-callback): Make this function
301         actually work: Check status properly, then save image.
303 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
305         * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
306         `this-event'.
307         (mouse-drag-line): Unless there's no actual mouse, use the event's
308         position info.
310 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
312         * textmodes/css-mode.el (scss-mode): New major-mode.
313         (css-mode-syntax-table): Use d style comment, to ease the scss case.
314         (css-ident-re): Allow things like @-moz-keyframes.
315         (scss--hash-re): New const.
316         (css--font-lock-keywords): New function, extracted from
317         css-font-lock-keywords.
319 2014-10-19  Ulf Jasper  <ulf.jasper@web.de>
321         * net/newst-backend.el: Require url-parse.
322         (newsticker--get-news-by-wget): Store feed name as process property.
323         (newsticker--sentinel): Read feed name from process property.
324         (newsticker--sentinel-work): Rename argument name to feed-name.
325         Rename variable imageurl to image-url.  Pick icon url from Atom
326         1.0 data.  Launch download of feed icon.
327         (newsticker--get-icon-url-atom-1.0): New.
328         (newsticker--unxml)
329         (newsticker--unxml-node)
330         (newsticker--unxml-attribute): Documentation.
331         (newsticker--icons-dir): New.
332         (newsticker--image-get): New arguments FILENAME and DIRECTORY.
333         Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
334         (newsticker--image-download-by-wget): New.  Use process properties
335         for storing informations.
336         (newsticker--image-sentinel): Read informations from process properties.
337         (newsticker--image-save)
338         (newsticker--image-remove)
339         (newsticker--image-download-by-url)
340         (newsticker--image-download-by-url-callback): New.
341         (newsticker-opml-export): Handle url list entries containing a
342         function instead of an url string.
344         * net/newst-reader.el (newsticker-html-renderer): Whitespace.
345         (newsticker--print-extra-elements)
346         (newsticker--do-print-extra-element): Documentation
347         (newsticker--image-read): Optionally limit image height.
348         Use imagemagick if possible.
349         (newsticker--icon-read): New.
351         * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
352         (newsticker--treeview-tree-expand): Use feed icons in treeview.
353         (newsticker--tree-widget-icon-create): New.  Set the tree widget icon.
354         (newsticker--tree-widget-leaf-icon): Use feed icon.
356 2014-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
358         * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
359         Use help-function-arglist instead.
361         * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
362         (eieio--with-scoped-class): Use `declare'.
363         (eieio-defclass): Remove compatibility code.
364         (no-method-definition, no-next-method, inconsistent-class-hierarchy)
365         (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
367 2014-10-18  Jan Djärv  <jan.h.d@swipnet.se>
369         * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
371         * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
372         replacements to stock names before stock names in a list.
373         Cdr may be a list, each name is tried in turn until one is found.
375 2014-10-18  Alan Mackenzie  <acm@muc.de>
377         Check that a "macro" found near point-min isn't a ## operator.
378         Fixes bug #18749.
379         * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
380         (c-beginning-of-macro): Use the above new function.
382 2014-10-18  Teodor Zlatanov  <tzz@lifelogs.com>
384         * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
385         correct data to `gnutls-boot' (Bug#18664).
386         Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
388 2014-10-18  Michal Nazarewicz  <mina86@mina86.com>
390         * whitespace.el (whitespace-style, whitespace-big-indent)
391         (whitespace-big-indent-regexp, whitespace-style-value-list)
392         (whitespace-toggle-option-alist, whitespace-interactive-char)
393         (whitespace-toggle-options)
394         (global-whitespace-toggle-options, whitespace-help-text)
395         (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
396         style to `whitespace-mode' to indicate that the line indentation
397         is too deep.  By default, 32 SPACEs or four TABs are considered
398         too many but `whitespace-big-indent-regexp' can be configured.
400 2014-10-17  Michal Nazarewicz  <mina86@mina86.com>
402         * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
403         tildify-mode-alist.
405 2014-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
407         * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
408         (defclass, defgeneric, defmethod): Add doc-string position.
409         (with-slots): Require cl-lib.
411         * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
412         (list-of): New type.
413         (eieio--typep): Remove.
414         (eieio-perform-slot-validation): Use cl-typep instead.
416         * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
418         * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
420 2014-10-16  Alan Mackenzie  <acm@muc.de>
422         Trigger showing when point is in the "periphery" of a line or just
423         inside a paren.
424         * paren.el (show-paren-style, show-paren-delay)
425         (show-paren-priority, show-paren-ring-bell-on-mismatch):
426         Remove superfluous :group specifications.
427         (show-paren-when-point-inside-paren)
428         (show-paren-when-point-in-periphery): New customizable variables.
429         (show-paren-highlight-openparen): Make into a defcustom.
430         (show-paren--unescaped-p, show-paren--categorize-paren)
431         (show-paren--locate-near-paren): New defuns.
432         (show-paren--default): Refaactor and trigger on more paren
433         positions.
434         (show-paren-function): Small consequential changes.
436 2014-10-16  Tom Tromey  <tom@tromey.com>
438         * files.el (auto-mode-alist): Use javascript-mode for .jsm
439         (bug #18719).
441 2014-10-16  Eli Zaretskii  <eliz@gnu.org>
443         * international/characters.el (bracket-type): Force pre-loading of
444         uni-brackets.el.
446 2014-10-16  Alan Mackenzie  <acm@muc.de>
448         * cus-edit.el (custom-command-apply): Specify the return value in
449         the doc string.
450         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
451         custom-command-apply has returned non-nil.
453 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
455         * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
456         Remove incorrect handling of eldoc-print-after-edit.
457         (eldoc-message-commands, eldoc-last-data): Use defvar.
458         * loadup.el (emacs-lisp/eldoc): Load it.
460         * progmodes/m4-mode.el (m4-syntax-propertize): New var.
461         (m4-mode): Use it.
462         (m4--quoted-p): New function.
463         (m4-font-lock-keywords): Don't handle #..\n comments any more.
464         (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
465         for most special characters.
467         * progmodes/compile.el (compilation--previous-directory): Simplify.
468         (compilation-next-error): Ensure the parse before we look at
469         compilation-message property.
471 2014-10-15  Eli Zaretskii  <eliz@gnu.org>
473         * simple.el (what-cursor-position):
474         * descr-text.el (describe-char): Update to support the new bidi
475         characters.
477         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
478         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
479         buffer-menu display when the first buffer happens to start with
480         R2L letter.
482 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
484         * progmodes/elisp-mode.el (elisp--local-variables-1):
485         Handle quoted expressions (bug#18688).
487 2014-10-14  Jérémy Compostella  <jeremy.compostella@intel.com>
488             Michael Albinus  <michael.albinus@gmx.de>
490         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
491         Reduce the amount of set environment variable commands.
493 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
495         Fix import completion.  (Bug#18582)
496         * progmodes/python.el (python-shell-completion-get-completions):
497         Fix import case regexp.
499 2014-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
501         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
502         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
503         * progmodes/prolog.el (prolog-electric--underscore): Same.
505 2014-10-12  Michael Albinus  <michael.albinus@gmx.de>
507         * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
509 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
511         * cus-start.el (all): Add missing ns and boolean to
512         ns-use-fullscreen-animation.
514 2014-10-11  Leo Liu  <sdl.web@gmail.com>
516         * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
517         Use strings.
518         (cfengine3-create-imenu-index): New function.
519         (cfengine3-mode): Use it for `imenu-create-index-function'.
520         (cfengine-auto-mode): Improve and prefer cfengine3-mode when
521         buffer is empty.
523 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
525         * cus-start.el (all): Add ns-use-fullscreen-animation.
527 2014-10-11  Glenn Morris  <rgm@gnu.org>
529         * calendar/diary-lib.el (diary-display-function):
530         Drop support for deprecated nil and list forms.
531         (diary-list-entries): Update for the above.
532         * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
534 2014-10-10  Leo Liu  <sdl.web@gmail.com>
536         * window.el (temp-buffer-window-show): Make BUFFER a required arg.
537         (Bug#18656)
539 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
541         * select.el (gui-selection-exists-p-alist): New method.
542         * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
543         * simple.el (deactivate-mark): Use it.
544         * term/x-win.el (gui-selection-exists-p):
545         * term/w32-win.el (gui-selection-exists-p):
546         * term/pc-win.el (gui-selection-exists-p):
547         * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
549 2014-10-10  Glenn Morris  <rgm@gnu.org>
551         * info.el (Info-fontify-maximum-menu-size): Bump to 400k.  (Bug#16227)
552         Fix :type.  Allow t to mean no limit.
553         (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
555 2014-10-09  Glenn Morris  <rgm@gnu.org>
557         * frame.el (display-monitor-attributes-list): Doc tweaks.
559 2014-10-09  Eli Zaretskii  <eliz@gnu.org>
561         * faces.el (display-grayscale-p): Mention in the doc string that
562         the argument can be either a display name or a frame.
564         * frame.el (display-pixel-height, display-pixel-width)
565         (display-mm-height, display-mm-width, display-backing-store)
566         (display-save-under, display-planes, display-color-cells)
567         (display-visual-class, display-monitor-attributes-list)
568         (display-screens): Mention in the doc string that the argument can
569         be either a display name or a frame.  Improve the docs of the
570         monitor attributes.  (Bug#18636)
572 2014-10-09  Martin Rudalics  <rudalics@gmx.at>
574         * term.el (term-window-width): Subtract 1 from the width when
575         any fringe has zero width, not just the right fringe.  (Bug#18601)
577 2014-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
579         * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
581 2014-10-08  Leo Liu  <sdl.web@gmail.com>
583         * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
585 2014-10-08  Glenn Morris  <rgm@gnu.org>
587         * calendar/cal-x.el (calendar-dedicate-diary):
588         Drop support for recently deleted aliases.
590 2014-10-08  Leo Liu  <sdl.web@gmail.com>
592         * progmodes/cfengine.el (cfengine3-make-syntax-cache):
593         Always return a syntax.  Replace call-process-shell-command with
594         process-file.  Ensure cfengine-mode-syntax-functions-regex is
595         always set.  Ensure cache when cfengine-cf-promises fails.
596         (Bug#18620)
598 2014-10-07  Glenn Morris  <rgm@gnu.org>
600         * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
602 2014-10-07  Wilson Snyder  <wsnyder@wsnyder.org>
604         Sync with upstream verilog-mode revision c075a492.
605         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
606         (verilog-menu): Add AUTOINSERTLAST.
607         (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
608         is nil, fix indenting initial/final to match always statements, bug825.
609         Reported by Tim Clapp.
610         (verilog-extended-complete-re): Fix indentation of DPI-C imports,
611         bug557.  Reported by ZeDong Mao and Jason Forkey.
612         (verilog-read-decls): Fix parsing typed interfaces.
613         Fix AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
614         (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
615         (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
616         Reported by Pierre-David Pfister.
617         (verilog-auto-insert-lisp): Doc fix.
618         (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
619         allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
620         (verilog-sk-ovm-class, verilog-sk-uvm-object)
621         (verilog-sk-uvm-component): Fix missing string keyword in class
622         skeletons, bug824.  Reported by eldad faruhi.
624 2014-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
626         * term/w32-win.el: Move all code from 32-common-fns.el here.
627         (gui-select-text, gui-selection-value): Use w32 handlers in the w32
628         console as well (bug#18629).
629         * w32-common-fns.el: Remove.
630         * loadup.el: Don't load w32-common-fns.el.
631         * w32-fns.elc: Don't require w32-common-fns.
633         * icomplete.el: Move Iswitchb autoload here.  Much simpler.
634         * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
635         Remove redundant obsolescence thingy.
636         * loadup.el: Don't load obsolete/loaddefs.el.
637         * Makefile.in (obsolete-autoloads): Remove.
638         (AUTOGENEL): Remove obsolete/loaddefs.el.
640 2014-10-06  Glenn Morris  <rgm@gnu.org>
642         * Makefile.in (obsolete-autoloads): Write to a separate file,
643         to workaround autoloads bug.  (Bug#17407)
644         (AUTOGENEL): Add obsolete/loaddefs.el.
645         * loadup.el: Load obsolete/loaddefs.el if present.
646         * subr.el (do-after-load-evaluation):
647         Don't warn about obsolete/loaddefs.el.
649         * menu-bar.el (menu-bar-games-menu): Remove landmark.
650         It has zero relationship to a game.
652 2014-10-06  Leo Liu  <sdl.web@gmail.com>
654         * imenu.el (imenu): Re-write for clarity.
656 2014-10-06  Glenn Morris  <rgm@gnu.org>
658         Remove calendar code obsolete since at least version 23.1.
659         * calendar/cal-bahai.el (calendar-absolute-from-bahai)
660         (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
661         (calendar-goto-bahai-date, list-bahai-diary-entries)
662         (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
663         (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
664         (insert-yearly-bahai-diary-entry):
665         * calendar/cal-china.el (chinese-calendar-time-zone)
666         (chinese-calendar-location-name)
667         (chinese-calendar-daylight-time-offset)
668         (chinese-calendar-standard-time-zone-name)
669         (chinese-calendar-daylight-time-zone-name)
670         (chinese-calendar-daylight-savings-starts)
671         (chinese-calendar-daylight-savings-ends)
672         (chinese-calendar-daylight-savings-starts-time)
673         (chinese-calendar-daylight-savings-ends-time)
674         (chinese-calendar-celestial-stem)
675         (chinese-calendar-terrestrial-branch)
676         (calendar-absolute-from-chinese, calendar-print-chinese-date)
677         (calendar-goto-chinese-date):
678         * calendar/cal-coptic.el (calendar-absolute-from-coptic)
679         (calendar-print-coptic-date, coptic-prompt-for-date)
680         (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
681         (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
682         * calendar/cal-french.el (calendar-absolute-from-french)
683         (calendar-print-french-date, calendar-goto-french-date):
684         * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
685         (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
686         (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
687         (holiday-rosh-hashanah-etc, holiday-hanukkah)
688         (holiday-passover-etc, holiday-tisha-b-av-etc)
689         (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
690         (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
691         (insert-monthly-hebrew-diary-entry)
692         (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
693         (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
694         (diary-sabbath-candles):
695         * calendar/cal-islam.el (calendar-absolute-from-islamic)
696         (calendar-print-islamic-date, calendar-goto-islamic-date)
697         (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
698         (mark-islamic-diary-entries, insert-islamic-diary-entry)
699         (insert-monthly-islamic-diary-entry)
700         (insert-yearly-islamic-diary-entry):
701         * calendar/cal-iso.el (calendar-absolute-from-iso)
702         (calendar-print-iso-date, calendar-iso-read-args)
703         (calendar-goto-iso-date, calendar-goto-iso-week):
704         * calendar/cal-julian.el (calendar-absolute-from-julian)
705         (calendar-print-julian-date, calendar-goto-julian-date)
706         (calendar-absolute-from-astro, calendar-print-astro-day-number)
707         (calendar-goto-astro-day-number):
708         * calendar/cal-mayan.el (calendar-print-mayan-date)
709         (calendar-next-haab-date, calendar-previous-haab-date)
710         (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
711         (calendar-next-calendar-round-date)
712         (calendar-previous-calendar-round-date)
713         (calendar-absolute-from-mayan-long-count)
714         (calendar-goto-mayan-long-count-date):
715         * calendar/cal-move.el (scroll-calendar-left)
716         (scroll-calendar-right, scroll-calendar-left-three-months)
717         (scroll-calendar-right-three-months):
718         * calendar/cal-persia.el (calendar-absolute-from-persian)
719         (calendar-print-persian-date, persian-prompt-for-date)
720         (calendar-goto-persian-date):
721         * calendar/cal-x.el (calendar-after-frame-setup-hooks):
722         * calendar/calendar.el (view-diary-entries-initially)
723         (mark-diary-entries-in-calendar, calendar-today-face)
724         (diary-face, holiday-face, view-calendar-holidays-initially)
725         (mark-holidays-in-calendar, initial-calendar-window-hook)
726         (today-visible-calendar-hook, today-invisible-calendar-hook)
727         (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
728         (bahai-diary-entry-symbol, american-date-diary-pattern)
729         (european-date-diary-pattern, european-calendar-display-form)
730         (american-calendar-display-form, holidays-in-diary-buffer)
731         (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
732         (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
733         (fancy-diary-buffer, increment-calendar-month)
734         (extract-calendar-month, extract-calendar-day)
735         (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
736         (mark-visible-calendar-date, calendar-version):
737         * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
738         (diary-display-hook, list-diary-entries-hook)
739         (mark-diary-entries-hook, nongregorian-diary-listing-hook)
740         (nongregorian-diary-marking-hook, print-diary-entries-hook)
741         (abbreviated-calendar-year, number-of-diary-entries)
742         (view-other-diary-entries, add-to-diary-list)
743         (include-other-diary-files, simple-diary-display)
744         (fancy-diary-display, print-diary-entries, mark-diary-entries)
745         (mark-sexp-diary-entries, mark-included-diary-files)
746         (mark-calendar-days-named, mark-calendar-month)
747         (mark-calendar-date-pattern, sort-diary-entries)
748         (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
749         (insert-weekly-diary-entry, insert-monthly-diary-entry)
750         (insert-yearly-diary-entry, insert-anniversary-diary-entry)
751         (insert-block-diary-entry, insert-cyclic-diary-entry)
752         (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
753         * calendar/holidays.el (general-holidays, oriental-holidays)
754         (local-holidays, other-holidays, hebrew-holidays)
755         (christian-holidays, islamic-holidays, bahai-holidays)
756         (solar-holidays, list-calendar-holidays)
757         (check-calendar-holidays, mark-calendar-holidays)
758         (filter-visible-calendar-holidays):
759         * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
760         (diary-phases-of-moon): Remove obsolete aliases.
761         * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
762         * calendar/cal-x.el (calendar-one-frame-setup)
763         (calendar-only-one-frame-setup, calendar-two-frame-setup):
764         Remove obsolete functions.
765         (cal-x-load-hook): Remove obsolete hook.
766         * calendar/calendar.el (european-calendar-style):
767         Remove obsolete variable.
768         (calendar-date-style): No longer consult european-calendar-style.
769         * calendar/calendar.el (european-calendar, american-calendar):
770         Remove obsolete commands.
771         * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
772         * calendar/diary-lib.el (diary-face): Remove obsolete variable.
773         (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
774         Use the face `diary' instead of the variable `diary-face'.
775         * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
776         (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
777         * calendar/icalendar.el (icalendar--date-style): Remove function.
778         Replace all uses with calendar-date-style.
779         * textmodes/remember.el (calendar-date-style): Declare.
780         (remember-diary-convert-entry):
781         No longer consult european-calendar-style.
783 2014-10-05  Leo Liu  <sdl.web@gmail.com>
785         * imenu.el (imenu-default-goto-function): Fix typo.
787 2014-10-04  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
789         * net/ntlm.el (ntlm-build-auth-request):
790         Add NTLM2 Session support.  (Bug#15603)
792 2014-10-04  Glenn Morris  <rgm@gnu.org>
794         * apropos.el (apropos-symbols-internal):
795         Avoid error with non-symbol properties.  (Bug#18337#16)
797         * startup.el (command-line):
798         Handle altered user-emacs-directory in load-path warning.  (Bug#18512)
800 2014-10-04  Martin Rudalics  <rudalics@gmx.at>
802         * window.el (window-full-height-p): Make it behave correctly for
803         minibuffer window.
804         (window-current-scroll-bars): Fix code.
805         (fit-frame-to-buffer): Use window-scroll-bar-height instead of
806         window-scroll-bars.
807         * frame.el (frame-current-scroll-bars): Fix doc-string.
808         * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
810 2014-10-04  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
812         * files.el (auto-mode-alist): Use sh-mode for .zsh files.  (Bug#18488)
814 2014-10-04  Glenn Morris  <rgm@gnu.org>
816         * frame.el (frame-monitor-attributes)
817         (display-monitor-attributes-list): Doc fixes.
819 2014-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
821         Merge trivially safe differences from standalone CC-mode.
822         * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
823         just to then pass it to `symbol-value'.
824         (prog-mode): Provide fallback definition, if needed.
825         * progmodes/cc-langs.el: Always load `cl'.  Don't load `cl-lib'.
826         Remove "cl-" prefix accordingly.
827         * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
828         characterp depending on the type of characters.
829         (c-font-lock-enum-tail): Remove unused var `start'.
830         * progmodes/cc-engine.el: Load CL at compile-time.
831         (c-declare-lang-variables): Use mapcan.
832         (c-append-to-state-cache): Remove unused var `ce+1'.
833         (c-parse-state-state): Make buffer-local.
834         (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
835         (c-just-after-func-arglist-p): Remove unused var `end'.
836         * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
837         (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
838         (c-make-keywords-re): Use delete-dups.
839         (c-get-current-file): Avoid file-name-base.
840         * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
841         `close-paren-inserted'.
842         * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
844         * progmodes/python.el: Avoid building unneeded markers.
845         (python-font-lock-keywords, python-indent-dedent-line)
846         (python-fill-paren, python-shell-completion-complete-or-indent):
847         Prefer point over point-marker.
848         (inferior-python-mode): Remove redundant completion settings.
850 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
852         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
853         (vc-svn-ignore): Use it.  (Bug#18619)
855 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
857         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
858         In doc-string mention need to set `frame-resize-pixelwise'.
860 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
862         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
863         similarly to Rogers's 2010-06-16 change for the remote case
864         (bug#18605).
866 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
868         New gui-selection-value consolidating x-selection-value.
869         * select.el (gui-selection-value-alist): New method.
870         (gui-selection-value): New function.
871         (x-selection-value): Make it an obsolete alias.
872         * simple.el (interprogram-paste-function): Default to
873         gui-selection-value.
874         * w32-common-fns.el (w32-get-selection-value): Simplify.
875         (x-selection-value): Remove alias.
876         (interprogram-paste-function): Don't set.
877         (gui-selection-value): Define for w32.
878         * term/x-win.el (gui-selection-value): Define for x.
879         (x--selection-value): Rename from x--selection-value.
880         (interprogram-paste-function): Don't set.
881         * term/pc-win.el (w16-get-selection-value): Simplify.
882         (msdos-initialize-window-system): Don't set
883         interprogram-paste-function.
884         (gui-selection-value): Define for pc.
885         * term/ns-win.el (x-selection-value): Remove.
886         (gui-selection-value): Define for ns, instead.
887         * term/common-win.el (x-setup-function-keys): Don't set
888         interprogram-paste-function.
889         * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
890         Use gui-selection-value.
892 2014-10-02  David Raynes  <rayners@gmail.com>  (tiny change)
894         * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
896 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
898         * obsolete/lucid.el (read-number): Remove, redundant.
899         * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
900         Remove, broken.
902 2014-10-02  Glenn Morris  <rgm@gnu.org>
904         * emacs-lisp/package.el (package-import-keyring):
905         Create gnupg directory private.  (Bug#17625#155)
907 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
909         * progmodes/python.el (python-shell-completion-get-completions):
910         Use python-shell--prompt-calculated-input-regexp from the
911         process buffer (bug#18582).
912         Don't assume that `line' comes from the process buffer.
914 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
916         * frame.el: Use lexical-binding (bug#18598).
917         (make-frame): Use t rather than nil for tty's window-system.
918         * startup.el (command-line): Use gui-method.
920         Consolidate management/ownership of selections.
921         * select.el (gui-get-selection-alist): New method.
922         (gui-get-selection): Use it.  Rename from x-get-selection.
923         (x-get-selection): Define as obsolete alias.
924         (x-get-clipboard): Mark obsolete.
925         (gui-get-primary-selection): New function.
926         (x-get-selection-value): Mark obsolete.
927         (gui-own-selection-alist, gui-disown-selection-alist)
928         (gui-selection-owner-p-alist): New methods.
929         (gui-set-selection): Use them.  Rename from x-set-selection.
930         (x-set-selection): Define as obsolete alias.
931         (gui--valid-simple-selection-p): Rename from
932         x-valid-simple-selection-p.
933         * w32-common-fns.el (gui-own-selection, gui-disown-selection)
934         (gui-selection-owner-p, gui-get-selection): Define for w32.
935         (w32-get-selection-value): Rename from x-get-selection-value.
936         Use the new gui-last-selected-text.
937         * term/x-win.el (x-get-selection-value): Remove.
938         (x-clipboard-yank): Declare obsolete.
939         (gui-own-selection, gui-disown-selection, gui-get-selection)
940         (gui-selection-owner-p): Define for x.
941         * term/w32-win.el (w32-win-suspend-error): Rename from
942         x-win-suspend-error.
943         * term/pc-win.el (w16-get-selection-value): Rename from
944         x-get-selection-value.
945         (w16-selection-owner-p): Rename from x-selection-owner-p.
946         (gui-own-selection, gui-disown-selection, gui-get-selection)
947         (gui-selection-owner-p): Define for pc.
948         (w16--select-text): New function.
949         * term/ns-win.el (gui-own-selection, gui-disown-selection)
950         (gui-get-selection, gui-selection-owner-p): Define for ns.
951         * term.el (term-mouse-paste):
952         * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
954 2014-10-02  H. Dieter Wilhelm  <dieter@duenenhof-wilhelm.de>
956         * calc/calc-help.el (calc-describe-thing): Quote strings
957         which could look like regexps.
959 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
961         Consolidate x-select-text.
962         * frame.el (gui-method, gui-method-define, gui-method-declare)
963         (gui-call): New macros.
964         (gui-method--name): New function.
965         (frame-creation-function-alist): Use gui-method-declare.
966         (make-frame): Use gui-method.
967         * select.el (gui-select-enable-clipboard): Rename from
968         x-select-enable-clipboard and move here.
969         (x-select-enable-clipboard): Define as obsolete alias.
970         (gui-last-selected-text): New var, to replace x-last-selected-text.
971         (gui-select-text): New GUI method.
972         (gui-select-text): New function.
973         (x-select-text): Define as obsolete alias.
974         * term/common-win.el (x-select-enable-clipboard, x-select-text):
975         Move to select.el.
976         * simple.el (interprogram-cut-function): Change default to
977         x-select-text.
978         (interprogram-paste-function): Change default to `ignore'.
979         * w32-common-fns.el (interprogram-cut-function): Don't modify.
980         * term/x-win.el (interprogram-cut-function): Don't modify.
981         (gui-select-text): Add method for x.
982         * term/w32-win.el (gui-select-text): Add method for w32.
983         * term/pc-win.el (x-last-selected-text): Remove, use
984         gui-last-selected-text instead.
985         (msdos-initialize-window-system): Don't set interprogram-cut-function.
986         (gui-select-text): Add method for pc.
987         * term/ns-win.el (ns-last-selected-text): Remove, use
988         gui-last-selected-text instead.
989         (gui-select-text): Add method for ns.
990         (x-setup-function-keys): Don't change interprogram-cut-function.
991         * loadup.el ("startup"): Load after "frame".
992         * subr.el (package--builtin-versions, package--description-file):
993         Move from startup.el.
994         * startup.el (package--builtin-versions, package--description-file):
995         Move to subr.el.
996         (handle-args-function-alist, window-system-initialization-alist):
997         Use gui-method-declare.
998         (command-line): Use gui-method.
1000 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1002         * subr.el (alist-get): New accessor.
1003         * emacs-lisp/gv.el (alist-get): Provide expander.
1004         * winner.el (winner-remember):
1005         * tempo.el (tempo-use-tag-list):
1006         * progmodes/gud.el (minor-mode-map-alist):
1007         * international/mule-cmds.el (define-char-code-property):
1008         * frameset.el (frameset-filter-params):
1009         * files.el (dir-locals-set-class-variables):
1010         * register.el (get-register, set-register):
1011         * calc/calc-yank.el (calc-set-register): Use it.
1012         * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
1013         * tooltip.el (tooltip-set-param): Mark as obsolete.
1014         (tooltip-show): Use alist-get instead.
1015         * ses.el (ses--alist-get): Remove.  Use alist-get instead.
1017 2014-10-01  Ulf Jasper  <ulf.jasper@web.de>
1019         * net/newst-backend.el: Remove Time-stamp.  Rename variable
1020         `newsticker--download-logos' to `newsticker-download-logos' and
1021         make it customizable.
1022         (newsticker--sentinel-work): Move xml-workarounds to function
1023         `newsticker--do-xml-workarounds', call unless libxml-parser is
1024         used.  Allow single quote in regexp for encoding.
1025         Use libxml-parser if available, else fall back to `xml-parse-region'.
1026         Take care of possibly missing namespace prefixes (like "RDF"
1027         instead of "rdf:RDF") when checking xml nodes and attributes (as
1028         libxml correctly removes the prefixes).  Always use Atom 1.0 as
1029         fallback feed type.  Rename `newsticker--download-logos' to
1030         `newsticker-download-logos'
1031         (newsticker--unxml, newsticker--unxml-node)
1032         (newsticker--unxml-attribute): New.
1033         (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
1034         HTML code has become part of the xml parse tree.
1035         (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
1036         of possibly missing namespace prefixes.
1037         (newsticker--parse-generic-items): Code formatting. Typo.
1038         (newsticker--images-dir): Add trailing slash.
1039         (newsticker--image-get): Fix error message.
1041         * net/newst-plainview.el: Remove Time-stamp.
1043         * net/newst-reader.el: Remove Time-stamp.
1044         (newsticker-download-logos): Rename variable
1045         `newsticker--download-logos' to `newsticker-download-logos' and
1046         make it customizable.
1047         (newsticker--print-extra-elements): Add optional parameter
1048         'htmlish for using html markup.  Amend list of ignored elements.
1049         (newsticker--do-print-extra-element): Add parameter 'htmlish for
1050         using html markup.
1052         * net/newst-ticker.el: Remove Time-stamp.
1054         * net/newst-treeview.el (newsticker--treeview-item-show): Use html
1055         for formatting extra elements.
1057         * net/newsticker.el:  Remove Time-stamp, Version.
1058         (newsticker-version): Make obsolete.
1060 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
1062         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
1063         (bug#18462).
1065 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1067         * emacs-lisp/package.el (package-check-signature): Default to nil if
1068         GPG is not available.
1069         (package-refresh-contents): Don't mess with the keyring if we won't
1070         check the signatures anyway.
1072 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1074         * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
1075         (ses-center, ses-center-span): Use them.
1076         (ses-print-cell): Bind them while calling the printer.
1077         (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
1078         (ses-dorange): Revert last change.
1079         (ses-calculate-cell): Don't bind row&col dynamically while evaluating
1080         the formula.
1081         (ses-set-cell): Avoid `eval'.
1082         (ses--time-check): Rename it from ses-time-check and turn it into
1083         a macro.
1085         * ses.el (ses-setup): Don't assume modifying the iteration var of
1086         dotimes affects the iteration (bug#18191).
1088 2014-09-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1090         * ses.el (ses-calculate-cell): Bind row and col dynamically to
1091         their values with 'cl-progv'.
1092         (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
1093         their values with 'cl-progv', also use non-interned symbols for
1094         row, minrow, maxrow, mincol and maxcol.
1095         (maxrow maxcol): New defvar, to make the compiler happy.
1097 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1099         * minibuffer.el (completion-at-point): Emit warning for ill-behaved
1100         completion functions.
1102 2014-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1104         * ses.el (ses--letref): Quote value before it gets re-evaluated.
1106 2014-09-28  Thien-Thi Nguyen  <ttn@gnu.org>
1108         Font-lock `cl-flet*', too.
1109         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
1110         Add "flet*" to intermediate var `cl-lib-kw'.
1112 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1114         * epg-config.el (epg-gpg-program): Use the plain program names rather
1115         than their absolute file name.
1117         * subr.el (track-mouse): New macro.
1118         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1119         Remove track-mouse case.
1120         * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
1122 2014-09-27  Leo Liu  <sdl.web@gmail.com>
1124         * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
1126         * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
1128 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1130         * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
1131         Handle the case where `match' is :pcase--succeed or :pcase--fail
1132         (bug#18554).
1134         Introduce global-eldoc-mode.  Move Elisp-specific code to elisp-mode.el.
1135         * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
1136         (eldoc-schedule-timer): Obey it.
1137         (eldoc-documentation-function): Default to nil.
1138         (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
1139         (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
1140         (eldoc-highlight-function-argument, eldoc-get-var-docstring)
1141         (eldoc-last-data-store, eldoc-docstring-first-line)
1142         (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
1143         (eldoc-beginning-of-sexp, eldoc-current-symbol)
1144         (eldoc-function-argstring): Move to elisp-mode.el.
1145         (eldoc-symbol-function): Remove, unused.
1146         * progmodes/elisp-mode.el: New file.  Rename all "eldoc-*" to "elisp--*".
1147         (elisp-completion-at-point): Rename from lisp-completion-at-point.
1148         (elisp--preceding-sexp): Rename from preceding-sexp.
1149         * loadup.el: Load new file progmodes/elisp-mode.
1150         * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
1151         * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
1152         (lisp--local-variables-completion-table, lisp--expect-function-p)
1153         (lisp--form-quoted-p, lisp--company-doc-buffer)
1154         (lisp--company-doc-string, lisp--company-location)
1155         (lisp-completion-at-point): Move to elisp-mode.el.
1156         * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
1157         extracted from emacs-lisp-mode-syntax-table.
1158         (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
1159         elisp-mode.el.
1160         (lisp-imenu-generic-expression): Add comments to document what comes
1161         from which Lisp dialect.
1162         (emacs-lisp-mode-map, emacs-lisp-byte-compile)
1163         (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
1164         (emacs-lisp-mode, emacs-list-byte-code-comment-re)
1165         (emacs-lisp-byte-code-comment)
1166         (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
1167         (lisp-interaction-mode-map, lisp-interaction-mode)
1168         (eval-print-last-sexp, last-sexp-setup-props)
1169         (last-sexp-toggle-display, prin1-char, preceding-sexp)
1170         (eval-last-sexp-1, eval-last-sexp-print-value)
1171         (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
1172         (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
1174 2014-09-26  Paul Eggert  <eggert@cs.ucla.edu>
1176         * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
1177         Do not match file names that end in '/', as they cannot be 'grep'
1178         hits nowadays.  This prevents confusion when 'grep -r' reports a
1179         match in a file whose basename is ':12345:'.  Conversely, do not
1180         require exactly the same sequence of spaces and tabs after both
1181         colons, and allow spaces or tabs before the second colon, as per
1182         the POSIX spec for 'grep' output.
1184 2014-09-26  Leo Liu  <sdl.web@gmail.com>
1186         Add cl-parse-integer based on parse-integer (Bug#18557)
1187         * calendar/parse-time.el (parse-time-digits): Remove.
1188         (digit-char-p, parse-integer) Moved to cl-lib.el.
1189         (parse-time-tokenize, parse-time-rules, parse-time-string):
1190         Use cl-parse-integer.
1192         * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
1194         * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
1195         (cl-digit-char-p): New function.
1197 2014-09-25  Juri Linkov  <juri@jurta.org>
1199         * vc/add-log.el (change-log-next-buffer): Don't create an empty
1200         buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
1201         Return the current buffer if no files match the default pattern
1202         ChangeLog.[0-9].  Signal "end of multi" when file is nil. (Bug#18547)
1204 2014-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1206         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
1207         the global vc-handled-backends (bug#18535).
1209 2014-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1211         * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
1212         Suggested by <lompik@voila.fr>.
1214 2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
1216         * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
1217         Rename from `newsticker--treeview-do-get-node'.
1218         (newsticker--treeview-get-node-by-id):
1219         Rename from `newsticker--treeview-get-node'.
1220         (newsticker--treeview-buffer-init)
1221         (newsticker--treeview-buffer-init): Disable buffer undo.
1222         (newsticker--treeview-unfold-node): Adapt to modified
1223         `newsticker--group-find-parent-group'.
1224         (newsticker--group-do-find-group):
1225         Rename from `newsticker--group-do-find-group-for-feed'.
1226         Now works for both, groups and feeds.
1227         (newsticker--group-find-parent-group):
1228         Rename from `newsticker--group-find-group-for-feed'.
1229         Now works for both, groups and feeds.
1230         (newsticker--group-do-get-parent-group)
1231         (newsticker--group-get-parent-group): Remove.
1232         (newsticker-group-add-group): Change interactive prompts.
1233         (newsticker-group-add-group): Finally jump to added group.
1234         (newsticker-group-delete-group): Finally jump to current feed.
1235         (newsticker--group-do-rename-group, newsticker-group-rename-group)
1236         (newsticker--get-group-names, newsticker--group-names): New.
1237         (newsticker-group-move-feed): Finally jump to moved feed.
1238         (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
1239         (newsticker-group-shift-group-down)
1240         (newsticker-group-shift-group-up, newsticker--group-shift): New.
1241         (newsticker-treeview-mode-map): New keybindings for new shift commands.
1243         * net/newst-backend.el (newsticker--item-list)
1244         (newsticker--item-position, newsticker--prev-message)
1245         (newsticker--scrollable-text): Move to newst-ticker.el.
1247         * net/newst-ticker.el (newsticker--item-list)
1248         (newsticker--item-position, newsticker--prev-message)
1249         (newsticker--scrollable-text): Move from newst-backend.el.
1251 2014-09-22  Kan-Ru Chen  <kanru@kanru.info>
1253         * window.el (fit-window-to-buffer): When counting buffer width,
1254         count the whole visible buffer.  Correctly convert the body-height
1255         to pixel size for window-text-pixel-size (Bug#18498).
1257 2014-09-22  Sam Steingold  <sds@gnu.org>
1259         * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
1260         (sql-execute): Use `special-mode'.
1262 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1264         Add pcase-defmacro, as well as `quote' and `app' patterns.
1265         * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
1266         * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
1267         (pcase--funcall, pcase--eval): New functions.
1268         (pcase--u1): Use them for guard, pred, let, and app.
1269         (\`): Use the new feature to generate better code for vector patterns.
1270         * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
1271         (pcase--upat): Remove.
1272         (pcase--macroexpand): Don't hardcode handling of `.
1273         (pcase--split-consp, pcase--split-vector): Remove.
1274         (pcase--split-equal): Disregard ` since it's expanded away.
1275         (pcase--split-member): Optimize for quote rather than for `.
1276         (pcase--split-pred): Optimize for quote rather than for `.
1277         (pcase--u1): Remove handling of ` (and of `or' and `and').
1278         Quote non-selfquoting values when passing them to `eq'.
1279         Drop `app's let-binding if the variable is not used.
1280         (pcase--q1): Remove.
1281         (`): Define as a pattern macro.
1282         * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
1283         (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
1284         (pcase--macroexpand): Handle self-quoting patterns here, expand them to
1285         quote patterns.
1286         (pcase--split-match): Don't hoist or/and here any more.
1287         (pcase--split-equal): Optimize quote patterns as well as ` patterns.
1288         (pcase--flip): New helper macro.
1289         (pcase--u1): Optimize the memq case directly.
1290         Don't handle neither self-quoting nor and/or patterns any more.
1291         * emacs-lisp/pcase.el (pcase-defmacro): New macro.
1292         (pcase--macroexpand): New function.
1293         (pcase--expand): Use it.
1294         * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
1295         New optimization functions.
1296         (pcase--u1): Add support for `quote' and `app'.
1297         (pcase): Document them in the docstring.
1299 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1301         Use lexical-bindin in Ibuffer.
1302         * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
1303         (ibuffer-compile-format): Simplify.
1304         (ibuffer-clear-summary-columns): Simplify.
1305         * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
1306         elem of dotimes when we don't refer to the iteration var from it.
1307         (ibuffer-toggle-sorting-mode): Avoid add-to-list.
1308         * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
1309         Silence byte-compiler.
1311 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1313         * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
1314         expression for a list.
1316         * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
1317         for functions with no arguments.
1319         * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
1320         (mpc-volume-refresh): Make sure the corresponding header-line is updated.
1322 2014-09-17  Tom Willemse  <tom@ryuslash.org>  (tiny change)
1324         * simple.el (clone-indirect-buffer): Mention the return value
1325         (bug#18478).
1327         * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
1328         Text mode in docstring (bug#18464).
1330 2014-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1332         * progmodes/perl-mode.el (perl-syntax-propertize-function):
1333         Accept underscores in identifiers after "sub" (bug#18502).
1335 2014-09-21  Tassilo Horn  <tsdh@gnu.org>
1337         * textmodes/reftex-sel.el (reftex-select-label-mode)
1338         (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
1339         from special-mode (instead of fundamental-mode) and propertize
1340         with font-lock-face instead of just face. (Bug#18496)
1342         * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
1344 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
1346         * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
1347         `table-etc' when `end' is non-nil.
1348         (lisp-completion-at-point): Move `end' back if it's after quote.
1349         If in comment or string, only complete when after backquote.
1350         (Bug#18265)
1351         (lisp-completion-at-point): Don't use
1352         `lisp--local-variables-completion-table' in the
1353         `lisp--form-quoted-p' case.
1355 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
1357         * emacs-lisp/lisp.el (lisp--expect-function-p)
1358         (lisp--form-quoted-p): New functions.
1359         (lisp-completion-at-point): Use them to see if we're completing a
1360         variable reference, a function name, or just any symbol.
1361         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
1363 2014-09-18  Ivan Kanis  <ivan@kanis.fr>
1365         * net/shr.el, net/eww.el: Don't override `shr-width', but
1366         introduce a new variable `shr-internal-width'.  This allows users
1367         to specify a width themselves.
1369 2014-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1371         * image-mode.el (image-toggle-display-image): If we have a
1372         `fit-width' or a `fit-height', don't limit the size of the image
1373         to the window size, because that doesn't preserve the aspect ratio.
1374         * image-mode.el: Move defvars earlier to avoid a byte-compilation
1375         warning.
1377 2014-09-17  Reuben Thomas  <rrt@sc3d.org>
1379         * progmodes/js.el: Add interpreter-mode-alist support for various
1380         JavaScript interpreters.
1382 2014-09-17  Paul Eggert  <eggert@cs.ucla.edu>
1384         Don't assume 'grep' supports GREP_OPTIONS.
1385         The GREP_OPTIONS environment variable is planned to be marked
1386         obsolescent in GNU grep, due to problems in its use, so stop
1387         relying on it.
1388         * progmodes/grep.el (grep-highlight-matches): Document this.
1389         (grep-process-setup): Do not set GREP_OPTIONS.
1390         (grep-compute-defaults): Use an explicit --color option if supported.
1392 2014-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1394         * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
1395         Don't add outdated key-shortcut cache (bug#18482).
1397 2014-09-15  Glenn Morris  <rgm@gnu.org>
1399         * image.el (image-multi-frame-p): Fix thinko - do not force
1400         a delay if none was specified.  (Bug#18334)
1402 2014-09-15  Kan-Ru Chen  <kanru@kanru.info>
1404         * window.el (fit-window-to-buffer): Doc fix.
1406 2014-09-15  Ivan Shmakov  <ivan@siamics.net>
1408         * desktop.el (desktop-create-buffer): Check that buffers are still live
1409         before burying them (bug#18373).
1411 2014-09-15  Glenn Morris  <rgm@gnu.org>
1413         * calendar/diary-lib.el (diary-list-entries):
1414         Restore 24.3 display behavior.  (Bug#18381)
1416 2014-09-15  Eli Zaretskii  <eliz@gnu.org>
1418         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
1419         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
1420         discrepancy between window-pixel-edges and mouse events, and
1421         avoids moving mode line up when the mouse click is on the modeline
1422         and no drag is attempted.
1424 2014-09-14  Daniel Colascione  <dancol@dancol.org>
1426         * register.el (insert-register): Change default interactive
1427         insertion mode.
1429 2014-09-14  Michael Albinus  <michael.albinus@gmx.de>
1431         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
1432         Suppress debug messages.
1434         * net/tramp.el (tramp-file-name-handler):
1435         * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
1436         appropriate.
1438 2014-09-13  Christopher Schmidt  <ch@ristopher.com>
1440         * calendar/calendar.el (calendar-update-mode-line):
1441         Do not overwrite mode-line-format if calendar-mode-line-format is
1442         nil.  (Bug#18467)
1444 2014-09-13  Leo Liu  <sdl.web@gmail.com>
1446         * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
1447         (pcase--expand): Use it.
1448         (pcase-exhaustive): New macro.  (Bug#16567)
1450         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
1451         Add pcase-exhaustive.
1453 2014-09-13  Eli Zaretskii  <eliz@gnu.org>
1455         * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
1456         using the specified transfer-encoding, if any, or 'undecided'.
1457         (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
1458         broken at the window margin.
1460 2013-12-27  Ken Olum  <kdo@cosmos.phy.tufts.edu>
1462         Support rendering of HTML parts in Rmail (bug#4258).
1463         * mail/rmailmm.el (rmail-mime-process): Handle text/html
1464         separately from other text/ types.  Suppress tagline for
1465         multipart body.
1466         (rmail-mime-parse): Don't change visibility of tagline here.
1467         (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
1468         Handle text/html specially.
1469         (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
1470         (rmail-mime-insert-html, rmail-mime-render-html-shr)
1471         (rmail-mime-render-html-lynx): New functions.
1472         (rmail-mime-fix-inserted-faces): New function.
1473         (rmail-mime-process-multipart): Find the best part to show
1474         following rmail-mime-prefer-html if set.
1475         (rmail-mime-searching): New variable.
1476         (rmail-search-mime-message): Bind rmail-mime-searching to
1477         suppress rendering while searching.
1479 2014-09-12  Sam Steingold  <sds@gnu.org>
1481         * progmodes/sql.el (sql-product-alist): Add vertica.
1482         (sql-vertica-program, sql-vertica-options)
1483         (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
1484         New functions and variables to support Vertica.
1485         Inspired by code by Roman Scherer <roman@burningswell.com>.
1487 2014-09-11  Paul Eggert  <eggert@cs.ucla.edu>
1489         * ses.el (ses-file-format-extend-parameter-list): Rename from
1490         ses-file-format-extend-paramter-list, to correct a misspelling.
1491         All uses changed.
1493 2014-09-10  Alan Mackenzie  <acm@muc.de>
1495         CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
1496         gets loaded at run-time).
1497         * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
1498         c-lang-const to c-make-no-parens-syntax-table and correct the
1499         logic.
1500         (c-no-parens-syntax-table): Correct the logic of the
1501         c-lang-defvar.
1503 2014-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1505         CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
1506         plus misc cleanup.
1507         * progmodes/cc-mode.el (c-basic-common-init):
1508         Set open-paren-in-column-0-is-defun-start.
1509         (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
1510         Remove declarations, unused.
1511         (run-mode-hooks): Remove declaration.
1512         (font-lock-defaults): Use plain `defvar' to declare.
1513         (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
1514         * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
1515         (c-make-mode-syntax-table): Don't micro-optimize.
1516         (c-keywords, c-keyword-member-alist): Simplify.
1517         (c-kwds-lang-consts): Don't eval at compile-time.
1518         (c-primary-expr-regexp): Comment out unused vars.
1519         * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
1520         (c-font-byte-compile): New var.
1521         (c--compile): New function.  Use it instead of `byte-compile'.
1522         (c-cpp-matchers): Quote the value returned by
1523         `c-make-syntactic-matcher' in case it's not self-evaluating.
1524         (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
1525         parentheses instead (in case MATCHER happens to be a list).
1526         (c-font-lock-enum-tail): Remove unused var `start'.
1527         (c-font-lock-objc-methods): Silence byte-compiler warnings.
1528         * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
1529         test into an argument.
1530         * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
1531         (c-get-char-property): Don't use `eval' just to unquote a constant.
1532         (c-use-extents): Remove.  Use (featurep 'xemacs), compiled
1533         more efficiently.
1534         (c-put-char-property-fun): Don't call `byte-compile' by hand.
1535         (c-clear-char-property, c-clear-char-properties): Check that `property'
1536         is a quoted constant.
1537         (c-emacs-features): Remove `infodock', `syntax-properties', and
1538         `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
1539         'xemacs) instead).  Use `with-temp-buffer' and let-bind vars after
1540         changing buffer, so we don't have to setq them again afterwards.
1541         (c-lang-const): Remove redundant symbolp assertions.
1542         (c-find-assignment-for-mode): Use `or'.
1543         * Makefile.in (compile-one-process): Remove cc-mode dependency.
1545 2014-09-09  Sam Steingold  <sds@gnu.org>
1547         * progmodes/sql.el (sql-default-directory): Fix type annotation.
1549 2014-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1551         * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
1552         Change doc comments into docstrings.
1553         * Makefile.in: Remove cc-awk dependency.
1555 2014-09-08  Sam Steingold  <sds@gnu.org>
1557         * progmodes/sql.el (sql-send-line-and-next): New command,
1558         bound to C-c C-n.
1559         (sql-show-sqli-buffer): Display the buffer instead of its name and
1560         bind the command to C-c C-z.
1561         (sql-default-directory): New user option.
1562         (sql-product-interactive): Bind `default-directory' to it to
1563         enable remote connections using Tramp.
1564         (sql-set-sqli-buffer): Call `sql-product-interactive' when no
1565         suitable buffer is available.
1567 2014-09-08  Glenn Morris  <rgm@gnu.org>
1569         * calendar/calendar.el (calendar-basic-setup):
1570         Fix calendar-view-holidays-initially-flag and fancy display.
1571         * calendar/diary-lib.el (diary-live-p): Doc fix.
1573         * calendar/calendar.el (calendar-basic-setup):
1574         Avoid clobbering calendar with diary.  (Bug#18381)
1576 2014-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1578         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
1580 2014-09-08  Lars Ljung  <lars@matholka.se>  (tiny change)
1582         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
1583         as well (bug#18400).
1585 2014-09-08  Eli Zaretskii  <eliz@gnu.org>
1587         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
1589 2014-09-06  Leo Liu  <sdl.web@gmail.com>
1591         * emacs-lisp/pcase.el (pcase): Doc fix.
1592         (pcase--split-vector): New function.
1593         (pcase--q1): Support vector qpattern.  (Bug#18327)
1595 2014-09-05  Sam Steingold  <sds@gnu.org>
1597         * textmodes/tex-mode.el (tex-print-file-extension): New user
1598         option.
1599         (tex-print): Use it instead of the hard-coded string.
1601 2014-09-05  Michael Albinus  <michael.albinus@gmx.de>
1603         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1604         Expand `default-directory'.
1606 2014-09-05  Martin Rudalics  <rudalics@gmx.at>
1608         * scroll-bar.el (horizontal-scroll-bars-available-p):
1609         New function.
1610         (horizontal-scroll-bar-mode): Rewrite using
1611         horizontal-scroll-bars-available-p.
1612         * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
1613         horizontal-scroll-bars-available-p.
1615 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1617         * subr.el (call-process-shell-command, process-file-shell-command):
1618         Make the `args' obsolete (bug#18409).
1619         (start-process-shell-command, start-file-process-shell-command):
1620         Use `declare'.
1622 2014-09-05  Jay Belanger  <jay.p.belanger@gmail.com>
1624         * calc/calc-forms.el (math-normalize-hms): Do a better check for
1625         "negative" hms forms.
1627 2014-09-04  Rasmus Pank Roulund  <emacs@pank.eu>
1629         * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
1630         returns nil (bug#18391).
1632 2014-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1634         * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
1635         terminating paren (bug#18352).
1636         (eldoc-last-data-store): Return cached data.
1637         (eldoc-get-var-docstring): Avoid setq.
1638         (eldoc-get-fnsym-args-string): Clarify data flow.
1640 2014-09-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1642         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
1643         case where we're currently providing part of the &rest arg after some
1644         &key args, as in define-ibuffer-op (bug#18048).
1646 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1648         * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
1649         buffer-local setting of which-func-mode.
1650         (which-func-mode): Use defvar-local.
1651         (which-function-mode): Don't reset which-func-mode in each buffer since
1652         it might have been set by someone else.
1653         (which-func-update-ediff-windows): Check which-function-mode.
1655 2014-09-03  Martin Rudalics  <rudalics@gmx.at>
1657         * frame.el (frame-initialize): Remove horizontal-scroll-bars
1658         from frame-initial-frame-alist.
1659         * scroll-bar.el (previous-horizontal-scroll-bar-mode)
1660         (horizontal-scroll-bar-mode-explicit)
1661         (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
1662         (toggle-horizontal-scroll-bar): Remove.
1663         (horizontal-scroll-bar-mode): Remove defcustom.
1664         (horizontal-scroll-bar-mode): Fix doc-string.
1665         (scroll-bar-toolkit-scroll)
1666         (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
1668 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1670         * emacs-lisp/package.el (package-generate-description-file):
1671         Properly quote the arguments (bug#18332).  Change second arg.
1672         (package--alist-to-plist-args): Rename from package--alist-to-plist and
1673         quote the elements.
1674         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1675         the *-pkg.el file.  Adjust to new calling convention of
1676         package-generate-description-file.
1678         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1679         (gud-gdb-completions): Remove obsolete workaround.
1681 2014-09-03  Eli Zaretskii  <eliz@gnu.org>
1683         * subr.el (posn-col-row): Revert the change from commit
1684         2010-11-13T21:07:58Z!eliz@gnu.org, which
1685         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1686         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1687         introduced an off-by-one error in the reported row when there is a
1688         header line.  (Bug#18384)
1690 2014-09-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1692         * progmodes/python.el (python-indent-post-self-insert-function):
1693         Avoid electric colon at beginning-of-defun.  (Bug#18228)
1695 2014-09-03  Glenn Morris  <rgm@gnu.org>
1697         * tutorial.el (tutorial--display-changes):
1698         Fix 2014-08-01 change.  (Bug#18382)
1700 2014-09-03  Ken Brown  <kbrown@cornell.edu>
1702         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1703         the Cygwin-w32 build.  (Bug#18347)
1705 2014-09-03  Glenn Morris  <rgm@gnu.org>
1707         * tar-mode.el (tar--extract, tar-extract):
1708         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
1710 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1712         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
1713         handle multiline elements (bug#18380).
1715 2014-09-01  Eli Zaretskii  <eliz@gnu.org>
1717         * ls-lisp.el (ls-lisp-use-string-collate)
1718         (ls-lisp-UCA-like-collation): New defcustoms.
1719         (ls-lisp-string-lessp): Use them to control sorting by file
1720         names.  (Bug#18051)
1721         (ls-lisp-version-lessp): New function.
1722         (ls-lisp-handle-switches): Use it to implement the -v switch of
1723         GNU ls.
1724         (ls-lisp--insert-directory): Mention the -v switch in the doc string.
1726 2014-08-31  Christoph Scholtes  <cschol2112@gmail.com>
1728         * ibuffer.el: Replace mode-specific quit function with
1729         `quit-window' via `special-mode'.
1730         (ibuffer-mode-map): Use keybindings from special-mode-map instead
1731         of local overrides.
1732         (ibuffer): Don't store previous windows configuration.
1733         Let `quit-window' handle restoring.
1734         (ibuffer-quit): Remove function. Use `quit-window' instead.
1735         (ibuffer-restore-window-config-on-quit): Remove variable.
1736         (ibuffer-prev-window-config): Remove variable.
1738 2014-08-29  Michael Heerdegen  <michael_heerdegen@web.de>
1740         * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
1741         name instead of variable name in hook docstring.  (Bug#18349)
1743 2014-08-29  Martin Rudalics  <rudalics@gmx.at>
1745         * window.el (display-buffer-at-bottom): Prefer bottom-left
1746         window to other bottom windows.  Reuse a bottom window if it
1747         shows the buffer already.  Suggested by Juri Linkov
1748         <juri@jurta.org> in discussion of (Bug#18181).
1750 2014-08-29  Leo Liu  <sdl.web@gmail.com>
1752         * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
1753         append to minibuffer-setup-hook.  (Bug#18341)
1755 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1757         * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
1758         byte-compiler.
1759         (lookup-syntax-properties): Silence byte-compiler.
1760         (c-lang-defconst): Quote the code with `lambda' rather than with
1761         `quote'.
1762         (c-lang-const): Avoid unneeded setq.
1763         (c-lang-constants-under-evaluation): Add docstring.
1764         (c-lang--novalue): New constant.
1765         (c-find-assignment-for-mode): Use it instead of c-lang-constants.
1766         (c-get-lang-constant): Same here.
1767         Get the mode's value using `funcall' now that the code is quoted
1768         with `lambda'.
1770 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
1772         * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
1773         (Bug#18326)
1775 2014-08-28  Martin Rudalics  <rudalics@gmx.at>
1777         * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
1778         interpretation of `portion-whole'.
1780 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
1782         * net/tramp-adb.el: Spell author name correctly.
1784 2014-08-28  João Távora  <joaotavora@gmail.com>
1786         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1787         use url-expand-file-name.  (Bug#18310)
1789 2014-08-28  Glenn Morris  <rgm@gnu.org>
1791         * emulation/cua-rect.el (cua--highlight-rectangle):
1792         Avoid error at point-min.  (Bug#18309)
1794 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1796         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1797         executable-find (bug#18244).
1799         * simple.el (self-insert-uses-region-functions): Defvar.
1801 2014-08-28  Glenn Morris  <rgm@gnu.org>
1803         * subr.el (remq): Revert 2014-08-25 doc change (not always true).
1805 2014-08-27  Dmitry Antipov  <dmantipov@yandex.ru>
1807         * startup.el (normal-top-level): Now use internal--top-level-message.
1809 2014-08-26  Dmitry Antipov  <dmantipov@yandex.ru>
1811         * startup.el (normal-top-level): Use top-level-message.
1813 2014-08-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1815         * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
1816         URLs containing spaces and the like.
1818 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
1820         * subr.el (remq): Fix docstring (Bug#18253).
1822 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
1824         * replace.el (query-replace): Fix typo in docstring (Bug#18320).
1826 2014-08-24  Alan Mackenzie  <acm@muc.de>
1828         Handle C++11's "auto" and "decltype" constructions.
1829         * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
1830         and return 'decltype.
1831         (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
1832         prev-kwd-sym, new-style-auto.  Enhance to handle the new "auto"
1833         keyword.
1834         * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
1835         "decltype" keyword.
1836         (c-font-lock-c++-new): Handle "decltype" constructions.
1837         * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
1838         New c-lang-defconsts/defvars.
1839         (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
1840         (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
1841         (c-typeless-decl-kwds): Append "auto" onto the C++ value.
1842         (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
1844         Make ">>" act as double template ender in C++ Mode.
1845         * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
1846         off from c->-op-cont-re.
1847         (c->-op-cont-tokens): Change to use the above.
1848         (c->-op-without->-cont-regexp): New lang-const.
1849         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1850         Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
1853 2014-08-23  Alan Mackenzie  <acm@muc.de>
1855         * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
1856         loop, bug #18306.  The bug was introduced on 2014-08-02.
1858 2014-08-21  Eli Zaretskii  <eliz@gnu.org>
1860         * textmodes/texnfo-upd.el (texinfo-specific-section-type):
1861         Don't recognize a Top node if there are other sectioning commands
1862         earlier in the Texinfo file.  This fixes a bug in
1863         texinfo-make-menu and avoids inflooping in
1864         texinfo-all-menus-update when they are invoked on texinfo.texi.
1866 2014-08-21  Martin Rudalics  <rudalics@gmx.at>
1868         * window.el (window--side-window-p): New function.
1869         (split-window, window-splittable-p): Use window--side-window-p to
1870         determine whether WINDOW can be split (Bug#18304).
1871         * calendar/calendar.el (calendar-basic-setup): Fix one call of
1872         `window-splittable-p' and add another (Bug#18304).
1874 2014-08-20  Sam Steingold  <sds@gnu.org>
1876         * progmodes/python.el (python-new-pythonpath): Extract from
1877         `python-shell-calculate-process-environment'.
1879 2014-08-18  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1881         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
1882         for &key args (bug#18048).
1884 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1886         * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
1887         (eldoc-function-argstring-format): Remove.
1888         (eldoc-function-argstring): Always return upcase args.
1889         Use help-make-usage.  Don't add parens.
1890         (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
1891         it's too late to do it right (bug#18048).
1893 2014-08-18  Eli Zaretskii  <eliz@gnu.org>
1895         * scroll-bar.el (scroll-bar-horizontal-drag-1)
1896         (scroll-bar-toolkit-horizontal-scroll): When determining the
1897         paragraph direction, use the buffer of the window designated in
1898         the event.
1900 2014-08-16  Andreas Schwab  <schwab@linux-m68k.org>
1902         * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
1903         context of unified diff.
1905 2014-08-16  Paul Eggert  <eggert@cs.ucla.edu>
1907         Add dependencies to fix loaddefs race during parallel builds.
1908         Without this, for example, 'make -j bootstrap' can fail and report
1909         "Opening input file: no such file or directory,
1910         .../lisp/calendar/diary-loaddefs.el ... recipe for target
1911         'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
1912         got confused because diary-loaddefs.el was being built in parallel.
1913         * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
1914         Depend on $(CAL_DIR)/cal-loaddefs.el.
1915         ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
1917 2014-08-16  Martin Rudalics  <rudalics@gmx.at>
1919         * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
1920         portion-whole for scrolling right-to-left text.
1922 2014-08-15  Leo Liu  <sdl.web@gmail.com>
1924         * speedbar.el (speedbar-generic-list-tag-p): Allow special
1925         elements from imenu.
1927 2014-08-15  Glenn Morris  <rgm@gnu.org>
1929         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1931 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
1933         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1934         Add Guile regexpses.
1936 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
1938         * progmodes/gud.el (guiler): New function.  Starts the Guile REPL;
1939         add Guile debugger support for GUD.
1941 2014-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1943         * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
1944         (mouse-sel--ignore): New function.
1945         (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
1946         (mouse-sel-original-interprogram-cut-function)
1947         (mouse-sel-original-interprogram-paste-function): Remove.
1949 2014-08-13  Eric S. Raymond  <esr@thyrsus.com>
1951         * vc/vc-git.el (vc-git-resolve-when-done): New function.
1952         Call "git add" when there are no longer conflict markers.
1954 2014-08-13  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1956         * vc/vc-git.el (vc-git-find-file-hook): New function.
1957         Adds support for calling smerge (and resolve) on a conflicted file.
1958         (vc-git-conflicted-files): New function.
1959         Useful in itself and a step towards better smerge support.
1961 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1963         * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
1964         to the first part if they're the same as the selection.
1966 2014-08-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1968         * image-mode.el (image-transform-reset): New command and menu item.
1969         (image-mode-map): Rearrange the menu items to put presumably more
1970         obscure items at the end.
1972 2014-08-12  Juri Linkov  <juri@jurta.org>
1974         * vc/vc-annotate.el (vc-annotate-background-mode):
1975         Use `with-demoted-errors' instead of `ignore-errors'.  (Bug#18189)
1977 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1979         * files.el (out-of-memory-warning-percentage): Turn it off by default.
1981 2014-08-11  Sam Steingold  <sds@gnu.org>
1983         * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
1984         the presence of known validators (tidy, (o)nsgmls).
1986 2014-08-11  Ulf Jasper  <ulf.jasper@web.de>
1988         Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
1990         * net/newst-treeview.el (newsticker-treeview-date-format): New.
1991         (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
1993 2014-08-11  Glenn Morris  <rgm@gnu.org>
1995         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1996         chose coding system for writing before backing up, since it causes
1997         a more serious problem than the one it solves.  (Closes Bug#18141,
1998         reopens Bug#13522.)
2000 2014-08-11  Martin Rudalics  <rudalics@gmx.at>
2002         * window.el (window-total-size): Make doc-string more self-contained.
2004         * window.el (display-buffer-below-selected): Restore original
2005         behavior if buffer is already displayed in the window below the
2006         selected one (Bug#18181).
2008 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2010         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
2011         event (bug#18212).
2013 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
2015         * info.el (info): Doc fix.
2017 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2019         * info.el (Info-mode-map): Override a global down-mouse-2 binding
2020         (bug#18212).
2022 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
2024         * simple.el (default-line-height): A floating-point value of
2025         line-spacing means a fraction of the default frame font's height,
2026         not of the font currently used by the 'default' face.
2027         Truncate the pixel value, like the display engine does.
2028         (window-screen-lines): Use window-inside-pixel-edges for
2029         determining the window height in pixels.  (Bug#18195)
2031 2014-08-11  Grégoire Jadi  <daimrod@gmail.com>
2033         * leim/quail/latin-post.el: Transform " __" into " _".  (Bug#18023)
2035 2014-08-10  Ulf Jasper  <ulf.jasper@web.de>
2037         Enumerate evaluated sexp diary entries (Bug#7911).
2038         * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
2039         (icalendar-export-sexp-enumeration-days): New.
2040         (icalendar-export-region): Now `icalendar--convert-to-ical'
2041         returns a cons cell or a list of cons cells.
2042         (icalendar--convert-to-ical): Take care of
2043         `icalendar-export-sexp-enumerate-all'.  Return (a list of) cons cells.
2044         (icalendar--convert-ordinary-to-ical)
2045         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2046         (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
2047         (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
2048         (icalendar--convert-anniversary-to-ical): Return cons cell.
2049         (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
2050         entries.  Return (list of) cons cells.
2052 2014-08-09  Juri Linkov  <juri@jurta.org>
2054         * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
2055         to reevaluate `vc-annotate-color-map'.  (Bug#18189)
2057 2014-08-09  Alan Mackenzie  <acm@muc.de>
2059         * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
2060         for top-level that can cause unacceptable slow-down in scrolling.
2061         See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
2062         Antipov from 2013-10-14 in emacs-devel.
2064 2014-08-08  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2066         * ibuffer.el (ibuffer-mode-map): Use toggle button for
2067         `ibuffer-auto-mode' menu entry.
2068         (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
2070 2014-08-08  Matthias Meulien  <orontee@gmail.com>
2072         * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
2073         (Bug#16394)
2075 2014-08-07  Martin Rudalics  <rudalics@gmx.at>
2077         * window.el (window--min-size-1): Explicitly set WINDOW arg in
2078         calls of window-min-pixel-height and window-min-pixel-width.
2080 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
2082         * progmodes/ada-mode.el:
2083         * net/tramp.el (tramp-handle-file-symlink-p):
2084         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
2085         about VMS, which we no longer support.
2086         * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
2087         and fix a FIXME, using convert-standard-filename in place of
2088         removed ada-convert-file-name.
2090 2014-08-07  Eli Zaretskii  <eliz@gnu.org>
2092         * files.el (auto-mode-alist): Remove support for VMS from a pattern.
2094 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
2096         Refer to MS-DOS using the same name everywhere.
2097         * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
2098         ``msdog'' become ``MS-DOS''.
2100 2014-08-07  Michael Albinus  <michael.albinus@gmx.de>
2102         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2103         Use cached "remote-copy-args" value, if available.  (Bug#18199)
2105 2014-08-07  Leo Liu  <sdl.web@gmail.com>
2107         * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
2108         Revert change on 2014-03-22.
2110 2014-08-06  Ulf Jasper  <ulf.jasper@web.de>
2112         * calendar/icalendar.el (icalendar--diarytime-to-isotime)
2113         (icalendar--convert-ordinary-to-ical): Allow for missing minutes
2114         (Bug#13750).
2117 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2119         * image-mode.el (image-toggle-display-image): Always rescale images
2120         to not be bigger than the current window.
2122 2014-08-05  Eric Brown  <brown@fastmail.fm>  (tiny change)
2124         * net/eww.el (eww-bookmarks-directory): New variable.
2125         (eww-write-bookmarks): Use it.
2126         (eww-read-bookmarks): Ditto.
2128 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2130         * net/shr.el (shr-copy-url): Also copy the image URL.
2132 2014-08-05  Michael Albinus  <michael.albinus@gmx.de>
2134         * net/tramp-cache.el (tramp-flush-file-function): Suppress function
2135         also for Tramp working buffers.
2137 2014-08-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2139         * progmodes/python.el: Fix completions inside (i)pdb.
2140         (python-shell-completion-pdb-string-code): Make obsolete.
2141         (python-shell-completion-get-completions):
2142         Use python-shell-completion-string-code resending setup code
2143         continuously for (i)pdb.
2145 2014-08-04  Paul Eggert  <eggert@cs.ucla.edu>
2147         * rect.el (rectangle--default-line-number-format): Rename
2148         from misspelled rectange--default-line-number-format (Bug#18045).
2149         All uses changed.
2151 2014-08-03  Paul Eggert  <eggert@cs.ucla.edu>
2153         Don't mishandle year-9999 dates (Bug#18176).
2154         * calendar/parse-time.el (parse-time-rules):
2155         Allow years up to most-positive-fixnum.
2156         * calendar/time-date.el (date-to-time):
2157         Pass "Specified time is not representable" errors through.
2159 2014-08-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2161         * progmodes/python.el: Completion code cleanups.
2162         (python-shell-completion-get-completions): Detect and send import
2163         statements directly to completion function.
2164         (python-shell-completion-at-point): Simplify prompt calculation
2165         and import vs input completion logic.
2167 2014-08-02  Alan Mackenzie  <acm@muc.de>
2169         Fix confusion in C++ file caused by comma in "= {1,2},".
2170         Bug #17756.
2171         * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
2172         for a statement boundary marked by "}", check there's no "="
2173         before the "{".
2174         (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
2175         non-nil `comma-delim' argument.
2176         * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
2177         initializer expression more accurately.
2179         Correct loop termination condition in c-syntactic-skip-backward.
2180         * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
2181         the situation where, after moving back out of a literal,
2182         skip-chars-backward doesn't move further, yet checks have still to
2183         be done.
2185 2014-08-01  Eli Zaretskii  <eliz@gnu.org>
2187         * tutorial.el (tutorial--display-changes): Accept punctuation
2188         characters before the key binding.  (Bug#18146)
2190 2014-07-31  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2192         * progmodes/python.el: Shell output capture enhancements.
2193         (python-shell-accept-process-output): New function.
2194         (inferior-python-mode)
2195         (python-shell-send-setup-code): Use it.
2197 2014-07-30  Christophe Deleuze  <christophe.deleuze@free.fr>  (tiny change)
2199         * calendar/icalendar.el (icalendar--decode-isodatetime):
2200         Use actual current-time-zone when converting to local time. (Bug#15408)
2202 2014-07-29  Martin Rudalics  <rudalics@gmx.at>
2204         * window.el (window--state-put-2): Handle horizontal scroll
2205         bars, if present.
2207 2014-07-29  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2209         * menu-bar.el (menu-bar-update-buffers): Update item list format
2210         in `buffers-menu' to confirm with changes to `get_keyelt'
2211         (r117463).  (Bug#18016)
2213 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2215         * progmodes/python.el (inferior-python-mode): Make input prompts
2216         read-only.
2218 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
2220         * net/tramp-sh.el (tramp-get-remote-python): Also search for
2221         executables named "python2" or "python3".
2222         (tramp-get-remote-uid-with-python): Use parentheses around
2223         arguments to `print' to make it compatible with Python 3.
2224         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
2226 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
2228         * window.el (window--pixel-to-total): Use FRAME's root window, not
2229         that of the selected frame.  (Bug#18112, Bug#16674)
2231 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
2233         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
2234         (Bug#18117)
2236 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2238         * progmodes/python.el (inferior-python-mode): Doc fix.
2240 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
2242         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
2243         not a character, ignore it instead of raising an error.
2245         * calendar/todo-mode.el: Fix handling of marked items and make
2246         minor code improvements.
2247         (todo-edit-item): If there are marked items, ensure user can only
2248         invoke editing commands that work with marked items.
2249         (todo-edit-item--text): When there are marked items, make it a
2250         noop if invoked with point not on an item; otherwise, ensure it
2251         applies only to item at point.
2252         (todo-item-undone): If there are marked not-done items, return
2253         point to its original position before signaling user error.
2254         (todo--user-error-if-marked-done-item): New function.
2255         (todo-edit-item--header, todo-edit-item--diary-inclusion)
2256         (todo-item-done): Use it.
2258 2014-07-28  Glenn Morris  <rgm@gnu.org>
2260         * files.el (toggle-read-only): Re-add basic doc-string.
2261         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
2263         * progmodes/prolog.el (prolog-mode-keybindings-edit):
2264         Replace missing `switch-to-prolog' with `run-prolog'.
2265         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
2267 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
2269         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
2270         of file-wide setting when changing category-wide setting.
2272 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
2274         * doc-view.el (doc-view-open-text): Don't require that the
2275         document is saved in a file (e.g., email attachment).
2277 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2279         Parse completion input in a iPython friendly way.  (Bug#18084)
2280         * progmodes/python.el
2281         (python-shell-completion-at-point): Rename from
2282         python-shell-completion-complete-at-point.
2283         (inferior-python-mode): Use it.
2284         (python-completion-at-point): Rename from
2285         python-completion-complete-at-point.  Parse input up to first
2286         backward occurrence of whitespace, open-paren, close-paren or
2287         string delimiter.
2288         (python-mode): Use it.
2290 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2292         Prevent Python process shell buffer to pop twice.
2293         * progmodes/python.el (python-shell-switch-to-shell): Do not call
2294         pop-to-buffer.
2296 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2298         * progmodes/python.el
2299         (python-shell-with-shell-buffer): New macro.
2300         (python-shell-font-lock-get-or-create-buffer)
2301         (python-shell-font-lock-kill-buffer)
2302         (python-shell-font-lock-with-font-lock-buffer)
2303         (python-shell-font-lock-cleanup-buffer)
2304         (python-shell-font-lock-toggle): Use it.
2305         (python-shell-font-lock-turn-on)
2306         (python-shell-font-lock-turn-off): Use it.  Make command.
2308 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2310         Grab all Python process output before inferior-python-mode hooks.
2311         * progmodes/python.el (inferior-python-mode):
2312         Call accept-process-output and sit-for to ensure all output for process
2313         has been received before running hooks.
2314         (python-shell-internal-get-or-create-process):
2315         Cleanup accept-process-output and sit-for calls.
2317 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2319         More robust shell startup and code setup.
2320         * progmodes/python.el (python-shell-make-comint):
2321         Remove accept-process-output call.
2322         (python-shell-get-buffer): Return current buffer if major-mode is
2323         inferior-python-mode.
2324         (python-shell-get-or-create-process): Use it.
2325         (python-shell-send-setup-code): Send all setup code in one string,
2326         output success message and accept-process-output.
2328 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
2330         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
2331         Add rudimentary support for bidirectional text.
2333 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
2335         * frame.el (frame-notice-user-settings): Rewrite using
2336         frame-initial-frame-tool-bar-height.
2337         * menu-bar.el (menu-bar-horizontal-scroll-bar)
2338         (menu-bar-no-horizontal-scroll-bar): New functions.
2339         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
2340         scroll bars.
2341         * scroll-bar.el (scroll-bar-lines)
2342         (set-horizontal-scroll-bar-mode)
2343         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
2344         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
2345         (scroll-bar-toolkit-horizontal-scroll): New functions.
2346         (horizontal-scroll-bar-mode)
2347         (previous-horizontal-scroll-bar-mode)
2348         (horizontal-scroll-bar-mode-explicit): New variables.
2349         (horizontal-scroll-bar-mode): New option.
2350         (toggle-horizontal-scroll-bar): Do something.
2351         (top-level): Bind horizontal-scroll-bar mouse-1.
2352         * startup.el (tool-bar-originally-present): Remove variable.
2353         (command-line): Don't set tool-bar-originally-present.
2354         * window.el (window-min-height): Update doc-string.
2355         (window--dump-frame): Dump horizontal scroll bar values.
2356         (window--min-size-1): Handle minibuffer window separately.
2357         Count in margins and horizontal scroll bar.  Return safe value
2358         iff IGNORE equals 'safe.
2359         (frame-windows-min-size): New function (used by frame resizing
2360         routines).
2361         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
2362         scroll bars.
2363         (window--sanitize-window-sizes): New function.
2364         (window-split-min-size): Remove.
2365         (split-window): Count divider-width.  Don't use
2366         `window-split-min-size' any more.  Reword error messages.
2367         Sanitize windows sizes after splitting.
2369 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
2371         Use `defvar-local' more.
2372         * progmodes/hideshow.el
2373         (hs-c-start-regexp, hs-block-start-regexp)
2374         (hs-block-start-mdata-select, hs-block-end-regexp)
2375         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
2376         remove corresponding `make-variable-buffer-local' top-level calls.
2378 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2380         Cleanup error signals.  (Bug#18067)
2381         * progmodes/python.el
2382         (python-indent-shift-left): Use user-error instead.
2383         (python-shell-prompt-detect): Use lwarn with python group.
2384         (python-completion-complete-at-point)
2385         (python-eldoc--get-doc-at-point): Don't signal error.
2387 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2389         Support for packages in Python shell.  (Bug#13570)
2390         * progmodes/python.el (python-shell--package-depth): New var.
2391         (python-shell-package-enable): New command.
2392         (python-util-list-directories, python-util-list-files)
2393         (python-util-list-packages): New functions.
2395 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2397         Faster comint output.  (Bug#16875)
2398         * progmodes/python.el:
2399         (python-comint-output-filter-function): Make obsolete.
2400         (python-comint-postoutput-scroll-to-bottom): New function.
2401         (inferior-python-mode): Set comint-output-filter-functions to a
2402         minimum.
2404 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2406         * progmodes/python.el (python-shell-font-lock-post-command-hook):
2407         Safeguard current point and undo history.
2409 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2411         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
2412         * progmodes/python.el:
2413         (python-shell-prompt-input-regexps): Add iPython block prompt.
2414         (python-shell-output-syntax-table): Delete var.
2415         (python-shell-font-lock-with-font-lock-buffer): New macro.
2416         (python-shell-font-lock-get-or-create-buffer)
2417         (python-shell-font-lock-kill-buffer)
2418         (python-shell-font-lock-cleanup-buffer)
2419         (python-shell-font-lock-post-command-hook)
2420         (python-shell-font-lock-turn-off): New functions.
2421         (python-shell-font-lock-turn-on): New function.
2422         (inferior-python-mode): Use it.
2423         (python-shell-font-lock-toggle): New command.
2424         (python-shell-font-lock-enable): Rename from
2425         python-shell-enable-font-lock.
2426         (run-python-internal): Use it.
2427         (python-shell-font-lock-comint-output-filter-function): New function.
2428         (python-shell-comint-end-of-output-p): New function.
2429         (python-shell-output-filter): Use it.
2430         (python-util-comint-last-prompt): New function.
2431         (python-util-text-properties-replace-name): New function.
2433 2014-07-25  Glenn Morris  <rgm@gnu.org>
2435         * vc/ediff-init.el (ediff-toggle-read-only-function):
2436         * vc/ediff-util.el (ediff-toggle-read-only):
2437         Replace obsolete toggle-read-only with read-only-mode.
2439 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
2441         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
2442         with `save-match-data'.  (Bug#18095)
2444 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2446         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
2447         order to ensure that row and col are lexically bound inside the
2448         evaluated sexp.
2450 2014-07-21  Glenn Morris  <rgm@gnu.org>
2452         * progmodes/hideif.el (hide-ifdef-mode-submap):
2453         Also substitute read-only-mode.
2454         * bindings.el (mode-line-toggle-read-only):
2455         * bs.el (bs-toggle-readonly):
2456         * buff-menu.el (Buffer-menu-toggle-read-only):
2457         * dired.el (dired-toggle-read-only):
2458         * files.el (view-read-only, find-file-read-only)
2459         (find-file-read-only-other-window)
2460         (find-file-read-only-other-frame):
2461         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
2462         Doc fixes re toggle-read-only.
2464 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2466         * progmodes/python.el: Add comment about pipe buffering and
2467         solutions for missing/delayed output in inferior Python shells.
2468         (Bug#17304)
2470         * progmodes/python.el (python-mode): Don't set
2471         mode-require-final-newline.  (Bug#17990)
2473         Make python.el work with IPython automatically.  (Bug#15510)
2474         * progmodes/python.el:
2475         (python-shell-completion-setup-code): New value supporting iPython.
2476         (python-shell-completion-string-code): New value supporting iPython.
2477         (python-shell-completion-get-completions): Use them.
2478         (python-shell-completion-module-string-code): Make obsolete.
2479         (python-shell-prompt-input-regexps)
2480         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
2481         (python-shell-output-filter): Fix comment typo.
2483         Fix Python shell prompts detection for remote hosts.
2484         * progmodes/python.el (python-shell-prompt-detect):
2485         Replace call-process with process-file and make it more robust.
2487         Autodetect Python shell prompts.  (Bug#17370)
2488         * progmodes/python.el:
2489         (python-shell-interpreter-interactive-arg)
2490         (python-shell-prompt-detect-enabled)
2491         (python-shell-prompt-detect-failure-warning)
2492         (python-shell-prompt-input-regexps)
2493         (python-shell-prompt-output-regexps): New vars.
2494         (python-shell-prompt-calculated-input-regexp)
2495         (python-shell-prompt-calculated-output-regexp): New vars.
2496         (python-shell-get-process-name)
2497         (python-shell-internal-get-process-name)
2498         (python-shell-output-filter)
2499         (python-shell-completion-get-completions): Use them.
2500         (python-shell-prompt-detect)
2501         (python-shell-prompt-validate-regexps): New functions.
2502         (python-shell-prompt-set-calculated-regexps): New function.
2503         (inferior-python-mode): Use it.  Also honor overriden
2504         python-shell-interpreter and python-shell-interpreter-args.
2505         (python-shell-make-comint): Honor overriden
2506         python-shell-interpreter and python-shell-interpreter-args.
2507         (python-shell-get-or-create-process): Make it testable by allowing
2508         to call run-python non-interactively.
2509         (python-util-valid-regexp-p): New function.
2510         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
2511         (python-shell-prompt-output-regexp)
2512         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
2514 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2516         * emacs-lisp/smie.el (smie-config--guess-1): Split from
2517         smie-config--guess.
2518         (smie-config--guess): Use it.
2520         * emacs-lisp/edebug.el: Use nadvice.
2521         (edebug-original-read): Remove.
2522         (edebug--read): Rename from edebug-read and add `orig' arg.
2523         (edebug-uninstall-read-eval-functions)
2524         (edebug-install-read-eval-functions): Use nadvice.
2525         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
2526         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
2527         (edebug-read-string, edebug-read-function): Use just `read'.
2528         (edebug-original-debug-on-entry): Remove.
2529         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
2530         `orig' arg.
2531         (debug-on-entry): Override with nadvice.
2533         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
2534         it also makes sense to bind it to a non-mouse event.
2536         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
2538 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2540         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
2541         (bug#18015).
2543         * rect.el (rectangle--string-preview): Don't assume there
2544         a non-nil default (bug#17984).
2546 2014-07-16  Glenn Morris  <rgm@gnu.org>
2548         * desktop.el (after-init-hook): Disable startup frame restoration
2549         in non-graphical situations.  (Bug#17693)
2551         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
2552         if it was "empty", or used for a different set of files.  (Bug#17884)
2554 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
2556         * bindings.el (mode-line-remote): If default-directory is not a
2557         string, don't call file-remote-p on it; instead state in the
2558         help-echo that it is nil.  (Bug#17986)
2560 2014-07-14  Daniel Colascione  <dancol@dancol.org>
2562         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
2563         to `macroexpand-all'
2565         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
2566         Use `macroexpand-all' instead of `cl-macroexpand-all'.
2568 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
2570         Fix bug: C-x v v discarded existing log message (Bug#17884).
2571         * vc/vc-dispatcher.el (vc-log-edit):
2572         Don't clobber an already-existing log message.
2574 2014-07-12  Glenn Morris  <rgm@gnu.org>
2576         * vc/log-edit.el (log-edit-changelog-entries):
2577         Check for a visited-but-never-saved ChangeLog.
2579 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2581         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
2582         a non-existing file (bug#17970).
2584         * faces.el (face-name): Undo last change.
2585         (x-resolve-font-name): Don't call face-name (bug#17956).
2587 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2589         Fix dedenters and electric colon handling. (Bug#15163)
2590         * progmodes/python.el
2591         (python-rx-constituents): Add dedenter and block-ender.
2592         (python-indent-dedenters, python-indent-block-enders): Delete.
2593         (python-indent-context): Return new case for dedenter-statement.
2594         (python-indent-calculate-indentation): Handle new case.
2595         (python-indent-calculate-levels): Fix levels calculation for
2596         dedenter statements.
2597         (python-indent-post-self-insert-function): Fix colon handling.
2598         (python-info-dedenter-opening-block-message): New function.
2599         (python-indent-line): Use it.
2600         (python-info-closing-block)
2601         (python-info-closing-block-message): Remove.
2602         (python-info-dedenter-opening-block-position)
2603         (python-info-dedenter-opening-block-positions)
2604         (python-info-dedenter-statement-p): New functions.
2606 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
2608         * files.el (out-of-memory-warning-percentage): New defcustom.
2609         (warn-maybe-out-of-memory): Use it.
2611 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
2613         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
2614         when calling `read-string'.  (Bug#17839)
2616 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
2618         * files.el (warn-maybe-out-of-memory): Fix the wording of the
2619         warning.
2621 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
2623         * files.el (warn-maybe-out-of-memory): New function.
2624         (find-file-noselect): Use it.
2626 2014-07-09  Sam Steingold  <sds@gnu.org>
2628         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
2629         `constant' like `bless', `return' &c
2631 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2633         * rect.el (apply-on-rectangle): Check forward-line really moved to the
2634         next line.
2636 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2638         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
2639         the middle of a line (bug#17896).
2641 2014-07-09  Juri Linkov  <juri@jurta.org>
2643         * startup.el (command-line): Append displaying the warning about
2644         the errors in the init file to the end of `after-init-hook'.
2645         (Bug#17927)
2647         * faces.el (face-name): Return input arg `face' as-is
2648         when it's not a symbol.
2649         (x-resolve-font-name): Don't check if the face is a symbol.
2650         (Bug#17956)
2652         * facemenu.el (list-colors-print): In help-echo format use %.2f
2653         instead of %d because now HSV values are floating-point components
2654         between 0.0 and 1.0.
2656 2014-07-09  Glenn Morris  <rgm@gnu.org>
2658         * emulation/cua-rect.el (cua--activate-rectangle):
2659         Avoid setting cua--rectangle to nil.  (Bug#17877)
2661 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
2663         * calendar/todo-mode.el: Fix wrong-type-argument error when
2664         marking multiple consecutive items.
2665         (todo-toggle-mark-item): Don't try to mark the empty lines at the
2666         end of the todo and done items sections.  Note in doc string that
2667         items marked by passing a numeric prefix argument can include the
2668         last todo and first done items.
2669         (todo-mark-category): Don't try to mark the empty line between the
2670         todo and done items sections.
2672 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2674         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
2675         proper Lisp quoting (bug#17934).
2677         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
2678         require-final-newline since prog-mode already took care of it (bug#17947).
2680 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
2682         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
2683         refer to the Todo mode Info manual.  Update the comment on
2684         requiring cl-lib.
2685         (todo-find-filtered-items-file): Add todo-prefix overlays.
2686         (todo-filter-items): Reorder a let-bound variable to avoid a
2687         wrong-type-argument error on canceling the file choice dialog.
2689 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2691         * progmodes/octave.el (inferior-octave-mode):
2692         Set comint-input-ring-size to a number (bug#17912).
2694 2014-07-09  Juri Linkov  <juri@jurta.org>
2696         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
2697         and `isearch-mode' associated with nil.  (Bug#17849)
2699 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2701         * linum.el (linum--face-height): New function (bug#17813).
2702         (linum-update-window): Use it to adjust margin to linum's width.
2704         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
2705         * eshell/em-smart.el (eshell-smart-scroll-window):
2706         Use with-selected-window.
2708         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
2709         Remove also pointless window&mark manipulation.
2711         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
2712         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
2713         (perl-continuation-line-p): Don't skip over anything else than labels.
2714         Return the previous char.
2715         (perl-calculate-indent): Use syntax-ppss instead of parse-start
2716         and update callers accordingly.  For continuation lines, check the
2717         the case of array hashes.
2718         (perl-backward-to-noncomment): Make it non-interactive.
2719         (perl-backward-to-start-of-continued-exp): Rewrite.
2721 2014-07-08  Sam Steingold  <sds@gnu.org>
2723         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
2724         New user commands.
2726 2014-07-08  Juri Linkov  <juri@jurta.org>
2728         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
2729         (vc-annotate-color-map): Use less saturated colors (20%) for
2730         background-mode.
2731         (vc-annotate-very-old-color): Add default value for background-mode.
2732         (vc-annotate-background): Set default value to nil since now text on
2733         the default backgrounds should be legible in light and dark modes.
2734         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
2735         (Bug#17808)
2737 2014-07-08  Juri Linkov  <juri@jurta.org>
2739         * simple.el (transpose-chars): Don't move point into read-only area.
2740         (Bug#17829)
2742 2014-07-08  Juri Linkov  <juri@jurta.org>
2744         * window.el (with-displayed-buffer-window): New macro.
2745         (with-temp-buffer-window, with-current-buffer-window):
2746         Use `macroexp-let2' to evaluate and bind variables
2747         in the same order as macro arguments.
2748         (display-buffer--action-function-custom-type):
2749         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
2751         * minibuffer.el (minibuffer-completion-help): Replace
2752         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
2753         with actions that display *Completions* at-bottom when called
2754         from the minibuffer, or below-selected in a normal buffer.
2755         Associate `window-height' with `fit-window-to-buffer'.
2756         Let-bind `pop-up-windows' to nil.
2758         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
2759         instead of `with-current-buffer-window'.  (Bug#17809)
2761 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
2763         * progmodes/hideif.el (hide-ifdef-env): Change to global.
2764         (hide-ifdef-env-backup): New variable.
2765         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
2766         New customizable variables.
2767         (hif-clear-all-ifdef-defined): New defun.
2768         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
2769         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
2770         (hif-tokenize): Fix for MS-DOS/Win EOL style.
2771         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
2772         Fix bug to hide the correct #elif region(s).
2773         (hif-range-elif): New defun.
2774         (hif-recurse-level): New var.
2775         (hif-evaluate-region, hif-evaluate-macro): New defun.
2776         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
2777         fully hidden.
2778         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
2779         Better interaction.
2781 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
2783         * net/dbus.el (dbus-peer-handler): New defun.
2784         (dbus-register-service): Register it.  (Bug#17858)
2785         (dbus-managed-objects-handler): Fix docstring.
2787 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>
2789         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
2790         (narrow-to-defun): New arg include-comments, defaulting to it
2791         (bug#16328).
2793 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2795         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
2796         different calling convention to rectangle--unhighlight-for-redisplay.
2798 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
2800         * net/tramp.el (tramp-call-process): Handle error strings.
2802         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
2804         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
2805         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
2807         * net/trampver.el: Update release number.
2809 2014-07-03  Juri Linkov  <juri@jurta.org>
2811         * desktop.el (desktop-save): Rename arg `auto-save' to
2812         `only-if-changed'.  Doc fix.  (Bug#17873)
2814 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2816         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
2817         Use insert-for-yank (bug#17271).
2819 2014-07-03  Leo Liu  <sdl.web@gmail.com>
2821         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
2822         Support lexical-binding.
2824 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2826         * vc/log-edit.el (log-edit-goto-eoh): New function.
2827         (log-edit--match-first-line): Use it (bug#17861).
2829 2014-07-03  Glenn Morris  <rgm@gnu.org>
2831         * vc/log-edit.el (log-edit-hook): Add missing :version.
2833 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2835         * progmodes/python.el (python-indent-post-self-insert-function):
2836         Enhancements to electric indentation behavior inside
2837         parens. (Bug#17658)
2839 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2841         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
2842         buffer-invisibility-spec (bug#17867).
2844 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
2846         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
2847         pass "-a".
2849 2014-07-03  Glenn Morris  <rgm@gnu.org>
2851         * cus-edit.el (help):
2852         * finder.el (finder-known-keywords):
2853         * help.el (help-for-help-internal):
2854         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
2855         (ediff-redraw-registry-buffer):
2856         * vc/ediff-ptch.el (ediff-patch-file-internal):
2857         Doc fixes re "online" help.  (Bug#17803)
2859         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
2860         (idlwave-mode): Doc URL update.
2862 2014-07-01  Juri Linkov  <juri@jurta.org>
2864         * man.el: Display man pages immediately and use process-filter
2865         to format them asynchronously.
2866         (Man-width): Doc fix.
2867         (man): Doc fix.
2868         (Man-start-calling): Use `with-selected-window' to get
2869         `frame-width' and `window-width'.
2870         (Man-getpage-in-background): Call `Man-notify-when-ready'
2871         immediately after creating a new buffer.  Call `Man-mode' and set
2872         `mode-line-process' in the created buffer.  Set process-filter to
2873         `Man-bgproc-filter' in start-process branch.  In call-process branch
2874         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
2875         Use `Man-start-calling' inside `with-current-buffer'.
2876         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
2877         (Man-cleanup-manpage): Don't print messages.
2878         (Man-bgproc-filter): New function.
2879         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
2880         user moved it during asynchronous formatting.  Move calls of
2881         `Man-fontify-manpage' and `Man-cleanup-manpage' to
2882         `Man-bgproc-filter'.  Move the call of `Man-mode' to
2883         `Man-getpage-in-background'.  Use `quit-restore-window'
2884         instead of `kill-buffer'.  Use `message' instead of `error'
2885         because errors are caught by process sentinel.
2886         (Man-mode): Move calls of `Man-build-page-list',
2887         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
2888         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
2890         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
2891         for the message about the man page cleaned up.
2893 2014-07-01  Mario Lang  <mlang@delysid.org>
2895         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
2896         cosutomization option `gnutls-verify-error'.
2898 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2900         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
2901         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
2903         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
2904         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
2905         is suspended (bug#17857).
2907 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
2909         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2910         Prefer utf-8 coding.  (Bug#17859)
2912 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2914         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
2915         for `reverse'.
2917 2014-06-30  Glenn Morris  <rgm@gnu.org>
2919         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
2920         (autoload-ensure-default-file): Maybe make existing output writable.
2921         * Makefile.in (AUTOGEN_VCS): Remove.
2922         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
2924 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2926         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
2928 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2930         New if-let, when-let, thread-first and thread-last macros.
2932         * emacs-lisp/subr-x.el
2933         (internal--listify, internal--check-binding)
2934         (internal--build-binding-value-form, internal--build-binding)
2935         (internal--build-bindings): New functions.
2936         (internal--thread-argument, thread-first, thread-last)
2937         (if-let, when-let): New macros.
2939 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
2941         * net/rcirc.el (rcirc-buffer-process): Restore previous
2942         behaviour.  (Bug#17772)
2944 2014-06-29  Alan Mackenzie  <acm@muc.de>
2946         Don't call c-parse-state when c++-template-syntax-table is active.
2947         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
2948         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
2949         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
2951 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
2953         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
2954         account for file-wide setting of todo-top-priorities-overrides.
2955         Make code a bit cleaner.
2957 2014-06-28  Glenn Morris  <rgm@gnu.org>
2959         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
2961 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
2963         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
2964         category-wide setting of todo-top-priorities-overrides, check for
2965         a file-wide setting and fontify accordingly.
2967 2014-06-28  Glenn Morris  <rgm@gnu.org>
2969         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
2971 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2973         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
2975 2014-06-28  K. Handa  <handa@gnu.org>
2977         Fix Bug#17739.
2979         * composite.el: Setup composition-function-table for dotted circle.
2980         (compose-gstring-for-dotted-circle): New function.
2982         * international/characters.el: Add category "^" to all
2983         non-spacing characters.
2985 2014-06-28  Glenn Morris  <rgm@gnu.org>
2987         * Makefile.in (doit): Remove force rule.
2988         (custom-deps, finder-data, autoloads, update-subdirs)
2989         (compile-one-process): PHONY targets do not need force rules.
2991         * Makefile.in (compile-main, compile, compile-always):
2992         No need to explicitly pass variables to ourself in recursive calls.
2994 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2996         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
2998 2014-06-26  Glenn Morris  <rgm@gnu.org>
3000         * Makefile.in (update-authors): Update for moved authors.el.
3002 2014-06-26  Leo Liu  <sdl.web@gmail.com>
3004         * skeleton.el (skeleton-end-hook): Default to nil and move the
3005         work to skeleton-insert.  (Bug#17850)
3007 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
3009         * calc/calc-alg.el (math-beforep):
3010         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
3011         Simplify because string-lessp can accept symbols as args.
3013 2014-06-26  Daiki Ueno  <ueno@gnu.org>
3015         * emacs-lisp/package.el (package--check-signature):
3016         If package-check-signature is allow-unsigned, don't signal error when
3017         we can't verify signature because of missing public key
3018         (bug#17625).
3020 2014-06-26  Glenn Morris  <rgm@gnu.org>
3022         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
3023         Remove outdated declaration.
3025         * emacs-lisp/authors.el (authors-valid-file-names)
3026         (authors-renamed-files-alist): Additions.
3028 2014-06-26  Leo Liu  <sdl.web@gmail.com>
3030         * textmodes/picture.el (picture-set-tab-stops):
3031         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
3032         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
3034         * progmodes/asm-mode.el (asm-calculate-indentation):
3035         Use indent-next-tab-stop.
3037         * indent.el (indent-accumulate-tab-stops): New function.
3039 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3041         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
3042         (package-desc-status): Obey it.
3044 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
3046         * calendar/todo-mode.el: Fix two bugs.
3047         (todo-insert-item--basic): If user cancels item insertion to
3048         another category before setting priority, show original category
3049         whether it is in the same or a different file.
3050         (todo-set-item-priority): After selecting category, instead of
3051         moving point to top, which extends an active region, restore it.
3053 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3055         * help-fns.el (describe-function-1): Check file-name is a string before
3056         calling help-fns--autoloaded-p (bug#17564).
3058 2014-06-26  Juri Linkov  <juri@jurta.org>
3060         * desktop.el (desktop-auto-save-enable)
3061         (desktop-auto-save-disable): New functions.
3062         (desktop-save-mode, desktop-auto-save-timeout): Use them.
3063         (desktop-read): Disable the autosave before loading the desktop,
3064         and enable afterwards.  (Bug#17351)
3066 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3068         Fix some indentation problem with \; and pipes (bug#17842).
3069         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
3070         (sh-smie--default-forward-token, sh-smie--default-backward-token):
3071         New functions.
3072         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
3073         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
3074         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
3076 2014-06-26  Glenn Morris  <rgm@gnu.org>
3078         * emacs-lisp/find-func.el (find-function-C-source-directory):
3079         Use file-accessible-directory-p.
3081         * ps-samp.el: Make it slightly less awful.
3082         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
3083         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
3084         Only set local values.
3085         (ps-article-subject, ps-article-author): Use standard functions
3086         like mail-fetch-field.
3087         (ps-info-file, ps-info-node): Use match-string.
3088         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
3089         (ps-samp-ps-setup): ... new function.
3091         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
3092         Optimize away code unneeded on any modern Emacs.
3094         * emacs-lisp/authors.el: Move to ../admin.
3096         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
3098 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
3100         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
3101         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
3102         performance enhancements.
3103         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
3104         expansion.
3105         (hif-factor, hif-string-concatenation, intern-safe): Support string
3106         concatenation and argumented macro expansion.
3107         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
3108         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
3109         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
3110         (hif-canonicalize-tokens, hif-place-macro-invocation)
3111         (hif-parse-macro-arglist): Mostly new functions for supporting
3112         argumented macro expansion.
3113         (hif-string-concatenation, hif-stringify, hif-token-concat)
3114         (hif-token-stringification, hif-token-concatenation):
3115         Stringification and concatenation.
3116         (hif-find-next-relevant): Fix comments.
3117         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
3118         some cases involving #elif.
3119         (hif-find-define, hif-add-new-defines): New functions for automatically
3120         scanning of defined symbols.
3121         (hide-ifdef-guts): Fix for defined symbol auto scanning.
3122         (hide-ifdef-undef): Fix behavior to match CPP.
3124 2014-06-25  Glenn Morris  <rgm@gnu.org>
3126         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
3127         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
3128         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
3129         files.  They are not relevant to the original issue (bug#1004),
3130         and cause unnecessary recompilation (bug#2151).
3132 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3134         * play/landmark.el: Use lexical-binding and avoid `intangible'.
3135         (landmark--last-pos): New var.
3136         (landmark--intangible-chars): New const.
3137         (landmark--intangible): New function.
3138         (landmark-mode, landmark-move): Use it.
3139         (landmark-mode): Remove properties.
3140         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
3141         (landmark-cross-qtuple):
3142         Don't worry about `intangible' any more.
3143         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
3144         (landmark-init-display): Don't set `intangible' and `point-entered'.
3145         (square): Remove.  Inline it instead.
3146         (landmark--distance): Rename from `distance'.
3147         (landmark-calc-distance-of-robot-from): Rename from
3148         calc-distance-of-robot-from.
3149         (landmark-calc-smell-internal): Rename from calc-smell-internal.
3151 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
3153         * files.el (dir-locals-find-file, file-relative-name):
3154         * info.el (Info-complete-menu-item):
3155         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
3156         to compare-strings to avoid out-of-range errors.
3157         * subr.el (string-prefix-p): Adjust to match strict range
3158         checking in compare-strings.
3160 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
3162         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
3163         for comment lines non-greedy and stopping at newlines to fix stack
3164         overflows with large files.
3166 2014-06-24  Eli Barzilay  <eli@barzilay.org>
3168         * calculator.el (calculator-last-input): Drop 'ascii-character property
3169         lookup.
3171 2014-06-24  Leo Liu  <sdl.web@gmail.com>
3173         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
3174         tab-stop-list to nil.  (Bug#16381)
3176         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
3177         (indent-rigidly-left-to-tab-stop)
3178         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
3179         (move-to-tab-stop): Change callers.
3181 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
3183         * skeleton.el (skeleton-insert): Yet another fix of the doc string
3184         wrt behavior of \n as the first/last element of a skeleton.
3186 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
3188         * net/tramp-adb.el (tramp-adb-handle-process-file):
3189         * net/tramp-sh.el (tramp-sh-handle-process-file):
3190         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
3191         the output buffer when DISPLAY is non-nil.  (Bug#17815)
3193 2014-06-24  Glenn Morris  <rgm@gnu.org>
3195         * play/landmark.el (landmark-move-down, landmark-move-up):
3196         Fix 2007-10-20 change - preserve horizontal position.
3198 2014-06-23  Sam Steingold  <sds@gnu.org>
3200         * simple.el (kill-append): Remove undo boundary depending on ...
3201         (kill-append-merge-undo): New user option.
3203 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3205         * simple.el (handle-shift-selection, exchange-point-and-mark)
3206         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
3207         (transient-mark-mode): Use&set the global value.
3208         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
3209         * emulation/edt.el (edt-emulation-off): Save&restore the global
3210         transient-mark-mode setting.
3211         * obsolete/pc-select.el (pc-selection-mode): Use the
3212         transient-mark-mode function.
3214 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
3216         * international/fontset.el (script-representative-chars):
3217         Add representative characters for scripts added in Unicode 7.0.
3218         (otf-script-alist): Synchronize with the latest registry of OTF
3219         script tags.
3221         * international/characters.el (char-script-table): Update for
3222         scripts added and codepoint ranges changed in Unicode 7.0.
3224 2014-06-23  Eli Barzilay  <eli@barzilay.org>
3226         * calculator.el (calculator-standard-displayer): Fix bug in use of
3227         `calculator-groupize-number'.
3228         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
3229         `eval' code, so it works in v24.3.1 too.
3230         (calculator-last-input): Comment to clarify purpose.
3232 2014-06-22  Mario Lang  <mlang@delysid.org>
3234         * textmodes/rst.el (rst-comment-region): From from -> from.
3236         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
3238 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
3240         * electric.el (electric-layout-post-self-insert-function):
3241         * emacs-lisp/ert.el (ert--insert-infos):
3242         * obsolete/vi.el (vi-set-mark):
3243         * term.el (term-handle-scroll):
3244         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
3245         * wid-edit.el (widget-editable-list-value-create):
3246         Prefer point-marker to copy-marker of point.
3248 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3250         Fix completion retrieval parsing (bug#17209).
3251         * progmodes/python.el (python-mode):
3252         (python-util-strip-string): New function.
3253         (python-shell-completion-get-completions): Use it.
3255 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
3257         * skeleton.el (skeleton-insert): Fix last change.
3259 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3261         Enhancements for outline integration (bug#17796).
3262         * progmodes/python.el (python-mode): Properly set
3263         outline-heading-end-regexp so that comments after colons for
3264         defuns are supported.
3266 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
3268         * skeleton.el (skeleton-insert): Doc fix.
3270 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3272         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
3273         (smie-config-guess): Use smie-config-local so the rules are obeyed
3274         (bug#17818).
3276         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
3277         since it's already done inside the loop (bug#17819).
3279 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
3281         * mouse.el (mouse-drag-line): Re-remove code initially removed
3282         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
3283         (Bug#17819).
3285 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3287         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
3288         align with the surrounding parent (bug#17721).
3290 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
3292         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
3293         locally to nil.
3294         (texinfo-insert-block, texinfo-insert-@end)
3295         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
3296         local setting of skeleton-end-newline by adding an explicit \n to
3297         the skeletons where appropriate.  (Bug#17801)
3299 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3301         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
3302         (smie-indent--hanging-p): Use it.
3303         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
3305 2014-06-21  Leo Liu  <sdl.web@gmail.com>
3307         * simple.el (read-quoted-char): Don't let help chars pop up help
3308         buffer.  (Bug#16617)
3310 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3312         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
3313         for | (bug#17621).
3315         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
3316         Drop unknown events instead of burping.
3318 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
3320         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
3321         and later.  (Bug#17790)
3323 2014-06-21  Juri Linkov  <juri@jurta.org>
3325         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
3326         to `soft'.  (Bug#17554)
3328 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3330         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
3331         (bug#17737).
3333 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
3335         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
3336         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
3338 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
3340         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
3341         `unread-command-events'.
3343 2014-06-19  William Xu  <william.xwl@gmail.com>
3345         * progmodes/hideif.el (hif-string-to-number): Don't return float for
3346         hex integer constants (bug#17807).
3348 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3350         * international/mule-util.el (truncate-string-ellipsis): New var.
3351         (truncate-string-to-width): Use it.
3353 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
3355         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
3356         (lisp-string-in-doc-position-p): New function, extracted from
3357         lisp-font-lock-syntactic-face-function.
3358         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
3360 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
3362         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
3364 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3366         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
3367         (bubbles--game-over): Don't add `intangible' properties since they
3368         didn't work anyway.
3370 2014-06-18  Juri Linkov  <juri@jurta.org>
3372         * vc/ediff-init.el (ediff-current-diff-Ancestor)
3373         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
3374         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
3375         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
3376         Add `min-colors 88' version with removed black/white foregrounds.
3377         (Bug#10181)
3379 2014-06-18  Juri Linkov  <juri@jurta.org>
3381         * vc/diff-mode.el (diff-changed): Empty face definition to use
3382         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
3383         (diff-context): Use darker color on light background and
3384         lighter color on dark background.
3386 2014-06-18  Juri Linkov  <juri@jurta.org>
3388         * vc/diff-mode.el (diff-refine-changed): Rename from
3389         `diff-refine-change' for consistency with `diff-changed'.
3390         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
3392         * vc/smerge-mode.el (smerge-refined-changed): Rename from
3393         `smerge-refined-change'.
3394         (smerge-refined-change): Add obsolete face alias.
3396 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3398         * rect.el (rectangle-preview): New custom.
3399         (rectangle): New group.
3400         (rectangle--pos-cols): Add `window' argument.
3401         (rectangle--string-preview-state, rectangle--string-preview-window):
3402         New vars.
3403         (rectangle--string-flush-preview, rectangle--string-erase-preview)
3404         (rectangle--space-to, rectangle--string-preview): New functions.
3405         (string-rectangle): Use them.
3406         (rectangle--inhibit-region-highlight): New var.
3407         (rectangle--highlight-for-redisplay): Obey it.  Make sure
3408         `apply-on-region' uses the point-crutches of the right window.
3409         Use :align-to rather than multiple spaces.
3411 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
3413         * ruler-mode.el (ruler-mode-window-col)
3414         (ruler-mode-mouse-set-left-margin)
3415         (ruler-mode-mouse-set-right-margin): Fix calculation of column
3416         from mouse position (Bug#17768).
3418 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
3420         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
3421         without varname or rhs causes crash.
3422         (dun-ftp): Fix bug where blank ftp password is allowed, making it
3423         impossible to win endgame.
3424         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
3425         rlogin is anymore.
3426         (dun-help): Bump version number; update contact info.
3428 2014-06-15  Eli Barzilay  <eli@barzilay.org>
3430         * calculator.el (calculator-prompt, calculator-remove-zeros)
3431         (calculator-mode-hook, calculator-operators, calculator-stack)
3432         (calculator-mode): Tweak docstring.
3433         (calculator-user-operators): Tweak docstring, fix a bug in the last
3434         example.
3435         (calculator-displayer): `std' case has an optional boolean.
3436         (calculator-displayers): Use the new boolean to group in decimal mode.
3437         (calculator-mode-map, calculator, calculator-message)
3438         (calculator-op-arity, calculator-add-operators)
3439         (calculator-string-to-number, calculator-displayer-prev)
3440         (calculator-displayer-next, calculator-remove-zeros)
3441         (calculator-eng-display, calculator-number-to-string)
3442         (calculator-update-display, calculator-last-input)
3443         (calculator-clear-fragile, calculator-digit, calculator-decimal)
3444         (calculator-exp, calculator-saved-move, calculator-clear)
3445         (calculator-copy, calculator-put-value, calculator-help)
3446         (calculator-expt, calculator-truncate): Minor code improvements.
3447         (calculator-need-3-lines): New function pulling out code from
3448         `calculator'.
3449         (calculator-get-display): Rename from `calculator-get-prompt', and
3450         improved.
3451         (calculator-push-curnum): Rename from `calculator-curnum-value', and
3452         extended for all uses of it.  All callers changed.
3453         (calculator-groupize-number): New utility for splitting a number into
3454         groups.
3455         (calculator-standard-displayer): Improve code, new optional argument to
3456         use comma-split groups, make second argument optional too to use with
3457         'left/'right inputs.  All callers changed.
3458         (calculator-reduce-stack-once): New utility, doing the meat of what
3459         `calculator-reduce-stack' used to do, much improved (mostly using
3460         `pcase' for conciseness and clarity).
3461         (calculator-reduce-stack): Now doing just the reduction loop using
3462         `calculator-reduce-stack-once'.
3463         (calculator-funcall): Improve code, make it work in v24.3.1 too.
3464         (calculator-last-input): Improve code, remove some old cruft.
3465         (calculator-quit): Kill `calculator-buffer' in electric mode too.
3466         (calculator-integer-p): Remove.
3467         (calculator-fact): Improve code, make it work on non-integer values
3468         too (using truncated numbers).
3470 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
3472         Sync with Tramp 2.2.10.
3474         * net/tramp.el (tramp-methods): Tweak docstring.
3475         (tramp-handle-file-accessible-directory-p): Check for
3476         `file-readable-p' instead of `file-executable-p'.
3477         (tramp-check-cached-permissions):
3478         Use `tramp-compat-file-attributes'.
3479         (tramp-call-process): Add new argument VEC.  Adapt callees in all
3480         tramp*.el files.
3482         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
3483         (tramp-adb-maybe-open-connection): Don't set
3484         `tramp-current-*' variables.
3486         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
3487         file properties of temporary buffers.
3489         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
3491         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
3492         (tramp-gvfs-handle-delete-file): Flush file
3493         properties, not directory properties.
3494         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
3495         reading "unix::mode".
3496         (tramp-gvfs-handle-file-name-all-completions):
3497         Use "-h" option for "gvfs-ls".
3498         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
3499         (tramp-gvfs-send-command): Simplify traces.
3501         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
3502         (vc-git-program, vc-hg-program): Declare.
3503         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
3504         (tramp-methods) <nc>: Add new method.
3505         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
3506         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
3507         `tramp-login-args'.
3508         (tramp-default-user-alist): Add "nc".
3509         (top): Remove completion function for "sftp".  Add completion
3510         functions for "nc" and "psftp".
3511         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
3512         Implement support for "nc" method.
3513         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
3514         (tramp-remote-coding-commands, tramp-call-local-coding-command):
3515         Tweak docstring.
3516         (tramp-sh-handle-write-region): Tweak error message.
3517         (tramp-sh-handle-vc-registered): Remove backends when the remote
3518         binary does not exist.
3519         (tramp-find-inline-encoding): Do not raise an error.
3520         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
3521         the "nc" case.  Quote result also locally.
3523         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3524         (tramp-smb-handle-set-file-acl): Use `start-process'.
3525         (tramp-smb-handle-insert-directory): Use progress reporter.
3526         (tramp-smb-handle-rename-file): Flush also file properties of
3527         FILENAME.
3529         * net/trampver.el: Update release number.
3531 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3533         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
3534         add-to-list.
3535         (ses-localvars): Remove ses--local-printer-list, unused.
3536         (ses--metaprogramming): New macro.  Use it to defvar variables.
3537         (ses-set-localvars): Simplify.
3538         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
3539         property-list into an alist.
3540         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
3541         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
3542         Remove; use defstruct accessors/setters instead.
3543         (ses-cell-formula-aset, ses-cell-printer-aset)
3544         (ses-cell-references-aset): Remove, use setf instead.
3545         (ses--alist-get): New function.
3546         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
3547         Use an alist instead of a plist and don't do move-to-front since the
3548         list is always short.
3549         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
3550         (ses-cell-property-set-fun, ses-cell-property-set)
3551         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
3552         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
3553         (ses--letref): New macro.
3554         (ses-cell-property-pop): Rewrite.
3555         (ses--cell): Rename from ses-cell and make it into a function.
3556         Make `formula' fallback on `value' if nil.
3557         (ses--local-printer): Rename from ses-local-printer and make it into
3558         a function.
3559         (ses-set-cell): Turn it into a macro so finding the accessor from the
3560         field name is done at compile time.
3561         (ses-repair-cell-reference-all): Test presence of `sym' rather than
3562         `ref' before adding `sym' to :ses-repair-reference.
3563         (ses-calculate-cell): Use ses--letref rather than
3564         ses-cell-property-get-handle.
3565         (ses-write-cells): Use a single prin1-to-string.
3566         (ses-setter-with-undo): New function.
3567         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
3568         (ses-unset-with-undo): Remove.
3569         (ses-load): Prefer apply' over `eval'.
3570         (ses-read-printer, ses-set-column-width): Use standard "(default
3571         foo)" format.
3573 2014-06-15  Glenn Morris  <rgm@gnu.org>
3575         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
3577         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
3578         Replace delete-duplicates and mapcan by cl- versions throughout.
3579         And cl-macroexpand-all by macroexpand-all.
3580         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
3582 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
3584         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
3586 2014-06-15  Juri Linkov  <juri@jurta.org>
3588         * bindings.el: Put `ascii-character' property on keypad keys
3589         mapped to characters.  (Bug#17759)
3591 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3593         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
3594         bumping forward into a closing paren (bug#17761).
3596         * term/xterm.el (xterm--version-handler): Work around for OSX
3597         Terminal.app (bug#17607).
3599 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
3601         * play/dunnet.el (dun-describe-room, dun-mode):
3602         If a lamp is in the room, you won't be eaten by a grue.
3604 2014-06-13  Glenn Morris  <rgm@gnu.org>
3606         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
3607         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
3608         (compile-always): GNU make automatically passes
3609         command-line arguments to sub-makes.
3611         * calendar/calendar.el (calendar-generate-window):
3612         Remove pointless call to font-lock-fontify-buffer.
3614 2014-06-13  Matthias Meulien  <orontee@gmail.com>
3616         * simple.el (completion-list-mode-map): Navigate with tab and backtab
3617         (bug#17767).
3619 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3621         * simple.el (set-mark-command): Simplify a bit.
3623 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3625         * help.el (help--key-binding-keymap): New function.
3626         (help--binding-locus): New function.
3627         (describe-key): Mention the keymap in which the binding was
3628         found. (bug#13948)
3630 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3632         * hippie-exp.el (he--all-buffers): New function.
3633         (try-expand-line-all-buffers, try-expand-list-all-buffers)
3634         (try-expand-dabbrev-all-buffers): Use it.
3636 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
3638         * hippie-exp.el (try-expand-line-all-buffers)
3639         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
3640         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
3641         original buffer, in case they're buffer-local.
3643 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3645         * ses.el (ses-initial-global-parameters-re): New defconst, a
3646         specific regexp is needed now that ses.el can handle both
3647         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
3648         local printers.
3649         (ses-localvars): Add local variables needed for local printer handling.
3650         (ses-set-localvars): Handle hashmap initialisation.
3651         (ses-paramlines-plist): Add param-line for number of local printers.
3652         (ses-paramfmt-plist): New defconst, needed for code factorization
3653         between functions `ses-set-parameter' and
3654         `ses-file-format-extend-paramter-list'
3655         (ses-make-local-printer-info): New defsubst.
3656         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
3657         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
3658         (ses-cell-printer-aset): New defmacro.
3659         (ses-local-printer-compile): New defun.
3660         (ses-local-printer): New defmacro.
3661         (ses-printer-validate, ses-call-printer): Add support for local
3662         printer functions.
3663         (ses-file-format-extend-paramter-list): New defun.
3664         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
3665         factorization.
3666         (ses-load): Add support for local printer functions.
3667         (ses-read-printer): Update docstring and add support for local printer
3668         functions.
3669         (ses-refresh-local-printer, ses-define-local-printer): New defun.
3670         (ses-safe-printer): Add support for local printer functions.
3672 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
3674         * ffap.el (ffap-lax-url): New var (bug#17723).
3675         (ffap-url-at-point): Use it.
3676         (ffap-file-at-point): Avoid returning just "/".
3678 2014-06-12  Matthias Meulien  <orontee@gmail.com>
3680         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
3681         (python-mode-map): Bind it.
3683         * progmodes/python.el (class skeleton): Don't erase last char of class
3684         name (bug#17683).
3686 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
3688         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
3690 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
3692         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
3693         (bug#17745).
3695 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3697         * international/mule-cmds.el: Use lexical-binding.
3698         (ucs-names): Simplify.
3700 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
3702         * progmodes/python.el (run-python): Use read-shell-command.
3704 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3706         * rect.el: Make it possible to move bounds past EOL or into TABs.
3707         (operate-on-rectangle): Use apply-on-rectangle.
3708         (rectangle--mark-crutches): New var.
3709         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
3710         (rectangle--crutches, rectangle--reset-crutches): New functions.
3711         (apply-on-rectangle): Obey crutches.  Avoid setq.
3712         Fix missing final iteration if end is at EOB&BOL.
3713         (rectangle-mark-mode-map): Add remap bindings for
3714         exchange-point-and-mark and char/line movements.
3715         (rectangle--*-char): New function.
3716         (rectangle-exchange-point-and-mark, rectangle-right-char)
3717         (rectangle-left-char, rectangle-forward-char)
3718         (rectangle-backward-char, rectangle-next-line)
3719         (rectangle-previous-line): New commands.
3720         (rectangle--place-cursor): New function.
3721         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
3723 2014-06-08  Glenn Morris  <rgm@gnu.org>
3725         * startup.el (initial-buffer-choice): Doc fix.
3726         Reset :version (adding an option does not merit a :version bump).
3728         * bookmark.el (bookmark-load):
3729         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
3731 2014-06-08  Juri Linkov  <juri@jurta.org>
3733         * desktop.el: Activate auto-saving on window configuration changes.
3734         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
3735         `desktop-auto-save-set-timer' to/from
3736         `window-configuration-change-hook'.
3737         (desktop-auto-save-set-timer): Change REPEAT arg of
3738         `run-with-idle-timer' from t to nil.
3739         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
3741 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
3743         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
3744         vc-hg-command (bug#17570).
3746 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3748         * international/mule-cmds.el (ucs-names): Add special entry for BEL
3749         (bug#17702).
3751 2014-06-08  Glenn Morris  <rgm@gnu.org>
3753         * startup.el (window-setup-hook): Doc fix.
3755         * emacs-lisp/package.el (package-check-signature)
3756         (package-unsigned-archives): Doc fixes.
3758 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
3760         * window.el (display-buffer-use-some-window): Don't make window
3761         used smaller than it was before (Bug#17671).
3763 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
3765         * menu-bar.el (menu-bar-open): Fix last change: use the PC
3766         'redisplay' instead of '(sit-for 0)'.
3768 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
3770         * net/tramp.el (tramp-ssh-controlmaster-options):
3771         Improve search regexp.  (Bug#17653)
3773 2014-06-08  Glenn Morris  <rgm@gnu.org>
3775         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
3777 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
3779         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
3781 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
3783         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
3784         (bug#17586).
3786         * vc/vc-hg.el (vc-hg-log-graph): New var.
3787         (vc-hg-print-log): Use it.
3788         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
3789         graph output (bug#17515).
3791 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3793         * mouse.el (mouse-posn-property): Ignore buffer position info when the
3794         even happened elsewhere.
3796 2014-06-06  Mario Lang  <mlang@delysid.org>
3798         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
3799         `recenter' if `current-buffer' is equal to `window-buffer'.
3801 2014-06-05  Leo Liu  <sdl.web@gmail.com>
3803         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
3805 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
3807         * textmodes/tildify.el (tildify-foreach-region-outside-env):
3808         New function which calls a callback on portions of the buffer that are
3809         outside of ignored environments.
3810         (tildify-build-regexp): Remove function since it is now
3811         incorporated in `tildify-foreach-region-outside-env' where it is
3812         optimized and simplified by the use of `mapconcat'.
3813         (tildify-tildify): Return number of substitutions made so that…
3814         (tildify-count): …can be removed.
3815         (tildify-find-env): Accept a new PAIRS argument which was
3816         previously looked up in `tildify-ignored-environments-alist' each
3817         time the function was called.  With this change, the lookup is
3818         performed only once in `tildify-foreach-region-outside-env'.
3819         (tildify-region): Greatly simplify the function since now most of
3820         the work is done by `tildify-foreach-region-outside-env'.
3821         (tildify-mode-alist): Simplify slightly by avoiding if and setq
3822         and instead using or.
3824         * textmodes/tildify.el (tildify-ignored-environments-alist):
3825         Optimize environments regexes
3827         Each time beginning of an environment to ignore is found,
3828         `tildify-find-env' needs to identify regexp for the ending
3829         of the environment.  This is done by trying all the opening
3830         regexes on matched text in a loop, so to speed that up, this
3831         loop should have fewer things to match, which can be done by
3832         using alternatives in the opening regexes.
3834         Coincidentally, this should make matching of the opening
3835         regexp faster as well thanks to the use of `regexp-opt' and
3836         having common prefix pulled from many regexes.
3838         * textmodes/tildify.el (tildify-string-alist)
3839         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
3840         of supported modes since `xml-mode' is no longer a thing but just
3841         an alias to the former.  Also include comments and insides of tags
3842         in `tildify-ignored-environments-alist' for XML modes.  Finally,
3843         since XML does not define “&nbsp;”[1], use a numeric reference for
3844         a no-break space (namely “&#160;”)
3846         [1] XML specification defines only a handful of predefined entities.
3847             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
3848             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
3849             >, &, ' and " respectively).  This is in contrast to HTML and even
3850             XHTML which defined a whole bunch of entities including “&nbsp;”.
3852         * textmodes/tildify.el (tildify-pattern-alist)
3853         (tildify-string-alist, tildify-ignored-environments-alist):
3854         Improve defcustom's types by adding more tags explaining what each
3855         value means and replace “sexp” used in
3856         `tildify-ignored-environments-alist' with a full type declaration.
3858         * textmodes/tildify.el (tildify-find-env): Fix matched group
3859         indexes in end-regex building
3861         When looking for a start of an ignore-environment, the regex is built
3862         by concatenating regexes of all the environments configured in
3863         `tildify-ignored-environments-alist'.  So for example, the following
3864         list could be used to match TeX's \verb and \verb* commands:
3866             (("\\\\verb\\(.\\)" . (1))
3867              ("\\\\verb\\*\\(.\\)" . (1)))
3869         This would result in the following regex being used to find the start
3870         of any of the variants of the \verb command:
3872             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
3874         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
3875         won't match anything, and thus (match-string 1) will be nil, which
3876         will cause building of the end-matching regex to fail.
3878         Fix this by using capture groups from the time when the opening
3879         regexes are matched individually.
3881         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
3882         in `tildify-find-env'
3884         The `tildify-ignored-environments-alist' allows the end-regex to
3885         be provided not as a static string but mix of strings and indexes
3886         of groups matched the begin-regex.  For example, the “\verb!…!”
3887         TeX-command (where “!” is an arbitrary character) is handled
3888         using:
3890             ("\\\\verb\\*?\\(.\\)" . (1))
3892         In the same way, the following should be supported as well:
3894             ("open-\\(.\\)" . ("end-" 1))
3896         However the tildify-find-env function fails at
3898             (concat result
3899                     (if (stringp (setq aux (car expression)))
3900                          expression  ; BUG: expression is a list
3901                        (regexp-quote (match-string aux))))
3903         where the string part is handled incorrectly.
3905         The most trivial fix would be to replace `expression' in the
3906         true-part of the if-statement with `aux', but instead, this commit
3907         optimizes `tildify-find-env' by changing it to use `mapconcat'
3908         rather than open-coded while-loop.
3910 2014-06-05  Mario Lang  <mlang@delysid.org>
3912         * woman.el (woman-mapcan): Remove.
3913         (woman-parse-colon-path): Use cl-mapcan instead.
3915 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3917         * register.el: Add link to Emacs manual in Commentary.
3919 2014-06-02  Sam Steingold  <sds@gnu.org>
3921         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
3922         (popup-menu): ...here.
3923         (menu-bar-open): Use it to avoid an error when `lookup-key'
3924         returns a number.
3926 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
3928         * net/tramp.el (tramp-call-process): Add traces.
3929         (tramp-handle-unhandled-file-name-directory): Return "/".
3931 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
3933         Sync with upstream verilog-mode revision 3cd8144.
3934         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
3935         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
3936         (verilog-type-font-keywords): Add nor.
3937         (verilog-batch-execute-func): Force reading of Local Variables.
3938         Fix printing "no changes to be saved" with verilog-batch.
3939         (verilog-auto-arg-ports): Doc fix.
3940         Add verilog-auto-arg-format to support newlines in AUTOARG.
3941         (verilog-auto-arg): Doc fix.
3943 2014-06-02  Glenn Morris  <rgm@gnu.org>
3945         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
3946         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
3947         * emulation/ws-mode.el: Move to obsolete/.
3948         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
3950 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
3952         * simple.el (keyboard-quit): Force update of mode lines, to remove
3953         the "Def" indicator, if we were defining a macro.  (Bug#17615)
3955 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3957         * minibuffer.el (minibuffer-force-complete-and-exit):
3958         Obey minibuffer-default (bug#17545).
3960         * progmodes/js.el (js-indent-line): Don't mix columns and chars
3961         (bug#17619).
3963         * subr.el (set-transient-map): Don't wait for some "nested"
3964         transient-map to finish if we're only supposed to be active for
3965         the next command (bug#17642).
3967 2014-06-02  Leo Liu  <sdl.web@gmail.com>
3969         * emacs-lisp/gv.el (window-buffer, window-display-table)
3970         (window-dedicated-p, window-hscroll, window-point, window-start):
3971         Fix gv-expander.  (Bug#17630)
3973 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3975         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
3976         clicks (bug#17633).
3978         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
3979         for the single comma, since ", " is *very* common in normal French text
3980         (bug#17643).
3982 2014-06-02  Glenn Morris  <rgm@gnu.org>
3984         * emacs-lisp/package.el (package-check-signature)
3985         (package-unsigned-archives): Fix :version.
3987 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3989         * subr.el (sit-for): Don't run input-methods (bug#15614).
3991 2014-06-02  Glenn Morris  <rgm@gnu.org>
3993         * cus-start.el: Fix some :version numbers.
3995 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3997         * simple.el (deactivate-mark): Set mark-active to nil even if
3998         deactivation is done via setting transient-mark-mode to nil,
3999         since one is buffer-local and the other is global.
4001         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
4002         there can't be more than 2 arguments (bug#17584).
4004 2014-06-02  Glenn Morris  <rgm@gnu.org>
4006         * simple.el (filter-buffer-substring-functions)
4007         (filter-buffer-substring-function, buffer-substring-filters)
4008         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
4010         * minibuffer.el (completion-in-region-functions, completion-in-region)
4011         (completion--in-region): Doc fixes.
4013         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
4014         (expand-abbrev, abbrev--default-expand): Doc fixes.
4016 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
4018         Include sources used to create macuvs.h.
4019         * international/README: Refer to the Unicode Terms of Use rather
4020         than copying it bodily here, as that simplifies maintenance.
4022 2014-06-01  Glenn Morris  <rgm@gnu.org>
4024         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
4026 2014-05-31  Glenn Morris  <rgm@gnu.org>
4028         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
4030 2014-05-30  Glenn Morris  <rgm@gnu.org>
4032         * loadup.el: Treat `command-line-args' more flexibly.
4034 2014-05-30  Alan Mackenzie  <acm@muc.de>
4036         Guard (looking-at "\\s!") from XEmacs.
4037         * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
4039 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>
4041         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
4042         The argument COUNT is now optional, to be more backward-compatible.
4043         Doc fix.  (Bug#17560)
4045 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
4047         * whitespace.el (whitespace-report-region):
4048         Simplify documentation.
4049         (whitespace-report-region): Allow report-if-bogus to take the
4050         value `never', for non-interactive use.
4051         (whitespace-report): Refer to whitespace-report-region's
4052         documentation.
4054 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4056         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
4057         Side benefit: it works without jit-lock.
4058         (whitespace-point--used): New buffer-local var.
4059         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
4060         (whitespace-color-off): Use font-lock-flush.
4061         (whitespace-point--used, whitespace-point--flush-used): New functions.
4062         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
4063         (whitespace-empty-at-eob-regexp): Use them.
4064         (whitespace-post-command-hook): Rewrite.
4066         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
4067         (font-lock-fontify-buffer): Mark interactive-only.
4068         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
4069         Make buffer-local.
4070         (font-lock-specified-p): Remove redundant boundp check.
4071         (font-lock-flush-function, font-lock-ensure-function): New vars.
4072         (font-lock-turn-on-thing-lock): Set them.
4073         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
4074         (font-lock-after-change-function): Make `old-len' optional.
4075         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
4076         Call font-lock-flush, just in case.
4077         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
4078         recent Emacsen.
4079         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
4080         (vera-mode-map, vera-mode-menu): Remove bindings to it.
4081         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
4082         and with-syntax-table.
4083         * textmodes/conf-mode.el (conf-quote-normal):
4084         * progmodes/sh-script.el (sh-set-shell):
4085         * progmodes/prog-mode.el (prettify-symbols-mode):
4086         * progmodes/f90.el (f90-font-lock-n):
4087         * progmodes/cwarn.el (cwarn-mode):
4088         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
4089         * progmodes/compile.el (compilation-setup, compilation--unsetup):
4090         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
4091         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
4092         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
4093         font-lock-fontify-buffer-function and
4094         font-lock-unfontify-buffer-function.
4095         (rmail-unfontify-buffer-function, rmail-fontify-message):
4096         Use with-silent-modifications.
4097         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
4098         and font-lock-ensure.
4099         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
4101 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
4103         * emacs-lisp/package.el (package-generate-autoloads):
4104         Inhibit backup files.
4106 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4108         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
4109         (bug#17608).
4111 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
4113         * textmodes/tildify.el (tildify-buffer, tildify-region):
4114         Add dont-ask option.
4116 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4118         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
4119         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
4121         * subr.el (internal--funcall-interactively): New.
4122         (internal--call-interactively): Remove.
4123         (called-interactively-p): Detect funcall-interactively instead of
4124         call-interactively.
4125         * simple.el (repeat-complex-command): Use funcall-interactively.
4126         (repeat-complex-command--called-interactively-skip): Remove.
4128 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4130         * register.el (register-read-with-preview): Don't burp on
4131         frame switches (e.g. due to the frame we just popped).
4133         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
4134         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
4136 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
4138         * cus-face.el (custom-face-attributes): Add :distant-foreground.
4140 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
4142         * window.el (window--dump-frame): Remove interactive specification.
4144 2014-05-26  Glenn Morris  <rgm@gnu.org>
4146         * hippie-exp.el (he-line-search-regexp):
4147         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
4149 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
4151         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
4152         to avoid errors when trying to create or visit a file foo.todo
4153         located outside to todo-directory, and to allow having such files
4154         without them being tied to Todo mode (bug#17482).
4155         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
4156         (todo-archive-done-item, todo-find-filtered-items-file)
4157         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
4158         (todo-category-completions, todo-read-category): When visiting a
4159         Todo file, make sure we're in the right mode and the buffer local
4160         variables are set.
4161         (todo-make-categories-list, todo-reset-nondiary-marker)
4162         (todo-reset-done-string, todo-reset-comment-string):
4163         After processing all Todo files, kill the buffers of those files that
4164         weren't being visited before the processing.
4165         (todo-display-as-todo-file, todo-add-to-buffer-list)
4166         (todo-visit-files-commands): Comment out.
4167         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
4168         (auto-mode-alist): Remove add-to-list calls making Todo file
4169         extensions unrestrictedly tied to Todo modes.
4171 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4173         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
4174         (advice-function-member-p): Tell it to check both names and functions
4175         (bug#17531).
4176         (advice--add-function): Adjust call accordingly.
4178 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
4180         * calendar/todo-mode.el: Miscellaneous bug fixes.
4181         (todo-delete-file): When deleting an archive but not its todo
4182         file, make sure to update the todo file's category sexp.
4183         (todo-move-category): Keep the moved category's name unless the
4184         file moved to already has a category with that name.  If the
4185         numerically last category of the source file was moved, make the
4186         first category current to avoid selecting a nonexisting category.
4187         (todo-merge-category): Fix implementation to make merging to a
4188         category in another file work as documented.  Eliminate now
4189         insufficient and unnecessary renaming of archive category, correct
4190         document string accordingly, and clarify it.  If the numerically
4191         last category of the source file was merged, make the first
4192         category current to avoid selecting a nonexisting category.
4193         (todo-archive-done-item): When there are marked items and point
4194         happens to be on an unmarked item, ignore the latter.  Don't leave
4195         point below last item after archiving marked items.
4196         (todo-unarchive-items): Fix logic to ensure unarchiving an item
4197         from an archive with only one category deletes the archive only
4198         when the category is empty after unarchiving.  Make sure the todo
4199         file's category sexp is updated.
4200         (todo-read-file-name): Allow an existing file name even when it is
4201         not required (todo-move-category needs this to work as documented).
4202         (todo-add-file): Call todo-validate-name to reject the name of an
4203         existing todo file (needed due to fix in todo-read-file-name).
4204         (todo-reset-nondiary-marker): Also reset in filtered items files.
4205         (todo-reset-done-string, todo-reset-comment-string): Also reset in
4206         regexp filtered items files.
4207         (todo-reset-highlight-item): Also reset in filtered items files.
4208         Fix incorrect variable reference in document string.
4210 2014-05-26  Glenn Morris  <rgm@gnu.org>
4212         * window.el (window--dump-frame): Avoid error in --without-x builds.
4214 2014-05-26  Glenn Morris  <rgm@gnu.org>
4216         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
4218 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
4220         * frame.el (set-frame-font): Doc fix.
4222         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
4224 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
4226         * emacs-lisp/package.el (package--download-one-archive):
4227         Use `write-region' instead of `save-buffer' to avoid running various
4228         hooks.  (Bug#17155)
4229         (describe-package-1): Same.  Insert newline at the end of the
4230         buffer if appropriate.
4232 2014-05-26  Juri Linkov  <juri@jurta.org>
4234         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
4235         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
4236         Add more modifiers: meta, control, shift, hyper, super, alt.
4237         (Bug#17439)
4239         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
4240         to allow changing its value with `set-variable'.
4242 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4244         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
4245         #; comments.
4246         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
4247         New functions.
4248         (scheme-mode-variables): Set syntax-propertize-function instead of
4249         font-lock-syntactic-face-function.
4250         (scheme-font-lock-syntactic-face-function): Delete.
4252         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
4254         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
4255         (bug#17392).
4257 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
4259         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
4260         for a temporary file name.
4262 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
4264         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
4266 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
4268         * net/dbus.el (dbus-init-bus, dbus-call-method)
4269         (dbus-call-method-asynchronously, dbus-send-signal)
4270         (dbus-method-return-internal, dbus-method-error-internal):
4271         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
4273 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4275         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
4276         methods which do not have a doc string.  (Bug#17490)
4278 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
4280         * textmodes/reftex-ref.el (reftex-format-special): Make it work
4281         also for AMS Math's \eqref macro.
4283 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
4285         Arrange to never byte-compile the generated -pkg.el file.
4287         * emacs-lisp/package.el (package-generate-description-file):
4288         Output first-line comment to set buffer-local var `no-byte-compile'.
4289         Suggested by Dmitry Gutov:
4290         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
4292 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
4294         Fix bug: Properly quote args to generated -pkg.el `define-package'.
4296         * emacs-lisp/package.el (package-generate-description-file):
4297         Inline `package--alist-to-plist'; rewrite to selectively
4298         quote alist values that are not self-quoting.
4299         (package--alist-to-plist): Delete func.
4301 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
4303         * term/xterm.el (xterm-function-map): Add mapping for shifted
4304         keypad keys.
4306 2014-05-24  Daniel Colascione  <dancol@dancol.org>
4308         * progmodes/subword.el (subword-find-word-boundary): Move point to
4309         correct spot before search. (Bug#17580)
4311         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
4312         breaking the build.
4314 2014-05-24  Leo Liu  <sdl.web@gmail.com>
4316         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
4318 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4320         * minibuffer.el (completion--sreverse): Remove.
4321         (completion--common-suffix): Use `reverse' instead.
4322         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
4324 2014-05-22  Glenn Morris  <rgm@gnu.org>
4326         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
4328 2014-05-21  Daniel Colascione  <dancol@dancol.org>
4330         * files.el (interpreter-mode-alist): Add mksh.
4332         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
4333         derivative.
4334         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
4335         mksh. Improve custom spec; allow regular expressions.
4336         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
4337         (sh-after-hack-local-variables): New function.
4338         (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
4339         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
4340         the normalization.
4341         (sh-canonicalize-shell): Rewrite to support regexes.
4343 2014-05-21  Leo Liu  <sdl.web@gmail.com>
4345         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
4347 2014-05-19  Leo Liu  <sdl.web@gmail.com>
4349         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
4351 2014-05-18  Glenn Morris  <rgm@gnu.org>
4353         * loadup.el:
4354         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
4356 2014-05-14  Sam Steingold  <sds@gnu.org>
4358         * progmodes/python.el (python-shell-get-or-create-process):
4359         Do not bind `current-prefix-arg' so that C-c C-z does not talk
4360         back unless requested.
4362 2014-05-14  Glenn Morris  <rgm@gnu.org>
4364         * subr.el (with-file-modes): New macro.
4365         * printing.el (pr-save-file-modes): Make obsolete.
4366         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
4367         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
4368         Add with-file-modes.
4369         * doc-view.el (doc-view-make-safe-dir):
4370         * epg.el (epg--start):
4371         * files.el (locate-user-emacs-file, make-temp-file)
4372         (backup-buffer-copy, move-file-to-trash):
4373         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
4374         * eshell/esh-util.el (eshell-with-private-file-modes)
4375         (eshell-make-private-directory):
4376         * net/browse-url.el (browse-url-mosaic):
4377         * obsolete/mailpost.el (post-mail-send-it):
4378         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
4379         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
4380         Use with-file-modes.
4382         * vc/emerge.el (emerge-make-temp-file): Simplify.
4384 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
4385             Stefan Monnier  <monnier@iro.umontreal.ca>
4387         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
4388         suffix (bug#15419).
4390 2014-05-14  Glenn Morris  <rgm@gnu.org>
4392         * vc/emerge.el (emerge-temp-file-prefix):
4393         Make pointless option obsolete.
4394         (emerge-temp-file-mode): Make non-functional option obsolete.
4396 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
4398         * net/browse-url.el (browse-url):
4399         Use `unhandled-file-name-directory' when setting `default-directory',
4400         in order to circumvent stalled remote connections.  (Bug#17425)
4402 2014-05-14  Glenn Morris  <rgm@gnu.org>
4404         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
4405         Optimize on Emacs, which has the relevant functions for ages.
4407 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4409         * simple.el (undo-make-selective-list): Obey undo-no-redo.
4411 2014-05-12  Sam Steingold  <sds@gnu.org>
4413         * calendar/time-date.el (seconds-to-string): New function to
4414         pretty print time delay in seconds.
4416 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4418         * mpc.el (mpc-format): Trim Date to the year.
4419         (mpc-songs-hashcons): Shorten the Date field.
4421         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
4422         into autoloading just because of a silly indirection.
4424 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
4426         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
4428 2014-05-12  Glenn Morris  <rgm@gnu.org>
4430         * emacs-lisp/find-gc.el: Move to ../admin.
4432         * printing.el (pr-version):
4433         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
4435         * net/browse-url.el (browse-url-mosaic):
4436         Create /tmp/Mosaic.PID as a private file.
4438 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4440         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
4441         (advice--member-p): If name is given, only compare the name.
4442         (advice--remove-function): Don't stop at the first match.
4443         (advice--normalize-place): New function.
4444         (add-function, remove-function): Use it.
4445         (advice--add-function): Pass the name, if any, to
4446         advice--remove-function.
4448 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
4450         * electric.el (electric-indent-post-self-insert-function): Don't use
4451         `pos' after modifying the buffer (bug#17449).
4453 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
4455         * calendar/todo-mode.el (todo-insert-item-from-calendar):
4456         Correct argument list to conform to todo-insert-item--basic.
4458 2014-05-12  Glenn Morris  <rgm@gnu.org>
4460         * files.el (cd-absolute): Test if directory is accessible
4461         rather than executable.  (Bug#17330)
4463         * progmodes/compile.el (recompile):
4464         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
4466         * net/browse-url.el (browse-url-mosaic):
4467         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
4468         This is CVE-2014-3423.
4470 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4472         * mouse.el: Use the normal toplevel loop while dragging.
4473         (mouse-set-point): Handle multi-clicks.
4474         (mouse-set-region): Handle multi-clicks for drags.
4475         (mouse-drag-region): Update call accordingly.
4476         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
4477         Use the normal event loop instead of a local while/read-event loop.
4478         (global-map): Remove redundant bindings for double/triple-mouse-1.
4479         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
4480         Generate synthetic down events when the protocol only sends up events.
4481         (xterm-mouse-last): Remove.
4482         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
4483         terminal parameter instead.
4484         (xterm-mouse--set-click-count): New function.
4485         (xterm-mouse-event): Detect/generate double/triple clicks.
4486         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
4488         * info.el (Info-quoted): New face.
4489         (Info-mode-font-lock-keywords): New var.
4490         (Info-mode): Use it.
4492         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
4493         are a hindrance for C-x C-e.
4495 2014-05-11  Leo Liu  <sdl.web@gmail.com>
4497         * net/rcirc.el (rcirc-sentinel): Fix last change.
4499 2014-05-08  Sam Steingold  <sds@gnu.org>
4501         * net/rcirc.el (rcirc-reconnect-delay): New user option.
4502         (rcirc-sentinel): Auto-reconnect to the server if
4503         `rcirc-reconnect-delay' is non-0 (but not more often than its
4504         value in case the host is off-line).
4506 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
4508         * progmodes/grep.el (lgrep): Fix a typo in last commit.
4510 2014-05-09  Glenn Morris  <rgm@gnu.org>
4512         * files.el (file-expand-wildcards):
4513         * man.el (Man-support-local-filenames):
4514         * printing.el (pr-i-directory, pr-interface-directory):
4515         * progmodes/grep.el (lgrep, rgrep):
4516         * textmodes/ispell.el (ispell-call-process)
4517         (ispell-call-process-region, ispell-start-process)
4518         (ispell-init-process): Use file-accessible-directory-p.
4520 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4522         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
4523         (xterm-mouse--read-event-sequence-1000): Return nil if something
4524         looks fishy.
4525         (xterm-mouse-event): Propagate it.
4526         (xterm-mouse-translate-1): Handle it.
4528 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
4530         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
4531         four slots of the parameter list are filled, make sure to pass it
4532         to the argument list of todo-insert-item--basic.
4534 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4536         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
4537         Add optional `seen' argument to detect and break infinite loops.
4539 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
4541         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
4542         (trace-unsafe, trace-use-tree): Make parentheses style be
4543         according to Emacs style.
4545 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
4547         * net/tramp-sh.el (tramp-remote-process-environment):
4548         Remove HISTFILE and HISTSIZE; it's too late to set them here.
4549         Add :version entry.
4550         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
4551         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
4552         extra "PSx=..." commands.
4553         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
4554         (Bug#17295)
4556         (tramp-uudecode): Replace the hard-coded temporary file name by a
4557         format specifier.
4558         (tramp-remote-coding-commands): Enhance docstring.
4559         (tramp-find-inline-encoding): Replace "%t" by a temporary file
4560         name.  (Bug#17415)
4561         This is CVE-2014-3424.
4563 2014-05-08  Glenn Morris  <rgm@gnu.org>
4565         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
4566         (find-gc-source-files): Update some names.
4567         (trace-call-tree): Simplify and update.
4568         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
4569         This is CVE-2014-3422.
4571 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4573         * minibuffer.el (completion--try-word-completion): Revert fix for
4574         Bug#15980 (bug#17375).
4576         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
4577         Always store button numbers in the same way in xterm-mouse-last;
4578         Don't burp is xterm-mouse-last is not set as expected.
4579         Never return negative indices.
4581 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
4583         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4584         Backtrack one char if the global/char-literal var matcher hits
4585         inside a string.  The next char could be the beginning of an
4586         expression expansion.
4588 2014-05-08  Glenn Morris  <rgm@gnu.org>
4590         * help-fns.el (describe-function-1): Test for an autoload before a
4591         macro, since `macrop' works on autoloads.  (Bug#17410)
4593 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4595         * electric.el (electric-indent-functions-without-reindent): Add yaml.
4597         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
4598         Make sure the new point we return is within the new string (bug#17239).
4600 2014-05-05  Daniel Colascione  <dancol@dancol.org>
4602         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4603         Port `gnu' pattern to rx.
4605 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
4607         Remove unneeded prompt when closing a buffer with active
4608         emacsclient ("Buffer ... still has clients"), #16548.
4609         * server.el (server-start): Remove the only call to:
4610         (server-kill-buffer-query-function): Remove.
4612 2014-05-04  Leo Liu  <sdl.web@gmail.com>
4614         * calendar/diary-lib.el (calendar-chinese-month-name-array):
4615         Defvar to pacify compiler.
4617 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
4619         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
4621 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4623         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
4624         Use nil rather than `default' for the "default" appearance (bug#17388).
4625         * vc/ediff-util.el (ediff-inferior-compare-regions)
4626         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
4627         a misleading `default' value when it's really a boolean.
4628         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
4629         overlay is not visible.
4631 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
4633         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
4634         (todo-menu): Uncomment and update.
4636 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
4638         * calendar/todo-mode.el: Reimplement item editing to have the same
4639         basic user interface as item insertion, and make small UI and
4640         larger internal improvements to the latter.
4641         (todo-insert-item): Add reference to the Todo mode user manual to
4642         the documentation string.
4643         (todo-insert-item--basic): Rename from todo-basic-insert-item and
4644         adjust all callers.  Change signature to combine diary and
4645         nonmarking arguments.  Incorporate functionality of deleted item
4646         copying command and add error checking.  Remove detailed
4647         descriptions of the arguments from the documentation string, since
4648         this is treated in the Todo mode user manual.
4649         (todo-copy-item, todo-edit-multiline-item)
4650         (todo-edit-done-item-comment, todo-edit-item-header)
4651         (todo-edit-item-time, todo-edit-item-date-from-calendar)
4652         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
4653         (todo-edit-item-date-year, todo-edit-item-date-month)
4654         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
4655         Remove.
4656         (todo-edit-item): Reimplement as wrapper command for
4657         todo-edit-item--next-key and make it distinguish done and not done
4658         todo items.
4659         (todo-edit-item--text): New function, replacing old command
4660         todo-edit-item and incorporating deleted commands
4661         todo-edit-multiline-item and todo-edit-done-item-comment.
4662         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
4663         Use only numeric value of prefix argument.  Remove detailed
4664         descriptions of the arguments from the documentation string, since
4665         this is treated in the Todo mode user manual.
4666         (todo-edit-item--diary-inclusion): New function, replacing old
4667         command todo-edit-item-diary-inclusion and incorporating and fixing
4668         functionality of deleted command todo-edit-item-diary-nonmarking,
4669         making sure to remove todo-nondiary-marker when adding
4670         diary-nonmarking-symbol.
4671         (todo-edit-category-diary-inclusion): Make sure to delete
4672         diary-nonmarking-symbol when adding todo-nondiary-marker.
4673         (todo-edit-category-diary-nonmarking): Fix indentation.
4674         (todo-insert-item--parameters): Group diary and nonmarking
4675         parameters together.
4676         (todo-insert-item--apply-args): Adjust to signature of
4677         todo-insert-item--basic and incorporate copy parameter.
4678         Make small code improvements.
4679         (todo-insert-item--next-param): Improve prompt and adjust it to
4680         new parameter grouping.  Remove obsolete code.
4681         (todo-edit-item--param-key-alist)
4682         (todo-edit-item--date-param-key-alist)
4683         (todo-edit-done-item--param-key-alist): New defconsts.
4684         (todo-edit-item--prompt): New variable.
4685         (todo-edit-item--next-key): New function.
4686         (todo-key-bindings-t): Bind "e" to todo-edit-item.
4687         Remove bindings of deleted commands.
4689 2014-05-04  Leo Liu  <sdl.web@gmail.com>
4691         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
4693 2014-05-04  Glenn Morris  <rgm@gnu.org>
4695         * allout-widgets.el (allout-widgets-tally)
4696         (allout-decorate-item-guides):
4697         * menu-bar.el (menu-bar-positive-p):
4698         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
4699         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
4700         * progmodes/js.el (js--inside-param-list-p)
4701         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
4702         * progmodes/prolog.el (region-exists-p):
4703         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
4704         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
4705         Doc fixes (replace `iff').
4707 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4709         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
4711 2014-05-04  Leo Liu  <sdl.web@gmail.com>
4713         Support Chinese diary entries in calendar and diary.  (Bug#17393)
4714         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
4715         (calendar-chinese-from-absolute-for-diary)
4716         (calendar-chinese-to-absolute-for-diary)
4717         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
4718         (diary-chinese-list-entries): New functions to list and mark
4719         Chinese diary entries in the calendar window.
4720         (diary-chinese-anniversary)
4721         (diary-chinese-insert-anniversary-entry)
4722         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
4723         (diary-chinese-insert-yearly-entry): New commands to insert
4724         Chinese diary entries.
4726         * calendar/diary-lib.el (diary-font-lock-keywords):
4727         Support font-locking Chinese dates.
4729         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
4730         inserting Chinese diary entries.
4732         * calendar/calendar.el (diary-chinese-entry-symbol):
4733         New customizable variable.
4734         (calendar-mode-map): Add bindings for inserting Chinese diary
4735         entries.
4737 2014-05-03  Juri Linkov  <juri@jurta.org>
4739         * dired.el (dired-check-switches, dired-switches-recursive-p):
4740         New functions.  (Bug#17218)
4741         (dired-switches-escape-p, dired-move-to-end-of-filename):
4742         Use `dired-check-switches'.
4743         (dired-insert-old-subdirs, dired-build-subdir-alist)
4744         (dired-sort-R-check): Use `dired-switches-recursive-p'.
4746 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
4748         * simple.el (undo-make-selective-list): New algorithm fixes
4749         incorrectness of position adjustments when undoing in region.
4750         (Bug#17235)
4751         (undo-elt-crosses-region): Make obsolete.
4752         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
4753         New functions to adjust positions using undo-deltas.
4755 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4757         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
4758         the last consecutive closing paren (bug#17345).
4760 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
4762         * dired.el (dired-mode): make terminology for eXpunge command
4763         consistent.  (Bug#17276)
4765 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
4767         * dired.el (dired-initial-position-hook, dired-initial-position):
4768         Doc string fixes.
4770 2014-04-30  Glenn Morris  <rgm@gnu.org>
4772         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
4774 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
4776         * faces.el (face-spec-recalc): Apply X resources only after the
4777         defface spec has been applied. Thus, X resources are no longer
4778         overriden by the defface spec which also fixes issues on win32 where
4779         the toolbar coloring was wrong because it is set through X resources
4780         and was (wrongfully) overriden.  (Bug#16694)
4782 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4784         * textmodes/rst.el (electric-pair-pairs): Declare.
4785         (rst-mode): Set it (bug#17131).
4787 2014-04-30  Juri Linkov  <juri@jurta.org>
4789         * desktop.el (desktop-value-to-string): Let-bind `print-length'
4790         and `print-level' to nil.  (Bug#17351)
4792 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4794         * battery.el (battery-update): Handle the case where battery
4795         status is "N/A" (bug#17319).
4797 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4799         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
4800         to syntax-propertize.
4801         (ps-mode-auto-indent): Mark as obsolete.
4802         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
4803         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
4804         word regexp operators.
4805         (ps-mode-map): Move initialization into declaration.  Remove binding
4806         for TAB, RET, >, ], and }.
4807         (ps-mode-syntax-table): Move initialization into declaration.
4808         Don't give word syntax to non-word chars.
4809         (ps-run-mode-map): Move initialization into declaration.
4810         (ps-mode-menu-main): Remove auto-indent entry.
4811         (ps-mode-smie-rules): New function.
4812         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
4813         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
4814         (ps-mode--string-syntax-table): New const.
4815         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
4816         New functions.
4817         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
4818         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
4820 2014-04-27  Daniel Colascione  <dancol@dancol.org>
4822         * term/xterm.el (xterm-paste): Use large finite timeout when
4823         reading event to avoid putting keys in this-command-keys.
4825 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4827         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
4828         (perl-syntax-propertize-function): Use it.  Extend handling of
4829         here-docs to the unquoted case.
4831 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
4833         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
4834         Use equal-including-properties to compare help-echo strings (bug#17331).
4836 2014-04-25  Leo Liu  <sdl.web@gmail.com>
4838         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4839         Fix syntax for @.  (Bug#17325)
4841 2014-04-25  Daniel Colascione  <dancol@dancol.org>
4843         * emacs-lisp/cl.el (gv): Require gv early to break eager
4844         macro-expansion cycles.
4846 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4848         * simple.el (region-active-p): Check there's a mark (bug#17324).
4850         * simple.el (completion-list-mode-map): Use choose-completion for the
4851         mouse binding as well (bug#17302).
4852         (completion-list-mode, completion-setup-function): Adjust docstring and
4853         echo area message accordingly.
4854         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
4855         calling convention of choose-completion.
4856         * comint.el (comint-dynamic-list-completions):
4857         * term.el (term-dynamic-list-completions): Accept choose-completion.
4859         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
4860         &, |, +, - and * can't be a division (bug#17317).
4862         * term/xterm.el (xterm--version-handler): Don't use modern xterm
4863         features on gnome-terminal (bug#16988).
4865 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
4867         Improve Scheme font-locking for (define ((foo ...) ...) ...).
4869         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
4870         the declared object, ignore zero or more parens, not zero or one.
4872 2014-04-24  Leo Liu  <sdl.web@gmail.com>
4874         * progmodes/xscheme.el (xscheme-expressions-ring)
4875         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
4876         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
4877         (xscheme-allow-output-p, xscheme-prompt)
4878         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
4880         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
4881         Comment out unused functions.
4883 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4885         * info.el: Use lexical-binding and cl-lib.
4886         Use defvar-local and setq-local instead of make-local-variable.
4887         (Info-apropos-matches): Avoid add-to-list.
4888         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
4890 2014-04-24  Daniel Colascione  <dancol@dancol.org>
4892         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
4894 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4896         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
4898 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
4900         * dired.el (dired-insert-set-properties): Do not consider
4901         subdirectory headings and empty lines to be information that
4902         `dired-hide-details-mode' should hide.  (Bug#17228)
4904 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
4906         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4907         Remove test messages.
4908         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
4909         and `target' twice.
4911 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4913         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
4914         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
4916         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
4918 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
4920         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4921         Set "IFS=" when using read builtin, in order to preserve spaces in
4922         the file name.  Add test messages for hunting a bug on hydra.
4923         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
4925 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4927         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4928         Don't prettify a word within a symbol.
4930 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
4932         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
4933         possible.
4935 2014-04-22  Daniel Colascione  <dancol@dancol.org>
4937         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
4938         use defun to define `function-put'.
4940 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4942         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
4943         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
4944         (lisp-mode-variables): Set font-lock-extra-managed-props.
4946         * emacs-lisp/byte-run.el (function-put): New function.
4947         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
4948         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
4949         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
4950         Use them.
4952 2014-04-22  Daniel Colascione  <dancol@dancol.org>
4954         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
4955         Add `full-p' parameter; when nil, call `macroexpand' instead of
4956         `macroexpand-all'.
4958         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
4959         Improve docstrings.
4961         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4962         Use lambda function values, not quoted lambdas.
4963         (byte-compile-recurse-toplevel): Remove extraneous &optional.
4965         * emacs-lisp/cl-macs.el
4966         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
4967         (cl-struct-slot-value): Conditionally use aref or nth so that the
4968         compiler produces optimal code.
4970 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4972         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
4973         (inline): Don't inline cl--set-elt.
4974         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
4975         Define as inlinable instead.
4976         (cl-struct-set-slot-value): Remove.
4978         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
4979         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
4980         Use setf instead.
4982 2014-04-21  Daniel Colascione  <dancol@dancol.org>
4984         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
4985         last two parameters after all.
4986         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
4987         (cl--compiler-macro-assoc,cl-struct-slot-value)
4988         (cl-struct-set-slot-value): Stop using them.
4990 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4992         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
4993         entry in image-mode-winprops-alist.
4995 2014-04-21  Daniel Colascione  <dancol@dancol.org>
4997         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
4998         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
4999         (byte-compile-toplevel-file-form): Use it.
5001         * emacs-lisp/cl-macs.el:
5002         (cl--loop-let): Properly destructure `while' clauses.
5004 2014-04-20  Daniel Colascione  <dancol@dancol.org>
5006         * vc/vc.el (vc-root-dir): New public autoloaded function for
5007         generically finding the current VC root.
5008         * vc/vc-hooks.el (vc-not-supported): New error.
5009         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
5011 2014-04-20  Daniel Colascione  <dancol@dancol.org>
5013         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
5014         argument.
5015         (cl--const-expr-val): cl--const-expr-val should macroexpand its
5016         argument in case we're inside a symbol-macrolet.
5017         (cl--do-arglist, cl--compiler-macro-typep)
5018         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
5019         environment to `cl--const-expr-val'.
5020         (cl-struct-sequence-type,cl-struct-slot-info)
5021         (cl-struct-slot-offset, cl-struct-slot-value)
5022         (cl-struct-set-slot-value): New functions.
5024 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5026         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
5027         assignments such as "case=hello" (bug#17297).
5029 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
5031         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
5032         Do not autoload.
5033         (tramp-file-name-handler, tramp-completion-file-name-handler):
5034         Revert patch from 2014-04-10, it isn't necessary anymore.
5035         (tramp-autoload-file-name-handler)
5036         (tramp-register-autoload-file-name-handlers): New defuns.
5037         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
5038         (tramp-register-file-name-handlers): Remove also
5039         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
5040         Do not autoload its invocation, but eval it after loading of 'tramp.
5042         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
5044         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
5046 2014-04-17  Daniel Colascione  <dancol@dancol.org>
5048         Add support for bracketed paste mode; add infrastructure for
5049         managing terminal mode enabling and disabling automatically.
5051         * xt-mouse.el:
5052         (xterm-mouse-mode): Simplify.
5053         (xterm-mouse-tracking-enable-sequence)
5054         (xterm-mouse-tracking-disable-sequence): New constants.
5055         (turn-on-xterm-mouse-tracking-on-terminal)
5056         (turn-off-xterm-mouse-tracking-on-terminal):
5057         Use tty-mode-set-strings and tty-mode-reset-strings terminal
5058         parameters instead of random hooks.
5059         (turn-on-xterm-mouse-tracking)
5060         (turn-off-xterm-mouse-tracking): Delete.
5062         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
5063         (xterm-paste-ending-sequence): New constant.
5064         (xterm-paste): New command used for bracketed paste support.
5066         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
5067         (terminal-init-xterm-bracketed-paste-mode): New function.
5068         (terminal-init-xterm): Call it.
5069         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
5070         and tty-mode-reset-strings instead of random hooks.
5071         (xterm-turn-on-modify-other-keys)
5072         (xterm-turn-off-modify-other-keys)
5073         (xterm-remove-modify-other-keys): Delete obsolete functions.
5075         * term/screen.el: Rewrite to just use the xterm code.
5076         Add copyright notice.  Mention tmux.
5078 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
5080         * image-mode.el (image-mode-window-put): Also update the property of
5081         the "default window".
5082         * doc-view.el (doc-view-new-window-function): If no window
5083         exists, move to the last known page.
5085 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5087         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
5088         here-documents (bug#17262).
5090 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
5092         * term/pc-win.el (x-list-fonts, x-get-selection-value):
5093         Provide doc strings, as required by snarf-documentation.
5095 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5097         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
5098         arg of overlays-at.  Use `invisible-p'.
5100         * obsolete/lucid.el (extent-at):
5101         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
5102         overlays-at.
5103         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
5105 2014-04-16  João Távora  <joaotavora@gmail.com>
5107         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
5108         links.  (Bug#17217).
5110 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
5112         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
5113         Use mapc to loop over a vector.  (Bug#17257).
5115 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
5117         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
5118         patch, there are new problems with file names containing spaces.
5119         Get rid of backticks.  (Bug#17238)
5121 2014-04-16  João Távora  <joaotavora@gmail.com>
5123         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
5124         possible bug.
5126 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
5128         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
5129         (blink-cursor-mode): Mention customization variables and the
5130         effect of 'blink-cursor-blinks'.
5132 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
5134         * simple.el (undo): Prevent insertion of identity mapping into
5135         undo-equiv-table so as undo-only does not inf loop in the presence
5136         of consecutive nils in undo list.
5138 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
5140         * faces.el (make-face): Deprecate optional argument as it is no
5141         longer needed/used since the conditional X resources handling
5142         has been pushed down to make-face-x-resource-internal itself.
5143         (make-empty-face): Don't pass optional argument to make-face.
5145 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
5147         * savehist.el (savehist-save): Remove workaround for a read-passwd
5148         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
5149         noticing that the shim was still present.
5151 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5153         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
5155 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
5157         * faces.el (face-set-after-frame-default): Remove unused local variable.
5159 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5161         * progmodes/grep.el: Use lexical-binding.
5162         (grep-expand-template): Pass explicit lexical env to `eval'.
5163         (zrgrep): Let-bind grep-find-template explicitly.
5165         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
5166         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
5168 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
5170         * international/characters.el <standard-case-table>: Add entries
5171         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
5172         Set category of Coptic characters be 'g' (Greek).
5174 2014-04-12  Leo Liu  <sdl.web@gmail.com>
5176         * progmodes/octave.el (completion-table-with-cache):
5177         Define if not available.
5178         (octave-goto-function-definition, octave-sync-function-file-names)
5179         (octave-find-definition-default-filename):
5180         Backquote upattern for compatibility.
5182 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
5184         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
5185         name twice due to backticks.  (Bug#17238)
5187 2014-04-12  Glenn Morris  <rgm@gnu.org>
5189         * term/w32-win.el (x-win-suspend-error):
5190         * term/x-win.el (x-win-suspend-error): Sync docs.
5192 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
5194         * faces.el (make-face): Remove deprecated optional argument.
5195         The conditional application of X resources is handled directly by
5196         make-face-x-resource-internal since Emacs 24.4.
5197         (make-empty-face): Don't pass optional argument to make-face.
5199 2014-04-11  Glenn Morris  <rgm@gnu.org>
5201         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
5203 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5205         Ediff's overlay priorities cause more trouble than they solve.
5206         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
5207         (ediff-highest-priority): Remove function (bug#17234).
5208         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
5209         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
5210         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
5211         overlay priorities.
5213 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
5215         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
5216         entry; use symbol boundaries to avoid mis-matches.
5218 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
5220         * net/tramp.el (tramp-file-name-handler)
5221         (tramp-completion-file-name-handler): Avoid recursive loading.
5223         * net/tramp-sh.el (tramp-make-copy-program-file-name):
5224         Quote result also locally.
5226 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5228         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
5229         Remove left-over code.
5231         * newcomment.el (comment-indent-new-line): Sink code where it's used.
5232         Reuse the previous comment's indentation unconditionally if it's on its
5233         own line.
5235 2014-04-09  Daniel Colascione  <dancol@dancol.org>
5237         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
5238         `no-syntax-crossing' arguments.  Forward to `up-list'.
5239         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
5240         Implement logic for escaping from strings.  Use narrowing to deal
5241         with corner cases.
5243 2014-04-09  Leo Liu  <sdl.web@gmail.com>
5245         * net/rcirc.el (rcirc-connection-info): New variable.
5246         (rcirc-connect): Use it to store connection info.
5247         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
5248         for killed process.
5249         (rcirc-cmd-reconnect): New command.  (Bug#17045)
5250         (rcirc-mode, set-rcirc-encode-coding-system)
5251         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
5253 2014-04-09  Daniel Colascione  <dancol@dancol.org>
5255         * emacs-lisp/cl-indent.el: Add comment claiming
5256         facility is also good for elisp.
5257         (lisp-indent-find-method): New function.
5258         (common-lisp-indent-function): Recognize cl-loop.
5259         (common-lisp-indent-function-1): Recognize cl constructs; use
5260         `lisp-indent-find-method' instead of `get' directly.
5261         (if): Use else-body style for elisp.
5263 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
5265         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5266         Module methods.  (Bug#17216)
5268 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5270         * help.el (describe-bindings): Fix buffer handling (bug#17210).
5271         (describe-bindings-internal): Mark obsolete.
5273 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5275         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
5276         buffer-file-name, and buffer-file-truename any more.
5278 2014-04-08  Leo Liu  <sdl.web@gmail.com>
5280         Use lexical-binding and require cl-lib.
5281         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
5282         (rcirc-handler-generic, rcirc-fill-paragraph)
5283         (rcirc-format-response-string, rcirc-target-buffer)
5284         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
5285         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
5286         (rcirc-ctcp-sender-PING, rcirc-browse-url)
5287         (rcirc-markup-timestamp, rcirc-markup-attributes)
5288         (rcirc-markup-my-nick, rcirc-markup-urls)
5289         (rcirc-markup-bright-nicks, rcirc-markup-fill)
5290         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
5291         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
5292         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
5293         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
5294         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
5295         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
5296         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
5297         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
5298         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
5299         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
5300         use cl-lib.
5302 2014-04-07  João Távora  <joaotavora@gmail.com>
5304         * elec-pair.el (electric-pair--syntax-ppss):
5305         When inside comments parse from comment beginning.
5306         (electric-pair--balance-info): Fix typo in comment.
5307         (electric-pair--in-unterminated-string-p): Delete.
5308         (electric-pair--unbalanced-strings-p): New function.
5309         (electric-pair-string-bound-function): New var.
5310         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
5311         according to `electric-pair--in-unterminated-string-p'
5313         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
5314         Inhibit quote pairing if point-max is inside an unterminated string.
5315         (electric-pair--looking-at-unterminated-string-p): Delete.
5316         (electric-pair--in-unterminated-string-p): New function.
5318 2014-04-07  Glenn Morris  <rgm@gnu.org>
5320         * shell.el (shell-directory-tracker):
5321         Go back to just ignoring failures.  (Bug#17159)
5323 2014-04-07  João Távora  <joaotavora@gmail.com>
5325         Fix `electric-pair-delete-adjacent-pairs' in modes binding
5326         backspace. (bug#16981)
5327         * elec-pair.el (electric-pair-backward-delete-char): Delete.
5328         (electric-pair-backward-delete-char-untabify): Delete.
5329         (electric-pair-mode-map): Bind backspace to a menu item filtering
5330         a new `electric-pair-delete-pair' command.
5331         (electric-pair-delete-pair): New command.
5333         * progmodes/python.el (python-electric-pair-string-delimiter):
5334         Fix triple-quoting electricity.  (Bug#17192)
5336         * elec-pair.el (electric-pair-post-self-insert-function):
5337         Don't skip whitespace when `electric-pair-text-pairs' and
5338         `electric-pair-pairs' were used. syntax to
5339         electric-pair--skip-whitespace.  (Bug#17183)
5341 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
5343         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
5344         "<F>".  (Bug#17199)
5346 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5348         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
5349         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
5351 2014-04-07  Glenn Morris  <rgm@gnu.org>
5353         * help.el (view-lossage): Doc tweak.
5355 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
5357         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
5358         only when inhibit-x-resources is nil, and do that earlier in the
5359         function.  Doc fix.  (Bug#16694)
5360         (face-spec-choose): Accept additional optional argument, whose
5361         value is returned if no matching attributes are found.
5362         (face-spec-recalc): Use the new optional argument when calling
5363         face-spec-choose.  (Bug#16378)
5364         (make-face-x-resource-internal): Do nothing when
5365         inhibit-x-resources is non-nil.  Don't touch the default face if
5366         reversed video is given--as was done in previous versions of Emacs.
5367         (face-set-after-frame-default): Don't call
5368         make-face-x-resource-internal here.  (Bug#16434)
5370 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
5372         * doc-view.el (doc-view-bookmark-jump):
5373         Use `bookmark-after-jump-hook' to jump to the right page after the
5374         buffer is shown in a window.  (bug#16090)
5376 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
5378         * international/characters.el (mirroring): Fix last change:
5379         instead of loading uni-mirrored.el explicitly, do that implicitly
5380         by creating the 'mirroring' uniprop table.  This avoids announcing
5381         the loading of uni-mirrored.el.
5383 2014-04-07  Glenn Morris  <rgm@gnu.org>
5385         * files.el (buffer-stale--default-function)
5386         (buffer-stale-function, revert-buffer--default):
5387         * autorevert.el (auto-revert-buffers): Doc tweaks.
5389 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
5391         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
5393 2014-04-07  Glenn Morris  <rgm@gnu.org>
5395         * files.el (make-backup-file-name-function)
5396         (make-backup-file-name, make-backup-file-name--default-function)
5397         (make-backup-file-name-1, find-backup-file-name)
5398         (revert-buffer-function, revert-buffer-insert-file-contents-function)
5399         (buffer-stale--default-function, buffer-stale-function)
5400         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
5401         (revert-buffer, revert-buffer--default)
5402         (revert-buffer-insert-file-contents--default-function):
5403         Doc fixes related to defaults no longer being nil.
5404         (make-backup-file-name-function): Bump :version.
5405         Restore nil as a valid but deprecated custom type.
5407 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5409         * progmodes/perl-mode.el (perl-syntax-propertize-function):
5410         Handle $' used as a variable (bug#17174).
5412         * progmodes/perl-mode.el (perl-indent-new-calculate):
5413         Handle forward-sexp failure (bug#16985).
5414         (perl-syntax-propertize-function): Add "foreach" and "for" statement
5415         modifiers introducing expressions (bug#17116).
5417 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5419         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
5421 2014-04-05  Leo Liu  <sdl.web@gmail.com>
5423         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5424         Add define-compilation-mode.
5426 2014-04-04  João Távora  <joaotavora@gmail.com>
5428         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
5429         parse from comment beginning.
5430         (electric-pair--balance-info): Fix typo in comment.
5431         (electric-pair--in-unterminated-string-p): Delete.
5432         (electric-pair--unbalanced-strings-p): New function.
5433         (electric-pair-string-bound-function): New var.
5434         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
5435         according to `electric-pair--in-unterminated-string-p'.
5437 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5439         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
5440         Move declaration before first use.
5441         (reftex-move-to-next-arg): Silence compiler warning.
5443 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
5445         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
5446         Use `window-total-width' instead of `window-width'.
5448 2014-04-03  Daniel Colascione  <dancol@dancol.org>
5450         * subr.el (set-transient-map): Remove rms's workaround entirely;
5451         use new `suspicious-object' subr to mark our lambda for closer
5452         scrutiny during gc.
5454 2014-04-02  Richard Stallman  <rms@gnu.org>
5456         * subr.el (set-transient-map): Comment out previous change.
5458 2014-04-02  Glenn Morris  <rgm@gnu.org>
5460         * menu-bar.el (menu-bar-file-menu):
5461         * vc/ediff.el (ediff-current-file):
5462         Update for revert-buffer-function no longer being nil by default.
5464         * simple.el (command-execute): Respect nil disabled-command-function.
5466 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5468         * simple.el (command-execute): Do not execute the command when it
5469         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
5471 2014-04-02  Juri Linkov  <juri@jurta.org>
5473         * dired-aux.el (dired-compress-file): Don't use string-match-p
5474         because its match data is used afterwards.
5476 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5478         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
5479         0 like nil.
5481 2014-04-02  João Távora  <joaotavora@gmail.com>
5483         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
5484         Inhibit quote pairing if point-max is inside an unterminated string.
5485         (electric-pair--looking-at-unterminated-string-p):
5486         Delete.
5487         (electric-pair--in-unterminated-string-p): New function.
5489 2014-04-01  Daniel Colascione  <dancol@dancol.org>
5491         * minibuffer.el (minibuffer-complete): Prevent assertion failure
5492         when trying to complete the prompt.
5494 2014-03-31  Leo Liu  <sdl.web@gmail.com>
5496         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5497         Refactor out eldoc-documentation-function-default.
5498         (eldoc-documentation-function-default): New function.
5499         (eldoc-documentation-function): Change value.
5501 2014-03-31  Glenn Morris  <rgm@gnu.org>
5503         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
5505         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
5506         (vhdl-compose-components-package, vhdl-compose-configuration):
5507         Abbreviate default-directory (missing from some previous upstream sync).
5509 2014-03-31  Reto Zimmermann  <reto@gnu.org>
5511         Sync with upstream vhdl mode v3.35.2.
5512         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
5513         (top-level): No longer require assoc.
5514         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
5515         New functions.  Use throughout to replace aget etc.
5516         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
5517         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
5518         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
5519         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
5520         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
5521         except `vhdl-compiler'.
5522         (vhdl-error-regexp-add-emacs): Remove all other compilers,
5523         when appropriate.
5525 2014-03-31  Glenn Morris  <rgm@gnu.org>
5527         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
5528         Revert 2014-03-26 merge goof; go back to using defalias.
5530 2014-03-30  Daniel Colascione  <dancol@dancol.org>
5532         * comint.el (comint-send-input):
5533         Deactivate completion-in-region-mode before we send comint input.
5534         (Bug#17139).
5536         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
5537         on keyboard-quit.
5539 2014-03-29  Glenn Morris  <rgm@gnu.org>
5541         * textmodes/reftex.el: Manage most autoloads automatically.
5542         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
5543         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
5544         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
5545         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
5546         * textmodes/reftex-toc.el: Set generated-autoload-file,
5547         and add autoload cookies for reftex.el.
5548         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
5550 2014-03-28  Glenn Morris  <rgm@gnu.org>
5552         * cus-start.el (report-emacs-bug-address): Set custom properties.
5553         * mail/emacsbug.el (report-emacs-bug-address):
5554         Variable is now defined in emacs.c.
5556         * mail/emacsbug.el (report-emacs-bug):
5557         Include system-configuration-features.
5559 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
5561         * simple.el (cycle-spacing): Never delete spaces on first run by
5562         default, but do so in a new 'fast mode and if there are already
5563         N spaces (the previous behavior).
5564         Compare N with its value in previous invocation so that changing
5565         prefix argument restarts `cycle-spacing' sequence.
5566         The idea is that with this change, binding M-SPC to
5567         `cycle-spacing' should not introduce any changes in behavior of
5568         the binding so long as users do not type M-SPC twice in a raw with
5569         the same prefix argument or lack thereof.
5571 2014-03-28  Glenn Morris  <rgm@gnu.org>
5573         * faces.el (term-file-aliases): New variable.
5574         (tty-run-terminal-initialization): Respect term-file-aliases.
5575         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
5576         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
5577         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
5579 2014-03-27  Glenn Morris  <rgm@gnu.org>
5581         * startup.el (inhibit-startup-hooks): Doc tweak.
5582         (normal-top-level): Simplify running of hooks.
5583         For window-setup-hook, respect inhibit-startup-hooks.
5584         (command-line-1): Don't set window-setup-hook to nil.
5586         Allow selective autoloading from obsolete/ directory.
5587         * Makefile.in (obsolete-autoloads): New rule.
5588         (autoloads): Run obsolete-autoloads.
5589         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
5590         * simple.el (iswitchb-mode): Remove hand-written autoloads.
5592 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
5594         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5595         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
5597         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5598         Don't propertize `?' or `!' as symbol constituent when after
5599         colon.  (Bug#17097)
5601 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
5603         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
5604         which is no longer needed and causes trouble in GTK builds (bug#17046).
5606         * emacs-lisp/package-x.el (package--archive-contents-from-url):
5607         Use url-insert-file-contents; package-handle-response no longer exists.
5609 2014-03-26  Daniel Colascione  <dancol@dancol.org>
5611         * simple.el (process-menu-mode-map): New variable.
5612         (process-menu-delete-process): New command.
5614 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
5616         * emacs-lisp/package.el: Fix bug#16733 (again).
5617         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
5618         (url-http-target-url): Remove unused declarations.
5619         (package-handle-response): Remove.
5620         (package--with-work-buffer): Use url-insert-file-contents and simplify.
5621         (package--download-one-archive): Use current-buffer instead of
5622         dynamic binding of `buffer'.
5623         (describe-package-1): Do not decode readme-string.
5625 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
5627         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
5629         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
5630         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
5631         `remote-file-name-inhibit-cache' to nil in the second pass.
5632         (tramp-find-executable): Do not call "which" on SunOS.
5633         (tramp-send-command-and-check): Fix docstring.
5634         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
5635         check whether source directory has set the sticky bit.
5637 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
5639         * simple.el (primitive-undo): Only process marker adjustments
5640         validated against their corresponding (TEXT . POS).  Issue warning
5641         for lone marker adjustments in undo history.  (Bug#16818)
5642         (undo-make-selective-list): Add marker adjustments to selective
5643         undo list based on whether their corresponding (TEXT . POS) is in
5644         the region.  Remove variable adjusted-markers, which was unused
5645         and only non nil during undo-make-selective-list.
5646         (undo-elt-in-region): Return nil when passed a marker adjustment
5647         and explain in function doc.
5649 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5651         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
5653 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
5655         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
5656         Match special global variables without curlies, too.
5657         (ruby-font-lock-keywords): Simplify the matcher for special global
5658         variables.  Don't require a non-word character after the variable.
5659         (Bug#17057)
5661 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5663         * simple.el (redisplay-highlight-region-function): Increase priority of
5664         overlay to make sure boundaries are visible (bug#15899).
5666 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
5668         * frameset.el (frameset--initial-params): Fix typo in parameter name.
5669         (frameset-restore): Compare display strings with equal.
5671         * frame.el (make-frame): Don't quote display name in error message,
5672         it is already a string.
5674 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5676         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
5677         the password.
5679 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
5681         * emacs-lisp/package.el (package--add-to-archive-contents):
5682         Include already installed and built-in packages in
5683         `package-archive-contents'.
5684         (package-install): Don't include already installed packages in the
5685         options during interactive invocation.  (Bug#16762)
5686         (package-show-package-list): If the buffer is already displayed in
5687         another window, switch to that window.
5689 2014-03-26  Reto Zimmermann  <reto@gnu.org>
5691         Sync with upstream vhdl mode v3.35.1.
5692         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
5693         (vhdl-compiler-alist): Doc fix.
5694         (vhdl-goto-line): Remove.
5695         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
5696         (vhdl-mode) <paragraph-start>: Fix value.
5697         (vhdl-fix-statement-region): Not `for' in wait-statement.
5698         (vhdl-beautify-region): Also (un)tabify.
5699         (vhdl-get-visible-signals):
5700         Scan declarative part of generate statements.
5701         (vhdl-template-record): Fix indentation for record type declaration.
5702         (vhdl-expand-abbrev, vhdl-expand-paren):
5703         Revert to using fset again rather than defalias.
5704         (vhdl-scan-directory-contents): Tweak.
5705         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
5706         (vhdl-compose-components-package):
5707         Replace vhdl-goto-line with forward-line.
5708         (top-level): Tweak speedbar frame selection.
5709         (vhdl-generate-makefile-1): Support for compilers with no
5710         unit-to-file name mapping (create directory with dummy files).
5712 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
5714         Sync with upstream verilog-mode revision 702457d.
5715         * progmodes/verilog-mode.el (verilog-mode-version): Update.
5716         (create-lockfiles): Declare.
5717         (verilog-read-decls): Fix module header imports, bug709.
5718         Reported by Victor Lau.
5719         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
5720         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
5721         interface-only modules, bug721.  Reported by Dean Hoyt.
5723 2014-03-26  Glenn Morris  <rgm@gnu.org>
5725         * obsolete/gulp.el: Move here from emacs-lisp/.
5727         * files.el (lock-buffer, unlock-buffer, file-locked-p):
5728         Remove fallback aliases, since they are always defined now.
5730 2014-03-24  Daniel Colascione  <dancol@dancol.org>
5732         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
5733         instead of cl-loop search function.
5735 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
5737         * calendar/parse-time.el (parse-time-iso8601-regexp)
5738         (parse-iso8601-time-string): Copy from `url-dav' so that we can use
5739         it more generally.
5741 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
5743         * net/dns.el (network-interface-list): Define for XEmacs.
5745 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
5747         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
5748         the network interfaces changed.
5749         (dns-query): Use it to flush the data.
5751 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
5753         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
5755 2014-03-23  Daniel Colascione  <dancol@dancol.org>
5757         Change subword-mode to use `find-word-boundary-function-table' and
5758         replace `capitalized-words-mode'.  Also, convert to lexical binding.
5759         * progmodes/cap-words.el: Delete now-obsolete file.
5760         * progmodes/subword.el: Reimplement using
5761         `find-word-boundary-function-table'.
5762         (subword-mode-map): Hollow out.
5763         (capitalized-words-mode): Define as obsolete alias for
5764         `subword-mode'.
5765         (subword-mode, superword-mode): Tweak documentation to reflect new
5766         implementation; call `subword-setup-buffer'.
5767         (subword-forward, subword-capitalize): Add underscore to indicate
5768         unused variable.
5769         (subword-find-word-boundary-function-table): New constant.
5770         (subword-empty-char-table): New constant.
5771         (subword-setup-buffer): New function.
5772         (subword-find-word-boundary): New function.
5774 2014-03-23  Daniel Colascione  <dancol@dancol.org>
5776         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
5777         list to look for keyword arguments instead of `memq', fixing
5778         (Bug#3647) --- unfortunately, only for freshly-compiled code.
5779         Please make bootstrap.
5781 2014-03-22  Glenn Morris  <rgm@gnu.org>
5783         * dired.el (dired-read-regexp): Make obsolete.
5784         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
5785         (dired-flag-files-regexp):
5786         * dired-aux.el (dired-mark-read-regexp):
5787         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
5789         * startup.el (fancy-startup-text):
5790         * help.el (describe-gnu-project): Visit online info about GNU project.
5792         * help-fns.el (help-fns--interactive-only): New function.
5793         (help-fns-describe-function-functions): Add the above function.
5794         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
5795         (next-line, previous-line): Remove hand-written interactive-only
5796         information from doc strings, it is auto-generated now.
5797         * bookmark.el (bookmark-write):
5798         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
5799         (epa-mail-import-keys): Mark interactive-only,
5800         and remove hand-written interactive-only information from doc strings.
5801         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
5802         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
5803         * files.el (not-modified):
5804         * simple.el (mark-whole-buffer): Mark interactive-only.
5806         * emacs-lisp/byte-run.el (defun-declarations-alist):
5807         Add interactive-only.  Doc tweak.
5808         (macro-declarations-alist): Doc tweak.
5809         * subr.el (declare): Doc tweak (add xref to manual).
5810         * comint.el (comint-run):
5811         * files.el (insert-file-literally, insert-file):
5812         * replace.el (replace-string, replace-regexp):
5813         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5814         (delete-forward-char, goto-line, insert-buffer, next-line)
5815         (previous-line): Set interactive-only via declare.
5817 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
5819         * emacs-lisp/package.el (package-desc): Use the contents of the
5820         quoted form, not its cdr.  (Bug#16873)
5822 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
5824         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
5825         benefit of doc.c; change parameter profile to match the X function.
5827 2014-03-22  Leo Liu  <sdl.web@gmail.com>
5829         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
5830         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
5832 2014-03-21  Richard Stallman  <rms@gnu.org>
5834         * battery.el (battery-linux-sysfs): Search for each field
5835         from the beginning of the buffer.
5837         * subr.el (set-transient-map): Clear out function and value
5838         of the temporary symbol when we're done with it.
5840         * mail/rmailsum.el (rmail-summary-delete-forward):
5841         Optimize case of reaching end and handling count.
5842         (rmail-summary-mark-deleted): Optimize when N is current msg.
5843         Don't create new summary line.
5844         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
5845         (rmail-summary-undelete-many): Rewrite for speed.
5846         (rmail-summary-msg-number): New function.
5848         * mail/rmail.el (rmail-delete-message): Update summary.
5849         (rmail-undelete-previous-message): Handle repeat count arg.
5850         (rmail-delete-backward, rmail-delete-forward): Likewise.
5852 2014-03-21  Daniel Colascione  <dancol@dancol.org>
5854         * mail/emacsbug.el (report-emacs-bug): Include memory usage
5855         information in bug reports.
5857 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
5859         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
5860         and `tramp-copy-env'.
5862         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
5863         (tramp-maybe-open-connection): Handle `tramp-login-env'.
5865 2014-03-21  Glenn Morris  <rgm@gnu.org>
5867         * electric.el (electric-indent-post-self-insert-function): Add doc.
5869 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
5871         * emacs-lisp/package.el (package-compute-transaction):
5872         Use `version-list-<=' to compare the requirement version against
5873         the version of package already to be installed.  Update the error
5874         message.  (Bug#16826)
5876         * progmodes/ruby-mode.el (ruby-smie-rules):
5877         Add indentation rule for ` @ '.  (Bug#17050)
5879 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
5881         * align.el (align-regexp): Remove superfluous backslash.
5883         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
5884         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
5885         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
5886         Fix docstring typos.
5887         (ffap-next): Use C-u in docstring.
5888         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
5889         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
5890         Remove superfluous backslashes.
5891         (ffap-string-at-point): Reflow docstring.
5893         * server.el (server-host): Reflow docstring.
5894         (server-unload-function): Fix docstring typo.
5895         (server-eval-at): Remove superfluous backslash.
5897         * skeleton.el (skeleton-insert): Remove superfluous backslash.
5898         (skeleton-insert): Doc fix.
5899         (skeleton-insert): Reflow docstring.
5901         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
5902         (tty-color-approximate, tty-color-by-index, tty-color-values)
5903         (tty-color-desc): Remove superfluous backslashes.
5905 2014-03-21  Glenn Morris  <rgm@gnu.org>
5907         * cus-start.el (history-length): Bump :version.
5909         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5910         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5911         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5912         Don't set `make-backup-files'.
5914         * info.el (info--prettify-description): New function,
5915         to give info-finder descriptions consistent case, punctuation.
5916         (Info-finder-find-node): Use it.  Sort packages.
5917         Refer to "description" rather than "commentary".
5919 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
5921         * frameset.el (frameset--print-register): New function.
5922         (frameset-to-register): Use it.
5924 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
5926         * progmodes/hideif.el (hif-string-to-number): New function.
5927         (hif-tokenize): Use it to understand non-decimal floats.
5929         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
5931         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
5933 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5935         * electric.el (electric-newline-and-maybe-indent): New command.
5936         Bind it globally to C-j.
5937         (electric-indent-mode): Don't mess with the global map any more.
5938         Don't drop the post-self-insert-hook is some buffer is still using it
5939         (bug#16770).
5941         * bindings.el (global-map): Remove C-j binding.
5943         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
5944         the docstring of functions advised before dumping (bug#16993).
5946 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
5948         * ps-print.el (ps-generate-postscript-with-faces):
5949         Explicitly deactivate the mark (bug#16866).
5950         * simple.el (deactivate-mark): Update region highlight.
5952 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
5954         * emacs-lisp/package.el (describe-package-1):
5955         Decode commentary (bug#16733).
5957 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
5959         * custom.el (defcustom): Doc fix: recommend avoiding destructive
5960         modification of the value argument of :set (bug#16755).
5962 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5964         * simple.el (newline-and-indent): Do autofill (bug#17031).
5966 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
5968         * newcomment.el (comment-normalize-vars): Only add escaping check
5969         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
5970         (comment-beginning): Use `narrow-to-region' instead of moving back
5971         one character.
5972         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
5973         (comment-start-skip): Update the docstring.
5975 2014-03-18  Richard Stallman  <rms@gnu.org>
5977         * dired.el (dired-display-file): Force use of other window.
5979 2014-03-18  Daniel Colascione  <dancol@dancol.org>
5981         * startup.el (tty-handle-args): Remove debug message from 2007.
5983 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5985         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
5986         (advice--make-interactive-form): Use it to avoid (auto)loading function.
5987         (advice--make-1, advice-add, advice-remove):
5988         Remove braindead :advice-pending hack.
5990 2014-03-17  Glenn Morris  <rgm@gnu.org>
5992         * calendar/calendar.el (calendar-generate-month): Apply weekend
5993         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
5995 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
5997         * net/tramp.el (tramp-action-out-of-band): Read pending output.
5998         (tramp-call-process): Trace also DESTINATION.
6000         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6001         Quote file names when they are local.  Remove superfluous trace.
6003 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
6005         * newcomment.el (comment-beginning): If `comment-start-skip'
6006         doesn't match, move back one char and try again.  (Bug#16971)
6008         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6009         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
6010         Set `comment-start-skip' to a simpler value that doesn't try to
6011         check if the semicolon is escaped (this is handled by
6012         `syntax-ppss' now).  (Bug#16971)
6014         * progmodes/scheme.el (scheme-mode-variables): Same.
6016 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
6018         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
6019         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
6020         current (Bug#16816, Bug#17007).
6021         (with-current-buffer-window): New macro doing the same as
6022         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
6023         * help.el (help-print-return-message): Warn in doc-string to not
6024         use this in `with-help-window'.
6025         (describe-bindings-internal): Call `describe-buffer-bindings'
6026         from within help buffer.  See Juanma's scenario in (Bug#16816).
6027         (with-help-window): Update doc-string.
6028         * dired.el (dired-mark-pop-up):
6029         * files.el (save-buffers-kill-emacs):
6030         * register.el (register-preview): Use `with-current-buffer-window'
6031         instead of `with-temp-buffer-window'.
6033 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
6035         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
6036         Implement inserting into current buffer, documented in their docstrings.
6037         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
6038         (rst-section-tree-point, rst-forward-section, rst-indent)
6039         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
6040         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
6041         (rst-font-lock-handle-adornment-pre-match-form)
6042         (rst-repeat-last-character): Reflow docstrings.
6043         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
6044         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
6045         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
6046         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
6047         Fix docstring typos.
6048         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
6049         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
6050         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
6052 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
6054         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
6055         for compatibility with other ports.
6056         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
6057         from the -xrm command line argument, but in the Nextstep port its value
6058         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
6060         * progmodes/python.el (defconst, python-syntax-count-quotes)
6061         (python-indent-region, python-indent-shift-right)
6062         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
6063         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
6064         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
6065         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
6066         (inferior-python-mode, python-shell-make-comint, run-python-internal)
6067         (python-shell-buffer-substring, python-shell-send-buffer)
6068         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
6069         (python-completion-complete-at-point, python-fill-docstring-style)
6070         (python-eldoc-function, python-imenu-format-item-label)
6071         (python-imenu-format-parent-item-label)
6072         (python-imenu-format-parent-item-jump-label)
6073         (python-imenu--build-tree, python-imenu-create-index)
6074         (python-imenu-create-flat-index): Fix docstring typos.
6075         (python-indent-context, python-shell-prompt-regexp, run-python):
6076         Remove superfluous backslashes.
6077         (python-indent-line, python-nav-beginning-of-defun)
6078         (python-shell-get-buffer, python-shell-get-process)
6079         (python-info-current-defun, python-info-current-line-comment-p)
6080         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
6081         (python-indent-post-self-insert-function, python-shell-send-file)
6082         (python-shell-completion-get-completions)
6083         (python-shell-completion-complete-or-indent)
6084         (python-eldoc--get-doc-at-point): Reflow docstrings.
6086 2014-03-14  Glenn Morris  <rgm@gnu.org>
6088         * emacs-lisp/package.el (package-menu-mode-map):
6089         Replace use of obsolete function alias.  Tweak menu item text.
6091         * info.el (Info-finder-find-node):
6092         Ignore the `emacs' metapackage.  (Bug#10813)
6094         * finder.el (finder-list-matches): Include unversioned packages
6095         in the result of a keyword search.
6097         * finder.el (finder--builtins-descriptions): New constant.
6098         (finder-compile-keywords): Use finder--builtins-descriptions.
6100 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
6102         * simple.el (blink-matching-paren): Describe the new value,
6103         `jump', enabling the old behavior.
6104         (blink-matching-open): Use that value.  (Bug#17008)
6106 2014-03-14  Glenn Morris  <rgm@gnu.org>
6108         * finder.el (finder-no-scan-regexp): Add leim-list.
6109         (finder-compile-keywords):
6110         Don't skip files with same basename.  (Bug#14010)
6111         * Makefile.in (setwins_finder): New, excluding leim.
6112         (finder-data): Use setwins_finder.
6114         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
6115         (help-function-arglist, help-make-usage): Move from here...
6116         * help.el (help-split-fundoc, help-add-fundoc-usage)
6117         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
6118         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
6120 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
6122         * net/socks.el (socks, socks-override-functions)
6123         (socks-find-services-entry):
6124         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
6125         (hif-find-ifdef-block):
6126         * progmodes/modula2.el (m2-indent): Fix docstring typos.
6128         * net/tls.el (tls-program): Reflow docstring.
6130         * progmodes/pascal.el (pascal-mode-abbrev-table)
6131         (pascal-imenu-generic-expression, pascal-auto-endcomments)
6132         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
6133         (pascal-outline-mode): Fix docstring typos.
6134         (pascal-mode): Let define-derived-mode document mode hook.
6135         (pascal-uncomment-area): Reflow.
6136         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
6138         * progmodes/opascal.el (opascal-compound-block-indent)
6139         (opascal-case-label-indent): Fix docstring typos.
6140         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
6142 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
6144         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6145         Fontify multiple adjacent negation chars.  (Bug#17004)
6147 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
6149         * emacs-lisp/package.el (package--prepare-dependencies):
6150         Accept requirements without explicit version (bug#14941).
6152 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
6154         * register.el (register-separator, copy-to-register): Doc fixes.
6155         (register-preview-default): Remove unnecessary call to concat.
6157         * frameset.el (frameset-restore): When checking for a visible frame,
6158         use the action map instead of calling visible-frame-list.
6160 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
6162         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
6164 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
6166         * window.el (fit-frame-to-buffer): Get maximum width from
6167         display's width instead of height.
6169 2014-03-12  Glenn Morris  <rgm@gnu.org>
6171         * desktop.el (desktop-restore-frames)
6172         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
6173         (desktop-restore-reuses-frames): Doc tweaks.
6175         * electric.el (electric-indent-mode): Doc fix.
6177 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
6179         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
6180         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
6181         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
6182         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
6183         (cvs-dired-use-hook): Fix docstring typos.
6184         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
6185         Doc fixes.
6187         * vc/pcvs-defs.el (cvs-auto-remove-handled)
6188         (cvs-auto-remove-directories, cvs-default-ignore-marks)
6189         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
6190         (cvs-execute-single-dir): Fix docstring typos.
6192         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
6193         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
6195         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
6197         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
6198         Fix docstring typos.
6200 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
6202         * frameset.el (frameset--jump-to-register): Add autoload; it could be
6203         called from jump-to-register after unloading the frameset package.
6205 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6207         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
6208         (bug#16975).  Deactivate the mark before setting it to nil.
6209         (activate-mark): Do nothing if region is already active.
6211 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
6213         * frameset.el (frameset--target-display): Remove definition; declare.
6214         (frameset-save, frameset-restore): Let-bind frameset--target-display.
6216 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6218         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
6219         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
6220         when the advice is pending.
6221         (advice-remove): Remove this marker when not needed any more.
6223 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
6225         * frameset.el: Separate options for reusing frames and cleaning up.
6226         (frameset--reuse-list): Remove definition; declare.
6227         (frameset--action-map): Declare.
6228         (frameset--find-frame-if): Doc fix.
6229         (frameset--restore-frame): Cache frame action.
6230         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
6231         how to clean up the frame list after restoring.  Remove cleaning
6232         options from REUSE-FRAMES.  Change all keyword values to symbols.
6233         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
6235         * desktop.el (desktop-restore-forces-onscreen)
6236         (desktop-restore-reuses-frames): Use non-keyword values.
6237         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
6239 2014-03-10  Glenn Morris  <rgm@gnu.org>
6241         * files.el (find-file): Doc fix: update info node name.
6243         * emacs-lisp/advice.el (ad-add-advice, defadvice):
6244         Doc fix: remove references to deleted info nodes.
6246 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
6248         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6249         Do not add nil to the environment, when there's no remote `locale'.
6250         (tramp-find-inline-encoding): Check, that the remote host has
6251         installed perl, before sending scripts.
6253 2014-03-10  Leo Liu  <sdl.web@gmail.com>
6255         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6256         Clear eldoc-last-message.  (Bug#16920)
6258 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6260         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
6261         (bug#14430).
6263 2014-03-09  Juri Linkov  <juri@jurta.org>
6265         * ansi-color.el (ansi-color-names-vector): Copy default colors
6266         from `xterm-standard-colors' that look well on the default white
6267         background (and also on the black background) to avoid illegible
6268         color combinations like yellow-on-white and white-on-white.
6269         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
6271 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
6273         * frameset.el (frameset-restore): When no frame is visible, do not
6274         generate a list of frames, just make visible the selected one.
6276 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
6278         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
6279         it only contains the repository root.  (Bug#16897)
6281 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
6283         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
6284         only when `remote-file-name-inhibit-cache' is nil.
6285         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
6287 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
6289         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
6290         Fix doc-strings.
6291         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
6292         fit-frame-to-buffer variable.  Fix doc-string.
6293         (fit-window-to-buffer): Set ONLY argument in call of
6294         fit-frame-to-buffer.  Fix doc-string.
6296 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
6298         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
6299         (tramp-action-password): Clear password cache if needed.
6300         (tramp-read-passwd): Do not clear password cache.
6302         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
6303         cache unless it is the first password request.
6305 2014-03-06  Glenn Morris  <rgm@gnu.org>
6307         * simple.el (newline): Doc tweak.
6309         * emacs-lisp/shadow.el (load-path-shadows-find):
6310         Ignore dir-locals.  (Bug#12357)
6312 2014-03-05  Glenn Morris  <rgm@gnu.org>
6314         * files.el (interpreter-mode-alist):
6315         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
6317 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
6319         * frameset.el (frameset--initial-params): Filter out null entries.
6321 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
6323         * window.el (window-min-height, window-min-width):
6324         Rewrite doc-strings.
6325         (window-body-size): Add PIXELWISE argument to make it consistent
6326         with its callees.
6328 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
6330         * finder.el (finder-mode-map, finder-mode-syntax-table):
6331         Revert part of 2014-02-28 change.
6333 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
6335         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
6336         (eww-setup-buffer): Clear next/prev/etc more reliably.
6337         (eww-textarea-map): [tab] doesn't work on tty.
6338         Reported by Mario Lang.
6340         * net/shr.el (shr-map): Ditto.
6342 2014-03-04  Glenn Morris  <rgm@gnu.org>
6344         * minibuffer.el (completion-hilit-commonality):
6345         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
6347 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
6349         * hilit-chg.el (hilit-chg-unload-function): New function.
6350         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
6351         (hilit-chg-map-changes): Prefer cardinal number to digit.
6352         (hilit-chg-display-changes): Reflow docstring.
6353         (highlight-changes-rotate-faces): Remove superfluous backslash.
6355 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
6357         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
6358         `tramp-send-command-and-check'.
6360 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
6362         * hexl.el (hexl-address-region, hexl-ascii-region)
6363         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
6364         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
6365         (hexl-forward-word, hexl-previous-line, hexl-next-line):
6366         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
6367         (hexl-mode): Doc fix.
6368         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
6369         (hexl-mode-ruler): Fix typos in docstrings.
6371         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
6372         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
6373         Remove superfluous backslashes.
6374         (strokes-last-stroke, strokes-global-map, strokes-mode):
6375         Reflow docstrings.
6376         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
6377         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
6378         (strokes-distance-squared, strokes-global-set-stroke)
6379         (strokes-global-set-stroke-string): Doc fixes.
6380         (strokes-help): Fix typos; reflow docstring.
6382 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
6384         * window.el (window-in-direction): Fix doc-string.
6386 2014-03-04  Glenn Morris  <rgm@gnu.org>
6388         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
6389         Explicit error if no grammar.
6390         (smie-config-save): Doc fix.  Fix quote typo.
6392 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6394         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
6395         electric-indent-mode-hook if we obey electric-indent-mode.
6396         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
6397         decide whether we obey electric-indent-mode.
6398         (c-change-set-fl-decl-start, c-extend-after-change-region):
6399         Silence warnings.
6400         (c-electric-indent-mode-hook): Assume we do want to obey
6401         electric-indent-mode.
6403         * electric.el (electric-indent-mode-has-been-called): Remove.
6404         (electric-indent-mode): Fix accordingly.
6406         * files.el (hack-local-variables): Mention file name in warning.
6408         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
6410 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
6412         * bindings.el: Add comment describing why C-d binds to `delete-char'.
6413         * simple.el (delete-forward-char): Mark as interactive-only.
6415 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
6417         * icomplete.el (icomplete-completions):
6418         Follow-up to 2014-03-01 change.
6420         * icomplete.el: Miscellaneous doc fixes.
6421         Use Icomplete everywhere instead of icomplete for consistency.
6422         (icomplete-max-delay-chars): Fix typo.
6423         (icomplete-mode): Use \[].
6424         (icomplete-tidy, icomplete-exhibit): Reflow.
6425         (icomplete-minibuffer-setup-hook, icomplete-completions):
6426         Remove superfluous backlashes.
6428         * ido.el: Miscellaneous doc fixes.
6429         Use Ido everywhere instead of ido or `ido' for consistency.
6430         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
6431         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
6432         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
6433         (ido-separator): Extract obsolescence info from docstring and declare
6434         with make-obsolete-variable.
6435         (ido-minibuffer-setup-hook): Simplify example.
6436         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
6437         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
6438         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
6439         (ido-everywhere): Reflow docstring.
6440         (ido-toggle-vc): Doc fix.
6441         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
6442         of long list of keybindings.
6444 2014-03-03  Glenn Morris  <rgm@gnu.org>
6446         * frame.el (display-pixel-height, display-pixel-width)
6447         (display-mm-dimensions-alist, display-mm-height)
6448         (display-mm-width): Doc tweaks.
6450 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
6452         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
6453         case of undo in region.
6455 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
6457         * window.el (fit-window-to-buffer): Fix argument in window-size
6458         call when window is horizontally combined.
6460 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
6462         * icomplete.el (icomplete-completions): Use string-width.
6463         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6465 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
6467         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6468         Highlight regexp options.  (Bug#16914)
6470 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
6472         * window.el (window--max-delta-1): Round down when calculating
6473         how many lines/columns we can get from a window.
6475 2014-03-01  Glenn Morris  <rgm@gnu.org>
6477         * isearch.el (search-invisible): Doc fix.
6479         * minibuffer.el (completion-hilit-commonality):
6480         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
6481         * comint.el (comint-dynamic-list-completions): Doc fix.
6482         * comint.el (comint-dynamic-list-completions):
6483         * filecache.el (file-cache-minibuffer-complete):
6484         * tempo.el (tempo-display-completions):
6485         * eshell/em-hist.el (eshell-list-history):
6486         Replace use of obsolete argument of display-completion-list.
6488 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
6490         * icomplete.el (icomplete-completions):
6491         Revert back to using "..." when ?… cannot be displayed.
6493 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
6495         * finder.el (finder-unload-function): New function.
6497 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
6499         * dframe.el (dframe-detach):
6500         * find-dired.el (find-dired, find-name-dired):
6501         * finder.el (finder-mode-map, finder-mode-syntax-table)
6502         (finder-headmark, finder-select, finder-mouse-select):
6503         Fix docstring typos.
6505 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
6507         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
6508         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
6509         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6510         Fix doc-string based on a suggestion by Nicolas Richard
6511         <theonewiththeevillook@yahoo.fr>.
6512         * help.el (with-help-window): Fix doc-string.
6514 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
6516         * net/shr.el (shr-image-animate): New option.
6517         (shr-put-image): Respect shr-image-animate.
6519 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
6521         * net/tramp-adb.el (tramp-adb-parse-device-names):
6522         Use `accept-process-output'.
6523         (tramp-adb-handle-file-truename): Cache the localname only.
6524         (tramp-adb-handle-make-directory)
6525         (tramp-adb-handle-delete-directory): Flush file properties correctly.
6526         (tramp-adb-handle-set-file-modes): Do not raise an error when file
6527         modes cannot be changed.
6529         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
6530         file properties of symlinks.
6532 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
6534         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
6535         required/optional fields to match development biblatex.  (Bug#16781)
6537 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
6539         * saveplace.el (toggle-save-place):
6540         Fix argument handling.  (Bug#16673)
6542 2014-02-28  Glenn Morris  <rgm@gnu.org>
6544         * minibuffer.el (completions-first-difference)
6545         (completions-common-part, completion-hilit-commonality): Doc fixes.
6547 2014-02-28  Karl Berry  <karl@gnu.org>
6549         * info.el (Info-mode-map): Add H for describe-mode,
6550         to synchronize with standalone Info.
6552 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
6554         * progmodes/sql.el (sql-interactive-mode):
6555         Avoid setting global comint-input-ring-separator.  (Bug#16814)
6557 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
6559         * net/dbus.el (dbus--init-bus): Declare function.
6560         (dbus-path-local, dbus-interface-local): New defconst.
6561         (dbus-init-bus): Use them.
6562         (dbus-return-values-table): Extend doc.
6563         (dbus-handle-bus-disconnect): Extend error message.
6565 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
6567         * subr.el (y-or-n-p): Fix double space issue in message.
6569 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
6571         * net/tramp.el (tramp-call-process): Improve trace message.
6572         (tramp-handle-insert-file-contents): Trace error case.
6574         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
6575         <insert-directory>: Use `tramp-handle-insert-directory'.
6576         (tramp-adb-handle-insert-directory): Remove function.
6577         (tramp-adb-send-command-and-check): New defun, replacing
6578         `tramp-adb-command-exit-status'.  Change all callees.
6579         (tramp-adb-handle-file-attributes)
6580         (tramp-adb-handle-directory-files-and-attributes): Use it.
6581         (tramp-adb-ls-output-name-less-p):
6582         Use `directory-listing-before-filename-regexp'.
6583         (tramp-adb-handle-delete-directory): Flush also file properties of
6584         the truename of directory.
6585         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
6586         (tramp-adb-handle-file-local-copy): Make the local copy readable.
6587         (tramp-adb-handle-write-region): Implement APPEND.
6588         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
6589         properties correctly.
6590         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
6591         variables.  Check for connected devices only when needed.
6593 2014-02-27  Glenn Morris  <rgm@gnu.org>
6595         * minibuffer.el (completion-table-dynamic)
6596         (completion-table-with-cache): Doc fixes.
6598         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
6599         (completing-read-multiple): Doc fixes.
6601 2014-02-27  Daniel Colascione  <dancol@dancol.org>
6603         * minibuffer.el (completion--nth-completion): Fix indentation.
6605         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
6606         explicit tramp path is empty.
6608 2014-02-27  Glenn Morris  <rgm@gnu.org>
6610         * emacs-lisp/crm.el (completing-read-multiple):
6611         Empower help-enable-auto-load.
6613 2014-02-26  Glenn Morris  <rgm@gnu.org>
6615         * startup.el (command-line): Don't init the tty in daemon mode.
6617         Avoid calling tty-setup-hook twice, eg if a term file
6618         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
6619         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
6620         (tty-create-frame-with-faces): Use it.
6621         * startup.el (command-line): Pass run-hook argument
6622         to tty-run-terminal-initialization.
6624         * dired.el (dired-restore-desktop-buffer): Demote errors;
6625         eg in case a glob match fails.  (Bug#16884)
6627 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
6629         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
6630         error from `read-from-string'.  (Bug#16850)
6632         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
6633         result of `completing-read' in the interactive form.  (Bug#16854)
6635 2014-02-25  Glenn Morris  <rgm@gnu.org>
6637         * image.el (image-animate, image-animate-timeout):
6638         Stop animating images in dead buffers.  (Bug#16878)
6640         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
6642         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
6643         Doc fixes.
6644         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
6645         * term/sun.el (sun-raw-prefix-hooks):
6646         Use tty-setup-hook instead of term-setup-hook.
6647         (terminal-init-sun): Construct message from bytecomp plist.
6648         * term/wyse50.el (enable-arrow-keys): Doc fix.
6650 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
6652         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
6653         Fix docstring typos.
6655 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
6657         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
6659 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6661         * minibuffer.el (completion--try-word-completion):
6662         Fix error when completing M-x commands (bug#16808).
6664 2014-02-24  Leo Liu  <sdl.web@gmail.com>
6666         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
6668 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
6670         * apropos.el (apropos-print): Avoid formatting error when
6671         apropos-do-all and apropos-compact-layout are both t.
6673 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
6675         * apropos.el (apropos-property, apropos-all-words-regexp)
6676         (apropos-true-hit, apropos-variable, apropos-print):
6677         Fix docstring typos, and remove obsolete comment.
6679 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
6681         * net/tramp-sh.el (tramp-sh-handle-file-truename):
6682         Preserve trailing "/".  (Bug#16851)
6684 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
6686         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
6687         after `=>' (bug#16811).
6688         (ruby-smie-rules): Handle the inconsistent second element of the
6689         list returned by `smie-indent--parent'.
6690         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
6691         method call.
6693 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
6695         * elec-pair.el (electric-pair-text-syntax-table)
6696         (electric-pair-syntax-info, electric-pair--syntax-ppss)
6697         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
6698         (electric-pair--looking-at-unterminated-string-p): Doc fix.
6699         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
6701 2014-02-22  Glenn Morris  <rgm@gnu.org>
6703         * imenu.el (imenu--generic-function): Doc fix.
6705         * register.el (frame-configuration-to-register): Make obsolete.
6707 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
6709         * desktop.el (desktop-save-buffer-p): Do not fail when
6710         desktop-files-not-to-save is nil.  Return t for true result
6711         as the doc says.
6713 2014-02-22  Daniel Colascione  <dancol@dancol.org>
6715         * net/secrets.el (secrets-create-item, secrets-search-items):
6716         Check that attribute values are strings, avoiding the construction
6717         of invalid dbus messages.
6719 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
6721         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
6722         defun-declarations-alist.
6724 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6726         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
6727         (bug#16829).
6729 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
6731         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
6732         (whitespace-newline, whitespace-trailing, whitespace-line)
6733         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
6734         (whitespace-space-after-tab): Fix typo in docstrings.
6736 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
6738         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
6740         * electric.el (electric-indent-functions-without-reindent):
6741         Add `yaml-indent-line'.
6743 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
6745         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
6746         It has done nothing for years; should be removed after the release.
6748         * simple.el (choose-completion): Fix docstring typo.
6749         (read-quoted-char-radix): Remove unneeded * in docstring.
6750         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
6751         Don't escape parentheses unnecessarily in docstrings.
6753 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
6755         Fix handling of window-min-height/-width (Bug#16738).
6756         * window.el (window--dump-window, window--dump-frame):
6757         New functions.
6758         (window--min-size-1): Account for window dividers.
6759         When window-resize-pixelwise is nil, delay rounding till after the
6760         sum of the window components has been calculated.
6761         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
6762         nil make sure at least one text line and two text columns remain
6763         fully visible.
6764         (window-resize): Signal an error when window-resize-apply fails.
6765         (window--resize-child-windows): Fix calculation of by how many
6766         pixels a window can still be shrunk via window-new-normal.
6767         (adjust-window-trailing-edge): Call window--resizable with
6768         correct TRAIL argument.
6770         (with-temp-buffer-window): Don't evaluate BODY within
6771         with-current-buffer (Bug#16816).
6773 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
6775         * net/tramp.el (tramp-check-cached-permissions):
6776         Call `file-attributes' with `suffix' being a symbol but a string.
6778 2014-02-21  Daniel Colascione  <dancol@dancol.org>
6780         * net/dbus.el (dbus-init-bus-1): Declare new subr.
6781         (dbus-init-bus): New function: call into dbus-init-bus-1
6782         and installs a handler for the disconnect signal.
6783         (dbus-call-method): Rewrite to look for result in cons.
6784         (dbus-call-method-handler): Store result in cons.
6785         (dbus-check-event): Recognize events with nil sender as valid.
6786         (dbus-handle-bus-disconnect): New function.  React to bus
6787         disconnection signal by synthesizing dbus error for each
6788         pending synchronous or asynchronous call.
6789         (dbus-notice-synchronous-call-errors): New function.
6790         (dbus-handle-event): Raise errors directly only when `dbus-debug'
6791         is true, not all the time.
6793 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
6795         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
6796         Remove obsolescence declarations, these variables do not exist anymore.
6798         * savehist.el (savehist-save-minibuffer-history)
6799         (savehist-additional-variables, savehist-file, savehist-mode-hook)
6800         (savehist-save-hook, savehist-coding-system, savehist-loaded)
6801         (savehist-load, savehist-install, savehist-autosave): Fix typos;
6802         mostly, refer to "Savehist mode" when talking about the mode,
6803         and not the function.
6805         * saveplace.el (save-place): Remove redundant info in docstring.
6806         (save-place-forget-unreadable-files, toggle-save-place)
6807         (save-place-forget-unreadable-files, save-place-dired-hook):
6808         Fix typos and remove unneeded backslashes.
6810 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
6812         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
6813         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
6815         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6816         <insert-directory>: Use `tramp-handle-insert-directory'.
6817         (tramp-gvfs-handle-insert-directory): Remove function.
6819         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6820         Call `tramp-handle-insert-directory'.
6822 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
6824         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
6825         before the start of buffer/region (bug#16799).
6827 2014-02-20  Glenn Morris  <rgm@gnu.org>
6829         * isearch.el (search-invisible): Doc fix.
6831 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
6833         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
6834         (bug#16657).
6836 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
6838         * frameset.el (frameset-restore): Delay removing an old frame's
6839         duplicate id until the new frame has been correctly created.
6841 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
6843         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
6844         (tramp-check-cached-permissions): Call `file-attributes' if the
6845         cache is empty.
6847         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
6848         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
6850         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6851         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
6852         (tramp-gvfs-maybe-open-connection): Set always connection
6853         properties, even if target is mounted already.
6855         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
6856         Set tramp-autoload cookie.
6857         (tramp-get-remote-touch): New defun.
6858         (tramp-sh-handle-set-file-times): Use it.
6859         (tramp-sh-handle-directory-files-and-attributes):
6860         Use `tramp-handle-directory-files-and-attributes' if neither stat
6861         nor perl are available on the remote host.
6863         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
6864         "/".  Write long listing only when "l" belongs to the switches.
6866         * net/trampver.el: Update release number.
6868 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
6870         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
6872 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
6874         * window.el (window-state-put): Allow WINDOW to refer to an
6875         internal window (Bug#16793).
6877 2014-02-19  Glenn Morris  <rgm@gnu.org>
6879         * textmodes/remember.el: Move provide statement to end.
6880         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
6881         (remember-notes): Doc fixes.
6883 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6885         * delsel.el (delete-char): Restore incorrectly erased property
6886         (bug#16795).
6888 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
6890         * frameset.el (frameset--restore-frame): When a frame is being reused
6891         and its root window is not alive, delete all the frame's windows before
6892         restoring the window state.  This works around the issue in bug#16793.
6894 2014-02-18  Glenn Morris  <rgm@gnu.org>
6896         * textmodes/remember.el (remember-data-directory)
6897         (remember-directory-file-name-format, remember-store-in-files)
6898         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
6899         (remember-notes-save-and-bury-buffer)
6900         (remember-notes--kill-buffer-query): Doc fixes.
6902         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
6904 2014-02-17  Alan Mackenzie  <acm@muc.de>
6906         Connect electric-indent-mode up with CC Mode.  Bug #15478.
6907         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
6908         to electric-indent-{,local-}-mode.
6909         (c-basic-common-init): Set electric-indent-inhibit.
6910         Initialise c-electric-flag from electric-indent-mode.
6911         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
6912         New hook functions which propagate electric-indent-mode to CC mode.
6914         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
6915         hit, toggle electric-indent-local-mode.
6917         * electric.el (electric-indent-mode-has-been-called):
6918         New variable.
6920 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
6922         * frameset.el (frameset-cfg-id): New function.
6923         (frameset--reuse-frame, frameset-restore): Use it.
6924         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
6926 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6928         * ido.el (ido-file-internal): Remove unused var `d'.
6929         Use \` for to match BoS.  Fit within 80n columns.
6931 2014-02-17  Daniel Colascione  <dancol@dancol.org>
6933         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
6934         dbus-call-method check for completion using a busy-wait loop with
6935         gradual backoff.
6937 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
6939         Sync with Tramp 2.2.9.
6941         * net/trampver.el: Update release number.
6943 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
6945         * ido.el (ido-file-internal): Don't add the name of an existing
6946         directory twice.  (Bug#16747)
6948 2014-02-16  Glenn Morris  <rgm@gnu.org>
6950         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
6951         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
6953 2014-02-15  Michael R. Mauger  <michael@mauger.com>
6955         * progmodes/sql.el: Version 3.4
6956         (sql-oracle-options): New default value ("-L").
6957         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
6958         (sql-placeholders-filter): Correct placeholder pattern.
6959         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
6960         (sql-login-delay): New variable.
6961         (sql-product-interactive): Use it.
6963 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
6965         * frameset.el (frameset--jump-to-register): Check that buffer is live
6966         (bug#16749).
6968 2014-02-15  Glenn Morris  <rgm@gnu.org>
6970         * info.el (info-initialize): Revert 2014-01-10 change.
6972 2014-02-14  Glenn Morris  <rgm@gnu.org>
6974         * replace.el (map-query-replace-regexp)
6975         (read-regexp-defaults-function, read-regexp): Doc fixes.
6977         * dired.el (dired-read-regexp):
6978         * faces.el (list-faces-display):
6979         * misearch.el (multi-isearch-read-matching-buffers)
6980         (multi-isearch-read-matching-files):
6981         * play/cookie1.el (cookie-apropos):
6982         * progmodes/grep.el (grep-read-regexp): Doc fixes.
6984         * textmodes/remember.el (remember): Use frameset-to-register
6985         rather than frame-configuration-to-register.
6987 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
6989         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
6990         incorrect keybinding.
6992 2014-02-13  Daniel Colascione  <dancol@dancol.org>
6994         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
6995         when adding overlays so that line numbers from compiler match line
6996         numbers we use.
6998 2014-02-13  Glenn Morris  <rgm@gnu.org>
7000         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
7002         * jit-lock.el (jit-lock-mode): Doc fix.
7004 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
7006         * apropos.el (apropos-read-pattern): When the user passes an empty
7007         string, give a more helpful error message than "Wrong type
7008         argument: stringp, nil".
7010 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7012         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
7014 2014-02-13  Glenn Morris  <rgm@gnu.org>
7016         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
7018 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7020         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
7021         shift-select commands.
7023 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
7025         * progmodes/js.el (js-indent-line): Don't widen.
7026         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
7028 2014-02-12  Glenn Morris  <rgm@gnu.org>
7030         * icomplete.el (icomplete): Add info-link to defgroup.
7031         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
7032         (icomplete-minibuffer-map, icomplete-mode)
7033         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
7035         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
7036         (package-menu-filter): Rename from package-menu-filter-interactive.
7037         Doc fix.
7039 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
7041         * frameset.el (frameset--jump-to-register): Select the required
7042         window and buffer before restoring position (bug#16696).
7044 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
7046         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
7048 2014-02-10  Glenn Morris  <rgm@gnu.org>
7050         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
7052 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
7054         * w32-common-fns.el (x-get-selection): Doc fix.
7055         * select.el (x-get-selection): Doc fix.  (Bug#15109)
7057         * face-remap.el (face-remap-add-relative)
7058         (face-remap-remove-relative, face-remap-reset-base)
7059         (face-remap-set-base): Call force-mode-line-update to redisplay
7060         the current buffer due to potential change in faces.  (Bug#16709)
7062 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
7064         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
7065         script more robustly.
7067 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
7069         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
7071         * simple.el (choose-completion): Doc fix (bug#14160).
7073         * subr.el (event-start): Say what a nil EVENT value means.
7075         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
7076         (bug#14197).
7078         * progmodes/grep.el (find-program): Doc fix (bug#14289).
7080         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
7082         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
7084         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
7085         predicate function (bug#15455).
7087 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
7089         * ielm.el (inferior-emacs-lisp-mode): Instead of
7090         `comment-use-global-state', set `comment-use-syntax'.
7092 2014-02-10  Glenn Morris  <rgm@gnu.org>
7094         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
7096 2014-02-09  Alan Mackenzie  <acm@muc.de>
7098         Fix c-invalidate-state-cache on narrowed buffers.
7099         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
7100         Widen when setting and clearing the CPP delimiter properties.
7102 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7104         * help.el (describe-bindings): Doc fix (bug#9888).
7106         * files.el (save-buffer): Use ARG as the parameter name for
7107         consistency (bug#10346).
7108         (save-buffer): Clarify the 0 argument (bug#10346).
7110         * cus-edit.el (customize-apropos): Fix error string.
7111         (custom-buffer-create): Doc fix (bug#11122).
7112         (custom-sort-items): Doc fix (bug#11121).
7114         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
7116         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
7117         (icomplete-simple-completing-p): Mention the previous variable.
7119         * font-lock.el (font-lock-value-in-major-mode): Clarify the
7120         meaning of the parameter (bug#12282).
7122         * files.el (find-file-noselect): Clarify prompt when changing
7123         readedness (bug#13261).
7124         (locate-file): Suffixes aren't returned, so don't say that they
7125         are (bug#12674).
7126         (backup-inhibited): Doc clarification (bug#12525).
7128         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
7129         before we actually start to delete things (bug#16331).
7131         * subr.el (event-start): Doc fix (bug#14228).
7132         (event-end): Ditto.
7134 2014-02-09  Glenn Morris  <rgm@gnu.org>
7136         * emacs-lisp/warnings.el (lwarn):
7137         Empower help-enable-auto-load.  (Bug#15940)
7139 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
7141         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
7142         (Bug#16690)
7144 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
7146         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7147         Insert output at end of buffer.  (Bug#16120)
7149 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
7151         * simple.el (choose-completion-string-functions): Document new
7152         calling convention (bug#14153).
7153         (execute-extended-command): Clarify doc string (bug#13373).
7155         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
7157         * find-dired.el (find-name-dired): Doc fix (bug#14290).
7158         (find-grep-dired): Doc fix (bug#14288).
7160 2014-02-08  Juri Linkov  <juri@jurta.org>
7162         * isearch.el (isearch-quote-char): Check character validity
7163         like in `quoted-insert' (bug#16677).
7165 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
7167         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
7169         * isearch.el (isearch-hide-immediately): Doc clarification
7170         (bug#14723).
7172         * simple.el (line-move): Document utility function used many
7173         places in the Emacs sources (bug#14843).
7175         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
7176         (dired-prev-marked-file): Doc fix (bug#14855).
7177         (dired-up-directory): Doc fix (bug#14848).
7179         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
7181         * files.el (file-relative-name): Doc fix (bug#15159).
7183         * fringe.el (fringe-styles): Doc fix (bug#15239).
7185         * isearch.el (isearch-filter-predicate): Documentation typo fix
7186         (bug#15474).
7188         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
7190         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
7192         * replace.el (replace-match-maybe-edit): Doc clarification
7193         (bug#15632).
7195         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
7197         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
7199 2014-02-08  Glenn Morris  <rgm@gnu.org>
7201         * help-fns.el (describe-variable):
7202         Check {file,dir}-local-variables-alist, and buffer-file-name,
7203         in the correct buffer.
7205 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
7207         * help-fns.el (describe-variable): Fix the case where
7208         a value is directory-local with no dir-locals file.  (Bug#16635)
7210 2014-02-08  Glenn Morris  <rgm@gnu.org>
7212         * abbrev.el (edit-abbrevs-mode):
7213         Derive from fundamental-mode.  (Bug#16682)
7215 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
7217         * simple.el (quoted-insert): Check character validity (bug#16677).
7219 2014-02-07  Juri Linkov  <juri@jurta.org>
7221         * desktop.el (desktop-read): Claim the lock when the owner is not
7222         the current process.  (Bug#16157)
7224 2014-02-07  Juri Linkov  <juri@jurta.org>
7226         * desktop.el (desktop-buffers-not-to-save): Change default from nil
7227         to "\\` ".  (Bug#16651)
7229 2014-02-07  Juri Linkov  <juri@jurta.org>
7231         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
7232         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
7233         (desktop-auto-save-cancel-timer): New function with some code from
7234         `desktop-auto-save-set-timer'.
7235         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
7236         Instead of setting `desktop-save-mode' to nil, call
7237         `desktop-save-mode' with arg 0.  (Bug#16630)
7239 2014-02-07  Glenn Morris  <rgm@gnu.org>
7241         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
7242         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
7243         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
7245         * obsolete/iswitchb.el: Move to obsolete/.
7246         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
7247         since obsolete/ is not scanned for autoloads.
7248         * emacs-lisp/authors.el (authors-valid-file-names):
7249         Add iswitchb.el.
7251         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
7252         Disable now non-functional find-file-hook.
7254 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
7256         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
7257         instead of ";" in order to avoid additional prompts.  Let heredoc
7258         scripts read from tty.  (Bug#16582)
7259         (tramp-send-command): No special handling of heredocs, it isn't
7260         necessary anymore.
7262 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7264         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
7265         with a space (bug#16664).  Limit the symbols considered to the ones
7266         that are bound or fbound (bug#16646).
7268 2014-02-06  Glenn Morris  <rgm@gnu.org>
7270         * epa.el (epa-mail-aliases): Doc fix.
7272 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
7274         * emacs-lisp/lisp.el (lisp-completion-at-point):
7275         Use `completion-table-merge' instead of `completion-table-in-turn'
7276         (bug#16604).
7278         * minibuffer.el (completion-table-merge): New function.
7280 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
7282         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
7283         (tramp-sh-handle-set-file-acl)
7284         (tramp-sh-handle-start-file-process)
7285         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
7286         (tramp-find-executable, tramp-send-command): Use it.
7288 2014-02-05  Glenn Morris  <rgm@gnu.org>
7290         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
7292 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7294         * progmodes/python.el (python-shell-send-string)
7295         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
7297 2014-02-04  Anders Lindgren  <andlind@gmail.com>
7299         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
7300         the names (bug#16620).
7302 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
7304         * faces.el (window-divider): New default value.  Rewrite doc-string.
7305         (window-divider-first-pixel, window-divider-last-pixel): New faces.
7307 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
7309         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
7310         `protected' and `public' can also be called without arguments.
7312 2014-02-03  Glenn Morris  <rgm@gnu.org>
7314         * register.el (window-configuration-to-register)
7315         (frame-configuration-to-register): Unadvertise unused argument.
7316         * frameset.el (frameset-to-register): Remove unused argument.
7318         * frameset.el (frameset-to-register):
7319         * kmacro.el (kmacro-to-register):
7320         * register.el (increment-register):
7321         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
7322         (calc-append-to-register, calc-prepend-to-register):
7323         * play/gametree.el (gametree-layout-to-register)
7324         (gametree-apply-register-layout):
7325         * textmodes/picture.el (picture-clear-rectangle-to-register)
7326         (picture-yank-rectangle-from-register):
7327         * vc/emerge.el (emerge-combine-versions-register):
7328         Use register-read-with-preview to read registers.
7330 2014-02-03  João Távora  <joaotavora@gmail.com>
7332         * elec-pair.el (electric-pair-backward-delete-char): Don't error
7333         when at beginning of (possibly narrowed) buffer.
7335 2014-02-02  Daniel Colascione  <dancol@dancol.org>
7337         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
7338         Also try to display local help from just before point.
7340 2014-02-02  Alan Mackenzie  <acm@muc.de>
7342         c-parse-state.  Don't "append-lower-brace-pair" in certain
7343         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
7344         recognised as a comment.
7346         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
7347         as well as normal comment starter.
7348         (c-parse-state-get-strategy): Extra return possibility
7349         'back-and-forward.
7350         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
7351         return value list to indicate replacement of a brace-pair cons
7352         with its car.
7353         (c-parse-state-1): With 'back-and-forward, only call
7354         c-append-lower-brace-pair-to state-cache when cons-separated.
7356 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
7358         * term/ns-win.el (ns-suspend-error): New function.
7359         (ns-initialize-window-system): Add ns-suspend-error to
7360         suspend-hook (Bug#16612).
7362 2014-02-02  Daniel Colascione  <dancol@dancol.org>
7364         * progmodes/cc-defs.el (c-find-assignment-for-mode):
7365         Make loading cc-mode silent.
7367 2014-02-02  Daniel Colascione  <dancol@dancol.org>
7369         * comint.el (comint-prompt-read-only): Change doc to suggest
7370         remap keybinding.
7372 2014-02-02  Glenn Morris  <rgm@gnu.org>
7374         * register.el (register-read-with-preview, point-to-register)
7375         (window-configuration-to-register, frame-configuration-to-register)
7376         (jump-to-register, number-to-register, view-register, insert-register)
7377         (copy-to-register, append-to-register, prepend-to-register)
7378         (copy-rectangle-to-register): Doc fixes.
7380 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7382         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
7383         * emacs-lisp/find-func.el (find-function-C-source): Idem.
7384         * emacs-lisp/nadvice.el (advice--cd*r): New function.
7385         * help-fns.el (describe-function-1): Use it.
7387 2014-02-02  Glenn Morris  <rgm@gnu.org>
7389         * register.el (register-preview-default): New function,
7390         split from register-preview.
7391         (register-preview-function): Rename from register-preview-functions,
7392         make it not a hook.
7393         (register-preview): Use register-preview-function.
7394         (register-read-with-preview): Error on non-character event.  (Bug#16595)
7396 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
7398         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
7399         `:' before binary operators (bug#16609).  Don't check for `:'
7400         before `[' and `(', or their syntax status.  A percent literal
7401         can't end with either.
7402         (ruby-font-lock-keywords): For built-ins that require arguments,
7403         check that they're followed by something that looks like argument
7404         (bug#16610).
7406 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
7408         * subr.el (butlast): Document what an omitted N means (bug#13437).
7409         (nbutlast): Ditto.
7411 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
7413         * net/shr.el (shr-generic): Make into a defsubst to make the stack
7414         depth shallower (bug#16587).
7415         (shr-tag-svg): Respect `shr-inhibit-images'.
7416         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
7418 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
7420         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
7421         (ruby-smie-grammar): Make "." right-associative.  Make its priority
7422         lower than the ternary and all binary operators.
7423         (ruby-smie-rules): Indent "(" relative to the first non-"."
7424         parent, or the first "." parent at indentation.
7425         Use `ruby-align-chained-calls' for indentation of "." tokens.
7426         (Bug#16593)
7428 2014-01-31  Juri Linkov  <juri@jurta.org>
7430         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
7431         from `make-hash-table'.
7433         * textmodes/ispell.el (ispell-init-process): Change message format
7434         to be consistent with other messages.
7436 2014-01-31  Glenn Morris  <rgm@gnu.org>
7438         * delsel.el (delete-selection-mode): Doc fix.
7440         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
7441         (trace-function-background): Doc fixes.
7443         * ido.el (ido-use-virtual-buffers): Doc fix.
7444         Reset :version, since the default value has not changed.
7446         * register.el (register-preview-delay, register-read-with-preview):
7447         Doc fixes.
7449         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
7450         do not mess with mail-buffer position (fixes 2009-11-03 change).
7451         * progmodes/cc-mode.el (c-submit-bug-report):
7452         Check auto-fill-mode is bound.  (Bug#16592)
7454 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
7456         * startup.el (fancy-splash-image-file): New function,
7457         split from fancy-splash-head.
7458         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
7459         so that we are both using the same image.  (Bug#16574)
7461 2014-01-30  Glenn Morris  <rgm@gnu.org>
7463         * simple.el (eval-expression): Doc fix.
7465         * hexl.el (hexl-mode-hook):
7466         * ielm.el (ielm-mode-hook):
7467         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
7468         (lisp-interaction-mode-hook):
7469         * progmodes/cfengine.el (cfengine3-documentation-function):
7470         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
7472 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7474         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
7475         is a symbol (bug#16584).
7477 2014-01-30  Glenn Morris  <rgm@gnu.org>
7479         * help.el (help-for-help-internal): Add "P" to text.
7481 2014-01-29  Glenn Morris  <rgm@gnu.org>
7483         * simple.el (just-one-space, cycle-spacing): Doc fixes.
7485 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
7487         * window.el (fit-frame-to-buffer): Fix calculations for margins and
7488         height constraints.
7490 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
7492         * progmodes/hideif.el: Extend to full CPP expression syntax.
7493         (hif-token-alist): Add missing tokens.
7494         (hif-token-regexp): Add support for float/octal/hex immediates.
7495         (hif-string-literal-regexp): New const.
7496         (hif-tokenize): Recognize strings and float/octal/hex immediates.
7497         (hif-exprlist): New function.
7498         (hif-parse-if-exp): Use it.
7499         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
7500         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
7501         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
7502         (hif-logxor, hif-comma): New functions.
7504 2014-01-28  Glenn Morris  <rgm@gnu.org>
7506         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
7508         * indent.el (tab-stop-list): Doc fix.  Add :version.
7510         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
7511         (cvs-append-to-ignore): Add compatibility alias.
7513 2014-01-27  Glenn Morris  <rgm@gnu.org>
7515         * dired.el (dired-hide-details-mode): Don't autoload it,
7516         since it cannot be used outside Dired buffers anyway.
7518         * emulation/cua-base.el (cua-mode): Doc fix.
7520         * dired.el (dired-hide-details-hide-symlink-targets)
7521         (dired-hide-details-hide-information-lines)
7522         (dired-hide-details-mode): Doc fixes.
7524         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
7525         * strokes.el (strokes-file): Doc fix.  Bump :version.
7526         (strokes-help): Doc fix.
7527         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
7528         * emulation/viper.el (viper): Doc fix for custom group.
7529         (top-level): Remove oh-so-no-longer-relevant text about vip.
7530         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
7532         * ido.el (ido-save-directory-list-file):
7533         * saveplace.el (save-place-file):
7534         * calendar/timeclock.el (timeclock-file):
7535         * net/quickurl.el (quickurl-url-file):
7536         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
7537         * progmodes/idlwave.el (idlwave-config-directory):
7538         * textmodes/remember.el (remember-data-file):
7539         Bump :version.
7541 2014-01-26  Glenn Morris  <rgm@gnu.org>
7543         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
7544         Doc fix.  Make obsolete.
7545         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
7547         * sort.el (delete-duplicate-lines): Doc fix.
7549 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7551         * progmodes/ada-mode.el (ada):
7552         * woman.el (woman): Link to info manual and Commentary section.
7554         * progmodes/flymake.el (flymake):
7555         * nxml/nxml-mode.el (nxml):
7556         * net/eww.el (eww):
7557         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
7558         * htmlfontify.el (htmlfontify):
7559         * ses.el (ses):
7560         * epa.el (epa):
7561         * ido.el (ido): Link to info manual.
7563 2014-01-25  Leo Liu  <sdl.web@gmail.com>
7565         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
7567 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
7569         * net/shr.el (shr-tag-img): Prefer the title over the alt text
7570         (bug#16537).
7572 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
7574         * net/eww.el (eww-download-callback):
7575         Fix reference to eww-download-directory.
7577         * emacs-lisp/bytecomp.el (byte-compile-file):
7578         Remove unused local variable `file-name'.
7580 2014-01-24  Glenn Morris  <rgm@gnu.org>
7582         * woman.el (woman-default-faces, woman-monochrome-faces):
7583         Fix obsolescence specification.
7585         * subr.el (with-demoted-errors): Doc fix.
7587 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7589         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
7590         (cl--macroexp-fboundp): New function.
7591         (cl--make-type-test): Use it.
7593 2014-01-23  Glenn Morris  <rgm@gnu.org>
7595         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
7596         * simple.el (eval-expression): Doc fixes.
7598 2014-01-22  Glenn Morris  <rgm@gnu.org>
7600         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
7602 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7604         * emacs-lisp/package.el: Write files silently.
7605         (package-autoload-ensure-default-file, package--write-file-no-coding)
7606         (package-generate-description-file, package--download-one-archive)
7607         (package-install-from-archive): Tell `write-region' to stay quiet.
7608         (package-menu-mode, package-menu--print-info): Omit the Archive column
7609         if there's only one archive.
7610         (package-all-keywords, package--has-keyword-p): Remove dead code.
7612 2014-01-22  Glenn Morris  <rgm@gnu.org>
7614         * version.el (emacs-bzr-version-bzr): Fix typo.
7616         * version.el (emacs-repository-get-version):
7617         Check either .bzr or .git, but not both.
7618         Make the git case actually use the DIR argument, and return nil
7619         rather than the empty string.
7620         Avoid error if .git exists but the git executable is not found.
7622 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
7624         Fixes in window size functions around Bug#16430 and Bug#16470.
7625         * window.el (window-total-size, window-size): New argument ROUND.
7626         (window--min-delta-1, window-min-delta, window--max-delta-1):
7627         Be more conservative when calculating the numbers of lines or
7628         columns a window can shrink (Bug#16430).
7629         (fit-window-to-buffer): Simplify code.
7630         * term.el (term-window-width): Call window-body-width again.
7632 2014-01-22  Glenn Morris  <rgm@gnu.org>
7634         * image.el (image-format-suffixes): Doc fix.
7636         * international/quail.el (quail-define-package): Doc fix.
7638         * emacs-lisp/authors.el (authors-valid-file-names)
7639         (authors-renamed-files-alist): Additions.
7641         * vc/vc-git.el (vc-git-print-log): Remove --follow;
7642         reverts 2014-01-09 change.  (Bug#16422)
7644         * calc/calc-embed.el (thing-at-point-looking-at):
7645         * emacs-lisp/map-ynp.el (x-popup-dialog):
7646         * obsolete/lmenu.el (x-popup-dialog):
7647         * emacs-lisp/package.el (url-recreate-url):
7648         * mail/mailclient.el (clipboard-kill-ring-save):
7649         * subr.el (x-popup-dialog): Update declaration.
7650         * mail/rmail.el (rmail-mime-message-p):
7651         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
7653 2014-01-21  Daniel Colascione  <dancol@dancol.org>
7655         * progmodes/sh-script.el (sh--inside-noncommand-expression):
7656         Correctly detect when we're inside an arithmetic expansion form
7657         containing nested parenthesis.
7658         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
7659         to detect cases where we shouldn't expand "<<" to a heredoc
7660         skeleton.
7662 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7664         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
7665         (eldoc--message-command-p): New function.
7666         (eldoc-display-message-p): Use it.
7667         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
7668         message is not automatically erased for us.
7669         (eldoc-print-current-symbol-info): Erase previous message, if any.
7671 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
7673         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
7674         specify it's an interactive function.
7676         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
7677         Fix regex used for scanning for citation keys which failed for
7678         citations with optional arguments.
7680 2014-01-21  Leo Liu  <sdl.web@gmail.com>
7682         * simple.el (read--expression): Don't enable eldoc-mode.
7684 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7686         * simple.el (move-beginning-of-line): Make sure we don't move forward
7687         (bug#16497).
7689 2014-01-20  Juri Linkov  <juri@jurta.org>
7691         * saveplace.el (toggle-save-place, save-place-to-alist)
7692         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
7693         'dired-mode) before checking for dired-directory.  (Bug#16477)
7695 2014-01-20  Juri Linkov  <juri@jurta.org>
7697         * indent.el (indent-line-to): Use backward-to-indentation
7698         instead of back-to-indentation.  (Bug#16461)
7700 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
7702         Revert some of the CANNOT_DUMP fix (Bug#16494).
7703         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
7704         but fixing this can wait until after the next release.
7705         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
7707 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
7709         * eshell/esh-mode.el (eshell-password-prompt-regexp):
7710         Use `password-word-equivalents'.
7711         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
7712         to t.  (Bug#5664, Bug#13124)
7714 2014-01-19  Alan Mackenzie  <acm@muc.de>
7716         Bind open-paren-in-column-0-is-defun-start to nil at some entry
7717         points.
7718         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
7719         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
7720         * progmodes/cc-mode.el (c-before-change, c-after-change)
7721         (c-font-lock-fontify-region): Bind it here.
7723 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
7725         * term.el (term-window-width): Call window-text-width instead of
7726         window-width (Bug#16470).
7728 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
7730         * simple.el (password-word-equivalents): Remove duplicates.
7731         Sort, to make this easier next time.
7732         Downcase.  Omit ": " after "jelszó".
7734 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
7736         * term/common-win.el (saved-region-selection): Defvar it.
7737         (x-select-text): Set saved-region-selection (Bug#16382).
7739 2014-01-18  Glenn Morris  <rgm@gnu.org>
7741         * emacs-lisp/authors.el (authors-aliases)
7742         (authors-renamed-files-alist): Add some entries.
7744 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
7746         * net/tramp.el (tramp-password-prompt-regexp):
7747         Use `password-word-equivalents' if available.
7748         (tramp-action-password, tramp-process-one-action)
7749         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
7751 2014-01-17  Chong Yidong  <cyd@gnu.org>
7753         * simple.el (password-word-equivalents): New defcustom.
7754         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
7755         to 24.4.
7756         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
7757         to t.  (Bug#13124)
7759 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
7761         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
7762         (ruby-align-to-stmt-keywords): Change the default value.
7763         Use `ruby-alignable-keywords' to generate the possible customization
7764         choices.
7765         (ruby-smie-rules): Instead of using a hardcoded list of alignable
7766         keywords, check against the value of `ruby-alignable-keywords'
7767         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
7769 2014-01-17  Glenn Morris  <rgm@gnu.org>
7771         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
7773         Make M-x authors return zero *Authors Errors* from current logs.
7774         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
7775         (authors-ignored-files): Add some entries, remove others.
7776         (authors-ambiguous-files, authors-valid-file-names):
7777         Add some entries.
7778         (authors-renamed-files-alist): Add, remove, and adjust entries.
7779         (authors-renamed-files-regexps): Add some entries.
7780         Remove some very broad ones.  Make some entries `lax'.
7781         (authors-lax-changelogs): New constant.
7782         (authors-disambiguate-file-name): Treat top-level specially.
7783         (authors-lax-changelog-p): New function.
7784         (authors-canonical-file-name): Check file as written against
7785         authors-valid-file-names.  Do not special-case etc/.
7786         Handle `lax' logs and authors-renamed-files-regexps elements.
7788 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
7790         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
7791         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
7792         callers.
7794 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7796         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
7797         Assume we're already in the proper buffer.
7798         Inspired by Anders Lindgren <andlind@gmail.com>.
7799         (follow-post-command-hook): Call it from the right buffer.
7800         (follow-comint-scroll-to-bottom): Adjust call.
7801         (follow-all-followers): Use get-buffer-window-list.
7803 2014-01-15  Daniel Colascione  <dancol@dancol.org>
7805         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
7806         `buffer-file-name' in interactive-form so that we don't leave
7807         pathless file names in `file-name-history'.
7809 2014-01-15  Juri Linkov  <juri@jurta.org>
7811         * indent.el (indent-rigidly): Set deactivate-mark to nil
7812         in transient indentation mode.  (Bug#16438)
7814 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
7816         * emacs-lisp/package.el (package-desc-keywords): New function
7817         (Bug#16222).
7818         (describe-package-1, package-all-keywords)
7819         (package--has-keyword-p): Use it.
7821 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
7823         * simple.el (define-alternatives): When creating the
7824         COMMAND-alternatives variable, assign COMMAND as its definition
7825         name so that `describe-variable' can relocate it.
7827 2014-01-14  Matthew Leach  <matthew@mattleach.net>
7829         * font-lock.el (font-lock-keywords): Fix typo in docstring
7830         (bug#16307).
7832 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7834         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
7835         line instead of wrongly reset `add-coment' (bug#13577).
7837 2014-01-14  Daiki Ueno  <ueno@gnu.org>
7839         * epa-file.el (epa-file-write-region): Encode the region according
7840         to `buffer-file-format'.  Problem reported at:
7841         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
7843 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7845         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
7846         so it applies in the right buffer (bug#16410).
7848 2014-01-13  Daniel Colascione  <dancol@dancol.org>
7850         * textmodes/rst.el (rst-define-key): Provide deprecated
7851         keybindings through named functions instead of anonymous ones so
7852         that "??" doesn't appear in describe-mode output.
7854 2014-01-13  Bastien Guerry  <bzg@gnu.org>
7856         * simple.el (define-alternatives): Call the selected command
7857         interactively.  When setting `COMMAND--implementation' for the
7858         first time, tell the user how to chose another implementation.
7859         Enhance the docstring.
7861 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7863         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
7864         (log-edit--match-first-line): New function.
7865         (log-edit-font-lock-keywords): Use it.
7866         (log-edit-mode): Make jit-lock-defer-multiline work.
7868 2014-01-13  Bastien Guerry  <bzg@gnu.org>
7870         * rect.el (rectangle-mark-mode): When the region is not active,
7871         display a message saying that the mark as been set and that
7872         rectangle mode is in use.
7873         (rectangle--highlight-for-redisplay): Only put an overlay with a
7874         visible vertical bar when (display-graphic-p) is non-nil.
7875         This partially fixes Bug#16403.
7877 2014-01-13  Juri Linkov  <juri@jurta.org>
7879         * info.el (Info-find-file): Go to DIR before displaying the error
7880         about a nonexistent file if no previous Info file is visited.
7881         Use `user-error' instead of `error' for "Info file %s does not exist".
7882         (Info-find-node-2): In case of a nonexistent node in unwind forms
7883         go to the Top node if there is no previous node to revert to.
7884         (Bug#16405)
7886 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
7888         fit-frame/window-to-buffer code fixes including one for Bug#14096.
7889         * window.el (fit-frame-to-buffer): Fix doc-string.
7890         Respect window-min-height/-width.  Fit pixelwise when
7891         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
7892         when avoiding that frame goes partially off-screen.
7893         (fit-window-to-buffer): Respect window-min-height/-width
7894         (Bug#14096).
7896 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7898         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
7899         after an empty line.
7901 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7903         * net/shr.el (shr-render-region): Autoload.
7905 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
7907         * net/eww.el (eww-download-directory): Rename from
7908         `eww-download-path' (Bug#16419).
7910 2014-01-12  Leo Liu  <sdl.web@gmail.com>
7912         * dired-x.el (dired-mode-map): Fix last change.
7914         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
7916 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
7918         Spelling fixes.
7919         * emacs-lisp/generic.el (generic--normalize-comments):
7920         Rename from generic--normalise-comments.  All uses changed.
7921         * play/bubbles.el (bubbles--neighborhood-score)
7922         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
7923         (bubbles--neighborhood-available)
7924         (bubbles--update-neighborhood-score):
7925         Rename from names with 'neighbourhood'.  All uses changed.
7927 2014-01-12  Leo Liu  <sdl.web@gmail.com>
7929         Re-implement the feature of showing eldoc info after editing.
7930         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
7931         (eldoc-edit-message-commands): New function.
7932         (eldoc-print-after-edit): New variable.
7933         (eldoc-pre-command-refresh-echo-area): Emit message only by
7934         eldoc-message-commands.
7935         (eldoc-mode): Restrict eldoc-message-commands to editing commands
7936         if eldoc-print-after-edit is set.  (Bug#16346)
7937         * simple.el (read--expression): Enable eldoc-mode.
7938         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
7940 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
7941             Eric S. Raymond  <esr@thyrsus.com>
7943         * version.el (emacs-repository-get-version): Enhance so the
7944         function works correctly in either a Bazaar or Git repo.
7946 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
7948         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
7949         Goes with removal of the joke manpages from /etc.
7951 2014-01-10  Kenichi Handa  <handa@gnu.org>
7953         * mail/rmail.el (rmail-get-coding-system):
7954         Check rmail-get-coding-function before "funcall"ing it.
7956 2014-01-10  Glenn Morris  <rgm@gnu.org>
7958         * emacs-lisp/authors.el (authors-fixed-entries):
7959         Update for files that no longer exist.
7961 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
7963         * version.el (emacs-bzr-get-version): Restore compatibilty with
7964         24.3 (Tested).
7966 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
7968         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
7969         and Podfile.
7971 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
7973         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
7975 2014-01-10  Chong Yidong  <cyd@gnu.org>
7977         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
7979 2014-01-10  Anders Lindgren  <andlind@gmail.com>
7981         * follow.el (follow-cache-command-list): Include right-char and
7982         left-char.
7984 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
7986         Spelling fixes.
7987         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
7988         * woman.el (woman-mark-horizontal-position):
7989         Rename from woman-mark-horizonal-position.  Use changed.
7991 2014-01-10  Glenn Morris  <rgm@gnu.org>
7993         * info.el (info-initialize): If running uninstalled, ensure our
7994         own info files are always found first, even if INFOPATH is set.
7996         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
7998 2014-01-09  David Engster  <deng@randomsample.de>
8000         * emacs-lisp/eieio-custom.el:
8001         * emacs-lisp/eieio-opt.el: Set generated autoload file to
8002         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
8003         * emacs-lisp/eieio.el: Regenerate autoloads.
8005 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
8007         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
8008         following renames.  (Bug#8756)
8010 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8012         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
8013         (bug#16382).
8014         (activate-mark): Add `no-tmm' argument.
8015         (set-mark, push-mark-command): Use it instead of running
8016         activate-mark-hook by hand.
8018 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
8020         In preparation for the move to git, sanitize out some
8021         Bazaar-specific names.
8023         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
8025         * version.el (emacs-bzr-version): Name changed to
8026         emacs-repository-version.  Obsolete-variable alias made.
8027         * loadup.el: Follow through on this name change.
8028         * mail/emacsbug.el (report-emacs-bug): Factor out any
8029         assumption about the version control system in use.
8031 2014-01-08  David Engster  <deng@randomsample.de>
8033         * help-fns.el (help-fns-describe-function-functions):
8034         New variable to call functions for augmenting help buffers.
8035         (describe-function-1): Remove explicit calls to
8036         `help-fns--compiler-macro', `help-fns--parent-mode' and
8037         `help-fns--obsolete'.  Put them in above new variable instead, and
8038         call them through `run-hook-with-args'.
8039         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
8040         `eieio-describe-class'.  Not meant for interactive use anymore,
8041         but to augment existing help buffers.  Remove optional second
8042         argument.  Create proper button for file location.
8043         Rewrite function to use `insert' instead of `princ' and `prin1' where
8044         possible.
8045         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
8046         (eieio-method-def, eieio-class-def): Move further up.
8047         (describe-method, describe-generic, eieio-describe-method):
8048         Remove aliases.
8049         (eieio-help-constructor, eieio-help-generic): Rename from
8050         `eieio-describe-constructor' and `eieio-describe-generic', resp.
8051         Rewrite to use `insert' in the current buffer and use proper help
8052         buttons.
8053         (eieio-help-find-method-definition)
8054         (eieio-help-find-class-definition): Also accept symbols as
8055         arguments.
8056         (eieio-help-mode-augmentation-maybee): Remove.
8057         (eieio-describe-class-sb): Use `describe-function'.
8058         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
8059         Add `eieio-help-generic' and `eieio-help-constructor'.
8061 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
8063         Spelling fixes.
8064         * language/china-util.el (hz-ascii-designation):
8065         Rename from hz-ascii-designnation.
8066         (hz-ascii-designation): Rename from hz-ascii-designnation.
8067         All uses changed.
8069 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8071         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
8072         package-alist.
8074 2014-01-08  Bastien Guerry  <bzg@gnu.org>
8076         * emacs-lisp/package.el (package-delete):
8077         Correctly delete the package from package-alist.
8079 2014-01-08  Daiki Ueno  <ueno@gnu.org>
8081         * emacs-lisp/package.el (url-recreate-url): Declare.
8082         (url-http-target-url): Declare.
8083         (package-handle-response): Include requested URL in the error message.
8084         (package--check-signature): Don't re-signal errors from
8085         package--with-work-buffer.  Suggested by Stefan Monnier.
8087 2014-01-07  Bastien Guerry  <bzg@gnu.org>
8089         * minibuffer.el (completion--try-word-completion): When both a
8090         hyphen and a space are possible candidates for the character
8091         following a word, display both candidates.  (Bug#15980)
8093 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
8095         * window.el (balance-windows-2): While rounding don't give a
8096         window more than the remainder.  Bug#16351, bug#16383.
8098 2014-01-07  Glenn Morris  <rgm@gnu.org>
8100         * menu-bar.el (menu-bar-help-extra-packages): Remove.
8101         (menu-bar-help-menu): Use view-external-packages instead.
8103 2014-01-07  Bastien Guerry  <bzg@gnu.org>
8105         * emacs-lisp/package.el (package-delete): Also delete the package
8106         name from `package-alist', not its description only.
8108 2014-01-07  Glenn Morris  <rgm@gnu.org>
8110         * help.el (view-external-packages):
8111         * menu-bar.el (menu-bar-help-extra-packages):
8112         Visit efaq.info rather than etc/MORE.STUFF.
8114 2014-01-07  Juri Linkov  <juri@jurta.org>
8116         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
8117         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
8119         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
8120         that shadows RET.  (Bug#16342)
8122 2014-01-07  Chong Yidong  <cyd@gnu.org>
8124         * isearch.el (isearch-yank-char, isearch-yank-word)
8125         (isearch-yank-line): Doc fix.
8127 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8129         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
8130         * emacs-lisp/elint.el (elint-find-builtins):
8131         * emacs-lisp/eldoc.el (eldoc-symbol-function):
8132         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
8133         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
8134         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8135         * apropos.el (apropos-safe-documentation):
8136         * subr.el (symbol-file): Remove redundant fboundp.
8137         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
8139 2014-01-06  Bastien Guerry  <bzg@gnu.org>
8141         * hl-line.el (global-hl-line-overlay): Make a local variable.
8142         (global-hl-line-overlays): New variable to store all overlays.
8143         (global-hl-line-mode): Don't delete overlays from the current
8144         buffer when `global-hl-line-sticky-flag' is non-nil.
8145         (global-hl-line-highlight): Add new overlays to
8146         `global-hl-line-overlays'.
8147         (global-hl-line-unhighlight-all): New function to delete all
8148         overlays when turning off `global-hl-line-mode'.
8149         This fixes Bug#16183.
8151 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8153         * subr.el (set-transient-map): Fix nested case and docstring.
8155 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
8157         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
8158         `Texinfo' entry.
8160 2014-01-06  Daniel Colascione  <dancol@dancol.org>
8162         Fix defun navigation in vc log view.
8164         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
8165         like `beginning-of-defun'.
8166         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
8167         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
8168         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
8169         (log-view-extract-comment): Call `log-view-current-entry' directly
8170         instead of relying on broken `log-view-beginning-of-defun' behavior.
8172 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
8174         Spelling fixes.
8175         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
8176         * emacs-lisp/debug.el (cancel-debug-on-entry):
8177         * epg.el (epg-error-to-string):
8178         * files.el (recover-file):
8179         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
8180         * mail/emacsbug.el (report-emacs-bug-hook):
8181         * mail/sendmail.el (mail-recover):
8182         * ses.el (ses-yank-resize):
8183         * term/ns-win.el (ns-print-buffer):
8184         Spelling fixes in diagnostics, mostly for "canceled" with one L.
8185         * epg.el (epg-key-capability-alist): Rename from misspelled version.
8186         All uses changed.
8187         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
8189 2014-01-06  Leo Liu  <sdl.web@gmail.com>
8191         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
8192         to avoid shadowing global key.  (Bug#16354)
8194 2014-01-06  Daniel Colascione  <dancol@dancol.org>
8196         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
8197         rst-mode.
8199 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
8201         * window.el (balance-windows): Add mising t to fix Bug#16351.
8203 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8205         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
8206         (bug#16285).
8207         (shr-insert): If we have a word that's longer than `shr-width',
8208         break after it anyway.  Otherwise we'll do no breaking once we get
8209         such a long word.
8211 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
8213         * net/eww.el (eww): Support single/double quote for search.
8214         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
8215         (eww-history-quit): Delete and use quit-window.
8216         (eww-history-kill): Delete, because it doesn't work well and
8217         not necessary.
8218         (eww-history-mode-map): Delete some keys and add easy-menu.
8220 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
8222         Fix misspelling of 'chinese' in rx (Bug#16237).
8223         * emacs-lisp/rx.el (rx-categories): Correct spelling of
8224         chinese-two-byte.
8226         Change subword regexps back to vars (Bug#16296).
8227         * progmodes/subword.el (subword-forward-regexp)
8228         (subword-backward-regexp): Change these back to variables.
8230 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8232         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
8233         syntax-begin-function (bug#16247).
8235 2014-01-03  Chong Yidong  <cyd@gnu.org>
8237         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
8238         (advice--docstring): Delete variable.
8239         (advice--make-1): Leave the docstring empty.
8240         (advice-add): Use function-documentation for advised docstring.
8242         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
8243         Ignore function-documentation property when getting documentation.
8244         (ad-activate-advised-definition): Use function-documentation
8245         generate the docstring.
8246         (ad-make-advised-definition): Don't call
8247         ad-make-advised-definition-docstring.
8248         (ad-make-advised-definition-docstring, ad-advised-definition-p):
8249         Delete functions.
8251         * progmodes/sql.el (sql-help): Use function-documentation instead
8252         of dynamic-docstring-function property.  No need to autoload now.
8253         (sql--help-docstring): New variable.
8254         (sql--make-help-docstring): Use it.
8256 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8258         * ielm.el (ielm-tab): Retarget.
8259         (ielm-map): Use ielm-tab for tab.
8260         (ielm-complete-filename): Use comint-filename-completion.
8261         (ielm-complete-symbol): Remove.
8262         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
8263         remove ielm-tab from completion-at-point-functions (bug#16224).
8265         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
8266         Beware signals raised by predicates (bug#16201).
8268 2014-01-02  Richard Stallman  <rms@gnu.org>
8270         * dired-aux.el (dired-do-print): Handle printer-name.
8272         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
8273         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
8274         (rmail-epa-decrypt): Turn off mime processing.
8276         * mail/rmail.el (rmail-make-in-reply-to-field):
8277         Add parens in message-id.
8279         * mail/rmail.el (rmail-get-coding-function): Variable.
8280         (rmail-get-coding-system): Use it.
8282 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
8284         * international/mule-conf.el: Unify the charset indian-is13194.
8285         (indian-is13194): Specify unify-map.
8287 2013-12-31  Leo Liu  <sdl.web@gmail.com>
8289         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
8291 2013-12-30  Daniel Colascione  <dancol@dancol.org>
8293         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
8294         of printing a useless when we resume from sleep.
8296         * progmodes/sh-script.el
8297         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
8298         in indentation code.  (Bug#16233)
8300 2013-12-28  João Távora  <joaotavora@gmail.com>
8302         * elec-pair.el (electric-pair-post-self-insert-function):
8303         Don't open extra newlines at beginning of buffer.  (Bug#16272)
8305 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
8307         * frame.el (window-system-for-display): Don't allow to create a
8308         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
8310 2013-12-28  Glenn Morris  <rgm@gnu.org>
8312         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
8313         Update callers.
8315         * apropos.el (apropos-match-face):
8316         * calculator.el (calculator-displayer):
8317         * dabbrev.el (dabbrev-search-these-buffers-only):
8318         * face-remap.el (buffer-face-mode-face):
8319         * simple.el (yank-handled-properties):
8320         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
8321         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
8322         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
8323         (hashcash-double-spend-database):
8324         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
8325         (ruby-deep-indent-paren-style):
8326         * textmodes/flyspell.el (flyspell-auto-correct-binding):
8327         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
8328         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
8329         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
8330         Specify custom types.
8332         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
8333         * bookmark.el (bookmark-bmenu-use-header-line):
8334         * doc-view.el (doc-view-scale-internally):
8335         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
8336         * register.el (register-preview-delay):
8337         * net/shr.el (shr-bullet):
8338         * progmodes/cfengine.el (cfengine-cf-promises)
8339         (cfengine-parameters-indent):
8340         * progmodes/octave.el (inferior-octave-error-regexp-alist):
8341         * textmodes/reftex-vars.el (reftex-label-regexps):
8342         * vc/log-edit.el (log-edit-setup-add-author): Add version.
8344         * net/tls.el (tls-certtool-program): Fix default value.
8346         * desktop.el (desktop-restore-in-current-display):
8347         * newcomment.el (comment-empty-lines):
8348         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
8349         (idlwave-pad-keyword):
8350         * progmodes/tcl.el (tcl-tab-always-indent):
8351         * textmodes/reftex-vars.el (reftex-index-default-tag):
8352         * elec-pair.el (electric-pair-skip-whitespace):
8353         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
8355         * emacs-lisp/authors.el (authors-ignored-files)
8356         (authors-valid-file-names, authors-renamed-files-alist): Additions.
8358 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
8360         * shell.el (shell-dynamic-complete-command): Doc fix.
8361         (shell--command-completion-data): Shell completion now matches
8362         executable filenames from the current buffer's directory, on
8363         systems in which this behavior is the default (windows-nt, ms-dos).
8365 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
8367         * net/shr.el (shr-insert): Don't infloop if the width is zero.
8369 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8371         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
8372         (bug#16251).
8374         * electric.el: Move all electric-pair-* to elec-pair.el.
8375         * elec-pair.el: New file, split from electric.el.
8377 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
8379         * net/shr.el (shr-find-fill-point): Don't try to fill if the
8380         indentation level is larger than the width, because that will
8381         infloop.
8382         (shr-insert): Fill repeatedly long texts, so that Japanese is
8383         formatted correctly (bug#16263).
8384         (shr-find-fill-point): Off by one error in comparison with the
8385         indentation.
8387 2013-12-26  João Távora  <joaotavora@gmail.com>
8389         * electric.el (electric-pair-mode): More flexible engine for skip-
8390         and inhibit predicates, new options for pairing-related functionality.
8391         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
8392         if that keeps or improves their balance in buffers.
8393         (electric-pair-delete-adjacent-pairs): Delete the pair when
8394         backspacing over adjacent matched delimiters.
8395         (electric-pair-open-extra-newline): Open extra newline when
8396         inserting newlines between adjacent matched delimiters.
8397         (electric--sort-post-self-insertion-hook):
8398         Sort post-self-insert-hook according to priority values when
8399         minor-modes are activated.
8400         * simple.el (newline-and-indent): Call newline with interactive
8401         set to t.
8402         (blink-paren-post-self-insert-function): Set priority to 100.
8403         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8404         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
8405         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
8406         electric-pair-open-newline-between-pairs to nil.
8408 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8410         * progmodes/python.el: Use lexical-binding.
8411         (python-nav-beginning-of-defun): Stop searching ASAP.
8413 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
8415         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
8416         Fix interactive spec.  Doc fix.  (Bug#15754)
8418 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
8420         * emacs-lisp/byte-run.el (eval-when-compile):
8421         * progmodes/cc-defs.el (cc-eval-when-compile):
8422         Fix edebug spec (bug#16184).
8424 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
8426         * net/shr.el (shr-visit-file): Remove debugging function.
8427         (shr-insert): Don't infloop if we can't find a good place to break
8428         the line (bug#16256).
8430 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8432         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
8433         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
8434         python-nav-lisp-forward-sexp-safe.
8435         (python-nav--forward-sexp): New argument SAFE allows switching
8436         forward sexp movement behavior for parens.
8437         (python-nav-forward-sexp): Throw errors on unterminated parens
8438         (Bug#16191).
8439         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
8440         (python-nav-backward-sexp-safe): New functions.
8441         (python-shell-buffer-substring):
8442         Use `python-nav-forward-sexp-safe'.
8444 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
8446         * net/shr.el (shr-find-fill-point): Don't break lines before a
8447         quotation mark.
8448         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
8449         (shr-find-fill-point): Remove the special checks for the quotation
8450         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
8452 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
8454         * net/eww.el (eww-form-textarea): Use a different face for
8455         textareas than text input since they have different keymaps
8456         (bug#16142).
8458 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8460         * progmodes/python.el (python-nav-beginning-of-statement):
8461         Speed up (Bug#15295).
8463 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
8465         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
8466         the window configuration.
8468 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
8470         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
8471         we run on MS-Windows or MS-DOS.
8473 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
8475         * window.el (balance-windows-area): Call window-size instead of
8476         window-height and window-width.  Bug#16241.
8478 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
8480         * net/eww.el (eww-bookmark-quit): Remove.
8481         (eww-bookmark-browse): Restore the window configuration when you
8482         choose a bookmark (bug#16144).
8484 2013-12-24  Daniel Colascione  <dancol@dancol.org>
8486         * icomplete.el: Remove redundant :group arguments to `defcustom'
8487         throughout.
8488         (icomplete-show-matches-on-no-input): New customizable variable.
8489         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
8490         we have something to show.
8491         (icomplete-exhibit): Compute completions even if we have no user input.
8493 2013-12-23  Daniel Colascione  <dancol@dancol.org>
8495         * icomplete.el: Move `provide' to end of file.
8497 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
8499         * net/gnutls.el (gnutls-verify-error): Add version tag.
8501 2013-12-23  Chong Yidong  <cyd@gnu.org>
8503         * subr.el (set-transient-map): Rename from
8504         set-temporary-overlay-map.  Doc fix.
8506         * face-remap.el (text-scale-adjust):
8507         * indent.el (indent-rigidly):
8508         * kmacro.el (kmacro-call-macro):
8509         * minibuffer.el (minibuffer-force-complete):
8510         * repeat.el (repeat):
8511         * simple.el (universal-argument--mode):
8512         * calendar/todo-mode.el (todo-insert-item--next-param):
8513         * progmodes/f90.el (f90-abbrev-start): Callers changed.
8515         * indent.el (indent-rigidly): Use substitute-command-keys.
8517 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
8519         * net/eww.el (eww-tag-select): Add text-property to jump to next
8520         select field.
8521         (eww): Add non-supported ftp error.
8523 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
8525         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
8526         comments.  Handle electric indent after typing `?' and `!'.
8528 2013-12-22  Chong Yidong  <cyd@gnu.org>
8530         * faces.el (face-spec-recalc): If the theme specs are not
8531         applicable to a frame, fall back on the defface spec.
8532         This prevents themes from obliterating faces on low-color terminals.
8534 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
8536         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
8537         after `{'.  We need it after block openers, and it doesn't seem
8538         to hurt after hash openers.
8540 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
8542         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
8543         extracted from `ruby-smie-rules'.
8544         (ruby--electric-indent-chars): New variable.
8545         (ruby--electric-indent-p): New function.
8546         (ruby-mode): Use `electric-indent-functions' instead of
8547         `electric-indent-chars'.
8549 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
8551         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
8552         docstring.
8553         (ruby-smie-rules): Indent plus one level after `=>'.
8555 2013-12-21  Richard Stallman  <rms@gnu.org>
8557         * simple.el (newline): Doc fix.
8559 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
8561         * net/eww.el (eww-list-histories, eww-list-histories)
8562         (eww-history-browse, eww-history-quit, eww-history-kill)
8563         (eww-history-mode-map, eww-history-mode): New command and
8564         functions to list browser histories.
8565         (eww-form-text): Support text form with disabled
8566         and readonly attributes.
8567         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
8569 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8571         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
8572         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
8573         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
8574         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
8575         Use `user-error'.
8576         (eww-bookmark-mode-map): Add menu.
8577         (eww-render, eww-mode): Use `setq-local'.
8578         (eww-tool-bar-map): New variable.
8579         (eww-mode): Set `tool-bar-map'.
8580         (eww-view-source): Check for `html-mode' with `fboundp'.
8582 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8584         * net/shr.el (shr--extract-best-source): Don't bug out on audio
8585         elements with text inside.  Also remove debugging.
8587 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
8589         * cus-start.el (all): Add ns-use-srgb-colorspace.
8591 2013-12-21  Chong Yidong  <cyd@gnu.org>
8593         * custom.el (custom-theme-recalc-face): Do nothing if the face is
8594         undefined.  Thus, theme settings for undefined faces do not take
8595         effect until the faces are defined with defface, the same as with
8596         theme variables.
8598         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
8599         (face-spec-reset-face): Don't assign extra properties in temacs.
8600         (face-spec-recalc): Apply X resources too.
8602 2013-12-21  Chong Yidong  <cyd@gnu.org>
8604         * faces.el (face-spec-set):
8605         * cus-face.el (custom-theme-set-faces, custom-set-faces):
8606         * custom.el (defface): Doc fixes (Bug#16203).
8608         * indent.el (indent-rigidly-map): Add docstring, and move commands
8609         into named functions.
8610         (indent-rigidly-left, indent-rigidly-right)
8611         (indent-rigidly-left-to-tab-stop)
8612         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
8613         indentation direction based on bidi direction, and accumulate
8614         sequential commands in a single undo boundary.
8615         (indent-rigidly--pop-undo): New utility function.
8617 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
8619         * faces.el (read-face-name): Require crm.el when using crm-separator.
8621 2013-12-20  Daniel Colascione  <dancol@dancol.org>
8623         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
8624         so that we don't reflow comments into the shebang line.
8626 2013-12-20  Juri Linkov  <juri@jurta.org>
8628         * saveplace.el (save-place-to-alist): Add `dired-filename' as
8629         a position when `dired-directory' is non-nil.  Check integer
8630         positions with `integerp'.
8631         (toggle-save-place, save-places-to-alist): Add check for
8632         `dired-directory'.
8633         (save-place-find-file-hook): Check integer positions with
8634         `integerp'.
8635         (save-place-dired-hook): Use `dired-goto-file' when
8636         `dired-filename' is found in the assoc list.  Check integer
8637         positions with `integerp'.
8638         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
8640         * dired.el (dired-initial-position-hook): Rename back from
8641         `dired-initial-point-hook'.
8642         (dired-initial-position): Rename `dired-initial-point-hook' to
8643         `dired-initial-position-hook'.
8644         (dired-file-name-at-point): Doc fix.  (Bug#15329)
8646 2013-12-20  Juri Linkov  <juri@jurta.org>
8648         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
8649         (read-regexp-suggestions): New function.
8650         (read-regexp): Use `read-regexp-defaults-function' to get default values.
8651         Use `read-regexp-suggestions'.  Add non-empty default to history
8652         for empty input.
8653         (occur-read-regexp-defaults-function): Remove function.
8654         (occur-read-primary-args): Use `regexp-history-last' instead of
8655         `occur-read-regexp-defaults-function'.
8657         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
8658         (hi-lock-line-face-buffer, hi-lock-face-buffer)
8659         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
8660         `hi-lock-read-regexp-defaults-function'.  Doc fix.
8661         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
8662         with `find-tag-default-as-symbol-regexp'.  Doc fix.
8663         (hi-lock-read-regexp-defaults): Remove function.
8664         (hi-lock-regexp-okay): Add check for null.
8666         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
8667         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
8669         * subr.el (find-tag-default-as-symbol-regexp): New function.
8670         (find-tag-default-as-regexp): Move symbol regexp formatting to
8671         `find-tag-default-as-symbol-regexp'.
8673 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
8675         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
8676         (Bug#14179)
8678 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
8680         * calendar/todo-mode.el: New implementation of item insertion
8681         commands and key bindings.
8682         (todo-key-prompt): New face.
8683         (todo-insert-item): New command.
8684         (todo-insert-item--parameters): New defconst, replacing defvar
8685         todo-insertion-commands-args-genlist.
8686         (todo-insert-item--param-key-alist): New defconst, replacing
8687         defvar todo-insertion-commands-arg-key-list.
8688         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
8689         (todo-insert-item--argsleft, todo-insert-item--apply-args)
8690         (todo-insert-item--next-param): New functions.
8691         (todo-insert-item--args, todo-insert-item--argleft)
8692         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
8693         New variables.
8694         (todo-key-bindings-t): Change binding of "i" from
8695         todo-insertion-map to todo-insert-item.
8696         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
8697         (todo-insertion-command-name, todo-insertion-commands-names)
8698         (todo-define-insertion-command, todo-insertion-commands)
8699         (todo-insertion-key-bindings, todo-insertion-map): Remove.
8701 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
8703         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
8704         (todo-toggle-item-highlighting): Use eval-and-compile instead of
8705         eval-when-compile.
8706         (todo-move-category): Allow choosing a non-existing todo file to
8707         move the category to, and create that file.
8708         (todo-default-priority): New user option.
8709         (todo-set-item-priority): Use it.
8710         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
8711         (desktop-restore-file-buffer): Declare.
8712         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
8713         (todo-modes-set-2): Locally set desktop-save-buffer to
8714         todo-desktop-save-buffer.
8715         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
8716         (auto-mode-alist): Add autoload cookie.
8718 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
8720         * emacs-lisp/subr-x.el: Renamed from helpers.el.
8721         helpers.el was a poor choice of name.
8722         (string-remove-prefix): New function.
8723         (string-remove-suffix): New function.
8725 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
8727         Fix assignment for new window total sizes.
8728         * window.el (window--pixel-to-size): Remove function.
8729         (window--pixel-to-total-1, window--pixel-to-total):
8730         Fix calculation of new total sizes.
8732 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
8734         * comint.el (comint-output-filter): Fix rear-nonsticky property
8735         placement (Bug#16010).
8737 2013-12-20  Chong Yidong  <cyd@gnu.org>
8739         * faces.el (read-color): Minor fix for completion function.
8741 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
8743         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
8744         New option.  (Bug#16182)
8745         (ruby-smie--indent-to-stmt-p): Use it.
8746         (ruby-smie-rules): Revert the logic in the handling of `when'.
8747         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
8748         (ruby-deep-arglist, ruby-deep-indent-paren)
8749         (ruby-deep-indent-paren-style): Update docstrings to note that the
8750         vars don't have any effect with SMIE.
8752 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
8754         * calc/calc.el (calc-enter, calc-pop): Use the variable
8755         `calc-context-sensitive-enter'.
8757 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8759         * net/shr.el (shr-insert): Protect against infloops in degenerate
8760         tables.
8762 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8764         * progmodes/octave.el (octave): Add link to manual and octave
8765         homepage.
8766         (octave-mode-menu): Link to octave-mode manual.
8768 2013-12-20  Leo Liu  <sdl.web@gmail.com>
8770         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
8771         insertion using skeleton-end-newline.  (Bug#16138)
8773 2013-12-20  Juri Linkov  <juri@jurta.org>
8775         * replace.el (occur-engine): Use `add-face-text-property'
8776         to add the face property to matches and titles.  (Bug#14645)
8778         * hi-lock.el (hi-green): Use lighter color "light green" closer to
8779         the palette of other hi-lock colors.
8780         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
8782 2013-12-19  Juri Linkov  <juri@jurta.org>
8784         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
8785         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
8786         (minibuffer-history-symbol): Move variable declaration closer to
8787         its usage.
8789         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
8790         (Bug#14785)
8792 2013-12-19  Juri Linkov  <juri@jurta.org>
8794         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
8795         New function.
8796         (log-edit-hook): Add it to :options.  (Bug#16170)
8798 2013-12-19  Juri Linkov  <juri@jurta.org>
8800         * simple.el (eval-expression-print-format): Don't check for
8801         command names and the last command.  Always display additional
8802         formats of the integer result in the echo area, and insert them
8803         to the current buffer only with a zero prefix arg.
8804         Display character when char-displayable-p is non-nil.
8805         (eval-expression): With a zero prefix arg, set `print-length' and
8806         `print-level' to nil, and insert the integer values from
8807         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
8809         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
8810         `eval-last-sexp-arg-internal'.  Doc fix.
8811         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
8812         `eval-last-sexp-print-value'.  Doc fix.
8813         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
8814         Set `print-length' and `print-level' to nil when arg is zero.
8815         (eval-last-sexp): Doc fix.
8816         (eval-defun-2): Print the integer values from
8817         `eval-expression-print-format' at the end.
8819         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
8820         values from `eval-expression-print-format' at the end.
8822         * ielm.el (ielm-eval-input): Print the integer
8823         values from `eval-expression-print-format' at the end.
8825 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
8827         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
8828         2013-12-11T19:01:44Z!tzz@lifelogs.com.
8830 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8832         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
8833         (hl-line-highlight, global-hl-line-highlight): Use it.
8834         (hl-line-overlay): Use defvar-local.
8836 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
8838         * term/ns-win.el: Require dnd.
8839         (global-map): Remove drag items.
8840         (ns-insert-text, ns-set-foreground-at-mouse)
8841         (ns-set-background-at-mouse):
8842         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
8843         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
8844         New functions.
8846 2013-12-19  Glenn Morris  <rgm@gnu.org>
8848         * emacs-lisp/ert.el (ert-select-tests):
8849         Fix string/symbol mixup.  (Bug#16121)
8851 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
8853         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
8854         keywords to their parent.
8856 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
8858         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
8859         first arg to be a string (fixed dead code), or an operator symbol.
8860         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
8861         operator symbols.
8862         (ruby-smie-rules): Remove parent token check in the `.' clause, it
8863         did nothing.  Don't respond to `(:after ".")', it will be called
8864         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
8865         change anything.  Only return indentation for binary operators
8866         when they are hanging.  De-dent opening paren when its parent is
8867         `.', otherwise it looks bad when the dot is not at bol or eol
8868         (bug#16182).
8870 2013-12-19  Juri Linkov  <juri@jurta.org>
8872         * replace.el (query-replace-read-args): Split a non-negative arg
8873         and a negative arg into separate elements.
8874         (query-replace, query-replace-regexp, replace-string)
8875         (replace-regexp): Add arg `backward'.  Doc fix.
8876         (replace-match-maybe-edit): When new arg `backward' is non-nil,
8877         move point to the beginning of the match.
8878         (replace-search, replace-highlight): Use new arg `backward'
8879         to set the value of `isearch-forward'.
8880         (perform-replace): Add arg `backward' and use it to perform
8881         replacement backward.  (Bug#14979)
8883         * isearch.el (isearch-query-replace): Use a negative prefix arg
8884         to call `perform-replace' with a non-nil arg `backward'.
8886 2013-12-18  Juri Linkov  <juri@jurta.org>
8888         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
8889         to the default list.  Move `log-edit-show-files' to the end.
8890         Add more available functions to options.
8891         (log-edit): Move default specific settings to
8892         `log-edit-insert-message-template'.  Don't move point.
8893         (log-edit-insert-message-template): New function.
8894         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
8895         (Bug#16170)
8897 2013-12-18  Juri Linkov  <juri@jurta.org>
8899         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
8900         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
8902 2013-12-18  Leo Liu  <sdl.web@gmail.com>
8904         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
8905         (Bug#16186)
8907 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
8909         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
8910         formats for displaying file sizes when the -s switch is given.
8911         Instead, compute a separate format for displaying the size in
8912         blocks, which is displayed in addition to the "regular" size.
8913         When -h is given in addition to -s, produce size in blocks in
8914         human-readable form as well.  (Bug#16179)
8916 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
8918         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8919         Reference tables with ~\ref{...} instead of only \ref{...}.
8921 2013-12-18  Chong Yidong  <cyd@gnu.org>
8923         * cus-edit.el (custom-magic-alist): Fix "themed" description
8924         (Bug#14348).
8926         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
8927         is non-nil, do not create a new entry in the symbol's theme-value
8928         or theme-face property; update theme-settings only (Bug#14664).
8929         (custom-available-themes): Doc fix.
8931         * cus-theme.el (custom-new-theme-mode-map): Add bindings
8932         (Bug#15674).
8934         * replace.el (occur-engine): Avoid infloop (Bug#7593).
8936 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
8938         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
8939         (Bug#13914).
8941 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
8943         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
8945 2013-12-18  Glenn Morris  <rgm@gnu.org>
8947         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
8948         * cus-start.el (load-prefer-newer): New option.
8950 2013-12-18  Le Wang  <l26wang@gmail.com>
8952         * comint.el (comint-previous-matching-input-from-input):
8953         Retain point (Bug#13404).
8955 2013-12-18  Chong Yidong  <cyd@gnu.org>
8957         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
8959 2013-12-18  Glenn Morris  <rgm@gnu.org>
8961         * mail/emacsbug.el (report-emacs-bug):
8962         Only mention enable-multibyte-characters if non-standard.
8964 2013-12-17  Juri Linkov  <juri@jurta.org>
8966         * arc-mode.el (archive-extract-by-file): Check if directory exists
8967         before deletion to not show irrelevant errors if it doesn't exist.
8969 2013-12-17  Juri Linkov  <juri@jurta.org>
8971         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
8972         (Bug#14751)
8974         * net/eww.el (browse-web): Add alias to `eww'.
8975         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
8976         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
8978         * net/browse-url.el (browse-url-browser-function): Move `eww'
8979         closer to similar functions.
8981         * startup.el (fancy-startup-screen, fancy-about-screen):
8982         Set browse-url-browser-function to eww-browse-url locally.
8983         (Bug#14751)
8985 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8987         * window.el (window--pixel-to-total): Remove unused `mini' var.
8988         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
8989         (split-window): Remove unused `new' var.
8990         (window--display-buffer): Remove unused `frame' and `delta' vars.
8991         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
8992         and display-width'.
8994 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
8996         * dired.el (dired-mark-pop-up):
8997         * register.el (register-preview): Don't bind
8998         split-height-threshold here since it's now done in
8999         display-buffer-below-selected.
9001 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
9003         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
9004         xterm-rgb-convert-to-16bit.
9005         (rxvt-register-default-colors): Standardize with
9006         xterm-register-default-colors (Bug#14078).
9008 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
9010         * simple.el (kill-region): Pass mark first, then point, so that
9011         kill-append works right (Bug#12819).
9012         (copy-region-as-kill, kill-ring-save): Likewise.
9014 2013-12-17  Leo Liu  <sdl.web@gmail.com>
9016         * net/rcirc.el (rcirc-add-face):
9017         * eshell/em-prompt.el (eshell-emit-prompt):
9018         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
9019         (Bug#16167)
9021 2013-12-17  Chong Yidong  <cyd@gnu.org>
9023         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
9024         Suggested by Xue Fuqiao.
9026 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
9028         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
9030 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9032         * net/shr.el (shr-insert-document): Remove unused var
9033         `shr-preliminary-table-render'.
9034         (shr-rescale-image): Remove unused arg `force'.
9035         (shr-put-image): Update calls accordingly.
9036         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
9038 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
9040         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
9041         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
9042         :close-all, to see which indentation method to use (Bug#16116).
9043         (smie-rules-function): Document the method :close-all.
9045 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9047         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
9049         * net/eww.el (eww-display-html): If we can't find the anchor we're
9050         looking for, then go to point-min.
9052 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
9054         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
9055         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
9056         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
9057         Expand dir too, in case it's relative.
9059 2013-12-16  Juri Linkov  <juri@jurta.org>
9061         * desktop.el (desktop-auto-save-timeout): Change default to
9062         `auto-save-timeout'.  Doc fix.
9063         (desktop-save): Skip the timestamp in desktop-saved-frameset
9064         when checking for auto-save changes.
9065         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
9066         `desktop-auto-save' is called repeatedly by the idle timer.
9067         (desktop-auto-save-set-timer): Replace `run-with-timer' with
9068         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
9069         (Bug#15331)
9071 2013-12-16  Juri Linkov  <juri@jurta.org>
9073         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
9074         (Bug#16035)
9075         (isearch-pre-command-hook): Check `this-command' for symbolp.
9077 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9079         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
9081 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
9083         * progmodes/cfengine.el (cfengine3--current-word): Remove.
9084         (cfengine3--current-function): Bring in the current-function
9085         functionality from `cfengine3--current-word'.
9086         (cfengine3-completion-function): Bring in the
9087         bounds-of-current-word functionality from
9088         `cfengine3--current-word'.
9090 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
9092         * window.el (display-buffer-below-selected):
9093         Bind split-height-threshold to 0 as suggested by Juri Linkov.
9095 2013-12-16  Leo Liu  <sdl.web@gmail.com>
9097         * progmodes/compile.el (compile-goto-error): Do not push-mark.
9098         Remove NOMSG arg and all uses changed.
9100 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9102         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
9103         (cua--deactivate-rectangle): Don't deactivate the mark.
9104         (cua-set-rectangle-mark): Don't set mark-active since
9105         cua--activate-rectangle already does it for us.
9106         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
9107         non-rectangular region.
9109         * emulation/cua-base.el (cua-repeat-replace-region):
9110         Use with-current-buffer.
9112         * net/gnutls.el: Use cl-lib.
9113         (gnutls-negotiate): `mapcan' -> cl-mapcan.
9115 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
9117         * emacs-lisp/package.el (package-built-in-p): Support both
9118         built-in and the package.el converted package descriptions.
9119         (package-show-package-list): Allow keywords.
9120         (package-keyword-button-action): Use it instead of
9121         `finder-list-matches'.
9122         (package-menu-filter-interactive): Interactive filtering (by
9123         keyword) function.
9124         (package-menu--generate): Support keywords and change keymappings
9125         and headers when they are given.
9126         (package--has-keyword-p): Helper function.
9127         (package-menu--refresh): Use it.
9128         (package--mapc): Helper function.
9129         (package-all-keywords): Use it.
9130         (package-menu-mode-map): Set up menu items and keybindings to
9131         provide a filtering UI.
9133 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
9135         * net/gnutls.el (gnutls-verify-error): New defcustom to control
9136         the behavior when a certificate fails validation.  Defaults to
9137         old behavior: never abort, just warn.
9138         (gnutls-negotiate): Use it.
9140 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
9142         * window.el (display-buffer-below-selected): Never split window
9143         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
9145 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
9147         * emacs-lisp/package.el (package--prepare-dependencies): New function.
9148         (package-buffer-info): Use it (bug#15108).
9150 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9152         * icomplete.el (icomplete-completions): Make sure the prefix is already
9153         displayed elsewhere before hiding it (bug#16219).
9155 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
9157         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
9158         open-paren tokens when preceded by a open-paren, too.
9159         (ruby-smie-rules): Handle virtual indentation after open-paren
9160         tokens specially.  If there is code between it and eol, return the
9161         column where is starts (Bug#16118).
9163 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
9165         * progmodes/cfengine.el: Fix `add-hook' doc.
9166         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
9167         (cfengine3--current-word): Fix parameters.
9168         (cfengine3-make-syntax-cache): Simplify further.
9169         (cfengine3-completion-function, cfengine3--current-function):
9170         Use `assq' for symbols.
9171         (cfengine3--current-function): Fix `cfengine3--current-word' call.
9173 2013-12-13  Glenn Morris  <rgm@gnu.org>
9175         * loadup.el (load-path): Warn if site-load or site-init changes it.
9176         No more need to reset it when bootstrapping.
9178 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
9180         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
9181         locations for cf-promises.
9182         (cfengine-mode-syntax-functions-regex): New caching variable.
9183         (cfengine3-fallback-syntax): Fallback syntax for cases where
9184         cf-promises doesn't run.
9185         (cfengine3--current-word): Reimplement using
9186         `cfengine-mode-syntax-functions-regex'.
9187         (cfengine3-completion-function, cfengine3--current-function):
9188         Use `cfengine3-make-syntax-cache' directly.
9189         (cfengine3-clear-syntax-cache): New function.
9190         (cfengine3-make-syntax-cache): Simplify and create
9191         `cfengine-mode-syntax-functions-regex' on demand.
9192         (cfengine3-format-function-docstring): Don't call
9193         `cfengine3-make-syntax-cache' explicitly.
9195 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
9197         Fix windmove-find-other-window broken after pixelwise resizing
9198         (Bug#16017).
9199         * windmove.el (windmove-other-window-loc): Revert change from
9200         2013-12-04.
9201         (windmove-find-other-window): Call window-in-direction.
9202         * window.el (window-in-direction): New arguments SIGN, WRAP and
9203         MINI to emulate original windmove-find-other-window behavior.
9205 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
9207         * simple.el (blink-matching--overlay): New variable.
9208         (blink-matching-open): Instead of moving point, highlight the
9209         matching paren with an overlay
9210         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
9212         * faces.el (paren-showing-faces, show-paren-match)
9213         (show-paren-mismatch): Move from paren.el.
9215 2013-12-13  Leo Liu  <sdl.web@gmail.com>
9217         * indent.el (indent-region): Disable progress reporter in
9218         minibuffer.  (Bug#16108)
9220         * bindings.el (visual-order-cursor-movement): Fix version.
9222 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9224         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
9225         Also match after beginning of line.
9226         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
9227         files.  Thanks to Russell Sim.  (Bug#15378)
9229 2013-12-13  Juri Linkov  <juri@jurta.org>
9231         * simple.el <Keypad support>: Remove key bindings duplicated
9232         with bindings.el.  (Bug#14397)
9234 2013-12-13  Juri Linkov  <juri@jurta.org>
9236         * comint.el (comint-mode-map): Replace `delete-char' with
9237         `delete-forward-char'.  (Bug#16109)
9239 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9241         * progmodes/python.el (python-indent-calculate-indentation):
9242         Fix de-denters cornercase.  (Bug#15731)
9244 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9246         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
9247         (advice--make): Pay attention to `depth'.
9248         (advice--make-1): Don't autoload commands eagerly.
9249         * emacs-lisp/elp.el (elp-instrument-function):
9250         * emacs-lisp/trace.el (trace-function-internal):
9251         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
9253         * iswitchb.el (iswitchb-mode): Don't belittle ido.
9255 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
9257         * term/w32-win.el (w32-handle-dropped-file):
9258         * startup.el (normal-top-level):
9259         * net/browse-url.el (browse-url-file-url):
9260         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
9261         decode file names using 'utf-8' rather than
9262         file-name-coding-system.
9264 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9266         * progmodes/python.el (python-indent-context)
9267         (python-indent-calculate-indentation): Fix auto-identation
9268         behavior for comment blocks.  (Bug#15916)
9270 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
9272         * progmodes/python.el (python-indent-calculate-indentation):
9273         When determining indentation, don't treat "return", "pass", etc., as
9274         operators when they are just string constituents.  (Bug#15812)
9276 2013-12-12  Juri Linkov  <juri@jurta.org>
9278         * uniquify.el (uniquify-buffer-name-style): Change default to
9279         `post-forward-angle-brackets'.
9281         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
9282         `uniquify'.  Change default to `post-forward-angle-brackets'.
9284 2013-12-11  Glenn Morris  <rgm@gnu.org>
9286         * emacs-lisp/package.el (finder-list-matches):
9287         Autoload rather than falsely declaring.
9289 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
9291         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
9292         (eww-mode-map): Use them.
9294 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
9296         * window.el (display-buffer-in-side-window): Fix doc-string
9297         (Bug#16115).
9299 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
9301         * vc/vc-git.el: Silence byte-compiler warnings.
9302         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
9303         (log-edit-set-header): Declare.
9305 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
9307         * Makefile.in (custom-deps, finder-data): Run output file names
9308         through unmsys--file-name.  (Bug#16099)
9310 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9312         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
9313         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
9315         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
9316         instead of deleting the selection "by hand" (bug#16098).
9317         Rely on insert-for-yank to yank rectangles.
9318         (cua-highlight-region-shift-only): Mark obsolete.
9319         (cua-mode): Don't enable/disable transient-mark-mode,
9320         shift-select-mode (cua-mode works both with and without them), and
9321         pc-selection-mode (obsolete).
9322         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
9323         (cua--deactivate-rectangle): Deactivate it.
9325         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
9326         (delete-selection-helper): Make sure yank starts at the top of the
9327         deleted region.
9328         (minibuffer-keyboard-quit): Use region-active-p.
9330         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
9332         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
9333         to `delete' (bug#16109).
9335 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9337         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
9338         info manual and show keybindings and set `:group' keyword.
9340 2013-12-11  Juri Linkov  <juri@jurta.org>
9342         * delsel.el (delete-active-region): Let-bind `this-command'
9343         to prevent `kill-region' from changing its original value.
9344         (delete-selection-helper): Handle `overwrite-mode' for the type
9345         `kill' exactly the same way as for the type `t'.
9346         (insert-char, quoted-insert, reindent-then-newline-and-indent):
9347         Support more commands.  (Bug#13312)
9349 2013-12-11  Juri Linkov  <juri@jurta.org>
9351         * bindings.el: Map kp keys to non-kp keys systematically
9352         with basic modifiers control, meta and shift.  (Bug#14397)
9354 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
9356         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
9357         "Close browser" menu items.  Fix wrong function of "List
9358         bookmarks".
9360 2013-12-11  Juri Linkov  <juri@jurta.org>
9362         * misearch.el (multi-isearch-buffers): Set the value of
9363         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
9364         arg of isearch-forward to t.
9365         (multi-isearch-buffers-regexp): Set the value of
9366         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
9367         arg of isearch-forward-regexp to t.
9368         (multi-isearch-files): Set the value of
9369         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
9370         arg of isearch-forward to t.
9371         (multi-isearch-files-regexp): Set the value of
9372         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
9373         arg of isearch-forward-regexp to t.  (Bug#16035)
9375         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
9376         arg of isearch-forward to t.
9377         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
9378         arg of isearch-forward-regexp to t.
9379         (dired-isearch-filter-filenames): Remove unnecessary check for
9380         `dired-isearch-filenames'.
9382         * comint.el (comint-history-isearch-backward):
9383         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
9384         (comint-history-isearch-backward-regexp):
9385         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
9387 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
9389         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
9390         unmsys--file-name.  (Bug#16099)
9392 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
9394         * emacs-lisp/package.el (package-keyword-button-action):
9395         Remove finder.el require dependency.
9397 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
9399         * emacs-lisp/package.el: Require finder.el.
9400         (describe-package-1): Add keyword buttons.
9401         (package-make-button): New convenience function.
9402         (package-keyword-button-action): Keyword button action using
9403         `finder-list-matches'.
9405 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
9407         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
9408         last commit.
9410 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
9412         * autorevert.el (auto-revert-notify-add-watch): Do not handle
9413         symlinked files.
9415 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
9417         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
9418         after the end of a percent literal.
9420 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
9422         * progmodes/ruby-mode.el (ruby-forward-string): Document.
9423         Handle caret-delimited strings (Bug#16079).
9425 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
9427         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
9428         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
9429         `ruby-parse-partial' (Bug#16078).
9431 2013-12-09  Leo Liu  <sdl.web@gmail.com>
9433         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
9435 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
9437         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
9438         (js-switch-indent-offset): New option.
9439         (js--proper-indentation): Use it.  And handle the case when
9440         "default" is actually a key in an object literal.
9441         (js--same-line): New function.
9442         (js--multi-line-declaration-indentation): Use it.
9443         (js--indent-in-array-comp, js--array-comp-indentation):
9444         New functions.
9445         (js--proper-indentation): Use them, to handle array comprehension
9446         continuations.
9448 2013-12-08  Leo Liu  <sdl.web@gmail.com>
9450         * progmodes/flymake.el (flymake-highlight-line): Re-write.
9451         (flymake-make-overlay): Remove arg MOUSE-FACE.
9452         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
9454 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9456         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
9457         New function.
9458         (redisplay-highlight-region-function): Use it.
9460         * emulation/cua-base.el (cua--explicit-region-start)
9461         (cua--last-region-shifted): Remove.
9462         (cua--deactivate): Use deactivate-mark.
9463         (cua--pre-command-handler-1): Don't handle shift-selection.
9464         (cua--post-command-handler-1): Don't change transient-mark-mode.
9465         (cua--select-keymaps): Use region-active-p rather than
9466         cua--explicit-region-start or cua--last-region-shifted.
9467         (cua-mode): Enable shift-select-mode.
9469 2013-12-08  Leo Liu  <sdl.web@gmail.com>
9471         * progmodes/flymake.el (flymake-popup-current-error-menu):
9472         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
9473         (flymake-posn-at-point-as-event, flymake-popup-menu)
9474         (flymake-make-emacs-menu): Remove.  (Bug#16077)
9476 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9478         * rect.el (rectangle-mark-mode): Activate mark even if
9479         transient-mark-mode is off (bug#16066).
9480         (rectangle--highlight-for-redisplay): Fix boundary condition when point
9481         is > mark and at bolp.
9483         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
9484         (region-extract-function): Use it.
9485         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
9486         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
9487         Delete functions.
9488         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
9489         kill-ring-save, kill-region, delete-char, delete-forward-char.
9490         Ignore self-insert-iso.
9492         * emulation/cua-gmrk.el (cua--init-global-mark):
9493         Ignore `self-insert-iso'.
9495         * emulation/cua-base.el (cua--prefix-copy-handler)
9496         (cua--prefix-cut-handler): Rely on region-extract-function rather than
9497         checking cua--rectangle.
9498         (cua-delete-region): Use region-extract-function.
9499         (cua-replace-region): Delete function.
9500         (cua-copy-region, cua-cut-region): Obey region-extract-function.
9501         (cua--pre-command-handler-1): Don't do the delete-selection thing.
9502         (cua--self-insert-char-p): Ignore `self-insert-iso'.
9503         (cua--init-keymaps): Don't remap delete-selection commands.
9504         (cua-mode): Use delete-selection-mode instead of rolling our own
9505         (bug#16085).
9507         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
9508         Obey region-extract-function.
9510         Make registers and delete-selection-mode work on rectangles.
9511         * register.el (describe-register-1): Don't modify the register's value.
9512         (copy-to-register): Obey region-extract-function.
9513         * delsel.el (delete-active-region): Obey region-extract-function.
9515 2013-12-08  Leo Liu  <sdl.web@gmail.com>
9517         * progmodes/flymake.el (flymake, flymake-error-bitmap)
9518         (flymake-warning-bitmap, flymake-fringe-indicator-position)
9519         (flymake-compilation-prevents-syntax-check)
9520         (flymake-start-syntax-check-on-newline)
9521         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
9522         (flymake-start-syntax-check-on-find-file, flymake-log-level)
9523         (flymake-xml-program, flymake-master-file-dirs)
9524         (flymake-master-file-count-limit)
9525         (flymake-allowed-file-name-masks): Relocate.
9526         (flymake-makehash, flymake-float-time)
9527         (flymake-replace-regexp-in-string, flymake-split-string)
9528         (flymake-get-temp-dir): Remove.
9529         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
9530         (flymake-current-row, flymake-selected-frame)
9531         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
9532         related functions.  (Bug#16077)
9534 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
9536         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
9538 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
9540         * help-fns.el (describe-function-1): Use new advice-* functions
9541         rather than old ad-* functions.  Fix function type description and
9542         source links for advised functions and subrs.
9544 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9546         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
9548 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
9550         * progmodes/compile.el (compilation-start):
9551         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
9553         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9554         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
9556 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
9558         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9559         Touch up the last change.
9561 2013-12-06  Leo Liu  <sdl.web@gmail.com>
9563         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
9564         (inferior-octave-startup): Always use "octave> " for prompt.
9565         (octave-goto-function-definition)
9566         (octave-sync-function-file-names)
9567         (octave-find-definition-default-filename): Remove redundant backquotes.
9569 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
9571         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
9572         syntax for `?'.
9573         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
9574         where appropriate already.
9575         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
9576         end of method names (Bug#15874).
9578 2013-12-06  Juri Linkov  <juri@jurta.org>
9580         * isearch.el (isearch--saved-overriding-local-map):
9581         New internal variable.
9582         (isearch-mode): Set it to the initial value of
9583         `overriding-terminal-local-map'.
9584         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
9585         with `isearch--saved-overriding-local-map'.  (Bug#16035)
9587 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
9589         * progmodes/octave.el (inferior-octave-completion-table):
9590         Turn back into function, use `completion-table-with-cache'
9591         (Bug#11906).  Update all references.
9593         * minibuffer.el (completion-table-with-cache): New function.
9595 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
9597         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
9599 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
9601         * net/eww.el (eww-current-source): New variable to store page
9602         source.
9603         (eww-display-html, eww-mode, eww-save-history)
9604         (eww-restore-history): Use it.
9605         (eww-view-source): New command to view page source.
9606         Opportunistically uses `html-mode' to highlight the buffer.
9607         (eww-mode-map): Install it.
9609 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
9611         * net/dbus.el (dbus-unregister-service)
9612         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
9613         Fix docstring.
9614         (dbus-unregister-service): Skip :serial entries in
9615         `dbus-registered-objects-table'.
9616         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
9618 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
9620         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
9621         around keywords with extra `split-string' argument.
9623 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
9625         * windmove.el (windmove-other-window-loc): Handle navigation
9626         between windows (excluding the minibuffer window - Bug#16017).
9628 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
9630         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
9631         in D-Bus type syntax.
9632         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
9633         preserve unibyte strings.  (Bug#16048)
9635 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9637         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
9638         Call force-mode-line-update is the proper buffer (bug#16042).
9640 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
9642         * vc/log-edit.el (log-edit-add-new-comment): Rename to
9643         `log-edit-remember-comment', make argument optional.  Adjust all
9644         callers.
9645         (log-edit-mode): Add `log-edit-remember-comment' to
9646         `kill-buffer-hook' locally.
9647         (log-edit-kill-buffer): Don't remember comment explicitly since
9648         the buffer is killed anyway.
9650 2013-12-04  Juri Linkov  <juri@jurta.org>
9652         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
9653         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
9655 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
9657         * notifications.el (notifications-close-notification): Call the
9658         D-Bus method with ID being a `:uint32'.  (Bug#16030)
9660 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
9662         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
9664 2013-12-03  Juri Linkov  <juri@jurta.org>
9666         * progmodes/compile.el (compilation-start): Rename window alist
9667         entry `no-display-ok' to `allow-no-window'.
9669         * simple.el (shell-command): Add window alist entry
9670         `allow-no-window' to `display-buffer'.
9671         (async-shell-command): Doc fix.
9673         * window.el (display-buffer-no-window): New action function.
9674         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
9676 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
9678         * vc/log-edit.el (log-edit-set-header): Extract from
9679         `log-edit-toggle-header'.
9680         (log-edit-extract-headers): Separate the summary, when extracted
9681         from header, from the rest of the message with an empty line.
9683         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
9684         line, if present, to the Summary header.
9686 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9688         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
9689         in current-buffer (bug#16029).
9691 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
9693         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
9694         (debugger-mode-map): Bind it.
9695         (debugger--backtrace-base): New function.
9696         (debugger-eval-expression): Use it.
9697         (debugger-frame-number): Skip local vars when present.
9698         (debugger--locals-visible-p, debugger--insert-locals)
9699         (debugger--show-locals, debugger--hide-locals): New functions.
9701 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
9703         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
9704         "LC_ALL".
9705         (tramp-get-remote-locale): New defun.
9706         (tramp-open-connection-setup-interactive-shell): Use it.
9708 2013-12-02  Leo Liu  <sdl.web@gmail.com>
9710         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
9712         * progmodes/sh-script.el (sh-shell-process):
9713         * progmodes/octave.el (inferior-octave-process-live-p):
9714         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
9715         (gdb-inferior-io-sentinel):
9716         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
9718 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
9720         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
9721         `save-selected-window' to `log-edit-hide-buf'.  This makes
9722         `log-edit-show-files' idempotent.
9723         (log-edit-show-files): Mark the new window as dedicated.
9725 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
9727         * vc/log-edit.el (log-edit-mode-map): Add binding for
9728         `log-edit-kill-biffer'.
9729         (log-edit-hide-buf): Add a FIXME comment.
9730         (log-edit-add-new-comment): New function, extracted from
9731         `log-edit-done'.
9732         (log-edit-done, log-edit-add-to-changelog): Use it.
9733         (log-edit-kill-buffer): New command.
9735 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9737         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
9738         instead of killing the buffer.
9740 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9742         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
9744 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9746         * net/eww.el (eww-form-checkbox-selected-symbol)
9747         (eww-form-checkbox-symbol): New customizable variable.
9748         (eww-form-checkbox, eww-toggle-checkbox):
9749         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
9751         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
9752         (shr--get-media-pref, shr--extract-best-source): New function.
9753         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
9754         no :src tag was specified.
9756         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
9757         (eww-render): Handle `eww-use-external-browser-for-content-type'.
9758         Use \\` to match beginning of string instead of ^.
9759         (eww-browse-with-external-browser): Provide optional URL parameter.
9760         (eww-render): Set `eww-current-title' back to "".
9762         * net/shr.el (shr-tag-video): Display content for video if no
9763         poster is available.
9764         (shr-tag-audio): Add support for <audio> tag.
9766         * net/eww.el (eww-text-input-types): New const.
9767         (eww-process-text-input): Treat input types in
9768         `eww-text-input-types' as text.
9770         * net/shr.el (shr-tag-table): Fix comment typo.
9772 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9774         * net/eww.el (eww-follow-link): New command to avoid reloading
9775         pages when we follow #target links (bug#15243).
9776         (eww-quit): Special mode buffers shouldn't query before exiting.
9778 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
9780         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
9781         forms.
9783 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9785         * net/eww.el (eww-restore-history): Update the window title after
9786         moving in the history.
9787         (eww-current-dom): New variable used to save the current DOM.
9789 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
9791         * vc/log-edit.el (log-edit-mode-map): Add binding for
9792         `log-edit-beginning-of-line'.
9793         (log-edit-setup-add-author): New user option.
9794         (log-edit-beginning-of-line): New command.
9795         (log-edit): Move major mode call above the contents setup so that
9796         the local variable values are already applied.
9797         (log-edit): Only insert "Author: " when
9798         `log-edit-setup-add-author' is non-nil.
9799         (log-edit): When SETUP is non-nil, position point after ": "
9800         instead of point-min.
9802 2013-12-01  Glenn Morris  <rgm@gnu.org>
9804         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
9806 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
9808         * startup.el (fancy-splash-frame): On MS-Windows, trigger
9809         redisplay to make sure the initial frame gets a chance to become
9810         visible.  (Bug#16014)
9812 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
9814         Support resizing frames and windows pixelwise.
9815         * cus-start.el (frame-resize-pixelwise)
9816         (window-resize-pixelwise): New entries.
9817         * emacs-lisp/debug.el (debug): Use window-total-height instead
9818         of window-total-size.
9819         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9820         * help.el (describe-bindings-internal): Use help-buffer as
9821         argument for with-help-window.
9822         (temp-buffer-max-width): New option.
9823         (resize-temp-buffer-window, help-window-setup)
9824         (with-help-window): Rewrite.
9825         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
9826         dragging dividers.
9827         * window.el (frame-char-size, window-min-pixel-height)
9828         (window-safe-min-pixel-height, window-safe-min-pixel-width)
9829         (window-min-pixel-width, window-safe-min-pixel-size)
9830         (window-combination-p, window-safe-min-size)
9831         (window-resizable-p, window--size-to-pixel)
9832         (window--pixel-to-size, window--resize-apply-p): New functions.
9833         (window-safe-min-height): Fix doc-string.
9834         (window-size, window-min-size, window--min-size-1)
9835         (window-sizable, window-sizable-p, window--min-delta-1)
9836         (window-min-delta, window--max-delta-1, window-max-delta)
9837         (window--resizable, window--resizable-p, window-resizable)
9838         (window-full-height-p, window-full-width-p, window-at-side-p)
9839         (window--in-direction-2, window-in-direction)
9840         (window--resize-reset-1, window--resize-mini-window)
9841         (window-resize, window-resize-no-error)
9842         (window--resize-child-windows-normal)
9843         (window--resize-child-windows, window--resize-siblings)
9844         (window--resize-this-window, window--resize-root-window)
9845         (window--resize-root-window-vertically)
9846         (adjust-window-trailing-edge, enlarge-window, shrink-window)
9847         (maximize-window, minimize-window, delete-window)
9848         (quit-restore-window, window-split-min-size, split-window)
9849         (balance-windows-2, balance-windows)
9850         (balance-windows-area-adjust, balance-windows-area)
9851         (window--state-get-1, window-state-get, window--state-put-1)
9852         (window--state-put-2, window-state-put)
9853         (display-buffer-record-window, window--display-buffer):
9854         Make functions handle pixelwise sizing of windows.
9855         (display-buffer--action-function-custom-type)
9856         (display-buffer-fallback-action):
9857         Add display-buffer-in-previous-window.
9858         (display-buffer-use-some-window): Resize window to height it had
9859         before.
9860         (fit-window-to-buffer-horizontally): New option.
9861         (fit-frame-to-buffer): Describe new values.
9862         (fit-frame-to-buffer-bottom-margin): Replace with
9863         fit-frame-to-buffer-margins.
9864         (window--sanitize-margin): New function.
9865         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
9866         using window-text-pixel-size.
9868 2013-11-30  Glenn Morris  <rgm@gnu.org>
9870         * emacs-lisp/bytecomp.el (byte-compile-form):
9871         Make the `interactive-only' warning like the `obsolete' one.
9872         * comint.el (comint-run):
9873         * files.el (insert-file-literally, insert-file):
9874         * replace.el (replace-string, replace-regexp):
9875         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
9876         (goto-line, insert-buffer, next-line, previous-line):
9877         Tweak `interactive-only' spec.
9879         Stop keeping (most) generated cedet grammar files in the repository.
9880         * Makefile.in (semantic): New.
9881         (compile-main): Depend on semantic.
9883 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9885         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
9886         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
9888         * uniquify.el (uniquify-buffer-name-style): Change default.
9890         * loadup.el: Preload "uniquify".
9892         * time.el (display-time-update): Update all mode lines (bug#15999).
9894         * electric.el (electric-indent-mode): Enable by default.
9895         * loadup.el: Preload "electric".
9897 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
9899         * emacs-lisp/helpers.el (string-empty-p): New function.
9900         (string-blank-p): New function.
9902 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
9904         * imenu.el (imenu--index-alist): Add missing dot to the docstring
9905         (Bug#14029).
9907 2013-11-29  Andreas Politz  <politza@fh-trier.de>
9908         * imenu.el (imenu--subalist-p): Don't error on non-conses and
9909         allow non-lambda lists as functions.
9910         (imenu--in-alist): Don't recurse into non-subalists.
9911         (imenu): Don't pass function itself as an argument (Bug#14029).
9913 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9915         * progmodes/python.el (python-mode-map): Remove binding for ":".
9916         (python-indent-electric-colon): Remove command.
9917         (python-indent-post-self-insert-function): Integrate the previous code
9918         of python-indent-electric-colon.  Make it conditional on
9919         electric-indent-mode.
9920         (python-mode): Add ?: to electric-indent-chars.
9921         Move python-indent-post-self-insert-function to the end of
9922         post-self-insert-hook.
9924 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9926         * doc-view.el (doc-view-goto-page): Update mode-line.
9928         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
9930 2013-11-27  Glenn Morris  <rgm@gnu.org>
9932         * international/charprop.el, international/uni-bidi.el:
9933         * international/uni-category.el, international/uni-combining.el:
9934         * international/uni-comment.el, international/uni-decimal.el:
9935         * international/uni-decomposition.el, international/uni-digit.el:
9936         * international/uni-lowercase.el, international/uni-mirrored.el:
9937         * international/uni-name.el, international/uni-numeric.el:
9938         * international/uni-old-name.el, international/uni-titlecase.el:
9939         * international/uni-uppercase.el:
9940         Remove generated files from VCS repository.
9942 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
9944         * filenotify.el (file-notify-add-watch): Don't special-case
9945         w32notify when computing the directory to watch.
9947 2013-11-27  Glenn Morris  <rgm@gnu.org>
9949         Make bootstrap without generated uni-*.el files possible again.
9950         * loadup.el: Update command-line-args checking for unidata-gen.
9951         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
9952         * composite.el, international/characters.el:
9953         Handle unicode tables being undefined.
9955         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
9956         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
9957         (compile-main): Depend on leim rule.
9958         (leim): New rule.
9959         * loadup.el: Move leim-list.el to leim/ subdirectory.
9960         * startup.el (normal-top-level): No more leim directory.
9961         * international/ja-dic-cnv.el (skkdic-convert):
9962         Disable version-control and autoloads in output files.
9963         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
9964         Disable version-control and autoloads in output files.
9965         * leim/quail: Move here from ../leim.
9966         * leim/quail/hangul.el (hangul-input-method-activate):
9967         Add autoload cookie.
9968         (generated-autoload-load-name): Set file-local value.
9969         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
9970         (generated-autoload-load-name): Set file-local value.
9972 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
9974         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
9975         (eww-add-bookmark): Ask confirmation when add to bookmarks.
9976         (eww-quit): Ask confirmation before quitting eww.
9978 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
9980         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
9981         reading output from Diff on MS-Windows and MS-DOS.
9983 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
9985         * emacs-lisp/helpers.el (string-reverse): New function.
9987 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
9989         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
9990         names on MS Windows, like "/[::1]:".
9992         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
9993         SWITCHES.
9995 2013-11-26  Glenn Morris  <rgm@gnu.org>
9997         * progmodes/python.el (python-indent-guess-indent-offset):
9998         Avoid corner-case error.  (Bug#15975)
10000         Preload leim-list.el.  (Bug#4789)
10001         * loadup.el: Load leim-list.el when found.
10002         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
10004 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
10006         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
10008         * emacs-lisp/helpers.el (string-join): New function.
10010 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
10012         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10013         Mark as obsolete and replace it with a symbol property.
10014         (byte-compile-form): Use new 'interactive-only property.
10015         * comint.el, files.el, replace.el, simple.el:
10016         Apply new 'interactive-only properly.
10018 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
10020         * window.el (display-buffer-at-bottom): Make sure that
10021         split-window-sensibly creates the new window on bottom
10022         (Bug#15961).
10024 2013-11-23  David Kastrup  <dak@gnu.org>
10026         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
10027         on the conflict markers when available.
10028         (smerge--get-marker): New function.
10029         (smerge-end-re, smerge-base-re): Add subgroup.
10031 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10033         * frame.el (handle-focus-in, handle-focus-out): Add missing
10034         interactive spec.
10036 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
10038         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
10039         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
10041 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10043         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
10044         (gomoku--last-pos): New var.
10045         (gomoku--intangible-chars): New const.
10046         (gomoku--intangible): New function.
10047         (gomoku-mode): Use it.  Derive from special-mode.
10048         (gomoku-move-up): Adjust line count.
10049         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
10050         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
10051         Simplify accordingly.
10053         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
10054         Remove blink-cursor code.
10055         (blink-cursor-timer-function, blink-cursor-suspend):
10056         Don't special-case GUIs.
10057         (blink-cursor-mode): Use focus-in/out-hook.
10059 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
10061         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
10062         work when annotation is invisible (Bug#13886).
10064 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
10066         * json.el (json-alist-p): Only return non-nil if the alist has
10067         simple keys (Bug#13518).
10069 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
10071         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
10072         when control-statement is the first statement in a buffer (Bug#15956).
10074 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
10076         * imenu.el (imenu-generic-skip-comments-and-strings):
10077         New option (Bug#15560).
10078         (imenu--generic-function): Use it.
10080 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
10082         * minibuffer.el (completion--in-region-1): Scroll the correct window.
10083         (Bug#13898)
10085 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
10087         * emacs-lisp/helpers.el: Add some string helpers.
10088         (string-trim-left): Removes leading whitespace.
10089         (string-trim-right): Removes trailing whitespace.
10090         (string-trim): Removes leading and trailing whitespace.
10092         * subr.el (string-suffix-p): New function.
10094 2013-11-23  Glenn Morris  <rgm@gnu.org>
10096         * progmodes/python.el (python-shell-send-file):
10097         Add option to delete file when done.  (Bug#15647)
10098         (python-shell-send-string, python-shell-send-region): Use it.
10100 2013-11-23  Ivan Shmakov  <ivan@siamics.net>
10102         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
10103         to set buffer-read-only to t, never to nil.  (Bug#15938)
10105         * textmodes/tex-mode.el (latex-noindent-environments):
10106         Add safe-local-variable property.  (Bug#15936)
10108 2013-11-23  Glenn Morris  <rgm@gnu.org>
10110         * textmodes/enriched.el (enriched-mode): Doc fix.
10111         * emacs-lisp/authors.el (authors-renamed-files-alist):
10112         Add enriched.doc -> enriched.txt.
10114         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
10116 2013-11-22  Leo Liu  <sdl.web@gmail.com>
10118         * progmodes/octave.el (inferior-octave-startup): Spit out error
10119         message.
10121 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
10123         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
10124         Improve docstring.
10125         Add :version.
10126         (ruby-encoding-magic-comment-style): Add :version.
10128 2013-11-22  Leo Liu  <sdl.web@gmail.com>
10130         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
10131         (Bug#15076)
10132         (octave-help-mode): Adapt to change to help-mode-finish to use
10133         derived-mode-p on 2013-09-17.
10134         (inferior-octave-prompt): Also match octave-gui.
10135         (octave-kill-process): Don't ask twice.  (Bug#10564)
10137 2013-11-22  Leo Liu  <sdl.web@gmail.com>
10139         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
10140         (inferior-octave-startup, inferior-octave-check-process)
10141         (inferior-octave-track-window-width-change)
10142         (octave-completion-at-point, octave-eldoc-function): Use it.
10143         (octave-kill-process): Provide confirmation.  (Bug#10564)
10145 2013-11-21  Leo Liu  <sdl.web@gmail.com>
10147         * progmodes/octave.el (octave-mode, inferior-octave-mode):
10148         Fix obsolete variable comment-use-global-state.
10150 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10152         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
10153         Add `octave-source-file'.
10154         (octave-source-file): New function.  (Bug#15935)
10156 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
10158         * net/eww.el (eww-local-regex): New variable.
10159         (eww): Use it to detect localhost and similar.
10161 2013-11-21  Leo Liu  <sdl.web@gmail.com>
10163         Add completion for command `ag'.
10164         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
10165         (pcomplete/ag): New function.
10166         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
10168 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10170         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
10171         (bug#14646).
10172         (make-obsolete): Remove interactive spec.
10174 2013-11-21  Glenn Morris  <rgm@gnu.org>
10176         * startup.el (command-line-1): Use path-separator with -L.
10178 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
10180         * emacs-lisp/package.el (describe-package-1): Add package archive
10181         to shown fields.
10183 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
10185         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
10186         Change default to "# encoding: %s" to differentiate it from the
10187         default Ruby encoding comment template.
10189 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
10191         * ses.el (ses-mode): Doc fix.  (Bug#14748)
10193 2013-11-20  Leo Liu  <sdl.web@gmail.com>
10195         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
10197 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
10199         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
10200         when rebase or bisect are in progress.
10202 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
10204         * filenotify.el (file-notify-add-watch): Doc fix.
10206 2013-11-19  Leo Liu  <sdl.web@gmail.com>
10208         * obsolete/rcompile.el: Mark obsolete.
10210         * progmodes/compile.el (compilation-start)
10211         (compilation-goto-locus, compilation-find-file):
10212         Pass no-display-ok and handle nil value from display-buffer.
10213         (Bug#13594)
10215         * window.el (display-buffer-alist, display-buffer): Document the
10216         new parameter no-display-ok.  Return either a window or nil
10217         but never a non-window value.
10219 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10221         * electric.el (electric-indent-mode-map): Remove.
10222         (electric-indent-mode): Change the global-map instead (bug#15915).
10224         * textmodes/text-mode.el (paragraph-indent-minor-mode):
10225         Use add-function.
10227 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10229         * emacs-lisp/nadvice.el (remove-function): Align with
10230         add-function's behavior.
10232         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
10233         (gdb--string-regexp): New constant.
10234         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
10235         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
10236         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
10237         submatch 1.
10238         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
10239         Adjust use accordingly.
10240         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
10242 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
10244         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
10245         interpolation curlies (Bug#15914).
10247 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
10249         * calc/calc.el (calc-context-sensitive-enter): New variable.
10250         (calc-enter): Use `calc-context-sensitive-enter'.
10252 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
10254         * progmodes/cfengine.el: Version bump.
10255         (cfengine-cf-promises): New defcustom to locate cf-promises.
10256         (cfengine3-vartypes): Add new "data" type.
10257         (cfengine3--current-word): New function to get current name-like
10258         word or its bounds.
10259         (cfengine3--current-function): New function to look up a CFEngine
10260         function's definition.
10261         (cfengine3-format-function-docstring): New function.
10262         (cfengine3-make-syntax-cache): New function.
10263         (cfengine3-documentation-function): New function: ElDoc glue.
10264         (cfengine3-completion-function): New function: completion glue.
10265         (cfengine3-mode): Set `compile-command',
10266         `eldoc-documentation-function', and add to
10267         `completion-at-point-functions'.
10269 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
10271         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
10272         `tramp-current-connection'.
10274 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
10276         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
10277         nil/self/true/false with "end of symbol".
10279 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
10281         * subr.el (version-regexp-alist): Fix a typo.
10283 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
10285         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
10286         "en_US.utf8" and "LC_CTYPE" to "".
10287         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
10288         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
10290 2013-11-15  Leo Liu  <sdl.web@gmail.com>
10292         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
10294 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10296         * progmodes/gud.el (ctl-x-map):
10297         Remove C-x SPC binding.  (Bug#12342)
10298         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
10300 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
10302         * subr.el (version-regexp-alist):
10303         Recognize hg, svn and darcs versions as snapshot versions.
10305         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
10306         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
10307         (ruby--encoding-comment-required-p): Extract from
10308         `ruby-mode-set-encoding'.
10309         (ruby-mode-set-encoding): Add the ability to always insert an
10310         utf-8 encoding comment.  Fix and simplify coding comment update
10311         logic.
10313 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
10315         * net/tramp-gvfs.el (top): Run init code only when
10316         `tramp-gvfs-enabled' is not nil.
10317         (tramp-gvfs-enabled): Check also :system bus.
10319 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10321         Sync with upstream verilog-mode revision 78e66ba.
10322         * progmodes/verilog-mode.el (verilog-end-of-defun)
10323         (verilog-type-completion, verilog-get-list): Remove unused funcs.
10324         (verilog-get-end-of-defun): Remove unused argument.
10325         (verilog-comment-depth): Remove unused local `e'.
10326         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
10327         Don't pass arg to verilog-get-end-of-defun.
10329 2013-11-14  Glenn Morris  <rgm@gnu.org>
10331         * obsolete/assoc.el (aget): Prefix dynamic variable.
10333         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
10335 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10337         * widget.el, hfy-cmap.el: Remove bogus package version number.
10339 2013-11-13  Glenn Morris  <rgm@gnu.org>
10341         * replace.el (replace-eval-replacement):
10342         Try to give more helpful error message.  (Bug#15836)
10344         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10345         (archive-7z-update): Avoid custom type mismatches.
10347         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
10349 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
10351         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
10352         address can be empty.
10354         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
10355         Accept nil SWITCHES.
10356         (tramp-gvfs-handle-write-region): Implement APPEND.
10358 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
10360         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
10361         binary "|" operator and closing block args delimiter.
10362         Remove FIXME comment referring to Ruby 1.8-only syntax.
10363         (ruby-smie--implicit-semi-p): Not after "|" operator.
10364         (ruby-smie--closing-pipe-p): New function.
10365         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
10366         (ruby-smie-rules): Indent after "|".
10368 2013-11-12  Glenn Morris  <rgm@gnu.org>
10370         * ps-print.el (ps-face-attribute-list):
10371         Handle anonymous faces.  (Bug#15827)
10373 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
10375         * window.el (display-buffer-other-frame): Fix doc-string.
10376         (Bug#15868)
10378 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10380         * subr.el (force-mode-line-update): Delete, move to buffer.c.
10382 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
10384         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
10385         (tramp-sh-handle-file-local-copy): Don't write a message when
10386         saving temporary files.
10388         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
10389         both directories are remote.
10390         (tramp-smb-handle-directory-files): Do not return double entries.
10391         Do not expand full file names.
10392         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
10393         (tramp-smb-handle-write-region): Implement APPEND.
10394         (tramp-smb-get-stat-capability): Fix a stupid bug.
10396 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10398         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
10400 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
10402         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
10403         throwing error over malformed let/let* (bug#15814).
10405 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10407         * iswitchb.el (iswitchb-mode): Mark obsolete.
10409 2013-11-11  Glenn Morris  <rgm@gnu.org>
10411         * international/uni-bidi.el, international/uni-category.el:
10412         * international/uni-name.el, international/uni-numeric.el:
10413         Regenerate for Unicode 6.3.0.
10415 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
10417         * net/tramp.el (tramp-methods):
10418         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
10419         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
10421 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
10423         * progmodes/sh-script.el (sh-font-lock-keywords-var):
10424         Force highlighting text after Summary keyword in doc face for rpm.
10426 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
10428         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
10429         available and the word has no wildcards, append one to the grep pattern.
10430         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
10431         (ispell-complete-word): Call `ispell-lookup-words' with the value
10432         independent of `ispell-look-p'.
10434 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
10436         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
10437         Not after "||".
10438         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
10439         their parent.
10441 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10443         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
10444         (ruby-font-lock-keywords): Use backquote.
10446 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
10448         * progmodes/ruby-mode.el (ruby-smie--forward-token)
10449         (ruby-smie--backward-token): Only consider full-string matches.
10451 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
10453         * faces.el (describe-face): Add distant-foreground.
10455 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
10457         * progmodes/ruby-mode.el: Improve encoding comment handling.
10458         (ruby-encoding-magic-comment-style): New option.
10459         (ruby-custom-encoding-magic-comment-template): New option.
10460         (ruby--insert-coding-comment, ruby--detect-encoding):
10461         New functions extracted from `ruby-mode-set-encoding'.
10462         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
10463         to control the style of the auto-inserted encoding comment.
10465 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
10467         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
10468         Use `smie-backward-sexp' with token argument.
10470 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
10472         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
10473         Remove instrumentation code.
10475 2013-11-08  Glenn Morris  <rgm@gnu.org>
10477         * progmodes/autoconf.el (autoconf-mode):
10478         Tweak comment-start-skip.  (Bug#15822)
10480 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10482         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
10483         at bobp (bug#15826).
10484         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
10486 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
10488         * man.el (Man-start-calling): New macro, extracted from
10489         Man-getpage-in-background.
10490         (Man-getpage-in-background): Use it.
10491         (Man-update-manpage): New command.
10492         (Man-mode-map): Bind it.
10494 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
10496         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
10497         of "and", "or", "&&" and "||".
10498         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
10499         argument.  Prohibit opening curly brace because it could only be a
10500         block opener in that position.
10501         (ruby-smie--forward-token, ruby-smie--backward-token):
10502         Separate "|" from "&" or "*" going after it.  That can happen in block
10503         arguments.
10504         (ruby-smie--indent-to-stmt): New function, seeks the end of
10505         previous statement or beginning of buffer.
10506         (ruby-smie-rules): Use it.
10507         (ruby-smie-rules): Check if there's a ":" before a curly block
10508         opener candidate; if there is, it's a hash.
10510 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10512         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
10513         (cl--block-wrapper): Fix last accidental change.
10515 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
10517         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
10518         Instrument, in order to hunt failure on hydra.
10520 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
10522         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
10523         malformed bindings form (bug#15814).
10525 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
10527         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
10528         "." compared to " @ ".  This incidentally fixes some indentation
10529         examples with "do".
10530         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
10531         (ruby-smie-grammar): New tokens: "and" and "or".
10532         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
10533         Exclude "and" and "or".  Remove "do" in order to work around token
10534         priorities.
10535         (ruby-smie-rules): Add all infix tokens.  Handle the case of
10536         beginning-of-buffer.
10538 2013-11-06  Glenn Morris  <rgm@gnu.org>
10540         * Makefile.in (setwins_almost, setwins_for_subdirs):
10541         Avoid accidental matches.
10543 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10545         * menu-bar.el (popup-menu): Use key-binding.
10547 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
10549         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
10550         menus, support also the menus produced by minor modes.
10551         (Bug#15817)
10553 2013-11-06  Leo Liu  <sdl.web@gmail.com>
10555         * thingatpt.el (thing-at-point-looking-at): Add optional arg
10556         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
10558 2013-11-06  Glenn Morris  <rgm@gnu.org>
10560         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
10561         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
10562         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
10564 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10566         * electric.el (electric-indent-just-newline): New command.
10567         (electric-indent-mode-map): New keymap.
10568         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
10569         Re-add :group which weren't redundant.
10571         * electric.el (electric-indent-local-mode): New minor mode.
10572         (electric-indent-functions-without-reindent): New var.
10573         (electric-indent-post-self-insert-function): Use it.
10574         * emacs-lisp/gv.el (buffer-local-value): Add setter.
10576 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
10578         * international/quail.el (quail-help): Be more explicit about the
10579         meaning of the labels shown on the keys.  (Bug#15800)
10581         * startup.el (normal-top-level): Load the subdirs.el files before
10582         setting the locale environment.  (Bug#15805)
10584 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10586         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
10587         via arguments so as to get the right ones (bug#15418).
10589         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
10591 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
10593         Fix problems found while writing a test suite.
10595         * net/tramp-compat.el (tramp-compat-load): New defun.
10596         * net/tramp.el (tramp-handle-load): Use it.
10598         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
10599         "(numberp ok-if-already-exists)" correctly.
10601 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
10603         * international/characters.el (glyphless-char-display-control):
10604         Add usage note.
10606 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
10608         * progmodes/python.el (python-mode):
10609         * progmodes/scheme.el (scheme-mode):
10610         * progmodes/prolog.el (prolog-mode):
10611         * progmodes/ruby-mode.el (ruby-mode):
10612         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
10613         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
10615 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10617         * rect.el (rectangle--highlight-for-redisplay):
10618         * emacs-lisp/smie.el (smie--next-indent-change):
10619         Use buffer-chars-modified-tick.
10621         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
10623         * electric.el (electric-indent-post-self-insert-function):
10624         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
10626 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
10628         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
10630 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
10632         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
10633         (bug#15786).
10635 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10637         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
10639         * progmodes/python.el: Fix up last change.
10640         (python-shell--save-temp-file): New function.
10641         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
10642         `string' comes from the current buffer.
10643         (python-shell-send-string-no-output): Remove `msg' arg.
10644         (python--use-fake-loc): New var.
10645         (python-shell-buffer-substring): Obey it.  Try to compensate for the
10646         extra coding line added by python-shell--save-temp-file.
10647         (python-shell-send-region): Use python-shell--save-temp-file and
10648         python-shell-send-file directly.  Add `nomain' argument.
10649         (python-shell-send-buffer): Use python-shell-send-region.
10650         (python-electric-pair-string-delimiter): New function.
10651         (python-mode): Use it.
10653 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
10655         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
10656         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
10657         environment and decoding all of the default-directory's to here
10658         from command-line.
10659         (command-line): Decode also argv[0].
10661         * loadup.el: Error out if default-directory is a multibyte string
10662         when we are dumping.
10664         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
10666 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
10668         * emacs-lisp/package.el (package-menu-mode)
10669         (package-menu--print-info, package-menu--archive-predicate):
10670         Add Archive column to package list.
10672 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
10674         Fix problems found while writing a test suite.
10676         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
10677         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
10678         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
10679         to nil when running original file name handler.  Otherwise,
10680         there are problems with constructs like "$$FOO".
10682         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
10683         for `localname'.
10685 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
10687         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
10689         * subr.el (version<, version<=, version=):
10690         Update docstrings with information for snapshot versions.
10692         * helpers.el: New library for misc helper functions.
10693         (hash-table-keys): New function returning a list of hash keys.
10694         (hash-table-values): New function returning a list of hash values.
10696 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
10698         * progmodes/ruby-mode.el (ruby-smie--forward-token)
10699         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
10701 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
10703         * textmodes/fill.el (fill-single-char-nobreak-p): New function
10704         checking whether point is after a 1-letter word.
10706 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
10708         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
10709         Don't infloop when expanding region over `multiline' syntax-type that
10710         begins a line (bug#15778).
10712 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10714         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
10715         Make it into a proper minor mode.
10716         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
10717         (rectangle-mark-mode-map): New keymap.
10718         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
10720 2013-11-04  Glenn Morris  <rgm@gnu.org>
10722         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
10724 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10726         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
10727         (ruby-smie-rules): Use smie-rule-parent instead.
10729         * emacs-lisp/smie.el (smie-rule-parent): Always call
10730         smie-indent-virtual rather than only for hanging tokens.
10731         (smie--next-indent-change): New helper command.
10733 2013-11-03  Glenn Morris  <rgm@gnu.org>
10735         * Makefile.in (abs_srcdir): Remove.
10736         (emacs): Unset EMACSLOADPATH.
10738 2013-11-02  Glenn Morris  <rgm@gnu.org>
10740         * Makefile.in (EMACS): Use a relative filename.
10741         (abs_top_builddir): Remove.
10742         (custom-deps, finder-data, autoloads): Use --chdir.
10744         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
10746         Use relative filenames in TAGS files.
10747         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
10748         (lisptagsfiles4, TAGS): Use relative file names.
10749         (TAGS-LISP): Remove.
10750         (maintainer-clean): No more TAGS-LISP file.
10752         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
10753         (lisptagsfiles4): Use absolute filenames again.
10754         (TAGS, TAGS-LISP): Not everything needs to run in one line.
10755         Remove all *loaddefs files, not just the first.  Remove esh-groups.
10756         (maintainer-clean): Delete TAGS, TAGS-LISP.
10758 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
10760         * emacs-lisp/package.el (package-version-join):
10761         Recognize snapshot versions.
10763 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
10765         * subr.el (version-regexp-alist): Add support for snapshot versions.
10767 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
10769         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
10770         New function, replacement for `smie-rule-parent' for when we want to
10771         skip over our direct parent if it's an assignment token..
10772         (ruby-smie-rules): Use it.
10774 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
10776         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
10777         unconditionally.  Remove now unnecessary forward declarations.
10778         Remove XEmacs-specific setup.
10779         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
10780         (ruby-font-lock-syntactic-keywords)
10781         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
10782         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
10783         (ruby-here-doc-end-syntax): Remove.
10784         (ruby-mode): Don't check whether `syntax-propertize-rules' is
10785         defined as function.
10787 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
10789         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
10791 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
10793         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
10794         table and abbrev table, `define-derived-mode' does that for us
10795         anyway.
10797 2013-11-01  Glenn Morris  <rgm@gnu.org>
10799         * Makefile.in: Remove manual mh-e dependencies (writing .elc
10800         files is atomic for some time, so no parallel compilation issues).
10802 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
10804         * faces.el (face-x-resources): Add :distant-foreground.
10805         (region): Use :distant-foreground for gtk and ns.
10807 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
10809         Allow multiple bibliographies when BibLaTeX is used rather than
10810         BibTeX.
10811         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
10812         (reftex-locate-bibliography-files): Us it.
10814 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
10816         * image.el (image-type-header-regexps): Fix the 'pbm' part to
10817         allow comments in pbm files.
10819         * term/w32-win.el (dynamic-library-alist): Support newer versions
10820         of libjpeg starting with v7: look only for the DLL from the
10821         version against which Emacs was built.
10822         Support versions of libpng beyond 1.4.x.
10823         Support libtiff v4.x.
10825 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
10827         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
10828         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
10829         Add property :safe.
10830         (ruby-deep-arglist): Add property :type.
10832 2013-10-31  Glenn Morris  <rgm@gnu.org>
10834         * Makefile.in (custom-deps, finder-data): No need to setq the target
10835         variables, we are in the right directory and the defaults work fine.
10837 2013-10-30  Glenn Morris  <rgm@gnu.org>
10839         * Makefile.in (autoloads): Do not use abs_lisp.
10841         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10842         `newline' does not respect `standard-output', so use `princ'.
10844 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
10846         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
10847         * buff-menu.el (Buffer-menu--unmark): New function.
10848         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
10850 2013-10-30  Glenn Morris  <rgm@gnu.org>
10852         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
10854         * emacs-lisp/package.el (lm-homepage): Declare.
10856         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
10857         Fix doc typos.
10859         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
10861         * Makefile.in (finder-data, autoloads, update-subdirs)
10862         (compile-main, compile-clean, compile-always, bootstrap-clean):
10863         Check return value of cd.
10864         (compile-calc): Remove.
10866 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10868         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
10870         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
10871         (byte-compile-and-folded): New function.
10872         (=, <, >, <=, >=): Use it.
10874         * dos-w32.el (minibuffer-history-case-insensitive-variables)
10875         (path-separator, null-device, buffer-file-coding-system)
10876         (lpr-headers-switches): Check system-type before modifying them.
10877         (find-buffer-file-type-coding-system): Mark obsolete.
10878         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
10879         find-file-not-found-set-buffer-file-coding-system.
10880         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
10881         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
10882         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
10883         (w32-direct-print-region-helper, w32-direct-print-region-function)
10884         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
10885         * startup.el (normal-top-level-add-subdirs-to-load-path):
10886         * ps-print.el (ps-print-region-function):
10887         * lpr.el (print-region-function): Use new name.
10889         * subr.el (custom-declare-variable-early): Remove function.
10890         (custom-declare-variable-list): Remove var.
10891         (error, user-error): Remove `while' loop.
10892         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
10893         (user-emacs-directory-warning, locate-user-emacs-file):
10894         Move to files.el.
10895         * simple.el (read-quoted-char-radix, read-quoted-char):
10896         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
10897         Move from subr.el.
10898         * custom.el (custom-declare-variable-list): Don't process
10899         custom-declare-variable-list.
10901         * progmodes/python.el (python-shell-get-buffer): New function.
10902         (python-shell-get-process): Use it.
10903         (python-shell-send-string): Always use utf-8 and add a cookie to tell
10904         Python which encoding was used.  Don't split-string since we only care
10905         about the first line.  Return the temp-file, if applicable.
10906         (python-shell-send-region): Tell compile.el how to turn locations in
10907         the temp-file into locations in the source buffer.
10909 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10911         * subr.el (undefined): Add missing behavior from the C code for
10912         unbound keys.
10914         * rect.el: Use lexical-binding.  Add new rectangular region support.
10915         (rectangle-mark): New command.
10916         (rectangle--region): New var.
10917         (deactivate-mark-hook): Reset rectangle--region.
10918         (rectangle--extract-region, rectangle--insert-for-yank)
10919         (rectangle--highlight-for-redisplay)
10920         (rectangle--unhighlight-for-redisplay): New functions.
10921         (region-extract-function, redisplay-unhighlight-region-function)
10922         (redisplay-highlight-region-function): Use them to handle
10923         rectangular region.
10924         * simple.el (region-extract-function): New var.
10925         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
10926         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
10927         (kill-region): Replace obsolete `yank-handler' arg with `region'.
10928         (copy-region-as-kill, kill-ring-save): Add `region' argument.
10929         (redisplay-unhighlight-region-function)
10930         (redisplay-highlight-region-function): New vars.
10931         (redisplay--update-region-highlight): New function.
10932         (pre-redisplay-function): Use it.
10933         (exchange-point-and-mark): Don't deactivate the mark before
10934         reactivate-it anyway.
10935         * comint.el (comint-kill-region): Remove yank-handler argument.
10936         * delsel.el (delete-backward-char, backward-delete-char-untabify)
10937         (delete-char): Remove property, since it's now part of their
10938         default behavior.
10939         (self-insert-iso): Remove property since this command doesn't exist.
10941         * emacs-lisp/package.el (package--download-one-archive)
10942         (describe-package-1): Don't query the user about final newline.
10944 2013-10-29  Daniel Colascione  <dancol@dancol.org>
10946         * net/tramp.el (tramp-methods): Document new functionality.
10947         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
10948         tramp-hostname-checker if method provides one instead of scanning
10949         argument list for "%h" to decide hostname acceptability.
10951 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
10953         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10954         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10955         Handle COPY-CONTENTS.  (Bug#15737)
10957 2013-10-28  Daiki Ueno  <ueno@gnu.org>
10959         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
10960         Document that this option has no effect with GnuPG 2.0 (bug#15552).
10962 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
10964         * image.el (defimage, image-load-path): Doc fixes.
10966 2013-10-27  Alan Mackenzie  <acm@muc.de>
10968         Indent statements in macros following "##" correctly.
10969         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
10970         Modify the "#" arm of a cond form to handle "#" and "##" operators.
10972 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
10974         * linum.el (linum-update-window): Fix boundary test (bug#13446).
10976 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
10978         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
10979         after `=' is probably a new expression.
10981 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10983         * man.el (man-imenu-title): New option.
10984         (Man-mode-map): Add menu.  (Bug#15722)
10985         (Man-mode): Add imenu to menu.
10987 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
10989         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
10990         specific in what the first arg can be: a non-keyword word,
10991         string/regexp/percent literal opener, opening paren, or unary
10992         operator followed directly by word.
10994 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10996         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
10997         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
10998         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
10999         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
11000         Remove vars, they do not apply any more.
11001         (prolog-mode-abbrev-table): Remove redundant declaration.
11002         (prolog-upper-case-string, prolog-lower-case-string): Remove.
11003         (prolog-use-smie): Remove.
11004         (prolog-smie-rules): Add indentation rule for the if-then-else layout
11005         supported by prolog-electric-if-then-else-flag.
11006         (prolog-mode-variables, prolog-menu): Use setq-local.
11007         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
11008         Remove binding to `Backspace' since this key doesn't exist anyway.
11009         Remove bindings for electric self-inserting keys.
11010         (prog-mode): Assume it's defined.
11011         (prolog-post-self-insert): New function.
11012         (prolog-mode): Use it.
11013         (prolog-indent-line, prolog-indent-level)
11014         (prolog-find-indent-of-matching-paren)
11015         (prolog-indentation-level-of-line, prolog-goto-comment-column)
11016         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
11017         (prolog-goto-next-paren, prolog-in-string-or-comment)
11018         (prolog-tokenize, prolog-inside-mline-comment)
11019         (prolog-find-start-of-mline-comment): Remove functions.
11020         (prolog-find-unmatched-paren, prolog-clause-end)
11021         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
11022         (prolog-electric--if-then-else): Rename from
11023         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
11024         (prolog-tokenize-searchkey): Remove const.
11025         (prolog-clause-info): Use forward-sexp.
11026         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
11027         (prolog-electric-if-then-else): Remove commands.
11028         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
11029         for use in post-self-insert-hook.
11030         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
11031         for use in post-self-insert-hook.
11032         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
11033         for use in post-self-insert-hook.
11034         (prolog-electric--underscore): Rename from prolog-electric--underscore;
11035         adapt it for use in post-self-insert-hook.
11037 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
11039         * emacs-lisp/ert.el (ert-run-tests-interactively):
11040         Use `completing-read'.  (Bug#9756)
11042 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
11044         * simple.el (line-move): Call line-move-1 instead of
11045         line-move-visual when the current window hscroll is zero, but
11046         temporary-goal-column indicates we will need to hscroll as result
11047         of the movement.  (Bug#15712)
11049 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
11051         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
11052         capitalization.  Use :visible instead of :active.
11053         Fix `ruby-indent-exp' reference.  Add menu items for the generic
11054         commands that are used with SMIE.
11055         (ruby-do-end-to-brace): Insert space after `{'.
11057 2013-10-25  John Anthony  <john@jo.hnanthony.com>
11059         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
11061         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
11063 2013-10-25  Glenn Morris  <rgm@gnu.org>
11065         * vc/vc.el (vc-print-log): Don't use a working revision unless
11066         one was explicitly specified.  (Bug#15322)
11068 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11070         * subr.el (add-to-list): Preserve return value in compiler-macro
11071         (bug#15692).
11073 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11075         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
11076         result.  Ask user to retry using '-all' flag.  (Bug#15701)
11078 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11080         * emacs-lisp/smie.el: New smie-config system.
11081         (smie-config): New defcustom.
11082         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
11083         (smie-config-guess, smie-config-save): New commands.
11084         (smie-config--mode-local, smie-config--buffer-local)
11085         (smie-config--trace, smie-config--modefuns): New vars.
11086         (smie-config--advice, smie-config--mode-hook)
11087         (smie-config--setter, smie-config-local, smie-config--get-trace)
11088         (smie-config--guess-value, smie-config--guess): New functions.
11089         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
11090         text properties.  Treat "string fence" syntax like string syntax.
11092         * progmodes/sh-script.el (sh-use-smie): Change default.
11093         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
11094         (sh-var-value): Simplify by CSE.
11095         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
11096         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
11097         is used.
11098         (sh-guess-basic-offset): Use cl-incf.
11099         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
11101 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
11103         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
11104         (bug#15699).
11106 2013-10-24  Glenn Morris  <rgm@gnu.org>
11108         * Makefile.in (abs_top_srcdir): Remove.
11109         (update-subdirs): Use relative path to update-subdirs.
11111 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
11113         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11114         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11115         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11116         Call unmsys--file-name before expand-file-name, not after it.
11118 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
11120         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
11121         (ert-test-skipped): New error.
11122         (ert-skip, ert-stats-skipped): New defuns.
11123         (ert--skip-unless): New macro.
11124         (ert-test-skipped): New struct.
11125         (ert--run-test-debugger, ert-test-result-type-p)
11126         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
11127         (ert--stats-set-test-and-result, ert-char-for-test-result)
11128         (ert-string-for-test-result, ert-run-tests-batch)
11129         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
11130         Handle skipped tests.  (Bug#9803)
11132 2013-10-24  Glenn Morris  <rgm@gnu.org>
11134         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
11136         * Makefile.in (abs_top_srcdir): New, set by configure.
11137         (update-subdirs): Correct build-aux location.
11139 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
11141         * vc/vc.el (vc-print-root-log): Always set `default-directory'
11142         value, whether we could auto-deduce `backend', or not.
11144         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
11145         with parameters" example.  Simplify the "is it block or is it
11146         hash" check, but also make it more thorough.
11148 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
11150         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
11152 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11154         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
11155         { if it is hanging.
11157         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
11158         :before ";".
11160 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
11162         * progmodes/compile.el (compilation-directory-matcher)
11163         (compilation-page-delimiter):
11164         Support GNU Make-4.0 directory quoting.  (Bug#15678)
11166 2013-10-23  Leo Liu  <sdl.web@gmail.com>
11168         * ido.el (ido-tidy): Handle read-only text.
11170 2013-10-23  Glenn Morris  <rgm@gnu.org>
11172         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
11173         (emacs, compile, compile-always):
11174         Quote entities that might contain whitespace.
11175         (custom-deps, finder-data, autoloads): Use abs_lisp.
11176         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11177         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11178         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
11180 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
11182         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
11183         Use `following-char'.
11185 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11187         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
11188         * progmodes/ruby-mode.el (ruby-smie-rules):
11189         Remove corresponding workaround.  Fix indentation rule of ";" so it
11190         also applies when ";" is the parent.
11192 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
11194         * frame.el (display-screens, display-pixel-height)
11195         (display-pixel-width, display-mm-width, display-backing-store)
11196         (display-save-under, display-planes, display-color-cells)
11197         (display-visual-class, display-monitor-attributes-list):
11198         Mention the optional ‘display’ argument in doc strings.
11200 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
11202         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
11203         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
11205 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
11207         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
11208         TODO.  Add "." after " @ ".
11209         (ruby-smie--at-dot-call): New function.  Checks if point at method
11210         call with explicit target.
11211         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
11212         to the method name tokens when it precedes them.
11213         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
11214         (ruby-smie-rules): Add rule for indentation before and after "."
11215         token.
11217 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11219         * textmodes/remember.el (remember-diary-extract-entries):
11220         Avoid add-to-list.
11222         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
11223         an instruction.
11225 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
11227         * progmodes/ruby-mode.el (ruby-smie-grammar):
11228         Add (almost) all infix operators.
11229         (ruby-smie--implicit-semi-p): Add new operator chars.
11231         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
11232         `smie-down-list'.
11233         (ruby-smie--args-separator-p): Check that there's no newline
11234         between method call and its arguments.
11236 2013-10-20  Alan Mackenzie  <acm@muc.de>
11238         Allow comma separated lists after Java "implements".
11240         * progmodes/cc-engine.el (c-backward-over-enum-header):
11241         Parse commas.
11242         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
11243         from a "disallowed" list in enum fontification.
11245 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
11247         * startup.el (default-frame-background-mode): Remove unused defvar.
11249         * progmodes/verilog-mode.el (verilog-mode): Don't set
11250         comment-indent-function globally.
11252 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
11254         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
11255         Move Info menu item creation to ns-win.el.
11257         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
11258         in menu bar.
11260         * menu-bar.el: Move GNUstep specific menus...
11262         * term/ns-win.el (ns-initialize-window-system): ... to here.
11264 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11266         * simple.el (newline): Only run post-self-insert-hook when
11267         called interactively.
11269 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
11271         * icomplete.el (icomplete-with-completion-tables): Add :version.
11273 2013-10-19  Alan Mackenzie  <acm@muc.de>
11275         Fix fontification bugs with constructors and const.
11277         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
11278         CASE 2) Remove the check for the absence of a suffix construct
11279         after a function declaration with only types (no identifiers) in
11280         the parentheses.  Also, accept a function declaration with just a
11281         type inside the parentheses, if this type can be positively
11282         recognised as such, or if a prefix keyword like "explicit" nails
11283         down the construct as a declaration.
11285 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
11287         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
11288         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
11289         the problem whereby selecting a menu item that leads to a
11290         minibuffer prompt moves the cursor out of the minibuffer window,
11291         making it hard to type at the prompt.  Suggested by Stefan Monnier
11292         <monnier@iro.umontreal.ca>.
11294 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
11296         * menu-bar.el: Don't make Services menu.
11298 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11300         * ffap.el: Handle "/usr/include/c++/<version>" directories.
11301         (ffap-alist): Use ffap-c++-mode for c++-mode.
11302         (ffap-c++-path): New variable.
11303         (ffap-c++-mode): New function.
11305 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
11307         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
11309 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
11311         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
11312         introduced on 2013-09-08, which results in an infinite loop
11313         requesting a password.
11315 2013-10-18  Glenn Morris  <rgm@gnu.org>
11317         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
11319 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
11321         Sync with upstream verilog-mode revision 1a6ecec7.
11322         * progmodes/verilog-mode.el (verilog-mode-version): Update.
11323         (verilog-mode-release-date): Remove.
11324         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
11325         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
11326         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
11327         (verilog-auto-tieoff-ignore-regexp)
11328         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
11329         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
11330         (verilog-signals-with, verilog-dir-cache-preserving)
11331         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
11332         Doc fixes.
11333         (verilog-case-fold): New option, to control case folding in
11334         regexp searches, bug597.
11335         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
11336         (verilog-string-match-fold, verilog-in-paren-count)
11337         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
11338         (verilog-at-close-struct-p): New functions.
11339         (verilog-beg-block-re-ordered, verilog-extended-case-re)
11340         (verilog-forward-sexp, verilog-set-auto-endcomments)
11341         (verilog-leap-to-case-head): Handle "unique0" case.
11342         (verilog-in-constraint-re): New constant.
11343         (verilog-keywords, verilog-type-font-keywords):
11344         Add some SystemVerilog 1800-2012 keywords.
11345         (verilog-label-be): Remove unimplemented argument, bug669.
11346         (verilog-batch-execute-func): When batch expanding clear
11347         create-lockfiles to prevent spurious user locks when a file ends
11348         up not changing.
11349         (verilog-calculate-indent, verilog-calc-1)
11350         (verilog-at-close-constraint-p, verilog-at-constraint-p)
11351         (verilog-do-indent): Fix indentation of nested constraints
11352         and structures.
11353         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
11354         (verilog-auto-inst-param): Use verilog-string-match-fold.
11355         (verilog-read-inst-module-matcher):
11356         Fix AUTOINST on gate primitives with #1.
11357         (verilog-read-decls): Fix double-declaring user-defined typed signals.
11358         Reads all user-defined typed variables.
11359         (verilog-read-defines): Fix reading definitions inside comments, bug647.
11360         (verilog-signals-matching-regexp)
11361         (verilog-signals-not-matching-regexp, verilog-auto):
11362         Respect verilog-case-fold.
11363         (verilog-diff-report): Fix line count.
11364         (verilog-auto-assign-modport): Remove unused local `modi'.
11365         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
11366         better handle multidimensional arrays.
11367         Fix packed array ports misadding bit index in AUTOINST, bug637.
11368         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
11369         to not double-declare existing outputs and inputs, respectively.
11370         (verilog-template-map): Bind U to verilog-sk-uvm-component.
11371         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
11372         (verilog-sk-uvm-component): New skeleton.
11373         (verilog-submit-bug-report): Add verilog-case-fold,
11374         remove verilog-mode-release-date.
11376 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
11378         * subr.el (sit-for): Call (input-pending-p t) so as to behave
11379         as before.
11381 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
11383         * textmodes/remember.el (remember): Set buffer-offer-save in
11384         remember buffers (bug#13566).
11386 2013-10-18  Daniel Colascione  <dancol@dancol.org>
11388         When evaluating forms in ielm, direct standard output to ielm
11389         buffer.  Add new ielm-return-for-effect command.  Remove trailing
11390         whitespace throughout.
11392         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
11393         (ielm-return-for-effect): New command.
11394         (ielm-send-input): Accept optional `for-effect' parameter.
11395         (ielm-eval-input): Accept optional `for-effect' parameter.
11396         Bind `standard-output' to stream we create using
11397         `ielm-standard-output-impl'.  Suppress printing result when
11398         `for-effect'.
11399         (ielm-standard-output-impl): New function.
11400         (inferior-emacs-lisp-mode): Explain new features in documentation.
11402 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
11404         Code cleanup.
11406         * net/tramp.el (tramp-debug-message): Do not check for connection
11407         buffer.
11408         (tramp-message): Use "vector" connection property.
11410         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
11411         (tramp-equal-remote, tramp-eshell-directory-change)
11412         * net/tramp-adb.el (tramp-adb-handle-copy-file)
11413         (tramp-adb-handle-rename-file)
11414         * net/tramp-cmds.el (tramp-list-remote-buffers)
11415         (tramp-cleanup-connection, tramp-cleanup-this-connection)
11416         * net/tramp-compat.el (tramp-compat-process-running-p)
11417         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
11418         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
11419         (tramp-gvfs-handle-rename-file)
11420         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11421         (tramp-set-file-uid-gid)
11422         * net/tramp-smb.el (tramp-smb-handle-copy-file)
11423         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
11424         of `file-remote-p'.
11426         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
11427         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
11428         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
11429         (tramp-gw-open-network-stream): Suppress unrelated traces.
11431         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
11432         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
11433         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11434         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
11435         connection property.
11437         * net/tramp-cache.el (top): Suppress traces when reading
11438         persistency file.
11440         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11441         Refactor common code.  Improve debug message.
11442         (tramp-maybe-open-connection)
11443         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
11444         connection buffer too early.
11446         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
11447         from `tramp-smb-actions-with-acl'.
11448         (tramp-smb-actions-set-acl): New defconst.
11449         (tramp-smb-handle-copy-directory)
11450         (tramp-smb-action-get-acl): New defun, renamed from
11451         `tramp-smb-action-with-acl'.
11452         (tramp-smb-action-set-acl): New defun.
11453         (tramp-smb-handle-set-file-acl): Rewrite.
11455 2013-10-17  Glenn Morris  <rgm@gnu.org>
11457         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
11459 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11461         * skeleton.el (skeleton-newline): Remove.
11462         (skeleton-internal-1): Use (insert "\n") instead.
11464         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
11465         let-bindings.
11467         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
11468         forward-sexp-function while we redo its job (bug#15613).
11470 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
11472         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
11473         represented by lists.
11475 2013-10-16  Glenn Morris  <rgm@gnu.org>
11477         * tmm.el (tmm--history): New dynamic variable.
11478         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
11480 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
11482         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
11483         (tramp-smb-errors): Add error messages.
11484         (tramp-smb-actions-with-acl): New defconst.
11485         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
11486         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
11487         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
11488         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
11489         (tramp-smb-get-stat-capability): Fix tests.
11491 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
11493         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
11494         (bug#15580).
11496 2013-10-16  Glenn Morris  <rgm@gnu.org>
11498         * ansi-color.el (ansi-color-drop-regexp):
11499         Add 1J, 1K, 2K.  (Bug#15617)
11501         * files.el (hack-local-variables--warned-lexical): New.
11502         (hack-local-variables):
11503         Warn about misplaced lexical-binding.  (Bug#15616)
11505         * net/eww.el (eww-render): Always set eww-current-url,
11506         and update header line.  (Bug#15622)
11507         (eww-display-html): ... Rather than just doing it here.
11509 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
11511         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
11512         menu navigations commands.
11514 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
11516         * progmodes/subword.el (subword-capitalize): Be careful when
11517         the search for [[:alpha:]] fails (bug#15580).
11519 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
11521         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
11522         to commands that scroll the menu.
11524 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
11526         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
11527         Handle methods ending with `?' and `!'.
11529 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
11531         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
11532         `japanese-cp932' to `cp932' to fix the problem where saving a
11533         source file written in Shift_JIS twice would end up having
11534         `coding: japanese-cp932' which Ruby could not recognize.
11535         (ruby-mode-set-encoding): Add support for encodings mapped to nil
11536         in `ruby-encoding-map'.
11537         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
11538         doesn't need to be explicitly declared in magic comment.
11539         (ruby-encoding-map): Add type declaration for better customize UI.
11541 2013-10-13  Glenn Morris  <rgm@gnu.org>
11543         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
11544         Occur buffers are read-only.  http://bugs.debian.org/720775
11546         * emacs-lisp/authors.el (authors-fixed-entries):
11547         Comment out old alpha stuff.
11549 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
11551         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
11552         to `after-save-hook' instead of `before-save-hook'.
11553         (ruby-mode-set-encoding): Use the value of coding system used to
11554         write the file.  Call `basic-save-buffer-1' after modifying the
11555         buffer.
11557 2013-10-13  Alan Mackenzie  <acm@muc.de>
11559         Fix indentation/fontification of Java enum with
11560         "implements"/generic.
11562         * progmodes/cc-engine.el (c-backward-over-enum-header):
11563         Extracted from the three other places and enhanced to handle generics.
11564         (c-inside-bracelist-p): Uses new function above.
11565         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
11566         function above.
11567         (c-font-lock-enum-tail): Uses new function above.
11569 2013-10-13  Kenichi Handa  <handa@gnu.org>
11571         * international/mule-cmds.el (select-safe-coding-system): Remove a
11572         superfluous condition in chekcing whether a coding system is safe
11573         or not.
11575 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
11577         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
11579 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
11581         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
11583 2013-10-13  Glenn Morris  <rgm@gnu.org>
11585         * menu-bar.el (menu-bar-update-buffers):
11586         Unify Buffers menu prompt string.  (Bug#15576)
11588         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
11590         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
11591         Add some entries.
11592         (authors-fixed-entries): Use accented form of name.
11594 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11596         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
11597         method calls (bug#15594).
11598         (ruby-smie--args-separator-p): New function.
11599         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
11600         recognize paren-free method calls.
11602         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
11603         internals of universal-argument.
11605 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
11607         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
11608         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
11609         dropped menu on second mouse click on the menu bar.
11611 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11613         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
11614         (explicit-shell-file-name): Declare.
11615         (sh--vars-before-point, sh--cmd-completion-table): New functions.
11616         (sh-completion-at-point-function): New function.
11617         (sh-mode): Use it.
11618         (sh-smie--keyword-p): Remove unused argument.
11619         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
11620         vars.
11621         (sh-set-shell): Always setup SMIE, even if we use the
11622         old indentation code.
11624 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
11626         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
11627         cases of ? and =.
11628         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
11629         predicate would return nil are almost non-existent.
11630         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
11632         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
11633         cache also after commands that modify the buffer but don't move
11634         point.
11636 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11638         * env.el (substitute-env-in-file-name): New function.
11639         (substitute-env-vars): Extend the meaning of the optional arg.
11641 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
11643         * term/w32-win.el (dynamic-library-alist): Define separate lists
11644         of GIF DLLs for versions before and after 5.0.0 of giflib.
11645         (Bug#15531)
11647 2013-10-10  João Távora  <joaotavora@gmail.com>
11649         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
11650         not locked, use last revision and current source as
11651         defaults.  (Bug#15569)
11653 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
11655         * menu-bar.el (menu-bar-open): Don't use popup-menu if
11656         menu-bar is hidden.
11658 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
11660         * window.el (pop-to-buffer-same-window): Fix doc-string.
11661         (Bug#15492)
11663 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11665         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
11667 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
11669         * calendar/icalendar.el (icalendar-import-file):
11670         Fix interactive spec.  (Bug#15482)
11672 2013-10-10  Glenn Morris  <rgm@gnu.org>
11674         * desktop.el (desktop-save): Default to saving in .emacs.d,
11675         since PWD is no longer in desktop-path by default.  (Bug#15319)
11677         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
11678         now that text mode has a menu with the same entry.
11679         (menu-bar-text-mode-auto-fill): Remove now unused func.
11680         * textmodes/text-mode.el (text-mode-map):
11681         Use auto-fill help text from menu-bar.el.
11683 2013-10-10  John Anthony  <john@jo.hnanthony.com>
11685         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
11687 2013-10-09  Juri Linkov  <juri@jurta.org>
11689         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
11690         instead of this-command-keys.  Add universal-argument-more and
11691         universal-argument-minus to the list of prefix commands.  (Bug#15568)
11693 2013-10-09  Glenn Morris  <rgm@gnu.org>
11695         * vc/vc-svn.el (vc-svn-create-repo):
11696         Expand paths in file://... url.  (Bug#15446)
11698         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
11699         Add some entries.
11700         (authors): Remove unused local variables.
11702 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11704         * profiler.el: Create a more coherent calltree from partial backtraces.
11705         (profiler-format): Hide the tail with `invisible' so that C-s can still
11706         find the hidden elements.
11707         (profiler-calltree-depth): Don't recurse so enthusiastically.
11708         (profiler-function-equal): New hash-table-test.
11709         (profiler-calltree-build-unified): New function.
11710         (profiler-calltree-build): Use it.
11711         (profiler-report-make-name-part): Indent the calltree less.
11712         (profiler-report-mode): Add visibility specs for profiler-format.
11713         (profiler-report-expand-entry, profiler-report-toggle-entry):
11714         Expand the whole subtree when provided with a prefix arg.
11716 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
11718         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
11719         iuwu-mod token.
11720         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
11721         hanging iuwu-mod token.
11722         (ruby-smie--forward-token): Do not include a dot after a token in
11723         that token.
11724         (ruby-smie--backward-token): Likewise.
11726 2013-10-08  Juri Linkov  <juri@jurta.org>
11728         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
11729         to isearch-other-control-char.
11730         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
11731         and isearch-post-command-hook to post-command-hook.
11732         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
11733         and isearch-post-command-hook from post-command-hook.
11734         (isearch-unread-key-sequence)
11735         (isearch-reread-key-sequence-naturally)
11736         (isearch-lookup-scroll-key, isearch-other-control-char)
11737         (isearch-other-meta-char): Remove functions.
11738         (isearch-pre-command-hook, isearch-post-command-hook):
11739         New functions based on isearch-other-meta-char rewritten
11740         relying on the new behavior of overriding-terminal-local-map
11741         that does not replace the local keymaps any more.  (Bug#15200)
11743 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
11745         Support menus on text-mode terminals.
11746         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
11747         functionality.
11749         * tooltip.el (tooltip-mode): Don't error out on TTYs.
11751         * menu-bar.el (popup-menu, popup-menu-normalize-position):
11752         Move here from mouse.el.
11753         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
11754         and arrow keys.
11755         (tty-menu-navigation-map): New map for TTY menu navigation.
11757         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
11759         * frame.el (display-mouse-p): Report text-mode mouse as available
11760         on w32.
11761         (display-popup-menus-p): Report availability if mouse is
11762         available; don't condition on window-system.
11764         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
11765         (tty-menu-selected-face): New faces.
11767 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11769         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
11770         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
11771         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
11772         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
11773         New constants.
11774         (lisp-mode-variables): New `elisp' argument.
11775         (emacs-lisp-mode): Use it.
11776         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
11777         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
11779         * indent.el: Use lexical-binding.
11780         (indent-region): Add progress reporter.
11781         (tab-stop-list): Make it implicitly extend to infinity by repeating the
11782         last step.
11783         (indent--next-tab-stop): New function to implement this behavior.
11784         (tab-to-tab-stop, move-to-tab-stop): Use it.
11786 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
11788         * indent.el (indent-rigidly--current-indentation): New function.
11789         (indent-rigidly-map): New var.
11790         (indent-rigidly): Use it to provide interactive mode (bug#8196).
11792 2013-10-08  Bastien Guerry  <bzg@gnu.org>
11794         * register.el (insert-register): Fix 2013-10-07 change.
11796 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11798         * progmodes/perl-mode.el: Use lexical-binding.
11799         Remove redundant :group args.
11800         (perl-nochange): Change default to be closer to other major modes's
11801         standard behavior.
11802         (perl-indent-line): Don't consider text on current line as a
11803         valid beginning of function from which to indent.
11805         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
11806         with more than one argument (bug#15538).
11808         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
11810         * vc/pcvs.el: Use lexical-binding.
11811         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
11812         environment of `eval'.
11813         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
11814         than a list of expressions.  Adjust callers.
11815         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
11817 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
11819         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
11820         case of the dot in a chained method call being on the following line.
11822 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11824         * electric.el (electric-indent-inhibit): New var.
11825         (electric-indent-post-self-insert-function): Use it.
11826         * progmodes/python.el (python-mode): Set it.
11828         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
11829         open braces.
11831         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
11833         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
11834         (css-mode): Use electric-indent-chars.
11836         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
11837         (font-lock-beg, font-lock-end): Move before first use.
11838         (nxml-mode): Use syntax-propertize-function.
11839         (nxml-after-change, nxml-after-change1): Adjust accordingly.
11840         (nxml-extend-after-change-region): Remove.
11841         * nxml/xmltok.el: Use lexical-binding.
11842         (xmltok-save): Use `declare'.
11843         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
11844         * nxml/nxml-util.el: Use lexical-binding.
11845         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
11846         Use `declare'.
11847         * nxml/nxml-ns.el: Use lexical-binding.
11848         (nxml-ns-save): Use `declare'.
11849         (nxml-ns-prefixes-for): Avoid add-to-list.
11850         * nxml/rng-match.el: Use lexical-binding.
11851         (rng--ipattern): Use cl-defstruct.
11852         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
11853         (rng-cons-group-after, rng-subst-group-after)
11854         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
11855         Use closures instead of `(lambda...).
11857 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
11859         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
11860         of BEG and END.
11862         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11863         Use `tramp-handle-insert-file-contents'.
11864         (tramp-gvfs-handle-insert-file-contents): Remove function.
11866         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11867         Use `save-restriction' in order to keep markers.
11869         * net/trampver.el: Update release number.
11871 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11873         * progmodes/compile.el (compilation-parse-errors):
11874         Use compilation--put-prop.
11875         (compilation--ensure-parse): Check compilation-multiline.
11877         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
11879         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
11880         lexical-binding.
11882         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
11884         * progmodes/ruby-mode.el: Fix recently added tests.
11885         (ruby-smie-grammar): Add - and +.
11886         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
11887         (ruby-smie--backward-id): New functions.
11888         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
11889         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
11890         any more.
11892 2013-10-07  Leo Liu  <sdl.web@gmail.com>
11894         * register.el (register-preview-delay)
11895         (register-preview-functions): New variables.
11896         (register-read-with-preview, register-preview)
11897         (register-describe-oneline): New functions.
11898         (point-to-register, window-configuration-to-register)
11899         (frame-configuration-to-register, jump-to-register)
11900         (number-to-register, view-register, insert-register)
11901         (copy-to-register, append-to-register, prepend-to-register)
11902         (copy-rectangle-to-register): Use register-read-with-preview to
11903         read register.  (Bug#15525)
11905 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
11907         * net/network-stream.el (network-stream-open-starttls): Don't add
11908         --insecure if it's already present, because that gnutls-cli
11909         rejects getting that parameter twice.
11911 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
11913         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
11914         keyword, too.
11916 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
11918         * newcomment.el (comment-use-global-state): Change default value
11919         to t, mark obsolete (Bug#15251).
11920         (comment-beginning): In addition to `comment-to-syntax', check the
11921         value of `comment-use-global-state'.
11923 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11925         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
11926         (ruby-comment-column): Follow the global default, by default.
11927         (ruby-smie-grammar): Add assignment syntax.
11928         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
11929         open-paren, a comma, or a \.
11930         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
11931         and line continuations.
11932         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
11933         followed by implicit semi-colons.  Add rule for string concatenation
11934         and for indentation at BOB.
11935         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
11937         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
11938         calling next-sexp, since next-token may have skipped chars which
11939         next-sexp doesn't know should be skipped!
11941 2013-10-05  Leo Liu  <sdl.web@gmail.com>
11943         * progmodes/octave.el (octave-send-region):
11944         Call compilation-forget-errors.
11946 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
11948         * vc/vc-svn.el (vc-svn-find-admin-dir):
11949         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
11950         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
11951         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
11952         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
11954 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11956         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
11958 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11960         * subr.el (read-passwd): Hide chars even when called within a context
11961         where after-change-functions is disabled (bug#15501).
11962         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
11963         until we removed ourself from overriding-terminal-local-map.
11965 2013-10-04  Leo Liu  <sdl.web@gmail.com>
11967         * progmodes/octave.el (inferior-octave-mode):
11968         Call compilation-forget-errors.
11970 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
11972         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
11974 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
11976         * net/secrets.el (secrets-create-collection): Add optional
11977         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
11978         dbus-call-method argument.  (Bug#15516)
11980 2013-10-04  Leo Liu  <sdl.web@gmail.com>
11982         * progmodes/octave.el (inferior-octave-error-regexp-alist)
11983         (inferior-octave-compilation-font-lock-keywords): New variables.
11984         (compilation-error-regexp-alist)
11985         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
11986         (inferior-octave-mode): Use compilation-shell-minor-mode.
11988 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
11990         * minibuffer.el (completion--replace): Be careful that `end' might be
11991         a marker.
11993 2013-10-03  Daiki Ueno  <ueno@gnu.org>
11995         Add support for package signature checking.
11996         * emacs-lisp/package.el (url-http-file-exists-p)
11997         (epg-make-context, epg-context-set-home-directory)
11998         (epg-verify-string, epg-context-result-for)
11999         (epg-signature-status, epg-signature-to-string)
12000         (epg-check-configuration, epg-configuration)
12001         (epg-import-keys-from-file): Declare.
12002         (package-check-signature): New user option.
12003         (package-unsigned-archives): New user option.
12004         (package-desc): Add `signed' field.
12005         (package-load-descriptor): Set `signed' field if .signed file exists.
12006         (package--archive-file-exists-p): New function.
12007         (package--check-signature): New function.
12008         (package-install-from-archive): Check package signature.
12009         (package--download-one-archive): Check archive signature.
12010         (package-delete): Remove .signed file.
12011         (package-import-keyring): New command.
12012         (package-refresh-contents): Import default keyring.
12013         (package-desc-status): Add "unsigned" status.
12014         (describe-package-1, package-menu--print-info)
12015         (package-menu-mark-delete, package-menu--find-upgrades)
12016         (package-menu--status-predicate): Support "unsigned" status.
12018 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12020         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
12021         the new compilation scheme using the new byte-codes.
12023         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
12024         (byte-pophandler): New byte codes.
12025         (byte-goto-ops): Adjust accordingly.
12026         (byte-compile--use-old-handlers): New var.
12027         (byte-compile-catch): Use new byte codes depending on
12028         byte-compile--use-old-handlers.
12029         (byte-compile-condition-case--old): Rename from
12030         byte-compile-condition-case.
12031         (byte-compile-condition-case--new): New function.
12032         (byte-compile-condition-case): New function that dispatches depending
12033         on byte-compile--use-old-handlers.
12034         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
12035         when we can.
12037         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
12038         Optimize under `condition-case' and `catch' if
12039         byte-compile--use-old-handlers is nil.
12040         (disassemble-offset): Handle new bytecodes.
12042 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12044         * subr.el (error): Use `declare'.
12045         (decode-char, encode-char): Use advertised-calling-convention instead
12046         of the docstring to discourage use of the `restriction' arg.
12048 2013-10-03  Daiki Ueno  <ueno@gnu.org>
12050         * epg.el (epg-verify-file): Add a comment saying that it does not
12051         notify verification error as a return value nor a signal.
12052         (epg-verify-string): Ditto.
12054 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
12056         * progmodes/compile.el (compilation-start): Try globbing the arg to
12057         `cd' (bug#15417).
12059 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
12061         Sync with Tramp 2.2.8.
12063         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
12064         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
12065         * net/trampver.el: Update release number.
12067 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
12069         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
12070         and default-process-coding-system for darwin only.
12072 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12074         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
12076 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
12078         * vc/vc-git.el (vc-git-grep): Disable pager.
12080 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
12082         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
12083         Use :url instead of :homepage, as per
12084         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
12086         * newcomment.el (comment-beginning): When `comment-use-syntax' is
12087         non-nil, use `syntax-ppss' (Bug#15251).
12089 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12091         * progmodes/octave.el (inferior-octave-startup-file):
12092         Prefer ~/.emacs.d/init_octave.m.
12094 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
12096         * emacs-lisp/package.el (package-desc-from-define):
12097         Accept additional arguments as plist, convert them to an alist and store
12098         them in the `extras' slot.
12099         (package-generate-description-file): Convert extras alist back to
12100         plist and append to the `define-package' form arguments.
12101         (package--alist-to-plist): New function.
12102         (package--ac-desc): Add `extras' slot.
12103         (package--add-to-archive-contents): Check if the archive-contents
12104         vector is long enough, and if it is, pass its `extras' slot value
12105         to `package-desc-create'.
12106         (package-buffer-info): Call `lm-homepage', pass the returned value
12107         to `package-desc-from-define'.
12108         (describe-package-1): Render the homepage button (Bug#13291).
12110         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12111         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
12113 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
12115         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
12116         and default-process-coding-system to utf-8-unix (Bug#15402).
12118 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
12120         * subr.el (looking-back): Do not recommend using looking-back.
12122 2013-09-28  Alan Mackenzie  <acm@muc.de>
12124         Fix indentation/fontification of Java enum with "implements".
12126         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
12127         regexp which matches "implements", etc., in Java.
12128         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
12129         specifier clauses coming after "enum".
12130         * progmodes/cc-fonts.el (c-font-lock-declarations)
12131         (c-font-lock-enum-tail): Check for extra specifier clauses coming
12132         after "enum".
12134 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
12136         * faces.el (region): Change ns_selection_color to
12137         ns_selection_fg_color, add ns_selection_bg_color.
12139 2013-09-28  Leo Liu  <sdl.web@gmail.com>
12141         * progmodes/octave.el (inferior-octave-completion-table)
12142         (inferior-octave-completion-at-point): Minor tweaks.
12144         * textmodes/ispell.el (ispell-lookup-words): Rename from
12145         lookup-words.  (Bug#15460)
12146         (lookup-words): Obsolete.
12147         (ispell-complete-word, ispell-command-loop): All uses changed.
12149 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12151         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
12152         (octave-mode-menu): Add octave-send-buffer.
12153         (octave-send-buffer): New function.
12155 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12157         * progmodes/octave.el (octave-mode-map): Add key binding for
12158         octave-lookfor.
12159         (octave-mode-menu): Add octave-lookfor.
12160         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
12161         octave-lookfor.
12162         (octave-lookfor): New function.
12164 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12166         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
12167         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
12168         its convention.
12169         (cl--loop-set-iterator-function): New function.
12170         (cl-loop): Adjust accordingly, so as not to use cl-subst.
12171         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
12172         Bind `it' with `let' instead of substituting it with `cl-subst'.
12173         (cl--unused-var-p): New function.
12174         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
12175         Eliminate some unused variable warnings (bug#15326).
12177 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
12179         * doc-view.el (doc-view-scale-reset): Rename from
12180         `doc-view-reset-zoom-level'.
12181         (doc-view-scale-adjust): New command.
12182         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
12183         `doc-view-scale-adjust'.
12185 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
12187         * doc-view.el (doc-view-reset-zoom-level): New command.
12188         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
12189         zoom commands (bug#15466).
12191 2013-09-26  Kenichi Handa  <handa@gnu.org>
12193         * international/quail.el (quail-help): Make it not a command.
12195 2013-09-26  Leo Liu  <sdl.web@gmail.com>
12197         * minibuffer.el (completion-all-sorted-completions): Make args
12198         optional as they are.
12200 2013-09-25  Daniel Colascione  <dancol@dancol.org>
12202         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
12203         specs are and that they're not evaluated.
12205 2013-09-24  Sam Steingold  <sds@gnu.org>
12207         * midnight.el (clean-buffer-list-kill-regexps)
12208         (clean-buffer-list-kill-buffer-names): Update for the new Man
12209         buffer naming which includes the object name.
12211 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12213         * eshell/esh-cmd.el (eshell--sep-terms): New var.
12214         (eshell-parse-command, eshell-parse-pipeline): Use it since
12215         eshell-separate-commands requires a dynamic scoped var.
12216         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
12218 2013-09-23  Leo Liu  <sdl.web@gmail.com>
12220         * autoinsert.el (auto-insert-alist): Make the value of
12221         lexical-binding match its file setting.
12223 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
12225         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
12227         * autoarg.el (autoarg-kp-digit-argument):
12228         * electric.el (Electric-command-loop):
12229         * kmacro.el (kmacro-step-edit-insert):
12230         Do not set universal-argument-num-events.
12232 2013-09-22  Leo Liu  <sdl.web@gmail.com>
12234         * files.el (interpreter-mode-alist): Add octave.
12236 2013-09-21  Alan Mackenzie  <acm@muc.de>
12238         C++: fontify identifier in declaration following "public:" correctly.
12239         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
12240         to match "public", etc.
12241         (c-decl-prefix-re): Add ":" into the C++ value.
12242         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
12243         bit.  Add a check for a ":" preceded by "public", etc.
12245 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
12247         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
12248         recognized by GDB 7.5 and later.
12250 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
12252         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
12254 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12256         * subr.el (internal--call-interactively): New const.
12257         (called-interactively-p): Use it (bug#3984).
12259 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
12261         * vc/pcvs.el (cvs-mode-ignore):
12262         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
12263         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
12265 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12267         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
12268         (eshell-ls-orig-insert-directory): Remove.
12269         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
12270         (eshell-ls-use-in-dired): Use advice-add/remove.
12271         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
12272         Add `orig-fun' arg for use in :around advice.
12273         Make it check (redundantly) eshell-ls-use-in-dired.
12275 2013-09-19  Glenn Morris  <rgm@gnu.org>
12277         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
12279         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
12281         * emacs-lisp/eieio.el (class-parent): Undo previous change.
12283 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
12285         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
12286         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
12287         (tramp-get-remote-python): New defuns.
12288         (tramp-get-remote-uid-with-perl)
12289         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
12290         contributed by yary <not.com@gmail.com> (tiny change).
12291         (tramp-get-remote-uid-with-python)
12292         (tramp-get-remote-gid-with-python): New defuns.  Python code
12293         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
12294         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
12296 2013-09-19  Glenn Morris  <rgm@gnu.org>
12298         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
12300         * eshell/em-unix.el (eshell-remove-entries):
12301         Rename argument to avoid name-clash with global `top-level'.
12303         * eshell/esh-proc.el (eshell-kill-process-function):
12304         Remove eshell-reset-after-proc from eshell-kill-hook if present.
12305         (eshell-reset-after-proc): Remove unused arg `proc'.
12307         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
12308         (directory-files-and-attributes): Mark unused arg.
12310         * eshell/em-unix.el (eshell-remove-entries):
12311         Remove unused arg `path'.  Update callers.
12313         * eshell/em-hist.el (eshell-hist-parse-arguments):
12314         Remove unused arg `silent'.  Update callers.
12316         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
12317         Fix (f)boundp mix-up.
12319         * eshell/em-smart.el (eshell-smart-scroll-window)
12320         (eshell-disable-after-change):
12321         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
12323 2013-09-18  Alan Mackenzie  <acm@muc.de>
12325         Fix fontification of type when followed by "const".
12326         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
12327         "known" types from fontification.
12329 2013-09-18  Glenn Morris  <rgm@gnu.org>
12331         * emacs-lisp/chart.el (x-display-color-cells): Declare.
12332         (chart-face-list): Drop Emacsen without display-color-p.
12334         * net/eww.el (libxml-parse-html-region): Declare.
12335         (eww-display-html): Explicit error if no libxml2 support.
12337         * doc-view.el (doc-view-mode): Silence --without-x compilation.
12339         * image.el (image-type-from-buffer, image-multi-frame-p):
12340         Remove --without-x warning/error.
12342         * mouse.el (mouse-yank-primary):
12343         * term.el (term-mouse-paste):
12344         Reorder to silence --without-x compilation.
12346         * mpc.el (doc-view-mode): Silence --without-x compilation.
12348         * mail/rmailmm.el (rmail-mime-set-bulk-data):
12349         Silence --without-x compilation.
12351         * progmodes/gud.el (gud-find-file, gud-mode):
12352         Silence --without-x compilation.
12353         (tooltip-mode): Declare.
12355         * wdired.el (dired-backup-overwrite): Remove declaration.
12356         (wdired-mode-map): Add doc string.
12358         * custom.el (x-get-resource): Declare.
12360         * eshell/em-glob.el (ange-cache):
12361         * eshell/em-unix.el (ange-cache): Declare.
12363         * faces.el (x-display-list, x-open-connection, x-get-resource):
12364         Declare.
12366         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
12367         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
12368         Declare.
12370         * frame.el (x-display-grayscale-p, x-display-name): Declare.
12372         * net/gnutls.el (gnutls-log-level): Declare.
12374         * net/shr.el (image-size, image-animate): Declare.
12376         * simple.el (font-info): Declare.
12378         * subr.el (x-popup-dialog): Declare.
12380         * term/common-win.el (x-select-enable-primary)
12381         (x-last-selected-text-primary, x-last-selected-text-clipboard):
12382         Declare.
12384         * term/ns-win.el (x-handle-args): Declare.
12386         * term/x-win.el (x-select-enable-clipboard): Declare.
12388         * term/w32-win.el (create-default-fontset): Declare.
12390         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
12391         Declare.
12393         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
12394         (fit-frame-to-buffer): Explicit error if --without-x.
12395         (mouse-autoselect-window-select): Silence compiler.
12397         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12399         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
12400         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
12401         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
12402         * eshell/esh-util.el (eshell-sublist):
12403         Remove unused local variables.
12405         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
12407         * textmodes/two-column.el: Make 2C-split work for --without-x.
12408         (scroll-bar-columns): Autoload.
12409         (top-level): Require fringe when compiling.
12411 2013-09-18  Leo Liu  <sdl.web@gmail.com>
12413         * subr.el (add-hook): Robustify to handle closure as well.
12415 2013-09-17  Glenn Morris  <rgm@gnu.org>
12417         * simple.el (messages-buffer-mode-map): Unbind "g".
12419 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12421         * help-mode.el (help-mode-finish): Use derived-mode-p.
12422         Remove obsolete highlighting.
12424         * play/life.el (life-mode): Use define-derived-mode.  Derive from
12425         special-mode.
12426         (life): Let-bind inhibit-read-only.
12427         (life-setup): Avoid `setq'.  Use `life-mode'.
12429         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
12430         which should not be needed any more.
12431         (package-menu-refresh, package-menu-describe-package): Use user-error.
12433         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
12434         (eshell-post-rewrite-command-hook): Make obsolete.
12435         (eshell-parse-command): Simplify.
12436         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
12437         (eshell--cmd): Declare.
12438         (eshell-parse-pipeline): Remove unused var `final-p'.
12439         Pass a dynvar to eshell-post-rewrite-command-hook.
12440         Implement the new eshell-post-rewrite-command-function.
12441         (eshell-invoke-directly): Remove unused arg `input'.
12442         * eshell/esh-io.el (eshell-io-initialize):
12443         Use eshell-post-rewrite-command-function (bug#15399).
12444         (eshell--apply-redirections): Rename from eshell-apply-redirections;
12445         adjust to new calling convention.
12446         (eshell-create-handles): Rename args to avoid clashing with dynvar
12447         `standard-output'.
12449 2013-09-17  Glenn Morris  <rgm@gnu.org>
12451         * simple.el (messages-buffer-mode): New major mode.
12452         (messages-buffer): New function.
12453         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
12454         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
12455         (ert-run-test): Use `messages-buffer' function.
12456         (ert--force-message-log-buffer-truncation): Ignore read-only.
12457         * help.el (view-echo-area-messages): Use `messages-buffer' function.
12458         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
12460 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12462         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
12464         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
12466 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12468         * icomplete.el (icomplete-in-buffer): New var.
12469         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
12470         vars and replace them with functions.
12471         (icomplete-minibuffer-setup): Adjust accordingly.
12472         (icomplete--completion-table, icomplete--completion-predicate)
12473         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
12474         New functions.
12475         (icomplete-forward-completions, icomplete-backward-completions)
12476         (icomplete-simple-completing-p, icomplete-exhibit)
12477         (icomplete-completions): Use them.
12478         (icomplete--in-region-buffer): New var.
12479         (icomplete--in-region-setup): New function.
12480         (icomplete-mode): Use it.
12482         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
12483         (bug#15379).
12484         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
12485         return args and options.
12486         (eshell-eval-using-options): Use the new return value of
12487         eshell--do-opts to set the options's vars in their scope.
12488         (eshell--set-option): Rename from eshell-set-option.
12489         Add arg `opt-vals'.
12490         (eshell--process-option): Rename from eshell-process-option.
12491         Add arg `opt-vals'.
12492         (eshell--process-args): Use an `opt-vals' alist to store the options's
12493         values during their processing and return them additionally to the
12494         remaining args.
12496 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
12498         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
12499         continuation character an operator, as far as indentation is
12500         concerned (Bug#15369).
12502 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
12504         * window.el (window--state-put-2): Don't process buffer state
12505         when buffer doesn't exist any more (Bug#15382).
12507 2013-09-15  Glenn Morris  <rgm@gnu.org>
12509         * eshell/em-unix.el (eshell/rm):
12510         Make -f ignore missing files.  (Bug#15373)
12512         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
12513         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
12514         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
12516 2013-09-14  Glenn Morris  <rgm@gnu.org>
12518         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
12520 2013-09-13  Glenn Morris  <rgm@gnu.org>
12522         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
12523         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
12525 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
12527         * frame.el (x-focus-frame): Mark as declared in frame.c.
12529 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12531         * ls-lisp.el: Use advice-add.
12532         (original-insert-directory): Remove.
12533         (ls-lisp--insert-directory): Rename from insert-directory; add
12534         `orig-fun' argument.
12535         (insert-directory): Advise.
12537 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
12539         * term.el (term-emulate-terminal): Decode the command string
12540         before passing it to term-command-hook.  (Bug#15337)
12542 2013-09-13  Glenn Morris  <rgm@gnu.org>
12544         * eshell/esh-util.el (ange-cache): Move declaration earlier.
12546         * eshell/esh-ext.el (eshell-search-path): Declare.
12548         * eshell/em-prompt.el (eshell/pwd): Autoload it.
12549         Otherwise an error occurs if eshell-dirs module not loaded.
12551         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
12553 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
12555         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
12556         `tramp-check-proper-host'.  Check for a valid method name.
12558         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
12559         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12560         * net/tramp-sh.el (tramp-maybe-open-connection):
12561         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
12563         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
12564         also for hash values.
12566 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12568         * term/ns-win.el (parameters): Don't declare as dynamic.
12569         (before-make-frame-hook): Don't add ineffective function.
12571         * eshell/*.el: Use lexical-binding (bug#15231).
12573 2013-09-12  Kenichi Handa  <handa@gnu.org>
12575         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
12577 2013-09-12  Glenn Morris  <rgm@gnu.org>
12579         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
12580         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
12582         * subr.el (do-after-load-evaluation): Also give compiler warnings
12583         when obsolete files are used (except by obsolete files).
12585         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
12586         in the status output, assume `filename' is the first.  (Bug#15322)
12588         * vc/vc.el (vc-deduce-fileset): Doc fix.
12590         * calc/calc-help.el (Info-goto-node):
12591         * progmodes/cperl-mode.el (Info-find-node):
12592         * vc/ediff.el (Info-goto-node): Update declarations.
12594         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
12596         * vc/vc-bzr.el (vc-compilation-mode): Declare.
12597         (vc-bzr-pull): Require vc-dispatcher.
12598         * vc/vc-git.el (vc-compilation-mode): Declare.
12599         (vc-git-pull): Require vc-dispatcher.
12601         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
12603         * progmodes/octave.el (help-button-action): Declare.
12605         * shell.el (shell-directory-tracker): Output error as a message
12606         rather than just returning it as a string.
12607         (shell-process-pushd): Remove useless use of message.
12609         * dframe.el (dframe-timer-fn):
12610         * files.el (dir-locals-read-from-file):
12611         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
12612         (mpc-format):
12613         * reveal.el (reveal-post-command):
12614         * saveplace.el (load-save-place-alist-from-file):
12615         * shell.el (shell-resync-dirs):
12616         * w32-common-fns.el (x-get-selection-value):
12617         * emacs-lisp/copyright.el (copyright-find-copyright):
12618         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
12619         * emulation/tpu-edt.el (tpu-copy-keyfile):
12620         * play/bubbles.el (bubbles--mark-neighbourhood):
12621         * progmodes/executable.el
12622         (executable-make-buffer-file-executable-if-script-p):
12623         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
12625 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12627         Cleanup Eshell to rely less on dynamic scoping.
12628         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
12629         last-value, and ext-command here.  Bind `args' closer to `body'.
12630         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
12631         (eshell--args): Declare new dynamic var.
12632         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
12633         last-value, and ext-command.  Pass `args' to `body'.
12634         (eshell-process-args): Bind eshell--args.
12635         (eshell-set-option): Use eshell--args.
12636         * eshell/eshell.el (eshell): Use derived-mode-p.
12637         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
12638         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
12639         (eshell-glob-function): Declare.
12640         * eshell/esh-util.el: Require cl-lib.
12641         (eshell-read-hosts-file): Avoid add-to-list.
12642         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
12643         `err'.
12644         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
12645         Declare.
12646         (eshell/diff): Remove unused var `err'.
12647         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
12648         `killflag'.
12649         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
12650         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
12651         first use.
12652         * eshell/em-glob.el (eshell-glob-matches, message-shown):
12653         Move declaration before first use.
12654         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
12655         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
12656         rely on cl-return.
12658 2013-09-12  Glenn Morris  <rgm@gnu.org>
12660         * term/ns-win.el (global-map): Remove binding for ispell-next,
12661         deleted 1999-05-29.  (Bug#15357)
12663 2013-09-11  Glenn Morris  <rgm@gnu.org>
12665         * echistory.el (electric-command-history): Remove call to deleted func.
12667         * play/landmark.el (landmark-mode): Fix typos.
12669         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
12670         Check cvs-sort-ignore-file is bound.
12672         * savehist.el: No need for cl when compiling on Emacs.
12674 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12676         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
12677         (bug#15338).
12678         (eshell-self-insert-command, eshell-send-invisible):
12679         Remove unused argument.
12680         (eshell-handle-control-codes): Remove unused var `orig'.
12681         Avoid delete-backward-char.
12683         * files.el (set-auto-mode): Simplify a bit further.
12685 2013-09-11  Glenn Morris  <rgm@gnu.org>
12687         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
12688         (set-auto-mode): Don't regexp-quote elements.
12689         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
12690         * progmodes/cc-mode.el (interpreter-mode-alist):
12691         * progmodes/ruby-mode.el (interpreter-mode-alist):
12692         Revert previous change.
12694 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12696         * play/snake.el (snake-mode):
12697         * play/mpuz.el (mpuz-mode):
12698         * play/landmark.el (lm-mode):
12699         * play/blackbox.el (blackbox-mode):
12700         * play/5x5.el (5x5-mode):
12701         * obsolete/options.el (Edit-options-mode):
12702         * net/quickurl.el (quickurl-list-mode):
12703         * net/newst-treeview.el (newsticker-treeview-mode):
12704         * mail/rmailsum.el (rmail-summary-mode):
12705         * mail/mspools.el (mspools-mode):
12706         * locate.el (locate-mode):
12707         * ibuffer.el (ibuffer-mode):
12708         * emulation/ws-mode.el (wordstar-mode):
12709         * emacs-lisp/debug.el (debugger-mode):
12710         * array.el (array-mode):
12711         * net/eudc.el (eudc-mode): Use define-derived-mode.
12712         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
12713         Move initialization into declaration.
12714         (mairix-searches-mode): Use define-derived-mode.
12715         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
12716         (eudc-edit-hotlist): Use dolist.
12717         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
12718         (Man-mode): Use define-derived-mode.
12719         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
12720         (Info-edit-mode): Use define-derived-mode.
12721         (Info-cease-edit): Use Info-mode.
12722         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
12723         into declaration.
12724         (eshell-mode): Use define-derived-mode.
12725         * chistory.el (command-history-mode-map): Rename from
12726         command-history-map.
12727         (command-history-mode): Use define-derived-mode.
12728         (Command-history-setup): Remove function.
12729         * calc/calc.el (calc-trail-mode-map): New var.
12730         (calc-trail-mode): Use define-derived-mode.
12731         (calc-trail-buffer): Set calc-main-buffer manually.
12732         * bookmark.el (bookmark-insert-annotation): New function.
12733         (bookmark-edit-annotation): Use it.
12734         (bookmark-edit-annotation-mode): Make it a proper major mode.
12735         (bookmark-send-edited-annotation): Use derived-mode-p.
12736         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
12737         closer to its ideal place.  Use \' to match EOS.
12739         * profiler.el (profiler-calltree-find): Use function-equal.
12741 2013-09-10  Glenn Morris  <rgm@gnu.org>
12743         * files.el (interpreter-mode-alist): Convert to regexps.
12744         (set-auto-mode): Adapt for this.  (Bug#15306)
12745         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
12746         Comment out unused variable.
12747         * progmodes/cc-mode.el (interpreter-mode-alist):
12748         * progmodes/python.el (interpreter-mode-alist):
12749         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
12750         * progmodes/sh-script.el (sh-set-shell):
12751         No longer use interpreter-mode-alist to get list of shells.
12753         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
12755 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12757         * simple.el: Use set-temporary-overlay-map for universal-argument.
12758         (universal-argument-map): Don't use default-bindings (bug#15317).
12759         Bind switch-frame explicitly.  Replace universal-argument-minus with
12760         a conditional binding.
12761         (universal-argument-num-events, saved-overriding-map): Remove.
12762         (restore-overriding-map): Remove.
12763         (universal-argument--mode): Rename from save&set-overriding-map,
12764         and rewrite.
12765         (universal-argument, universal-argument-more, negative-argument)
12766         (digit-argument): Adjust accordingly.
12767         (universal-argument-minus): Remove.
12768         (universal-argument-other-key): Remove.
12770         * subr.el (with-demoted-errors): Add `format' argument.
12772 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
12774         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
12775         `tramp-cleanup-connection'.
12777         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
12778         parameters KEEP-DEBUG and KEEP-PASSWORD.
12780         * net/tramp.el (tramp-file-name-handler):
12781         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
12782         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12783         (tramp-maybe-open-connection):
12784         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
12785         Use `tramp-cleanup-connection'.
12787         * net/tramp-sh.el (tramp-maybe-open-connection):
12788         Catch 'uname-changed inside the progress reporter.
12790 2013-09-10  Glenn Morris  <rgm@gnu.org>
12792         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
12794         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
12795         returns "alternate access method" in mode (eg "-rw-r--r--.").
12797 2013-09-08  Glenn Morris  <rgm@gnu.org>
12799         * saveplace.el (load-save-place-alist-from-file):
12800         Demote errors.  (Bug#15305)
12802 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
12804         Improve compatibility with older Emacsen, and XEmacs.
12806         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
12807         only if it is bound.  It isn't for XEmacs.
12808         (with-tramp-progress-reporter): Do not let-bind `result'.
12809         This yields to scoping errors in XEmacs.
12810         (tramp-handle-make-auto-save-file-name): New function, moved from
12811         tramp-sh.el.
12813         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
12814         for `make-auto-save-file-name'.
12815         (tramp-adb--gnu-switches-to-ash):
12816         Use `tramp-compat-replace-regexp-in-string'.
12818         * net/tramp-cache.el (tramp-cache-print): Call
12819         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
12821         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
12822         bound.  It isn't for XEmacs.
12824         * net/tramp-compat.el (tramp-compat-copy-file):
12825         Catch `wrong-number-of-arguments' error.
12826         (tramp-compat-replace-regexp-in-string): New defun.
12828         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
12829         for `make-auto-save-file-name'.
12830         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
12831         `copy-file'.
12832         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
12833         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
12834         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
12836         * net/tramp-gw.el (tramp-gw-open-network-stream):
12837         Use `tramp-compat-replace-regexp-in-string'.
12839         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12840         Call `tramp-handle-make-auto-save-file-name'.
12841         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
12842         (tramp-sh-file-gvfs-monitor-dir-process-filter)
12843         (tramp-sh-file-inotifywait-process-filter):
12844         Use `tramp-compat-replace-regexp-in-string'.
12845         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
12847         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
12848         for `make-auto-save-file-name'.
12849         (tramp-smb-handle-copy-directory):
12850         Call `tramp-compat-replace-regexp-in-string'.
12851         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
12852         (tramp-smb-handle-copy-file): Improve error message.
12853         (tramp-smb-handle-rename-file): Rename directly only in case
12854         `newname' does not exist yet.  This is a restriction of smbclient.
12855         (tramp-smb-maybe-open-connection): Rerun the function only when
12856         `auth-sources' is non-nil.
12858 2013-09-08  Kenichi Handa  <handa@gnu.org>
12860         * international/characters.el: Set category "^" (Combining) for
12861         more characters.
12863 2013-09-07  Alan Mackenzie  <acm@muc.de>
12865         Correctly fontify Java class constructors.
12866         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
12867         in Java Mode.
12868         (c-recognize-typeless-decls): Set the Java value to t.
12869         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12870         While handling a "(", add a check for, effectively, Java, and handle a
12871         "typeless" declaration there.
12873 2013-09-07  Roland Winkler  <winkler@gnu.org>
12875         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
12876         field subtitle for entry type book.
12878 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12880         * minibuffer.el: Make minibuffer-complete call completion-in-region
12881         rather than other way around.
12882         (completion--some, completion-pcm--find-all-completions):
12883         Don't delay signals when debugging.
12884         (minibuffer-completion-contents): Beware fields within the
12885         minibuffer contents.
12886         (completion-all-sorted-completions): Use defvar-local.
12887         (completion--do-completion, completion--cache-all-sorted-completions)
12888         (completion-all-sorted-completions, minibuffer-force-complete):
12889         Add args `beg' and `end'.
12890         (completion--in-region-1): New fun, extracted from minibuffer-complete.
12891         (minibuffer-complete): Use completion-in-region.
12892         (completion-complete-and-exit): New fun, extracted from
12893         minibuffer-complete-and-exit.
12894         (minibuffer-complete-and-exit): Use it.
12895         (completion--complete-and-exit): Rename from
12896         minibuffer--complete-and-exit.
12897         (completion-in-region--single-word): New function, extracted from
12898         minibuffer-complete-word.
12899         (minibuffer-complete-word): Use it.
12900         (display-completion-list): Make `common-substring' argument obsolete.
12901         (completion--in-region): Call completion--in-region-1 instead of
12902         minibuffer-complete.
12903         (completion-help-at-point): Pass boundaries to
12904         minibuffer-completion-help as args rather than via an overlay.
12905         (completion-pcm--string->pattern): Use `any-delim'.
12906         (completion-pcm--optimize-pattern): New function.
12907         (completion-pcm--pattern->regex): Handle `any-delim'.
12908         * icomplete.el (icomplete-forward-completions)
12909         (icomplete-backward-completions, icomplete-completions):
12910         Adjust calls to completion-all-sorted-completions and
12911         completion--cache-all-sorted-completions.
12912         (icomplete-with-completion-tables): Default to t.
12913         * emacs-lisp/crm.el (crm--current-element): Rename from
12914         crm--select-current-element.  Don't put an overlay but return the
12915         boundaries instead.
12916         (crm--completion-command): Take two new args to bind to the boundaries.
12917         (crm-completion-help): Adjust accordingly.
12918         (crm-complete): Use completion-in-region.
12919         (crm-complete-word): Use completion-in-region--single-word.
12920         (crm-complete-and-exit): Use completion-complete-and-exit.
12922 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12924         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
12925         than dynamically.
12927 2013-09-06  Juri Linkov  <juri@jurta.org>
12929         * info.el (Info-display-images-node): When image file doesn't exist
12930         display text version of the image if it's provided in the Info file.
12931         Otherwise, display the location of missing image from SRC attribute.
12932         Add help-echo text property from ALT attribute.  (Bug#15279)
12934 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12936         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
12937         (edit-abbrevs-mode): Use define-derived-mode.
12939         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
12940         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
12941         that it's defined.
12942         (epa-key-list-mode, epa-key-mode, epa-info-mode):
12943         Use define-derived-mode.
12945         * epg.el (epg-start-encrypt): Minor CSE simplification.
12947 2013-09-06  William Xu  <william.xwl@gmail.com>
12949         * arc-mode.el: Add support for 7za (bug#15264).
12950         (archive-7z-program): New var.
12951         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
12952         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
12953         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
12955 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
12957         Remove URL syntax.
12959         * net/tramp.el (tramp-syntax, tramp-prefix-format)
12960         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
12961         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
12962         (tramp-postfix-host-format, tramp-file-name-regexp)
12963         (tramp-completion-file-name-regexp)
12964         (tramp-completion-dissect-file-name)
12965         (tramp-handle-substitute-in-file-name): Remove 'url case.
12966         (tramp-file-name-regexp-url)
12967         (tramp-completion-file-name-regexp-url): Remove constants.
12969 2013-09-06  Glenn Morris  <rgm@gnu.org>
12971         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
12973 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
12975         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
12976         keywords" below "here-doc beginnings" (Bug#15270).
12978 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12980         * subr.el (pop): Use `car-safe'.
12981         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
12982         to detect unused `pop' return value.
12984         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
12985         var `block-regexp'.
12986         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
12987         (python-fill-string): Remove unused var `marker'.
12988         (python-skeleton-add-menu-items): Remove unused var `items'.
12990         * international/mule-cmds.el: Require CL.
12991         (find-coding-systems-for-charsets): Avoid add-to-list.
12992         (sanitize-coding-system-list): New function, extracted from
12993         select-safe-coding-system-interactively.
12994         (select-safe-coding-system-interactively): Use it.
12995         (read-input-method-name): Accept symbols for `default'.
12997         * emacs-lisp/advice.el (defadvice): Add indent rule.
12999 2013-09-05  Daniel Hackney  <dan@haxney.org>
13001         * dired-x.el:
13002         * net/ange-ftp.el:
13003         * net/browse-url.el:
13004         * net/dbus.el:
13005         * net/eudc.el:
13006         * net/eudcb-ldap.el:
13007         * net/eww.el:
13008         * net/imap.el:
13009         * printing.el:
13010         * vc/ediff-diff.el:
13011         * vc/ediff-init.el:
13012         * vc/ediff-merg.el:
13013         * vc/ediff-mult.el:
13014         * vc/ediff-util.el:
13015         * vc/ediff-wind.el:
13016         * vc/ediff.el:
13017         * vc/emerge.el:
13018         * vc/pcvs.el:
13019         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
13020         byte compiler.  Remove some unused let-bound variables.
13022 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13024         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
13025         a "ref-cell", since it gets better optimized (bug#14883).
13027 2013-09-05  Glenn Morris  <rgm@gnu.org>
13029         * progmodes/cc-awk.el (c-forward-sws): Declare.
13031 2013-09-04  Glenn Morris  <rgm@gnu.org>
13033         * generic-x.el [rul-generic-mode]: Require cc-mode.
13034         (c++-mode-syntax-table): Declare.
13035         (rul-generic-mode-syntax-table): Init in the defvar.
13037 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13039         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
13040         (vc-do-command, vc-set-async-update):
13041         * vc/vc-mtn.el (vc-mtn-dir-status):
13042         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
13043         (vc-hg-pull, vc-hg-merge-branch):
13044         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
13045         (vc-git-merge-branch):
13046         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
13047         (vc-cvs-dir-status-files):
13048         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
13049         (vc-bzr-dir-status-files):
13050         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
13051         * vc/vc-annotate.el: Use lexical-binding.
13052         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
13053         (vc-sentinel-movepoint): Declare.
13054         (vc-annotate): Don't use `goto-line'.
13055         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
13056         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
13057         (vc-sentinel-movepoint): Declare.
13058         * vc/vc-svn.el: Use lexical-binding.
13059         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
13060         * vc/vc-sccs.el:
13061         * vc/vc-rcs.el: Use lexical-binding.
13063         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
13064         `deleted'.  Don't drop errors silently.
13066         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
13068 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
13070         * vc/vc.el (vc-ignore): Rewrite.
13071         (vc-default-ignore): New function.
13072         (vc-default-ignore-completion-table): Use find-ignore-file.
13074         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
13075         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
13076         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
13077         Remove.  Most code moved to vc.el.
13079 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13081         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
13082         * net/tramp-smb.el (tramp-smb-get-file-entries):
13083         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
13084         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
13086         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
13087         Update call to it.
13088         (eww-change-select): Remove unused var `properties'.
13089         (eww-make-unique-file-name): Remove unused var `base'.
13091         * finder.el (finder-compile-keywords): Don't mess with windows.
13093         * calculator.el (calculator-funcall): Fix typo in last change.
13095         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
13097         * emacs-lisp/package.el (package-activate-1): Don't let a missing
13098         <pkg>-autoloads.el file stop us.
13100         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
13101         warnings, and factor out common code.
13103 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
13105         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
13106         two-character operators and whether the character preceding them
13107         changes their meaning (Bug#15208).
13109 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13111         Format code sent to Python shell for robustness.
13112         * progmodes/python.el (python-shell-buffer-substring):
13113         New function.
13114         (python-shell-send-region, python-shell-send-buffer): Use it.
13116 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
13118         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
13119         * net/tramp.el (tramp-user-error): ... here.
13120         (tramp-find-method, tramp-check-proper-host)
13121         (tramp-dissect-file-name, tramp-debug-message)
13122         (tramp-handle-shell-command):
13123         * net/tramp-adb.el (tramp-adb-handle-shell-command):
13124         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
13126         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
13128 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
13130         * avoid.el (mouse-avoidance-point-position)
13131         (mouse-avoidance-too-close-p): Handle case where posn-at-point
13132         returns nil.
13134 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13136         * progmodes/python.el (python-shell-completion-get-completions):
13137         Drop use of deleted `comint-last-prompt-overlay'.
13138         (python-nav-if-name-main): New command.
13140 2013-09-01  Glenn Morris  <rgm@gnu.org>
13142         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13143         Avoid leading space in $wins.  Otherwise the sed command used by
13144         eg compile-main ends up containing "/*.el".  (Bug#15170)
13146         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
13148 2013-08-30  Glenn Morris  <rgm@gnu.org>
13150         * emacs-lisp/bytecomp.el (byte-recompile-directory):
13151         Fix is-this-a-directory logic.  (Bug#15220)
13153 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13155         * textmodes/css-mode.el: Use SMIE.
13156         (css-smie-grammar): New var.
13157         (css-smie--forward-token, css-smie--backward-token)
13158         (css-smie-rules): New functions.
13159         (css-mode): Use them.
13160         (css-navigation-syntax-table): Remove var.
13161         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
13162         (css-indent-calculate, css-indent-line): Remove functions.
13164         Misc changes to reduce use of `(lambda...); and other cleanups.
13165         * cus-edit.el: Use lexical-binding.
13166         (customize-push-and-save, customize-apropos)
13167         (custom-buffer-create-internal): Use closures.
13168         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
13169         * progmodes/ada-xref.el: Use setq.
13170         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
13171         * dframe.el: Use lexical-binding.
13172         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
13173         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
13174         * descr-text.el: Use lexical-binding.
13175         (describe-text-widget, describe-text-sexp, describe-property-list):
13176         Use closures.
13177         * comint.el (comint-history-isearch-push-state): Use a closure.
13178         * calculator.el: Use lexical-binding.
13179         (calculator-number-to-string): Make it work with lexical-binding.
13180         (calculator-funcall): Same and use cl-letf.
13182         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
13183         (lisp--company-doc-string, lisp--company-location): New functions.
13184         (lisp-completion-at-point): Use them to improve Company support.
13186         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
13187         params of lambda expressions.
13188         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
13189         (ruby-smie--opening-pipe-p): New function.
13190         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
13191         symbols and matched |...| for formal params.
13192         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
13193         from being treated as hanging.  Handle "rescue".
13195 2013-08-29  Glenn Morris  <rgm@gnu.org>
13197         * progmodes/cc-engine.el (c-pull-open-brace):
13198         Move definition before use.
13200 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13202         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
13203         are immutable.  Don't use `unsafe' any more.
13204         (cl--defsubst-expand): Don't substitute at the same time as keeping
13205         a residual unused let-binding.  Don't use `unsafe' any more.
13207 2013-08-29  Glenn Morris  <rgm@gnu.org>
13209         * calendar/cal-china.el (calendar-chinese-year-cache):
13210         Recenter on 2015.
13212         * nxml/nxml-util.el (nxml-debug-clear-inside):
13213         Use cl-loop rather than loop.
13215         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
13217         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
13219 2013-08-28  Glenn Morris  <rgm@gnu.org>
13221         * progmodes/antlr-mode.el: No need to require cc-mode twice.
13223         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
13225         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
13227 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13229         * simple.el (repeat-complex-command--called-interactively-skip):
13230         New function.
13231         (repeat-complex-command): Use it (bug#14136).
13233         * progmodes/cc-mode.el: Minor cleanup of var declarations.
13234         (c-define-abbrev-table): Add `doc' argument.
13235         (c-mode-abbrev-table, c++-mode-abbrev-table)
13236         (objc-mode-abbrev-table, java-mode-abbrev-table)
13237         (idl-mode-abbrev-table, pike-mode-abbrev-table)
13238         (awk-mode-abbrev-table): Use it.
13239         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
13240         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
13241         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
13242         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
13243         Move initialization into the declaration; and remove any
13244         autoload cookie.
13246         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
13247         and dynamic let binding.
13249         * vc/smerge-mode.el: Remove redundant :group args.
13251         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
13252         to load-path.
13254 2013-08-28  Juri Linkov  <juri@jurta.org>
13256         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
13257         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
13258         (isearch-other-meta-char): Handle an undefined shifted printing
13259         character by downshifting it.  (Bug#15200)
13261 2013-08-28  Juri Linkov  <juri@jurta.org>
13263         * isearch.el (isearch-search): Change regexp error message for
13264         non-regexp searches.  (Bug#15166)
13266 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
13268         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
13269         for portability to hosts where /bin/sh has problems.
13271 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13273         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
13275 2013-08-27  Juri Linkov  <juri@jurta.org>
13277         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
13278         in the keyboard macro.  (Bug#15126)
13280 2013-08-27  Juri Linkov  <juri@jurta.org>
13282         * isearch.el (isearch-quote-char): Comment out converting unibyte
13283         to multibyte, thus syncing with its `quoted-insert' counterpart.
13284         (Bug#15166)
13286 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
13288         * window.el (display-buffer-use-some-window): Add missing
13289         argument in call of get-largest-window (Bug#15185).
13290         Reported by Stephen Leake.
13292 2013-08-27  Glenn Morris  <rgm@gnu.org>
13294         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
13296 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13298         * progmodes/python.el (python-font-lock-keywords): Don't return nil
13299         from a matcher-function unless there's no more matches (bug#15161).
13301 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
13303         * minibuffer.el: Revert change from 2013-08-20.
13305         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
13306         with text property `tramp-default', if appropriate.
13307         (tramp-check-proper-host): New defun.
13308         (tramp-dissect-file-name): Do not check hostname.  Revert change
13309         of 2013-03-18.
13310         (tramp-backtrace): Make VEC-OR-PROC optional.
13312         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
13313         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13314         * net/tramp-sh.el (tramp-maybe-open-connection):
13315         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
13316         Apply `tramp-check-proper-host'.
13318 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
13320         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
13321         lambda expression in order to have `describe-variable' display it.
13323 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
13325         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
13326         BUF can be optional.  (Bug#15186)
13328 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
13330         * progmodes/flymake.el (flymake-get-real-file-name-function):
13331         Fix broken customization.  (Bug#15184)
13333 2013-08-25  Alan Mackenzie  <acm@muc.de>
13335         Improve indentation of bracelists defined by macros (without "=").
13337         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
13338         expansion begins with "{", regard it as bracelist when it doesn't
13339         contain a ";".
13341         Parse C++ inher-intro when there's a template split over 2 lines.
13343         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
13344         rigorously the search for "class" etc. followed by ":".
13346         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
13347         random languages a regexp which never matches rather than nil.
13349         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
13351         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
13352         (c-awk-regexp-one-line-possibly-open-char-list-re)
13353         (c-awk-one-line-possibly-open-regexp-re)
13354         (c-awk-one-line-non-syn-ws*-re): Remove.
13355         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
13356         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
13357         (c-awk-space*-unclosed-regexp-/-re): New constants.
13358         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
13359         aren't regexp delimiters.
13361         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
13362         handling for a rare situation in AWK Mode involving unterminated
13363         strings/regexps.
13365 2013-08-23  Glenn Morris  <rgm@gnu.org>
13367         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
13369         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
13371         * files.el (create-file-buffer): If the result would begin with
13372         spaces, prepend a "|" instead of removing them.  (Bug#15162)
13374 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13376         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
13377         text-properties (bug#15155).
13379         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
13380         exist any more.
13381         (calc-keypad-redraw): Remove unused var `pad'.
13382         (calc-keypad-press): Remove unused var `menu'.
13384 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
13386         * window.el (display-buffer-pop-up-frame):
13387         Call pop-up-frame-function with BUFFER current so `make-frame' will
13388         use it as the new frame's buffer (Bug#15133).
13390 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13392         * calendar/timeclock.el: Minor cleanups.
13393         (timeclock-ask-before-exiting, timeclock-use-display-time):
13394         Use `symbol'.
13395         (timeclock-modeline-display): Define as alias before the
13396         actual definition.
13397         (timeclock-mode-line-display): Use define-minor-mode.
13398         (timeclock-day-list-template): Make it a function, add an argument.
13399         (timeclock-day-list-required, timeclock-day-list-length)
13400         (timeclock-day-list-debt, timeclock-day-list-span)
13401         (timeclock-day-list-break): Adjust calls accordingly.
13403 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13405         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
13406         Use read--expression so that completion works again.
13408 2013-08-21  Sam Steingold  <sds@gnu.org>
13410         Add rudimentary inferior shell interaction
13411         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
13412         (sh-set-shell): Reset it.
13413         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
13414         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
13416 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13418         * align.el: Use lexical-binding.
13419         (align-region): Simplify accordingly.
13421 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
13423         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
13425         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
13426         `non-essential' up.
13428 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
13430         * net/tramp.el:
13431         * net/tramp-adb.el:
13432         * net/tramp-cmds.el:
13433         * net/tramp-ftp.el:
13434         * net/tramp-gvfs.el:
13435         * net/tramp-gw.el:
13436         * net/tramp-sh.el: Don't wrap external variable declarations by
13437         `eval-when-compile'.
13439 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13441         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
13442         now that Emacs supports ImageMagick animations.
13444 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
13446         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
13447         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
13449 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
13451         * window.el (mouse-autoselect-window-select): Do autoselect when
13452         mouse pointer is on margin.
13454 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
13456         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
13458 2013-08-16  Glenn Morris  <rgm@gnu.org>
13460         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
13461         Handle "Remote Directory" response of some clients.  (Bug#15058)
13463         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
13464         Tweak warning.  (Bug#14926)
13466         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
13467         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
13469         * image-mode.el (image-mode-map): Add menu items to reverse,
13470         increase, decrease, reset animation speed.
13471         (image--set-speed, image-increase-speed, image-decrease-speed)
13472         (image-reverse-speed, image-reset-speed): New functions.
13473         (image-mode-map): Add bindings for speed commands.
13475         * image.el (image-animate-get-speed, image-animate-set-speed):
13476         New functions.
13477         (image-animate-timeout): Respect image :speed property.
13479 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13481         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
13482         previous line (bug#15101).
13483         (debugger-eval-expression, debugger-record-expression):
13484         Use read--expression (bug#15102).
13486 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
13488         Remove byte compiler warnings, visible when compiling with
13489         `byte-compile-force-lexical-warnings' set to t.
13491         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
13492         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
13493         (tramp-handle-unhandled-file-name-directory)
13494         (tramp-handle-file-notify-add-watch, tramp-action-login)
13495         (tramp-action-succeed, tramp-action-permission-denied)
13496         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
13497         arguments with "_".
13499         * net/tramp-adb.el (tramp-adb-parse-device-names)
13500         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
13501         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
13502         (tramp-adb-handle-file-truename): Remove unused arguments.
13504         * net/tramp-cache.el (tramp-flush-directory-property)
13505         (tramp-flush-connection-property, tramp-list-connections)
13506         (tramp-parse-connection-properties): Prefix unused arguments with "_".
13508         * net/tramp-compat.el (tramp-compat-make-temp-file):
13509         Rename FILENAME to F.
13511         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
13512         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
13513         (tramp-zeroconf-parse-workstation-device-names)
13514         (tramp-zeroconf-parse-webdav-device-names)
13515         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
13517         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
13518         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
13520         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
13521         arguments.
13522         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
13523         (tramp-sh-handle-insert-file-contents-literally)
13524         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
13525         with "_".
13526         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
13527         Remove unused variables.
13529         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13530         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
13531         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
13533         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
13534         Make them a defconst.
13535         (tramp-uuencode-region): Remove unused variable.
13537 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
13539         * frameset.el (frameset--prop-setter): New function.
13540         (frameset-prop): Add gv-setter declaration.
13541         (frameset-filter-minibuffer): Deal with the case that the minibuffer
13542         parameter was already set in FILTERED.  Doc fix.
13543         (frameset--record-minibuffer-relationships): Allow saving a
13544         minibufferless frame without its corresponding minibuffer frame.
13545         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
13546         frame, if the frame id matches.
13547         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
13548         frames before orphaned ones.
13549         (frameset-restore): Warn about orphaned windows, instead of error out.
13551 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
13553         * window.el (window-make-atom): Don't overwrite parameter
13554         already present.
13555         (display-buffer-in-atom-window): Handle special case where we
13556         split an already atomic window.
13557         (window--major-non-side-window, display-buffer-in-side-window)
13558         (window--side-check): Ignore minibuffer window when walking
13559         window tree.
13560         (window-deletable-p): Return 'frame only if no other frame uses
13561         our minibuffer window.
13562         (record-window-buffer): Run buffer-list-update-hook.
13563         (split-window): Make sure window--check-frame won't destroy an
13564         existing atomic window in case the new window gets nested
13565         inside.
13566         (display-buffer-at-bottom): Ignore minibuffer window when
13567         walking window tree.  Don't split a side window.
13568         (pop-to-buffer): Don't set-buffer here, the select-window call
13569         should do that.
13570         (mouse-autoselect-window-select): Autoselect only if we are in the
13571         text portion of the window.
13573 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13575         * net/shr.el (shr-parse-image-data): New function to grab both the
13576         data itself and the Content-Type.
13577         (shr-put-image): Use it.
13579         * net/eww.el (eww-display-image): Ditto.
13581         * image.el (image-content-type-suffixes): New variable.
13583 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13585         * progmodes/python.el (python-imenu--build-tree)
13586         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
13588 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
13590         * simple.el (backward-word): Mention the optional argument.
13592 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13594         * frameset.el (frameset--make): Rename constructor from make-frameset.
13595         (frameset-p, frameset-valid-p): Don't autoload.
13596         (frameset-valid-p): Use normal accessors.
13598 2013-08-13  Glenn Morris  <rgm@gnu.org>
13600         * progmodes/compile.el (compile-command): Tweak example in doc.
13601         * obsolete/scribe.el (scribe-mode):
13602         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
13604         * mail/feedmail.el (feedmail-confirm-outgoing)
13605         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
13607         * cus-start.el (truncate-partial-width-windows): Fix type.
13609         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
13611         * net/shr.el (shr-table-horizontal-line): Fix custom type.
13613 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13615         * emacs-lisp/timer.el (timer--time-setter): New function.
13616         (timer--time): Use it as gv-setter.
13618         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
13619         setter is not a symbol.
13621 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
13623         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
13624         if sending fails.  This makes debugging easier.
13626 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
13628         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
13629         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
13630         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
13632 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
13634         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
13636 2013-08-12  Glenn Morris  <rgm@gnu.org>
13638         * format.el (format-annotate-function):
13639         Handle read-only text properties in the source.  (Bug#14887)
13641 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13643         * net/eww.el (eww-display-html): Ignore coding system errors.
13644         One web site uses "utf-8lias" as the coding system.
13646 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
13648         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
13650 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
13652         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
13653         (tutorial--detailed-help): Remove unused local variables.
13654         (tutorial--save-tutorial-to): Use ignore-errors.
13655         (help-with-tutorial): Use looking-at-p.
13657         * view.el (view-buffer-other-window, view-buffer-other-frame):
13658         Mark unused arguments.
13660         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
13661         (woman-select-symbol-fonts, woman, woman-find-file)
13662         (woman-insert-file-contents, woman-non-underline-faces):
13663         Use string-match-p.
13664         (woman1-unquote): Move declaration.
13666         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
13667         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
13668         argument.  Remove unused local variable.
13669         (xml-parse-elem-type): Use string-match-p.
13670         (xml-substitute-numeric-entities): Use ignore-errors.
13672         * calculator.el (calculator): Mark unused argument.
13673         (calculator-paste, calculator-quit, calculator-integer-p):
13674         Use ignore-errors.
13675         (calculator-string-to-number, calculator-decimal, calculator-exp)
13676         (calculator-op-or-exp): Use string-match-p.
13678         * dired.el (dired-buffer-more-recently-used-p): Declare.
13679         (dired-insert-set-properties, dired-insert-old-subdirs):
13680         Use ignore-errors.
13682         * dired-aux.el (dired-compress): Use ignore-errors.
13683         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
13684         (dired-do-async-shell-command, dired-do-shell-command)
13685         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
13686         (dired-insert-subdir-validate): Use string-match-p.
13687         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
13688         (dired-add-entry): Use string-match-p, looking-at-p.
13689         (dired-insert-subdir-newpos): Remove unused local variable.
13691         * filenotify.el (file-notify-callback): Remove unused local variable.
13693         * filesets.el (filesets-error): Mark unused argument.
13694         (filesets-which-command-p, filesets-filter-dir-names)
13695         (filesets-directory-files, filesets-get-external-viewer)
13696         (filesets-ingroup-get-data): Use string-match-p.
13698         * find-file.el (ff-other-file-name, ff-other-file-name)
13699         (ff-find-the-other-file, ff-cc-hh-converter):
13700         Remove unused local variables.
13701         (ff-get-file-name): Use string-match-p.
13702         (ff-all-dirs-under): Use ignore-errors.
13704         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
13705         (follow-select-if-visible): Remove unused local variable.
13707         * forms.el (read-file-filter): Move declaration.
13708         (forms--make-format, forms--make-parser, forms-insert-record):
13709         Quote function with #'.
13710         (forms--update): Use string-match-p.  Quote function with #'.
13712         * help-mode.el (help-dir-local-var-def): Mark unused argument.
13713         (help-make-xrefs): Use looking-at-p.
13714         (help-xref-on-pp): Use looking-at-p, ignore-errors.
13716         * ibuffer.el (ibuffer-ext-visible-p): Declare.
13717         (ibuffer-confirm-operation-on): Use string-match-p.
13719         * msb.el (msb-item-handler, msb-dired-item-handler):
13720         Mark unused arguments.
13722         * ses.el (ses-decode-cell-symbol)
13723         (ses-kill-override): Remove unused local variable.
13724         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
13725         (ses-load): Use ignore-errors, looking-at-p.
13726         (ses-jump-safe): Use ignore-errors.
13727         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
13729         * tabify.el (untabify, tabify): Mark unused arguments.
13731         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
13732         Mark unused argument.
13733         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
13734         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
13736         * emacs-lisp/timer.el (timer--time): Define setter with
13737         gv-define-setter to avoid deprecation warning.
13739         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
13740         (*record-cmpl-statistics-p*): Remove (was commented out).
13741         (cmpl-statistics-block): Remove (body was commented out).
13742         All callers changed.
13743         (add-completions-from-buffer, load-completions-from-file):
13744         Remove unused variables.
13746 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
13748         * filecache.el (file-cache-delete-file-list):
13749         Print message only when told so.
13750         (file-cache-files-matching): Use #' in mapconcat argument.
13752         * ffap.el (ffap-url-at-point): Fix reference to variable
13753         thing-at-point-default-mail-uri-scheme.
13755 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13757         * subr.el (define-error): New function.
13758         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
13759         error-file-not-found and define with define-error.
13760         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
13761         and define with define-error.
13762         * userlock.el (file-locked, file-supersession):
13763         * simple.el (mark-inactive):
13764         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
13765         * progmodes/ada-mode.el (ada-mode-errors):
13766         * play/life.el (life-extinct):
13767         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
13768         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
13769         * nxml/rng-util.el (rng-error):
13770         * nxml/rng-uri.el (rng-uri-error):
13771         * nxml/rng-match.el (rng-compile-error):
13772         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
13773         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
13774         * nxml/nxml-rap.el (nxml-scan-error):
13775         * nxml/nxml-outln.el (nxml-outline-error):
13776         * net/soap-client.el (soap-error):
13777         * net/gnutls.el (gnutls-error):
13778         * net/ange-ftp.el (ftp-error):
13779         * mpc.el (mpc-proc-error):
13780         * json.el (json-error, json-readtable-error, json-unknown-keyword)
13781         (json-number-format, json-string-escape, json-string-format)
13782         (json-key-format, json-object-format):
13783         * jka-compr.el (compression-error):
13784         * international/quail.el (quail-error):
13785         * international/kkc.el (kkc-error):
13786         * emacs-lisp/ert.el (ert-test-failed):
13787         * calc/calc.el (calc-error, inexact-result, math-overflow)
13788         (math-underflow):
13789         * bookmark.el (bookmark-error-no-filename):
13790         * epg.el (epg-error): Define with define-error.
13792         * time.el (display-time-event-handler)
13793         (display-time-next-load-average): Don't call sit-for since it seems
13794         unnecessary (bug#15045).
13796         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
13797         Use #' instead of ' to quote functions.
13798         (checkdoc-output-mode): Use setq-local.
13799         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
13800         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
13801         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
13802         (checkdoc-ispell, checkdoc-ispell-current-buffer)
13803         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
13804         (checkdoc-ispell-message-text, checkdoc-ispell-start)
13805         (checkdoc-ispell-continue, checkdoc-ispell-comments)
13806         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
13808         * ido.el (ido-completion-help): Fix up compiler warning.
13810 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
13812         * frameset.el (frameset-p): Add autoload cookie.
13813         (frameset--jump-to-register): New function, based on code moved from
13814         register.el.
13815         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
13817         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
13818         (frameset-restore, frameset-save, frameset-session-filter-alist):
13819         Remove declarations.
13820         (register-alist): Doc fix.
13821         (frameset-to-register): Move to frameset.el.
13822         (jump-to-register, describe-register-1): Remove frameset-specific code.
13824 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
13826         * allout-widgets.el (allout-widgets-pre-command-business)
13827         (allout-widgets-post-command-business)
13828         (allout-widgets-after-change-handler)
13829         (allout-decorate-item-and-context, allout-set-boundary-marker)
13830         (allout-body-modification-handler)
13831         (allout-graphics-modification-handler): Mark ignored arguments.
13832         (allout-widgets-post-command-business)
13833         (allout-widgets-exposure-change-processor)
13834         (allout-widgets-exposure-undo-processor)
13835         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
13836         (allout-parse-item-at-point, allout-decorate-item-guides)
13837         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
13838         * allout.el (epa-passphrase-callback-function): Declare.
13839         (allout-overlay-insert-in-front-handler)
13840         (allout-overlay-interior-modification-handler)
13841         (allout-isearch-end-handler, allout-chart-siblings)
13842         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
13843         (allout-yank-processing, allout-process-exposed)
13844         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
13845         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
13846         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
13847         (lisp-indent-defform): Mark ignored arguments.
13848         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
13849         (calculate-lisp-indent): Remove unused variables.
13850         * international/characters.el (indian-2-column, arabic-2-column)
13851         (tibetan): Mark ignored arguments.
13852         (use-cjk-char-width-table): Mark ignored arguments.
13853         Remove unused variables.
13854         * international/fontset.el (build-default-fontset-data)
13855         (x-compose-font-name, create-fontset-from-fontset-spec):
13856         Mark ignored arguments.
13857         (fontset-plain-name): Remove unused variables.
13858         * international/mule.el (charset-id, charset-bytes, generic-char-p)
13859         (keyboard-coding-system): Mark ignored arguments.
13860         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
13861         * help.el (resize-temp-buffer-window):
13862         * window.el (display-buffer-in-major-side-window)
13863         (display-buffer-in-side-window, display-buffer-in-previous-window):
13864         Remove unused variables.
13865         * isearch.el (isearch-forward-symbol):
13866         * version.el (emacs-bzr-version-bzr):
13867         * international/mule-cmds.el (current-language-environment):
13868         * term/common-win.el (x-handle-iconic, x-handle-geometry)
13869         (x-handle-display):
13870         * term/pc-win.el (x-list-fonts, x-display-planes)
13871         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
13872         (x-server-version, x-display-screens, x-display-mm-height)
13873         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
13874         (x-selection-owner-p, x-own-selection-internal)
13875         (x-disown-selection-internal, x-get-selection-internal)
13876         (msdos-initialize-window-system):
13877         * term/tty-colors.el (tty-color-alist, tty-color-clear):
13878         * term/x-win.el (x-handle-no-bitmap-icon):
13879         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
13880         (vc-default-find-file-hook, vc-default-extra-menu):
13881         Mark ignored arguments.
13883 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13885         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
13886         break-condition in the context of the debugged code (bug#12685).
13888 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
13890         * comint.el:
13891         Do not use an overlay to highlight the last prompt.  (Bug#14744)
13892         (comint-mode): Make comint-last-prompt buffer local.
13893         (comint-last-prompt): New variable.
13894         (comint-last-prompt-overlay): Remove.  Superseded by
13895         comint-last-prompt.
13896         (comint-snapshot-last-prompt, comint-output-filter):
13897         Use comint-last-prompt.
13899 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
13901         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
13902         (frameset-save): Check validity of the resulting frameset.
13904 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
13906         * ido.el (ido-record-command): Add doc string.
13908 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
13910         * frameset.el (frameset): Do not disable creation of the default
13911         frameset-p predicate.  Doc fix.
13912         (frameset-valid-p): New function, copied from the old predicate-p.
13913         Add additional checks.
13914         (frameset-restore): Check with frameset-valid-p.
13915         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
13916         (frameset-name, frameset-description, frameset-properties)
13917         (frameset-states): Add docstring.
13918         (frameset-session-filter-alist, frameset-persistent-filter-alist)
13919         (frameset-filter-alist): Doc fixes.
13921 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
13923         * frameset.el (frameset-p, frameset-prop): Doc fixes.
13925 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13927         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
13928         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
13929         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
13930         (byte-compile-normal-call): Remove obsolescence check.
13932 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
13934         * frameset.el (frameset-restore): Doc fix.
13936         * register.el (frameset-frame-id, frameset-frame-with-id)
13937         (frameset-p, frameset-restore, frameset-save): Declare.
13938         (register-alist): Document framesets.
13939         (frameset-session-filter-alist): Declare.
13940         (frameset-to-register): New function.
13941         (jump-to-register): Implement jumping to framesets.  Doc fix.
13942         (describe-register-1): Describe framesets.
13944         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
13946 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
13948         * desktop.el (desktop-save-frameset): Use new frameset-save args.
13949         Use lexical-binding.
13951         * frameset.el (frameset): Use type vector, not list (incompatible
13952         change).  Do not declare a new constructor, use the default one.
13953         Upgrade suggested properties `app', `name' and `desc' to slots `app',
13954         `name' and `description', respectively, and add read-only slot
13955         `timestamp'.  Doc fixes.
13956         (frameset-copy, frameset-persistent-filter-alist)
13957         (frameset-filter-alist, frameset-switch-to-gui-p)
13958         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
13959         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
13960         (frameset-filter-iconified, frameset-keep-original-display-p):
13961         Doc fixes.
13962         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
13963         Rename from frameset-filter-(save|restore)-param.  All callers changed.
13964         Doc fix.
13965         (frameset-p): Adapt to change to vector and be more thorough.
13966         Change arg name to OBJECT.  Doc fix.
13967         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
13968         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
13969         All callers changed.
13970         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
13971         All callers changed.
13972         (frameset--record-minibuffer-relationships): Rename from
13973         frameset--process-minibuffer-frames.  All callers changed.
13974         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
13975         Use new default constructor (again).  Doc fix.
13976         (frameset--find-frame-if): Rename from `frameset--find-frame'.
13977         All callers changed.
13978         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
13979         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
13980         Doc fix.
13981         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
13982         PARAMETERS and WINDOW-STATE, respectively.
13983         (frameset-restore): Add new keyword argument PREDICATE.
13984         Reset frameset--target-display to nil.  Doc fix.
13986 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13988         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
13989         (bat-mode): Use it.
13990         (bat-mode-syntax-table): Mark \n as end-of-comment.
13991         (bat-font-lock-keywords): Remove comment rule.
13993         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
13994         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
13996         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
13997         (byte-compile-callargs-warn): Use `push'.
13998         (byte-compile-arglist-warn): Ignore higher-order "calls".
13999         (byte-compile-file-form-autoload): Use `pcase'.
14000         (byte-compile-function-form): If quoting a symbol, check that it exists.
14002 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
14004         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
14005         and add a few popular commands found in batch files.
14006         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
14007         (dos-mode): Doc fixes.
14009 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14011         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
14012         (dos-mode): Use setq-local.  Add space after "rem".
14013         (dos-mode-syntax-table): Don't use "w" for symbol chars.
14014         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
14016 2013-08-07  Arni Magnusson  <arnima@hafro.is>
14018         * progmodes/dos.el: New file.
14019         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
14020         dos-mode.
14022 2013-08-06  Glenn Morris  <rgm@gnu.org>
14024         * calendar/calendar.el: Add new faces, and day-header-array.
14025         (calendar-weekday-header, calendar-weekend-header)
14026         (calendar-month-header): New faces.
14027         (calendar-day-header-construct): New function.
14028         (calendar-day-header-width): Also :set calendar-day-header-array.
14029         (calendar-american-month-header, calendar-european-month-header)
14030         (calendar-iso-month-header): Use calendar- faces.
14031         (calendar-generate-month):
14032         Use calendar-day-header-array for day headers; apply faces to them.
14033         (calendar-mode): Check calendar-font-lock-keywords non-nil.
14034         (calendar-abbrev-construct): Add optional maxlen argument.
14035         (calendar-day-name-array): Doc fix.
14036         (calendar-day-name-array, calendar-abbrev-length)
14037         (calendar-day-abbrev-array):
14038         Also :set calendar-day-header-array, and maybe redraw.
14039         (calendar-day-header-array): New option.  (Bug#15007)
14040         (calendar-font-lock-keywords): Set to nil and make obsolete.
14041         (calendar-day-name): Add option to use header array.
14043 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14045         * net/shr.el (shr-render-td): Remove debugging.
14046         (shr-render-td): Make width computation consistent by defaulting
14047         all zero-width columns to 10 characters.  This may not be optimal,
14048         but it's at least consistent.
14049         (shr-make-table-1): Redo last change to fix the real problem in
14050         colspan handling.
14052 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
14054         * files.el (cache-long-line-scans):
14055         Make obsolete alias to `cache-long-scans'.
14057 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
14059         * frameset.el (frameset, frameset-filter-alist)
14060         (frameset-filter-params, frameset-save, frameset--reuse-frame)
14061         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
14062         (frameset-compute-pos): Rename from frameset--compute-pos,
14063         and add docstring.
14064         (frameset-move-onscreen): Use frameset-compute-pos.
14065         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
14067         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
14068         Fix typos in docstrings.
14070 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
14072         * frame.el (get-other-frame): Tiny cleanup.
14074 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
14076         * vc/vc.el (vc-default-ignore-completion-table):
14077         Silence byte-compiler warning.
14079         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
14080         slot, which can indeed be nil.
14081         (frameset-live-filter-alist, frameset-persistent-filter-alist):
14082         Move entry for `left' from persistent to live filter alist.
14083         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
14084         Doc fixes.
14085         (frameset-filter-params): When restoring a frame, copy items added to
14086         `filtered', to avoid unwittingly modifying the original parameters.
14087         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
14088         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
14090         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
14091         to use looking-at-p instead of looking-at.  (Bug#15028)
14093 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14095         Revert introduction of isearch-filter-predicates (bug#14714).
14096         Rely on add-function instead.
14097         * isearch.el (isearch-filter-predicates): Rename it back to
14098         isearch-filter-predicate.
14099         (isearch-message-prefix): Use advice-function-mapc and advice
14100         properties to get the isearch-message-prefix.
14101         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
14102         instead of run-hook-with-args-until-failure.
14103         (isearch-filter-visible): Not obsolete any more.
14104         * loadup.el: Preload nadvice.
14105         * replace.el (perform-replace): Revert to funcall
14106         instead of run-hook-with-args-until-failure.
14107         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
14108         * dired-aux.el (dired-isearch-filenames-mode): Rename from
14109         dired-isearch-filenames-toggle; make it into a proper minor mode.
14110         Use add/remove-function.
14111         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
14112         Call the minor-mode rather than add/remove-hook.
14113         (dired-isearch-filter-filenames):
14114         Remove isearch-message-prefix property.
14115         * info.el (Info--search-loop): New function, extracted from Info-search.
14116         Funcall isearch-filter-predicate instead of
14117         run-hook-with-args-until-failure isearch-filter-predicates.
14118         (Info-search): Use it.
14119         (Info-mode): Use isearch-filter-predicate instead of
14120         isearch-filter-predicates.
14122 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
14124         Do not call to `selected-window' where it is assumed by default.
14125         Affected functions are `window-minibuffer-p', `window-dedicated-p',
14126         `window-hscroll', `window-width', `window-height', `window-buffer',
14127         `window-frame', `window-start', `window-point', `next-window'
14128         and `window-display-table'.
14129         * abbrev.el (abbrev--default-expand):
14130         * bs.el (bs--show-with-configuration):
14131         * buff-menu.el (Buffer-menu-mouse-select):
14132         * calc/calc.el (calc):
14133         * calendar/calendar.el (calendar-generate-window):
14134         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
14135         (diary-make-entry):
14136         * comint.el (send-invisible, comint-dynamic-complete-filename)
14137         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
14138         * completion.el (complete):
14139         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
14140         * disp-table.el (describe-current-display-table):
14141         * doc-view.el (doc-view-insert-image):
14142         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
14143         * ehelp.el (with-electric-help):
14144         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14145         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
14146         * emacs-lisp/helper.el (Helper-help-scroller):
14147         * emulation/cua-base.el (cua--post-command-handler-1):
14148         * eshell/esh-mode.el (eshell-output-filter):
14149         * ffap.el (ffap-gnus-wrapper):
14150         * help-macro.el (make-help-screen):
14151         * hilit-chg.el (highlight-compare-buffers):
14152         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
14153         * hl-line.el (global-hl-line-highlight):
14154         * icomplete.el (icomplete-simple-completing-p):
14155         * isearch.el (isearch-done):
14156         * jit-lock.el (jit-lock-stealth-fontify):
14157         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
14158         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
14159         * mpc.el (mpc-tagbrowser, mpc):
14160         * net/rcirc.el (rcirc-any-buffer):
14161         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
14162         * play/landmark.el (landmark-max-width, landmark-max-height):
14163         * play/zone.el (zone):
14164         * progmodes/compile.el (compilation-goto-locus):
14165         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
14166         * progmodes/etags.el (find-tag-other-window):
14167         * progmodes/fortran.el (fortran-column-ruler):
14168         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14169         * progmodes/verilog-mode.el (verilog-point-text):
14170         * reposition.el (reposition-window):
14171         * rot13.el (toggle-rot13-mode):
14172         * server.el (server-switch-buffer):
14173         * shell.el (shell-dynamic-complete-command)
14174         (shell-dynamic-complete-environment-variable):
14175         * simple.el (insert-buffer, set-selective-display)
14176         (delete-completion-window):
14177         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
14178         (speedbar-recenter):
14179         * startup.el (fancy-splash-head):
14180         * textmodes/ispell.el (ispell-command-loop):
14181         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
14182         * tutorial.el (help-with-tutorial):
14183         * vc/add-log.el (add-change-log-entry):
14184         * vc/compare-w.el (compare-windows):
14185         * vc/ediff-help.el (ediff-indent-help-message):
14186         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
14187         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
14188         (ediff-setup-control-frame):
14189         * vc/emerge.el (emerge-position-region):
14190         * vc/pcvs-util.el (cvs-bury-buffer):
14191         * window.el (walk-windows, mouse-autoselect-window-select):
14192         * winner.el (winner-set-conf, winner-undo): Related users changed.
14194 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
14196         * frameset.el (frameset--set-id): Doc fix.
14197         (frameset-frame-id, frameset-frame-id-equal-p)
14198         (frameset-locate-frame-id): New functions.
14199         (frameset--process-minibuffer-frames, frameset--reuse-frame)
14200         (frameset-restore): Use them.
14202 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
14204         Do not call to `selected-frame' where it is assumed by default.
14205         Affected functions are `raise-frame', `redraw-frame',
14206         `frame-first-window', `frame-terminal' and `delete-frame'.
14207         * calendar/appt.el (appt-disp-window):
14208         * epg.el (epg-wait-for-completion):
14209         * follow.el (follow-delete-other-windows-and-split)
14210         (follow-avoid-tail-recenter):
14211         * international/mule.el (set-terminal-coding-system):
14212         * mail/rmail.el (rmail-mail-return):
14213         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14214         * progmodes/f90.el (f90-add-imenu-menu):
14215         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
14216         * server.el (server-switch-buffer):
14217         * simple.el (delete-completion-window):
14218         * talk.el (talk):
14219         * term/xterm.el (terminal-init-xterm-modify-other-keys)
14220         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
14221         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
14222         * vc/ediff.el (ediff-documentation): Related users changed.
14223         * frame.el (selected-terminal): Remove the leftover.
14225 2013-08-05  Glenn Morris  <rgm@gnu.org>
14227         * calendar/calendar.el (calendar-generate-month):
14228         Fix for calendar-column-width != 1 + calendar-day-digit-width.
14229         (calendar-generate-month, calendar-font-lock-keywords):
14230         Fix for calendar-day-header-width > length of any day name.
14232 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
14234         * desktop.el (desktop-clear): Use new name of sort predicate.
14236         * frameset.el (frameset): Add docstring.  Move :version property to its
14237         own `version' slot.
14238         (frameset-copy): Rename from copy-frameset.
14239         (frameset-p): Check more thoroughly.
14240         (frameset-prop): Do not check for :version, which is no longer a prop.
14241         (frameset-live-filter-alist, frameset-persistent-filter-alist):
14242         Use new :never value instead of t.
14243         (frameset-filter-alist): Expand and clarify docstring.
14244         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
14245         (frameset-filter-minibuffer, frameset-filter-save-param)
14246         (frameset-filter-restore-param, frameset-filter-iconified):
14247         Add pointer to docstring of frameset-filter-alist.
14248         (frameset-filter-params): Rename filter values to be more meaningful:
14249         :never instead of t, and reverse the meanings of :save and :restore.
14250         (frameset--process-minibuffer-frames): Clarify error message.
14251         (frameset-save): Avoid unnecessary and confusing call to framep.
14252         Use new BOA constructor for framesets.
14253         (frameset--reuse-list): Doc fix.
14254         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
14255         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
14256         (frameset-minibufferless-first-p): Doc fix.
14257         Rename from frameset-sort-frames-for-deletion.
14258         (frameset-restore): Doc fixes.  Use new function names.
14259         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
14261 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
14263         * desktop.el (desktop-restore-forces-onscreen)
14264         (desktop-restore-reuses-frames): Document :keyword constant values.
14265         (desktop-filter-parameters-alist): Remove, now identical to
14266         frameset-filter-alist.
14267         (desktop--filter-tty*): Remove, moved to frameset.el.
14268         (desktop-save-frameset, desktop-restore-frameset):
14269         Do not pass :filters argument.
14271         * frameset.el (frameset-live-filter-alist)
14272         (frameset-persistent-filter-alist): New variables.
14273         (frameset-filter-alist): Use them.  Add autoload cookie.
14274         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
14275         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
14276         `frameset--id' (it's supposed to be internal to frameset.el).
14277         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
14278         (frameset--initial-params): New function.
14279         (frameset--get-frame): Use it.  Doc fix.
14280         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
14281         Accept :all, not 'all.
14282         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
14283         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
14284         with fbound symbols.  Fix frame id matching, and remove matching ids if
14285         the frame being restored is deleted.  Obey :delete.
14287 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14289         * subr.el (macrop): New function.
14290         (text-clone--maintaining): New var.
14291         (text-clone--maintain): Rename from text-clone-maintain.  Use it
14292         instead of inhibit-modification-hooks.
14294         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
14295         a proxy, so as handle autoloads and redefinitions of the target.
14296         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
14298         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
14299         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
14300         (pcase--mutually-exclusive-p): New function.
14301         (pcase--split-consp): Use it.
14302         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
14303         mutually exclusive with the current predicate.
14305         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
14306         (edebug-macrop): Remove.  Use `macrop' instead.
14307         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
14308         (ad-macro-p):
14309         * eshell/esh-cmd.el (eshell-macrop):
14310         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
14312 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14314         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
14315         (advice-mapc): New function, using it.
14316         (advice-function-member-p): New function.
14317         (advice--normalize): Store the cdr in advice--saved-rewrite since
14318         that's the part that will be changed.
14319         (advice--symbol-function): New function.
14320         (advice-remove): Handle removal before the function is defined.
14321         Adjust to new advice--saved-rewrite.
14322         (advice-member-p): Use advice-function-member-p and
14323         advice--symbol-function.
14325 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
14327         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
14328         (frameset-filter-minibuffer): Doc fix.
14329         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
14330         (frameset--set-id, frameset--process-minibuffer-frames)
14331         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
14332         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
14334         * desktop.el (desktop-clear): Only delete frames when called
14335         interactively and desktop-restore-frames is non-nil.  Doc fix.
14336         (desktop-read): Set desktop-saved-frameset to nil.
14338 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
14340         * vc/vc.el (vc-ignore): Rewrite.
14341         (vc-default-ignore-completion-table, vc--read-lines)
14342         (vc--add-line, vc--remove-regexp): New functions.
14344         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
14345         (vc-svn-ignore-completion-table): New function.
14347         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
14348         (vc-hg-ignore-completion-table)
14349         (vc-hg-find-ignore-file): New functions.
14351         * vc/vc-git.el (vc-git-ignore): Rewrite.
14352         (vc-git-ignore-completion-table)
14353         (vc-git-find-ignore-file): New functions.
14355         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
14357         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
14358         (vc-bzr-ignore-completion-table)
14359         (vc-bzr-find-ignore-file): New functions.
14361 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
14363         * frameset.el (frameset-prop): New function and setter.
14364         (frameset-save): Do not modify frame list passed by the caller.
14366 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14368         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
14370 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14372         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
14373         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
14375         * custom.el (custom-initialize-default, custom-initialize-set)
14376         (custom-initialize-reset, custom-initialize-changed): Affect the
14377         toplevel-default-value (bug#6275, bug#14586).
14378         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
14379         for bug#6275.
14381 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
14383         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
14384         Add cl-def* expressions.
14386         * frameset.el (frameset-filter-params): Fix order of arguments.
14388 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
14390         Move code related to saving frames to frameset.el.
14391         * desktop.el: Require frameset.
14392         (desktop-restore-frames): Doc fix.
14393         (desktop-restore-reuses-frames): Rename from
14394         desktop-restoring-reuses-frames.
14395         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
14396         (desktop-clear): Clear frames too.
14397         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
14398         (desktop--filter-tty*, desktop-save, desktop-read):
14399         Use frameset functions.
14400         (desktop-before-saving-frames-functions, desktop--filter-*-color)
14401         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
14402         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
14403         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
14404         (desktop--process-minibuffer-frames, desktop-save-frames)
14405         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
14406         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
14407         (desktop--sort-states, desktop-restoring-frames-p)
14408         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
14409         (desktop-restoring-frameset-p, desktop-restore-frameset)
14410         (desktop--check-dont-save, desktop-save-frameset): New functions.
14411         (desktop--app-id): New constant.
14412         (desktop-first-buffer, desktop-buffer-ok-count)
14413         (desktop-buffer-fail-count): Move before first use.
14414         * frameset.el: New file.
14416 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14418         * files.el: Use lexical-binding.
14419         (dir-locals-read-from-file): Remove unused `err' variable.
14420         (hack-dir-local-variables--warned-coding): New var.
14421         (hack-dir-local-variables): Use it to avoid repeated warnings.
14422         (make-backup-file-name--default-function): New function.
14423         (make-backup-file-name-function): Use it as default.
14424         (buffer-stale--default-function): New function.
14425         (buffer-stale-function): Use it as default.
14426         (revert-buffer-insert-file-contents--default-function): New function.
14427         (revert-buffer-insert-file-contents-function): Use it as default.
14428         (insert-directory): Avoid add-to-list.
14430         * autorevert.el (auto-revert-handler): Simplify.
14431         Use buffer-stale--default-function.
14433 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
14435         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
14437         * whitespace.el (whitespace-ensure-local-variables): New function.
14438         (whitespace-cleanup-region): Call it.
14439         (whitespace-turn-on): Call it.
14441 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
14443         Complete file name handlers.
14445         * net/tramp.el (tramp-handle-set-visited-file-modtime)
14446         (tramp-handle-verify-visited-file-modtime)
14447         (tramp-handle-file-notify-rm-watch): New functions.
14448         (tramp-call-process): Do not bind `default-directory'.
14450         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
14451         Order alphabetically.
14452         <access-file, add-name-to-file, dired-call-process>:
14453         <dired-compress-file, file-acl, file-notify-rm-watch>:
14454         <file-ownership-preserved-p, file-selinux-context>:
14455         <make-directory-internal, make-symbolic-link, set-file-acl>:
14456         <set-file-selinux-context, set-visited-file-modtime>:
14457         <verify-visited-file-modtime>: Add handler.
14458         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
14460         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
14461         <file-notify-add-watch, file-notify-rm-watch>:
14462         <set-file-times, set-visited-file-modtime>:
14463         <verify-visited-file-modtime>: Add handler.
14464         (with-tramp-gvfs-error-message)
14465         (tramp-gvfs-handle-set-visited-file-modtime)
14466         (tramp-gvfs-fuse-file-name): Remove.
14467         (tramp-gvfs-handle-file-notify-add-watch)
14468         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
14469         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
14471         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
14472         Order alphabetically.
14473         <file-notify-rm-watch>: Use default Tramp handler.
14474         <executable-find>: Remove private handler.
14475         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
14476         `default-directory'.
14477         (tramp-sh-handle-executable-find)
14478         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
14479         (tramp-sh-file-gvfs-monitor-dir-process-filter)
14480         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
14481         Do not use `format' in `tramp-message'.
14483         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
14484         <file-notify-rm-watch, set-visited-file-modtime>:
14485         <verify-visited-file-modtime>: Add handler.
14486         (tramp-smb-call-winexe): Do not bind `default-directory'.
14488 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
14490         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
14492 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
14494         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
14495         use it.
14496         (log-view-diff-changeset): Same.
14497         (log-view-diff-common): Call backend command `previous-revision'
14498         to find out the previous revision, in both cases.  Swap the
14499         variables `to' and `fr', so that `fr' usually refers to the
14500         earlier revision (Bug#14989).
14502 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
14504         * ibuf-ext.el (ibuffer-filter-by-filename):
14505         Make it work with dired buffers too.
14507 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
14509         * emacs-lisp/re-builder.el (reb-color-display-p):
14510         * files.el (save-buffers-kill-terminal):
14511         * net/browse-url.el (browse-url):
14512         * server.el (server-save-buffers-kill-terminal):
14513         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
14514         Prefer nil to selected-frame for the first arg of frame-parameter.
14516 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
14518         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
14520 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
14522         * minibuffer.el (completion--twq-all): Try and preserve each
14523         completion's case choice (bug#14907).
14525 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14527         * net/network-stream.el (open-network-stream): Mention the new
14528         :nogreeting parameter.
14529         (network-stream-open-starttls): Use the :nogreeting parameter
14530         (bug#14938).
14532         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
14534         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
14535         more natural than popping.
14537         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
14538         (shr-urlify): Highlight under mouse.
14540 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
14542         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
14544         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
14546         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
14547         buffer for output.
14549         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
14550         point-min==1.  Fix search string.  Fix parentheses missing.
14552         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
14553         assume point-min==1.  Fix search string.  Fix parentheses missing.
14555         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
14557         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
14558         buffer for output.
14560 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
14562         * frame.el (frame-notice-user-settings): Avoid inflooping when the
14563         initial frame is minibuffer-less.  (Bug#14841)
14565 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
14567         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
14568         option.
14570         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14571         (tramp-maybe-open-connection): Use it.
14573 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
14575         * desktop.el (desktop--make-frame): Include `minibuffer' in the
14576         minimal set of parameters passed when creating a frame, because
14577         the minibuffer status of a frame cannot be changed later.
14579 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
14581         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
14582         replace-regexp-in-string and inadvertent omissions in previous change.
14583         (todo-filter-items): Ensure only file names are comma-separated in
14584         name of filtered items buffer.
14586 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
14588         * desktop.el: Optionally force offscreen frames back onscreen.
14589         (desktop-restoring-reuses-frames): New option.
14590         (desktop--compute-pos, desktop--move-onscreen): New functions.
14591         (desktop--make-frame): Use desktop--move-onscreen.
14593 2013-07-27  Alan Mackenzie  <acm@muc.de>
14595         Fontify a Java generic method as a function.
14596         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
14597         value to t.
14599 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
14601         * calendar/todo-mode.el: Add command to rename todo files.
14602         (todo-rename-file): New command.
14603         (todo-key-bindings-t): Add key binding for it.  Change the
14604         bindings of todo-filter-regexp-items(-multifile) to use `x'
14605         instead of `r', since the latter is better suited to the new
14606         renaming command.
14608 2013-07-27  Alan Mackenzie  <acm@muc.de>
14610         Make Java try-with-resources statement parse properly.
14611         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
14612         (c-block-stmt-1-2-key): New language constants/variables.
14613         * progmodes/cc-engine.el (c-beginning-of-statement-1)
14614         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
14615         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
14616         with c-block-stmt-1-2-key.
14618 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
14620         * desktop.el (desktop--make-frame): Apply most frame parameters after
14621         creating the frame to force (partially or totally) offscreen frames to
14622         be restored as such.
14624 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
14626         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
14627         (Bug#14948)
14629 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14631         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
14632         `base' arg of backtrace-frame.
14634 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
14636         * simple.el (list-processes): Doc fix.
14638 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
14640         * desktop.el (desktop--select-frame):
14641         Try harder to reuse existing frames.
14643 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14645         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
14646         (edebug-eval): Use backtrace-eval.
14647         (edebug--display, edebug--recursive-edit): Don't let-bind the
14648         edebug-outer-* vars that keep track of variables we locally let-bind.
14649         (edebug-outside-excursion): Don't restore outside values of locally
14650         let-bound vars.
14651         (edebug--display): Use user-error.
14652         (cl-lexical-debug, cl-debug-env): Remove.
14654 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
14656         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
14657         are restored to be sure that they are visible before deleting any
14658         remaining ones.
14660 2013-07-26  Matthias Meulien  <orontee@gmail.com>
14662         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
14663         vc-print-root-log.  (Bug#14948)
14665 2013-07-26  Richard Stallman  <rms@gnu.org>
14667         Add aliases for encrypting mail.
14668         * epa.el (epa-mail-aliases): New option.
14669         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
14670         Bind inhibit-read-only so read-only text doesn't ruin everything.
14671         (epa-mail-default-recipients): New subroutine broken out.
14672         Handle epa-mail-aliases.
14674 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14676         Add support for lexical variables to the debugger's `e' command.
14677         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
14678         vars, except for debugger-outer-match-data.
14679         (debugger-frame-number): Move check for "on a function call" from
14680         callers into it.  Add `skip-base' argument.
14681         (debugger-frame, debugger-frame-clear): Simplify accordingly.
14682         (debugger-env-macro): Only reset the state stored in non-variables,
14683         i.e. current-buffer and match-data.
14684         (debugger-eval-expression): Rewrite using backtrace-eval.
14685         * subr.el (internal--called-interactively-p--get-frame): Remove.
14686         (called-interactively-p):
14687         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
14688         `base' arg of backtrace-frame instead.
14690 2013-07-26  Glenn Morris  <rgm@gnu.org>
14692         * align.el (align-regexp): Doc fix.  (Bug#14857)
14693         (align-region): Explicit error if subexpression missing/does not match.
14695         * simple.el (global-visual-line-mode):
14696         Do not duplicate the mode lighter.  (Bug#14858)
14698 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
14700         * window.el (display-buffer): In display-buffer bind
14701         split-window-keep-point to t, bug#14829.
14703 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
14705         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
14706         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
14707         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
14708         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
14709         Change accordingly.
14710         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
14711         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
14713 2013-07-25  Glenn Morris  <rgm@gnu.org>
14715         * dired-x.el (dired-mark-extension): Convert comment to doc string.
14717 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
14719         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
14720         parameter to modify-frame-parameters if the value has not changed;
14721         this is a workaround for bug#14949.
14722         (desktop--make-frame): On cl-delete-if call, check parameter name,
14723         not full parameter.
14725 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
14727         * vc/vc.el (vc-ignore): New function.
14729         * vc/vc-svn.el (vc-svn-ignore): New function.
14731         * vc/vc-hg.el (vc-hg-ignore): New function.
14733         * vc/vc-git.el (vc-git-ignore): New function.
14735         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
14736         (vc-dir-ignore): New function.
14738         * vc/vc-cvs.el (vc-cvs-ignore): New function.
14739         (cvs-append-to-ignore): Move here from pcvs.el.
14741         * vc/vc-bzr.el (vc-bzr-ignore): New function.
14743         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
14745 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
14747         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
14748         (desktop-restore-frames): Warn when deleting an existing frame failed.
14750 2013-07-24  Glenn Morris  <rgm@gnu.org>
14752         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
14754 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
14756         * filenotify.el (file-notify-supported-p):
14757         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
14758         Remove functions.
14760         * autorevert.el (auto-revert-use-notify)
14761         (auto-revert-notify-add-watch):
14762         * net/tramp.el (tramp-file-name-for-operation):
14763         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
14764         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
14765         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
14766         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
14767         Remove `file-notify-supported-p' entry.
14769 2013-07-24  Glenn Morris  <rgm@gnu.org>
14771         * printing.el: Replace all uses of deleted ps-windows-system,
14772         ps-lp-system, ps-flatten-list with lpr- versions.
14774 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14776         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
14777         checked with memq (bug#14935).
14779         * files.el (revert-buffer-function): Use a non-nil default.
14780         (revert-buffer-preserve-modes): Declare var to
14781         provide access to the `preserve-modes' argument.
14782         (revert-buffer): Let-bind it.
14783         (revert-buffer--default): New function, extracted from revert-buffer.
14785 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14787         * lpr.el: Signal print errors more prominently.
14788         (print-region-function): Don't default to nil.
14789         (lpr-print-region): New function, extracted from print-region-1.
14790         Check lpr's return value and signal an error in case of problem.
14791         (print-region-1): Use it.
14792         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
14793         versions instead.
14794         (ps-printer-name): Default to nil.
14795         (ps-printer-name-option): Default to lpr-printer-switch.
14796         (ps-print-region-function): Don't default to nil.
14797         (ps-postscript-code-directory): Simplify default.
14798         (ps-do-despool): Use lpr-print-region to properly check the outcome.
14799         (ps-string-list, ps-eval-switch, ps-flatten-list)
14800         (ps-flatten-list-1): Remove.
14801         (ps-multibyte-buffer): Avoid setq.
14802         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
14803         (print-region-function, ps-print-region-function): Don't set them here.
14805 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
14807         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
14808         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
14809         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
14810         (ido-decorations): Doc fix.
14812         * ansi-color.el: Fix old URL.
14814 2013-07-23  Michael R. Mauger  <michael@mauger.com>
14816         * progmodes/sql.el: Version 3.3
14817         (sql-product-alist): Improve oracle :prompt-cont-regexp.
14818         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
14819         (sql-interactive-remove-continuation-prompt): Rewrite, use
14820         functions above.  Fix continuation prompt and complete output line
14821         handling.
14822         (sql-redirect-one, sql-execute): Use `read-only-mode' on
14823         redirected output buffer.
14824         (sql-mode): Restore deleted code (Bug#13591).
14826 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
14828         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
14830 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
14832         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
14834         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
14835         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
14836         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
14838 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
14840         * desktop.el (desktop-clear): Simplify; remove useless checks
14841         against invalid buffer names.
14842         (desktop-list*): Use cl-list*.
14843         (desktop-buffer-info, desktop-create-buffer): Simplify.
14845 2013-07-23  Leo Liu  <sdl.web@gmail.com>
14847         * bookmark.el (bookmark-make-record): Restore NAME as a default
14848         value.  (Bug#14933)
14850 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14852         * emacs-lisp/autoload.el (autoload--setup-output): New function,
14853         extracted from autoload--insert-text.
14854         (autoload--insert-text): Remove.
14855         (autoload--print-cookie-text): New function, extracted from
14856         autoload--insert-cookie-text.
14857         (autoload--insert-cookie-text): Remove.
14858         (autoload-generate-file-autoloads): Adjust calls accordingly.
14860         * winner.el (winner-hook-installed-p): Remove.
14861         (winner-mode): Simplify accordingly.
14863         * subr.el (add-to-list): Fix compiler-macro when `append' is
14864         not constant.  Don't use `cl-member' for the base case.
14866         * progmodes/subword.el: Fix boundary case (bug#13758).
14867         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
14868         own group.
14869         (subword-backward-regexp): Make it a constant.
14870         (subword-forward-internal): Don't treat a trailing capital as the
14871         beginning of a word.
14873 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
14875         * emacs-lisp/package.el (package-menu-mode): Don't modify the
14876         global value of tabulated-list-revert-hook (bug#14930).
14878 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
14880         * desktop.el: Require 'cl-lib.
14881         (desktop-before-saving-frames-functions): New hook.
14882         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
14883         for frames being saved.  Rename from desktop--save-minibuffer-frames.
14884         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
14885         Do not save frames with non-nil `desktop-dont-save' parameter.
14886         Filter out deleted frames.
14887         (desktop--find-frame): Use cl-find-if.
14888         (desktop--select-frame): Use cl-(first|second|third) to access values
14889         of desktop-mini.
14890         (desktop--make-frame): Use cl-delete-if.
14891         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
14892         (desktop-restore-frames): Use cl-(first|second|third) to access values
14893         of desktop-mini.  Look for visible frame at the end, not while
14894         restoring frames.
14896         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
14897         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
14898         Use string-match-p, looking-at-p (bug#14927).
14900 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
14902         * desktop.el (desktop-saved-frame-states):
14903         Rename from desktop--saved-states; all users changed.
14904         (desktop-save-frames): Rename from desktop--save-frames.
14905         Do not save state to desktop file.
14906         (desktop-save): Save desktop-saved-frame-states to desktop file
14907         and reset to nil.
14908         (desktop-restoring-frames-p): New function.
14909         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
14910         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
14911         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
14913         * desktop.el: Correctly restore iconified frames.
14914         (desktop--filter-iconified-position): New function.
14915         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
14917 2013-07-20  Glenn Morris  <rgm@gnu.org>
14919         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
14920         Let `message' do the formatting.
14921         (def-gdb-preempt-display-buffer): Add explicit format.
14923         * image-dired.el (image-dired-track-original-file):
14924         Use with-current-buffer.
14925         (image-dired-track-thumbnail): Use with-current-buffer.
14926         Avoid changing point of wrong window.
14928         * image-dired.el (image-dired-track-original-file):
14929         Avoid changing point of wrong window.  (Bug#14909)
14931 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
14933         * progmodes/gdb-mi.el (gdb-done-or-error):
14934         Guard against "%" in gdb output.  (Bug#14127)
14936 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
14938         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
14939         (Bug#14826)
14941         * international/mule.el (coding-system-iso-2022-flags): Fix last
14942         change.
14944 2013-07-20  Kenichi Handa  <handa@gnu.org>
14946         * international/mule.el (coding-system-iso-2022-flags):
14947         Add `8-bit-level-4'.  (Bug#8522)
14949 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14951         * net/shr.el (shr-mouse-browse-url): New command and keystroke
14952         (bug#14815).
14954         * net/eww.el (eww-process-text-input): Allow inputting when the
14955         point is at the start of the line, as the properties aren't
14956         front-sticky.
14958         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
14959         degenerate widths.
14961 2013-07-19  Richard Stallman  <rms@gnu.org>
14963         * epa.el (epa-popup-info-window): Doc fix.
14965         * subr.el (split-string): New arg TRIM.
14967 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
14969         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
14970         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
14972 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
14974         * filenotify.el (file-notify--library): Rename from
14975         `file-notify-support'.  Do not autoload.  Adapt all uses.
14976         (file-notify-supported-p): New defun.
14978         * autorevert.el (auto-revert-use-notify):
14979         Use `file-notify-supported-p' instead of `file-notify-support'.
14980         Adapt docstring.
14981         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
14983         * net/tramp.el (tramp-file-name-for-operation):
14984         Add `file-notify-supported-p'.
14986         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
14987         New defun.
14988         (tramp-sh-file-name-handler-alist): Add it as handler for
14989         `file-notify-supported-p '.
14991         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
14992         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
14993         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
14994         Add `ignore' as handler for `file-notify-*' functions.
14996 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
14998         * simple.el (line-move-partial, line-move): Don't start vscroll or
14999         scroll-up if the current line is not taller than the window.
15000         (Bug#14881)
15002 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
15004         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
15005         highlight question marks in the method names as strings.
15006         (ruby-block-beg-keywords): Inline.
15007         (ruby-font-lock-keyword-beg-re): Extract from
15008         `ruby-font-lock-keywords'.
15010 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
15012         * frame.el (blink-cursor-blinks): New defcustom.
15013         (blink-cursor-blinks-done): New defvar.
15014         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
15015         (blink-cursor-timer-function): Check if number of blinks has been
15016         done on X and NS.
15017         (blink-cursor-suspend, blink-cursor-check): New defuns.
15019 2013-07-15  Glenn Morris  <rgm@gnu.org>
15021         * edmacro.el (edmacro-format-keys): Fix previous change.
15023 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
15025         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
15026         The hack didn't work outside English locales anyway.
15028 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
15030         * simple.el (define-alternatives): Rename from alternatives-define,
15031         per RMS' suggestion.
15033 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
15035         * desktop.el (desktop-restore-frames): Change default to t.
15036         (desktop-restore-in-current-display): Now offer more options.
15037         (desktop-restoring-reuses-frames): New customization option.
15038         (desktop--saved-states): Doc fix.
15039         (desktop-filter-parameters-alist): New variable, renamed and expanded
15040         from desktop--excluded-frame-parameters.
15041         (desktop--target-display): New variable.
15042         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
15043         (desktop--filter-tty*, desktop--filter-*-color)
15044         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
15045         (desktop--filter-save-desktop-parm)
15046         (desktop-restore-in-original-display-p): New functions.
15047         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
15048         (desktop--save-minibuffer-frames): New function, inspired by a similar
15049         function from Martin Rudalics.
15050         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
15051         (desktop--restore-in-this-display-p): Remove.
15052         (desktop--find-frame): Rename from desktop--find-frame-in-display
15053         and add predicate argument.
15054         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
15055         (desktop--reuse-list): New variable.
15056         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
15057         New functions.
15058         (desktop--restore-frames): Add support for "minibuffer-special" frames.
15060 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
15062         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
15064 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
15066         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
15067         Highlight conversion methods on Kernel.
15069 2013-07-13  Alan Mackenzie  <acm@muc.de>
15071         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
15072         and comment it out.  This out-commenting enables certain C++
15073         declarations to be parsed correctly.
15075 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
15077         * international/mule.el (define-coding-system): Doc fix.
15079         * simple.el (default-font-height): Don't call font-info if the
15080         frame's default font didn't change since the frame was created.
15081         (Bug#14838)
15083 2013-07-13  Leo Liu  <sdl.web@gmail.com>
15085         * ido.el (ido-read-file-name): Guard against non-symbol value.
15087 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15089         * progmodes/python.el (python-imenu--build-tree): Fix corner case
15090         in nested defuns.
15092 2013-07-13  Leo Liu  <sdl.web@gmail.com>
15094         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
15095         ido-set-matches call.  (Bug#6852)
15097 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
15099         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
15100         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
15101         Ruby 2.0.
15102         (ruby-font-lock-keywords): Distinguish calls to functions with
15103         module-like names from module references.  Highlight character
15104         literals.
15106 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
15108         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
15109         (gdb-send): Handle continued commands.  (Bug#14847)
15111 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
15113         * desktop.el (desktop--v2s): Remove unused local variable.
15114         (desktop-save-buffer): Make defvar-local; adjust docstring.
15115         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
15116         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
15118 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
15120         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
15122 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
15124         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
15125         (Bug#14842)
15127 2013-07-12  Glenn Morris  <rgm@gnu.org>
15129         * doc-view.el: Require cl-lib at runtime too.
15130         (doc-view-remove-if): Remove.
15131         (doc-view-search-next-match, doc-view-search-previous-match):
15132         Use cl-remove-if.
15134         * edmacro.el: Require cl-lib at runtime too.
15135         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
15136         (edmacro-mismatch, edmacro-subseq): Remove.
15138         * shadowfile.el: Require cl-lib.
15139         (shadow-remove-if): Remove.
15140         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
15141         Use cl-remove-if.
15143         * wid-edit.el: Require cl-lib.
15144         (widget-choose): Use cl-remove-if.
15145         (widget-remove-if): Remove.
15147         * progmodes/ebrowse.el: Require cl-lib at runtime too.
15148         (ebrowse-delete-if-not): Remove.
15149         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
15150         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
15151         Use cl-delete-if-not.
15153 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
15155         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
15156         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
15158 2013-07-12  Leo Liu  <sdl.web@gmail.com>
15160         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
15162 2013-07-11  Glenn Morris  <rgm@gnu.org>
15164         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
15165         (edebug-gensym-index, edebug-gensym):
15166         Remove reimplementation of cl-gensym.
15167         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
15169         * thumbs.el: Require cl-lib at run-time too.
15170         (thumbs-gensym-counter, thumbs-gensym):
15171         Remove reimplementation of cl-gensym.
15172         (thumbs-temp-file): Use cl-gensym.
15174         * emacs-lisp/ert.el: Require cl-lib at runtime too.
15175         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
15176         (ert--intersection, ert--set-difference, ert--set-difference-eq)
15177         (ert--union, ert--gensym-counter, ert--gensym-counter)
15178         (ert--coerce-to-vector, ert--remove*, ert--string-position)
15179         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
15180         (ert-make-test-unbound, ert--expand-should-1)
15181         (ert--expand-should, ert--should-error-handle-error)
15182         (should-error, ert--explain-equal-rec)
15183         (ert--plist-difference-explanation, ert-select-tests)
15184         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
15185         Use cl-lib functions rather than reimplementations.
15187 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
15189         * net/tramp.el (tramp-methods): Extend docstring.
15190         (tramp-connection-timeout): New defcustom.
15191         (tramp-error-with-buffer): Reset timestamp only when appropriate.
15192         (with-tramp-progress-reporter): Simplify.
15193         (tramp-process-actions): Improve messages.
15195         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
15196         * net/tramp-sh.el (tramp-maybe-open-connection):
15197         Use `tramp-connection-timeout'.
15198         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
15199         (Bug#14808)
15201 2013-07-11  Leo Liu  <sdl.web@gmail.com>
15203         * ido.el (ido-read-file-name): Conform to the requirements of
15204         read-file-name.  (Bug#11861)
15205         (ido-read-directory-name): Conform to the requirements of
15206         read-directory-name.
15208 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
15210         * subr.el (delay-warning): New function.
15212 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
15214         * simple.el (default-line-height): New function.
15215         (line-move-partial, line-move): Use it instead of computing the
15216         line height inline.
15217         (line-move-partial): Always compute ROWH.  If the last line is
15218         partially-visible, but its text is completely visible, allow
15219         cursor to enter such a partially-visible line.
15221 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
15223         Improve error messages.  (Bug#14808)
15225         * net/tramp.el (tramp-current-connection): New defvar, moved from
15226         tramp-sh.el.
15227         (tramp-message-show-progress-reporter-message): Remove, not
15228         needed anymore.
15229         (tramp-error-with-buffer): Show message in minibuffer.
15230         Discard input before waiting.  Reset connection timestamp.
15231         (with-tramp-progress-reporter): Improve messages.
15232         (tramp-process-actions): Use progress reporter.  Delete process in
15233         case of error.  Improve messages.
15235         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
15236         Call `tramp-error-with-buffer' with vector and buffer.
15237         (tramp-current-connection): Remove.
15238         (tramp-maybe-open-connection): The car of
15239         `tramp-current-connection' are the first 3 slots of the vector.
15241 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
15243         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
15244         inside continued strings.
15246 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
15248         Timestamp fixes for undo (Bug#14824).
15249         * files.el (clear-visited-file-modtime): Move here from fileio.c.
15251 2013-07-10  Leo Liu  <sdl.web@gmail.com>
15253         * files.el (require-final-newline): Allow safe local value.
15254         (Bug#14834)
15256 2013-07-09  Leo Liu  <sdl.web@gmail.com>
15258         * ido.el (ido-read-directory-name): Handle fallback.
15259         (ido-read-file-name): Update DIR to ido-current-directory.
15260         (Bug#1516)
15261         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
15263 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
15265         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
15266         "autoload".  Remove "warn lower camel case" section, previously
15267         commented out.  Highlight negation char.  Do not highlight the
15268         target in singleton method definitions.
15270 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15272         * faces.el (tty-setup-hook): Declare the hook.
15274         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
15275         and detect when a guard/pred depends on local vars (bug#14773).
15276         (pcase--u1): Adjust caller.
15278 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
15280         * simple.el (line-move-partial, line-move): Account for
15281         line-spacing.
15282         (line-move-partial): Avoid setting vscroll when the last
15283         partially-visible line in window is of default height.
15285 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15287         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
15288         been used a while.
15290 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
15292         * subr.el (read-quoted-char): Remove unused local variable `char'.
15294 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
15296         * vc/ediff.el (ediff-version): Version update.
15297         (ediff-files-command, ediff3-files-command, ediff-merge-command)
15298         (ediff-merge-with-ancestor-command, ediff-directories-command)
15299         (ediff-directories3-command, ediff-merge-directories-command)
15300         (ediff-merge-directories-with-ancestor-command): New functions.
15301         All are command-line interfaces to ediff: to facilitate calling
15302         Emacs with the appropriate ediff functions invoked.
15304         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
15305         New function.
15306         (viper-save-kill-buffer): Check if buffer is modified.
15308         * emulation/viper.el (viper-version): Version update.
15309         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
15311 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15313         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
15314         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
15315         (viper-intercept-ESC-key): Simplify.
15316         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
15317         don't use kbd.
15318         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
15319         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
15320         (viper-setup-ESC-to-escape): New functions.
15321         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
15322         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
15324 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
15326         * simple.el (default-font-height, window-screen-lines):
15327         New functions.
15328         (line-move, line-move-partial): Use them instead of
15329         frame-char-height and window-text-height.  This makes scrolling
15330         text smoother when the buffer's default face uses a font that is
15331         different from the frame's default font.
15333 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
15335         * files.el (write-file): Do not display confirm dialog for NS,
15336         it does its own dialog, which can't be canceled (Bug#14578).
15338 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
15340         * simple.el (line-move-partial): Adjust the row returned by
15341         posn-at-point for the current window-vscroll.  (Bug#14567)
15343 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
15345         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
15346         (tramp-sh-file-inotifywait-process-filter): Handle file names with
15347         spaces.
15349 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
15351         * window.el (window-state-put-stale-windows): New variable.
15352         (window--state-put-2): Save list of windows without matching buffer.
15353         (window-state-put): Remove "bufferless" windows if possible.
15355 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
15357         * simple.el (alternatives-define): Remove leftover :group keyword.
15358         Tweak docstring.
15360 2013-07-06  Leo Liu  <sdl.web@gmail.com>
15362         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
15363         (ido-enable-virtual-buffers): New variable.
15364         (ido-buffer-internal, ido-toggle-virtual-buffers)
15365         (ido-make-buffer-list): Use it.
15366         (ido-exhibit): Support turning on and off virtual buffers
15367         automatically.
15369 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
15371         * simple.el (alternatives-define): New macro.
15373 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15375         * subr.el (read-quoted-char): Use read-key.
15376         (sit-for): Let read-event decode tty input (bug#14782).
15378 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
15380         * calendar/todo-mode.el: Add handling of file deletion, both by
15381         mode command and externally.  Fix various related bugs.
15382         Clarify Commentary and improve some documentation strings and code.
15383         (todo-delete-file): New command.
15384         (todo-check-file): New function.
15385         (todo-show): Handle external deletion of the file we're trying to
15386         show (bug#14688).  Replace called-interactively-p by an optional
15387         prefix argument to avoid problematic interaction with catch form
15388         when byte compiled (bug#14702).
15389         (todo-quit): Handle external deletion of the archive's todo file.
15390         Make sure the buffer that was visiting the archive file is still
15391         live before trying to bury it.
15392         (todo-category-completions): Handle external deletion of any
15393         category completion files.
15394         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
15395         of todo files, in case of external deletion.
15396         (todo-add-file): Replace unnecessary setq by let-binding.
15397         (todo-find-archive): Check whether there are any archives.
15398         Replace unnecessary setq by let-binding.
15399         (todo-archive-done-item): Use find-file-noselect to get the
15400         archive buffer whether or not the archive already exists.
15401         Remove superfluous code.  Use file size instead of buffer-file-name to
15402         check if the archive is new; if it is, update list of archives.
15403         (todo-default-todo-file): Allow nil to be a valid value for when
15404         there are no todo files.
15405         (todo-reevaluate-default-file-defcustom): Use corrected definition
15406         of todo-default-todo-file.
15407         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
15408         (todo-delete-category, todo-show-categories-table)
15409         (todo-category-number): Clarify comment.
15410         (todo-filter-items): Clarify documentation string.
15411         (todo-show-current-file, todo-display-as-todo-file)
15412         (todo-reset-and-enable-done-separator): Tweak documentation string.
15413         (todo-done-separator): Make separator length window-width, since
15414         bug#2749 is now fixed.
15416 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
15418         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
15419         Support both "gvfs-monitor-dir" and "inotifywait".
15420         (tramp-sh-file-inotifywait-process-filter): Rename from
15421         `tramp-sh-file-notify-process-filter'.
15422         (tramp-sh-file-gvfs-monitor-dir-process-filter)
15423         (tramp-get-remote-gvfs-monitor-dir): New defuns.
15425 2013-07-05  Leo Liu  <sdl.web@gmail.com>
15427         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
15429 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15431         * frame.el (display-pixel-height, display-pixel-width)
15432         (display-mm-height, display-mm-width): Mention behavior on
15433         multi-monitor setups in docstrings.
15434         (w32-display-monitor-attributes-list): Declare function.
15435         (display-monitor-attributes-list): Use it.
15437 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
15439         * filenotify.el: New package.
15441         * autorevert.el (top): Require filenotify.el.
15442         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
15443         instead.
15444         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
15445         (auto-revert-notify-handler): Use `file-notify-*' functions.
15447         * subr.el (file-notify-handle-event): Move function to filenotify.el.
15449         * net/tramp.el (tramp-file-name-for-operation):
15450         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
15452         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
15453         for `file-notify-add-watch' and `file-notify-rm-watch'.
15454         (tramp-process-sentinel): Improve trace.
15455         (tramp-sh-handle-file-notify-add-watch)
15456         (tramp-sh-file-notify-process-filter)
15457         (tramp-sh-handle-file-notify-rm-watch)
15458         (tramp-get-remote-inotifywait): New defuns.
15460 2013-07-03  Juri Linkov  <juri@jurta.org>
15462         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
15463         call of `occur-read-primary-args' to interactive spec.
15465         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
15466         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
15468 2013-07-03  Matthias Meulien  <orontee@gmail.com>
15470         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
15471         `Buffer-menu-multi-occur'.  Add it to the menu.
15472         (Buffer-menu-mode): Document it in docstring.
15473         (Buffer-menu-multi-occur): New command.  (Bug#14673)
15475 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
15477         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
15478         keywords and built-ins.
15480 2013-07-03  Glenn Morris  <rgm@gnu.org>
15482         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
15484         Make info-xref checks case-sensitive by default
15485         * info.el (Info-find-node, Info-find-in-tag-table)
15486         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
15487         Add option for exact case matching of nodes.
15488         * info-xref.el (info-xref): New custom group.
15489         (info-xref-case-fold): New option.
15490         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
15492 2013-07-03  Leo Liu  <sdl.web@gmail.com>
15494         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
15496 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
15498         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
15499         middle of block statement initially, lower the depth.  Remove
15500         FIXME comment, not longer valid.  Remove middle of block statement
15501         detection, no need to do that anymore since we've been using
15502         `ruby-parse-region' here.
15504 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
15506         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
15508 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
15510         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
15512 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
15514         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
15515         (desktop-restore-in-current-display): New customization option.
15516         (desktop--excluded-frame-parameters): Add `font'.
15517         (desktop--save-frames): Rename from desktop--save-windows.
15518         (desktop--restore-in-this-display-p): New function.
15519         (desktop--make-full-frame): Remove unwanted width/height from
15520         full(width|height) frames.
15521         (desktop--restore-frames): Rename from desktop--restore-windows.
15522         Obey desktop-restore-current-display.  Do not delete old frames or
15523         select a new frame unless we were able to restore at least one frame.
15525 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
15527         * files.el (find-file-noselect): Simplify conditional expression.
15529         * textmodes/remember.el (remember-append-to-file):
15530         Don't mix `find-buffer-visiting' and `get-file-buffer'.
15532         Add `remember-notes' function to store random notes across Emacs
15533         restarts.
15534         * textmodes/remember.el (remember-data-file): Add :set callback to
15535         affect notes buffer (if any).
15536         (remember-notes): New command.
15537         (remember-notes-buffer-name, bury-remember-notes-on-kill):
15538         New defcustoms for the `remember-notes' function.
15539         (remember-notes-save-and-bury-buffer): New command.
15540         (remember-notes-mode-map): New variable.
15541         (remember-mode): New minor mode.
15542         (remember-notes--kill-buffer-query): New function.
15543         * startup.el (initial-buffer-choice): Add notes to custom type.
15545 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
15547         * bindings.el (right-char, left-char): Don't call sit-for, this is
15548         no longer needed.  Use arithmetic comparison only for numerical
15549         arguments.
15551         * international/mule-cmds.el (select-safe-coding-system):
15552         Handle the case of FROM being a string correctly.  (Bug#14755)
15554 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15556         * net/shr.el (shr-make-table-1): Add a sanity check that allows
15557         progression on degenerate tables.
15558         (shr-rescale-image): ImageMagick animated images currently don't work.
15560 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
15562         Some fixes and improvements for desktop frame restoration.
15563         It is still experimental and disabled by default.
15564         * desktop.el (desktop--save-windows): Put the selected frame at
15565         the head of the list.
15566         (desktop--make-full-frame): New function.
15567         (desktop--restore-windows): Try to re-select the frame that was
15568         selected upon saving.  Do not abort if some frames fail to restore,
15569         just show an error message and continue.  Set up maximized frames
15570         so they have default non-maximized dimensions.
15572 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
15574         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
15575         Don't start heredoc inside a string or comment.
15577 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
15579         * bindings.el (visual-order-cursor-movement): New defcustom.
15580         (right-char, left-char): Provide visual-order cursor motion by
15581         calling move-point-visually.  Update the doc strings.
15583 2013-06-28  Kenichi Handa  <handa@gnu.org>
15585         * international/mule.el (define-coding-system): New coding system
15586         properties :inhibit-null-byte-detection,
15587         :inhibit-iso-escape-detection, and :prefer-utf-8.
15588         (set-buffer-file-coding-system): If :charset-list property of
15589         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
15590         appropriate for setting.
15592         * international/mule-cmds.el (select-safe-coding-system):
15593         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
15594         multibyte characters, return utf-8 (or one of its siblings).
15596         * international/mule-conf.el (prefer-utf-8): New coding system.
15597         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
15598         files.
15600 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
15602         * net/shr.el (shr-render-region): New function.
15604         * net/eww.el: Autoload `eww-browse-url'.
15606 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
15608         * emacs-lisp/package-x.el (package-upload-buffer-internal):
15609         Adapt to `package-desc-version' being a list.
15610         Use `package--ac-desc-version' to retrieve version from a package
15611         archive element.
15613 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
15615         New experimental feature to save&restore window and frame setup.
15616         * desktop.el (desktop-save-windows): New defcustom.
15617         (desktop--saved-states): New var.
15618         (desktop--excluded-frame-parameters): New defconst.
15619         (desktop--filter-frame-parms, desktop--find-frame-in-display)
15620         (desktop--restore-windows, desktop--save-windows): New functions.
15621         (desktop-save): Call `desktop--save-windows'.
15622         (desktop-read): Call `desktop--restore-windows'.
15624 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15626         * net/shr.el (add-face-text-property): Remove compat definition.
15628 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
15630         * info.el (Info-try-follow-nearest-node): Move search for footnote
15631         above search for node name to prevent missing a footnote (bug#14717).
15633 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
15635         * obsolete/otodo-mode.el: Add obsolescence info to file header.
15637 2013-06-27  Leo Liu  <sdl.web@gmail.com>
15639         * net/eww.el (eww-read-bookmarks): Check file size.
15641 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15643         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
15644         advice--pending if newdef is nil or an autoload (bug#13820).
15645         (advice-mapc): New function.
15647 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15649         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
15650         probably.
15651         (eww-mode-map): Add a menu bar.
15652         (eww-add-bookmark): New command.
15653         (eww-bookmark-mode): New mode and commands.
15654         (eww-add-bookmark): Remove newlines from the title.
15655         (eww-bookmark-browse): Don't bug out if it's the only window.
15657 2013-06-26  Glenn Morris  <rgm@gnu.org>
15659         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
15660         (hfy-size): Handle ttys.  (Bug#14668)
15662         * info-xref.el: Update for Texinfo 5 change in *note format.
15663         (info-xref-node-re, info-xref-note-re): New constants.
15664         (info-xref-check-buffer): Use info-xref-note-re.
15666 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15668         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
15670         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
15671         nil terminate the loop (bug#14718).
15673 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15675         * net/eww.el: Rework history traversal.  When going forward/back,
15676         put these actions into the history, too, so that they can be
15677         replayed.
15678         (eww-render): Move the history reset to the correct buffer.
15680 2013-06-25  Juri Linkov  <juri@jurta.org>
15682         * files-x.el (modify-dir-local-variable): Change the header comment
15683         in the file with directory local variables.  (Bug#14692)
15685         * files-x.el (read-file-local-variable-value): Add `default'.
15686         (Bug#14710)
15688 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15690         * net/eww.el (eww-make-unique-file-name): Create a unique file
15691         name before saving to entering `y' accidentally asynchronously.
15693 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
15695         * net/eww.el (eww-download): New command and keystroke.
15697 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15699         * net/eww.el (eww-copy-page-url): Change name of command.
15701         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
15702         be more consistent with Info and dired.
15704         * net/eww.el (eww-mode-map): Ditto.
15706 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15708         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
15709         packages from archives.
15710         (package-archive-contents): Change format; include obsolete packages.
15711         (package-desc): Use `dir' to mark builtin packages.
15712         (package--from-builtin): Set the `dir' field to `builtin'.
15713         (generated-autoload-file, version-control): Declare.
15714         (package-compute-transaction): Change first arg and return value to be
15715         lists of package-descs.  Adjust to new package-archive-contents format.
15716         (package--add-to-archive-contents): Adjust to new
15717         package-archive-contents format.
15718         (package-download-transaction): Arg is now a list of package-descs.
15719         (package-install): If `pkg' is a package name, pass it as
15720         a requirement, so it is subject to the usual (e.g. disabled) checks.
15721         (describe-package): Accept package-desc as well.
15722         (describe-package-1): Describe a specific package-desc.  Add links to
15723         other package-descs for the same package name.
15724         (package-menu-describe-package): Pass the actual package-desc.
15725         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
15726         works correctly.
15727         (package-desc-status): New function.
15728         (package-menu--refresh): New function, extracted
15729         from package-menu--generate.
15730         (package-menu--generate): Use it.
15731         (package-delete): Update package-alist.
15732         (package-menu-execute): Don't call package-initialize.
15734         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
15735         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
15736         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
15737         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
15738         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
15739         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
15741 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
15743         * window.el (window--state-get-1): Workaround for bug#14527.
15744         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
15746 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15748         * net/eww.el (eww-back-url): Implement the history by stashing all
15749         the data into a list.
15750         (eww-forward-url): Allow going forward in the history, too.
15752 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15754         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
15755         for values and use read--expression for expressions (bug#14710).
15756         (read-file-local-variable): Avoid setq.
15757         (read-file-local-variable-mode): Use minor-mode-list.
15759 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15761         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
15762         for DOI URLs.
15764 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15766         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
15767         Update imenu-support when dialect changes.
15769 2013-06-25  Leo Liu  <sdl.web@gmail.com>
15771         * ido.el (ido-read-internal): Allow forward slash on windows.
15773 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15775         * net/eww.el (eww): Start of strings is \\`, not ^.
15777 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
15779         * net/shr.el (shr-browse-url): Fix interactive spec.
15781         * net/eww.el (eww): Add a trailing slash to domain names.
15783 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
15785         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
15787 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15789         * net/shr.el (shr-browse-url): Use an external browser if given a
15790         prefix.
15792         * net/eww.el (eww-external-browser): Move to shr.
15794 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
15796         * net/eww.el (eww): Work more correctly for file: URLs.
15797         (eww-detect-charset): Allow quoted charsets.
15798         (eww-yank-page-url): New command and keystroke.
15800 2013-06-24  Daiki Ueno  <ueno@gnu.org>
15802         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
15803         file name of gpg executable.
15804         (epg-context-program): New function.
15805         (epg-context-home-directory): New function.
15806         (epg-context-set-program): New function.
15807         (epg-context-set-home-directory): New function.
15808         (epg--start): Use `epg-context-program' instead of
15809         'epg-gpg-program'.
15810         (epg--list-keys-1): Likewise.
15812 2013-06-24  Leo Liu  <sdl.web@gmail.com>
15814         * ido.el (ido-read-internal): Fix bug#14620.
15816 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
15818         * faces.el (face-documentation): Simplify.
15819         (read-face-attribute, tty-find-type, x-resolve-font-name):
15820         Use `string-match-p'.
15821         (list-faces-display): Use `string-match-p'.  Simplify.
15822         (face-spec-recalc): Check face to avoid face alias loops.
15823         (read-color): Use `string-match-p' and non-capturing parenthesis.
15825 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15827         * net/shr.el (shr-rescale-image): Use the new
15828         :max-width/:max-height functionality.
15830 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
15832         * net/eww.el (eww-search-prefix): New variable.
15833         (eww): Use it.
15834         (eww-external-browser): New variable.
15835         (eww-mode-map): New keystroke.
15836         (eww-browse-with-external-browser): New command.
15838         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
15840 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
15842         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
15843         Don't skip aligning the next header field when padding is 0;
15844         otherwise, field width is not respected unless the title is as
15845         wide as the field.
15847 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15849         * emacs-lisp/package.el (package-el-version): Remove.
15850         (package-process-define-package): Fix inf-loop.
15851         (package-install): Allow symbols as arguments again.
15853 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
15855         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
15856         add some more keyword-like methods.
15857         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
15859 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
15861         * bs.el (bs-buffer-show-mark): Make defvar-local.
15862         (bs-mode): Use setq-local.
15864         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
15865         (emacs-lock--try-unlocking): Make defvar-local.
15867 2013-06-22  Glenn Morris  <rgm@gnu.org>
15869         * play/cookie1.el (cookie-apropos): Minor simplification.
15871         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
15873 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
15875         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
15876         `regexp-opt', it breaks the build during dumping.
15878 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
15880         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
15881         Highlight keyword-like methods on Kernel and Module with
15882         font-lock-builtin-face.
15883         (auto-mode-alist): Consolidate different entries into one regexp
15884         and add more *file-s.
15886 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
15888         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
15890         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
15891         (diary-entry): Use it in the action of this button type instead of
15892         diary-goto-entry.
15894         * calendar/todo-mode.el: New version.
15895         (todo-add-category): Append new category to end of file and give
15896         it the highest number, instead of putting it at the beginning and
15897         giving it 0.  Incorporate noninteractive functionality.
15898         (todo-forward-category): Adapt to 1-based category numbering.
15899         Allow skipping over archived categories.
15900         (todo-backward-category): Derive from todo-forward-category.
15901         (todo-backward-item, todo-forward-item): Make noninteractive and
15902         delegate interactive part to new commands.  Make sensitive to done items.
15903         (todo-categories): Make value an alist of category names and
15904         vectors of item counts.
15905         (todo-category-beg): Make a defconst.
15906         (todo-category-number): Use 1 instead of 0 as initial value.
15907         (todo-category-select): Make sensitive to overlays, optional item
15908         highlighting and done items.
15909         (todo-delete-item): Make sensitive to overlays and marked and done items.
15910         (todo-edit-item): Make sensitive to overlays and editing of
15911         date/time header optional.  Add format checks.
15912         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
15913         no-op if point is not on an item.  Advertise using todo-edit-quit.
15914         (todo-edit-mode): Make sensitive to new format, font-locking, and
15915         multiple todo files.
15916         (todo-insert-item, todo-insert-item-here): Derive from
15917         todo-basic-insert-item and extend functionality.
15918         (todo-item-end, todo-item-start): Make sensitive to done items.
15919         (todo-item-string): Don't return text properties.  Restore point.
15920         (todo-jump-to-category): Make sensitive to multiple todo files and
15921         todo archives.  Use extended category completion.
15922         (todo-lower-item, todo-raise-item): Rename to *-priority and
15923         derive from todo-set-item-priority.
15924         (todo-mode): Derive from special-mode.  Make sensitive to new
15925         format, font-locking and multiple todo files.  Make read-only.
15926         (todo-mode-map): Don't suppress digit keys, so they can supply
15927         prefix arguments.  Add many new key bindings.
15928         (todo-prefix): Insert as an overlay instead of file text.
15929         Change semantics from diary date expression to purely visual mark.
15930         (todo-print): Rename to todo-print-buffer.  Make buffer display
15931         features printable.  Remove option to restrict number of items
15932         printed.  Add option to print to file.
15933         (todo-print-function): Rename to todo-print-buffer-function.
15934         (todo-quit): Extend to handle exiting new todo modes.
15935         (todo-remove-item): Make sensitive to overlays.
15936         (todo-save): Extend to buffers of filtered items.
15937         (todo-show): Make sensitive to done items, multiple todo files and
15938         new todo modes.  Offer to convert legacy todo file before creating
15939         first new todo file.
15940         (todo-show-priorities): Rename to todo-top-priorities.
15941         Change semantics of value 0.
15942         (todo-top-priorities): Rename to todo-filter-top-priorities,
15943         derive from todo-filter-items and extend functionality.
15944         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
15945         and extend functionality to other types of filtered items.
15946         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
15947         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
15948         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
15949         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
15950         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
15951         (todo-edit-mode-hook, todo-entry-prefix-function)
15952         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
15953         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
15954         (todo-initials, todo-insert-threshold, todo-item-string-start)
15955         (todo-line-string, todo-menu, todo-mode-hook)
15956         (todo-more-important-p, todo-previous-answer, todo-previous-line)
15957         (todo-print-priorities, todo-remove-separator)
15958         (todo-save-top-priorities-too, todo-string-count-lines)
15959         (todo-string-multiline-p, todo-time-string-format)
15960         (todo-tmp-buffer-name): Remove.
15961         (todo-add-file, todo-archive-done-item, todo-choose-archive)
15962         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
15963         (todo-edit-category-diary-inclusion)
15964         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
15965         (todo-edit-file, todo-edit-item-date-day)
15966         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
15967         (todo-edit-item-date-month, todo-edit-item-date-to-today)
15968         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
15969         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
15970         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
15971         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
15972         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
15973         (todo-filter-top-priorities-multifile, todo-find-archive)
15974         (todo-find-filtered-items-file, todo-go-to-source-item)
15975         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
15976         (todo-jump-to-archive-category, todo-lower-category)
15977         (todo-mark-category, todo-marked-item-p, todo-merge-category)
15978         (todo-move-category, todo-move-item, todo-next-button)
15979         (todo-next-item, todo-padded-string, todo-powerset)
15980         (todo-previous-button, todo-previous-item)
15981         (todo-print-buffer-to-file, todo-raise-category)
15982         (todo-rename-category, todo-repair-categories-sexp, todo-search)
15983         (todo-set-category-number, todo-set-item-priority)
15984         (todo-set-top-priorities-in-category)
15985         (todo-set-top-priorities-in-file, todo-show-categories-table)
15986         (todo-sort-categories-alphabetically-or-numerically)
15987         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
15988         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
15989         (todo-toggle-item-header, todo-toggle-item-highlighting)
15990         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
15991         (todo-toggle-view-done-items, todo-toggle-view-done-only)
15992         (todo-unarchive-items, todo-unmark-category): New commands.
15993         (todo-absolute-file-name, todo-add-to-buffer-list)
15994         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
15995         (todo-basic-insert-item, todo-category-completions)
15996         (todo-category-number, todo-category-string-matcher-1)
15997         (todo-category-string-matcher-2, todo-check-filtered-items-file)
15998         (todo-check-format, todo-clear-matches)
15999         (todo-comment-string-matcher, todo-convert-legacy-date-time)
16000         (todo-current-category, todo-date-string-matcher)
16001         (todo-define-insertion-command, todo-diary-expired-matcher)
16002         (todo-diary-goto-entry, todo-diary-item-p)
16003         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
16004         (todo-display-categories, todo-display-sorted, todo-done-item-p)
16005         (todo-done-item-section-p, todo-done-separator)
16006         (todo-done-string-matcher, todo-files, todo-filter-items)
16007         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
16008         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
16009         (todo-insert-category-line, todo-insert-item-from-calendar)
16010         (todo-insert-sort-button, todo-insert-with-overlays)
16011         (todo-insertion-command-name, todo-insertion-key-bindings)
16012         (todo-label-to-key, todo-longest-category-name-length)
16013         (todo-make-categories-list, todo-mode-external-set)
16014         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
16015         (todo-modes-set-3, todo-multiple-filter-files)
16016         (todo-nondiary-marker-matcher, todo-prefix-overlays)
16017         (todo-read-category, todo-read-date, todo-read-dayname)
16018         (todo-read-file-name, todo-read-time)
16019         (todo-reevaluate-category-completions-files-defcustom)
16020         (todo-reevaluate-default-file-defcustom)
16021         (todo-reevaluate-filelist-defcustoms)
16022         (todo-reevaluate-filter-files-defcustom)
16023         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
16024         (todo-reset-done-separator, todo-reset-done-separator-string)
16025         (todo-reset-done-string, todo-reset-global-current-todo-file)
16026         (todo-reset-highlight-item, todo-reset-nondiary-marker)
16027         (todo-reset-prefix, todo-set-categories)
16028         (todo-set-date-from-calendar, todo-set-show-current-file)
16029         (todo-set-top-priorities, todo-short-file-name)
16030         (todo-show-current-file, todo-sort, todo-time-string-matcher)
16031         (todo-total-item-counts, todo-update-buffer-list)
16032         (todo-update-categories-display, todo-update-categories-sexp)
16033         (todo-update-count, todo-validate-name, todo-y-or-n-p):
16034         New functions.
16035         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
16036         New major modes.
16037         (todo-categories, todo-display, todo-edit, todo-faces)
16038         (todo-filtered): New defgroups.
16039         (todo-archived-only, todo-button, todo-category-string, todo-date)
16040         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
16041         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
16042         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
16043         (todo-add-item-if-new-category, todo-always-add-time-string)
16044         (todo-categories-align, todo-categories-archived-label)
16045         (todo-categories-category-label, todo-categories-diary-label)
16046         (todo-categories-done-label, todo-categories-number-separator)
16047         (todo-categories-todo-label, todo-categories-totals-label)
16048         (todo-category-completions-files, todo-completion-ignore-case)
16049         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
16050         (todo-done-separator-string, todo-done-string)
16051         (todo-files-function, todo-filter-done-items, todo-filter-files)
16052         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
16053         (todo-initial-category, todo-initial-file, todo-item-mark)
16054         (todo-legacy-date-time-regexp, todo-mode-line-function)
16055         (todo-nondiary-marker, todo-number-prefix)
16056         (todo-print-buffer-function, todo-show-current-file)
16057         (todo-show-done-only, todo-show-first, todo-show-with-done)
16058         (todo-skip-archived-categories, todo-top-priorities-overrides)
16059         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
16060         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
16061         New defcustoms.
16062         (todo-category-done, todo-date-pattern, todo-date-string-start)
16063         (todo-diary-items-buffer, todo-done-string-start)
16064         (todo-filtered-items-buffer, todo-item-start)
16065         (todo-month-abbrev-array, todo-month-name-array)
16066         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
16067         (todo-top-priorities-buffer): New defconsts.
16068         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
16069         (todo-categories-with-marks, todo-category-string-face)
16070         (todo-comment-face, todo-comment-string, todo-current-todo-file)
16071         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
16072         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
16073         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
16074         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
16075         (todo-font-lock-keywords, todo-global-current-todo-file)
16076         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
16077         (todo-insertion-commands-args)
16078         (todo-insertion-commands-args-genlist)
16079         (todo-insertion-commands-names, todo-insertion-map)
16080         (todo-key-bindings-t, todo-key-bindings-t+a)
16081         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
16082         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
16083         (todo-nondiary-face, todo-print-buffer, todo-time-face)
16084         (todo-visited): New variables.
16086 2013-06-21  Glenn Morris  <rgm@gnu.org>
16088         * play/cookie1.el (cookie-apropos): Add optional display argument.
16089         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
16090         (psychoanalyze-pinhead): Use cookie-doctor.
16092 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
16094         * emacs-lisp/package.el (tar-get-file-descriptor)
16095         (tar--extract): Declare.
16097 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
16099         Extend flymake's warning predicate to be a function (bug#14217).
16100         * progmodes/flymake.el (flymake-warning-predicate): New.
16101         (flymake-parse-line): Use it.
16102         (flymake-warning-re): Make obsolete alias to
16103         `flymake-warning-predicate'.
16105 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16107         * emacs-lisp/package.el (package-alist): Include obsolete packages.
16108         (package-obsolete-list): Remove.
16109         (package-activate): Remove min-version argument.  Add `force' argument.
16110         Adjust to new package-alist format.
16111         (package-mark-obsolete): Remove.
16112         (package-unpack): Force reload of the package's autoloads.
16113         (package-installed-p): Check builtins if the installed package is not
16114         recent enough.
16115         (package-initialize): Don't reset package-obsolete-list.
16116         Don't specify which package version to activate.
16117         (package-process-define-package, describe-package-1)
16118         (package-menu--generate): Adjust to new package-alist format.
16120 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
16122         * allout-widgets.el (allout-widgets-mode-off)
16123         (allout-widgets-mode-on, allout-widgets-pre-command-business)
16124         (allout-widgets-post-command-business)
16125         (allout-widgets-after-copy-or-kill-function)
16126         (allout-widgets-after-undo-function, allout-test-range-overlaps)
16127         (allout-decorate-item-and-context)
16128         (allout-graphics-modification-handler): Fix typos in docstrings.
16129         (allout-get-or-create-parent-widget): Use `looking-at-p'.
16131         * cmuscheme.el (scheme-start-file): Doc fix.
16132         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
16133         (scheme-input-filter): Use `string-match-p'.
16135         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
16137         * dired-x.el: Use Dired consistently in docstrings.
16139         * dired.el: Use Dired consistently in docstrings.
16140         (dired-readin, dired-mode): Use `setq-local'.
16141         (dired-switches-alist): Make defvar-local.
16142         (dired-buffers-for-dir): Use `zerop'.
16143         (dired-safe-switches-p, dired-switches-escape-p)
16144         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
16145         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
16146         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
16147         (dired-goto-next-nontrivial-file): Use `string-match-p'.
16148         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
16149         (dired-toggle-marks, dired-mark-files-containing-regexp)
16150         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
16151         (dired-flag-auto-save-files, dired-flag-backup-files):
16152         Use `looking-at-p'.
16153         (dired-mark-files-regexp, dired-build-subdir-alist):
16154         Use `string-match-p', `looking-at-p'.
16156         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
16157         (direct-print-region-helper): Use `string-match-p'.
16159 2013-06-21  Leo Liu  <sdl.web@gmail.com>
16161         * comint.el (comint-redirect-results-list-from-process):
16162         Fix infinite loop.
16164 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16166         * net/eww.el (eww-update-header-line-format): Quote % characters.
16168 2013-06-21  Glenn Morris  <rgm@gnu.org>
16170         * play/cookie1.el (cookie): New custom group.
16171         (cookie-file): New option.
16172         (cookie-check-file): New function.
16173         (cookie): Make it interactive.  Make start and end messages optional.
16174         Interactively, display the result.  Default to cookie-file.
16175         (cookie-insert): Default to cookie-file.
16176         (cookie-snarf): Make start and end messages optional.
16177         Default to cookie-file.  Use with-temp-buffer.
16178         (cookie-read): Rename from read-cookie.
16179         Make start and end messages optional.  Default to cookie-file.
16180         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
16181         Do not autoload it.
16182         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
16183         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
16185 2013-06-21  Leo Liu  <sdl.web@gmail.com>
16187         * progmodes/octave.el (octave-mode): Backward compatibility fix.
16189 2013-06-21  Glenn Morris  <rgm@gnu.org>
16191         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
16193 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16194             Daniel Hackney  <dan@haxney.org>
16196         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
16197         Consolidate the single-file vs tarball code.
16198         (package-desc-suffix): New function.
16199         (package-desc-full-name): Don't bother inlining it.
16200         (package-load-descriptor): Return the new package-desc.
16201         (package-mark-obsolete): Remove unused arg `package'.
16202         (package-unpack): Make it work for single files as well.
16203         Make it update package-alist.
16204         (package--make-autoloads-and-stuff): Rename from
16205         package--make-autoloads-and-compile.  Don't compile any more.
16206         (package--compile): New function.
16207         (package-generate-description-file): New function, extracted from
16208         package-unpack-single.
16209         (package-unpack-single): Remove.
16210         (package--with-work-buffer): Add indentation and debugging info.
16211         (package-download-single): Remove.
16212         (package-install-from-archive): Rename from package-download-tar, make
16213         it take a pkg-desc, and make it work for single files as well.
16214         (package-download-transaction): Simplify.
16215         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
16216         external tar program.
16217         (package-install-from-buffer): Remove `pkg-desc' argument.
16218         Use package-tar-file-info for tar-mode buffers.
16219         (package-install-file): Simplify accordingly.
16220         (package-archive-base): Change to take a pkg-desc.
16221         * tar-mode.el (tar--check-descriptor): New function, extracted from
16222         tar-get-descriptor.
16223         (tar-get-descriptor): Use it.
16224         (tar-get-file-descriptor): New function.
16225         (tar--extract): New function, extracted from tar-extract.
16226         (tar--extract): Use it.
16227         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
16228         case the summary uses non-ascii.  Adjust to new calling convention of
16229         package-tar-file-info.
16231 2013-06-21  Leo Liu  <sdl.web@gmail.com>
16233         * comint.el (comint-redirect-results-list-from-process):
16234         Fix random delay.  (Bug#14681)
16236 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
16238         * profiler.el (profiler-format-number): Use log, not log10.
16240 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
16242         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
16244 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16246         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
16247         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
16248         yet available.
16249         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
16250         (AUTOGENEL): ... here.
16251         * emacs-lisp/cl-macs.el (cl--sublis): New function.
16252         (cl--defsubst-expand): Use it.
16254 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
16256         * subr.el (log10): Move here from C code, and declare as obsolete.
16257         All uses of (log10 X) replaced with (log X 10).
16259 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
16261         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
16262         Declare with `defvar-local'.
16263         (tabulated-list-use-header-line, tabulated-list-entries)
16264         (tabulated-list-padding, tabulated-list-printer)
16265         (tabulated-list-sort-key): Declare with `defvar-local'.
16266         (tabulated-list-init-header, tabulated-list-print-fake-header):
16267         Use `setq-local'.
16269 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
16271         * arc-mode.el (archive-mode): Add `archive-write-file' to
16272         `write-contents-functions' also for remote files.  (Bug#14652)
16274 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
16276         * cus-edit.el (custom-commands): Fix typos.
16277         (custom-display): Fix tooltip text.
16278         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
16279         Fix typos in docstrings.
16280         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
16281         (custom-unlispify-menu-entry, custom-magic-value-create)
16282         (custom-add-see-also, custom-group-value-create): Use ?\s.
16283         (custom-guess-type, customize-apropos, editable-field)
16284         (custom-face-value-create): Use `string-match-p'.
16285         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
16287         * custom.el (custom-load-symbol): Use `string-match-p'.
16289         * ansi-color.el: Convert to lexical binding.
16290         (ansi-colors): Fix URL.
16291         (ansi-color-context, ansi-color-context-region): Use defvar-local.
16292         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
16293         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
16295 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16297         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
16299         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
16301 2013-06-19  Tom Tromey  <tromey@redhat.com>
16303         * net/eww.el (eww-top-url): Remove.
16304         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
16305         (eww-render): Set new variables.  Don't set eww-top-url.
16306         (eww-handle-link): Handle "prev", "home", and "contents".
16307         Downcase the rel text.
16308         (eww-top-url): Choose best top URL.
16310 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16312         * net/eww.el: Rewrite to implement form elements "by hand" instead of
16313         relying in widget.el.  Using widget.el leads to too many
16314         user interface inconsistencies.
16315         (eww-self-insert): Implement entering commands in text fields.
16316         (eww-process-text-input): New function to make text input field editing
16317         work.
16318         (eww-submit): Rewrite to use the new-style form methods.
16319         (eww-select-display): Display the correct selected item.
16320         (eww-change-select): Implement changing the select value.
16321         (eww-toggle-checkbox): Implement radio/checkboxes.
16322         (eww-update-field): Fix compilation error.
16323         (eww-tag-textarea): Implement <textarea>.
16325         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
16326         we don't shadow mode-specific bindings.
16328         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
16329         nothing to push.
16331         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
16333 2013-06-19  Glenn Morris  <rgm@gnu.org>
16335         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
16337 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
16339         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
16340         not needed.
16342         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
16344 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16346         * net/browse-url.el (browse-url-browser-function):
16347         `eww-browse-url' has the right calling signature, `eww' does not.
16349 2013-06-19  Glenn Morris  <rgm@gnu.org>
16351         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
16352         Only eval autoloaded macros.
16353         (byte-compile-autoload): Only give the macro warning for macros.
16355         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
16356         (ps-underlined-faces): Declare.
16358         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
16359         (speedbar-add-supported-extension): Declare.
16361         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
16362         Don't include a date stamp in the header of the generated file;
16363         it leads to needless differences between output files.
16365 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
16367         * net/secrets.el (secrets-struct-secret-content-type):
16368         Replace check of introspection data by a test call of "CreateItem".
16369         Some servers do not offer introspection.
16371 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16373         * electric.el (electric-pair-mode): Improve interaction with
16374         electric-layout-mode.
16375         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
16376         (electric-pair-syntax): Use text-mode-syntax-table in comments
16377         and strings.
16378         (electric-pair--insert): New function.
16379         (electric-pair-post-self-insert-function): Use it and
16380         electric--after-char-pos.
16382 2013-06-19  Leo Liu  <sdl.web@gmail.com>
16384         * progmodes/octave.el (octave-help): Fix regexp.
16386 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16388         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
16389         (shr-table-horizontal-line): Allow nil as a value, and change the
16390         default.
16391         (shr-insert-table-ruler): Respect the nil value.
16393 2013-06-18  Tom Tromey  <tromey@barimba>
16395         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
16396         New defvars.
16397         (eww-open-file): New defun.
16398         (eww-render): Initialize new variables.
16399         (eww-display-html): Handle "link" and "a".
16400         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
16401         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
16402         (eww-back-url): Rename from eww-previous-url.
16403         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
16404         New defuns.
16406 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
16408         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
16409         Distinguish ternary operator tokens from slash symbol and slash
16410         char literal.
16412 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
16414         Convert symbol prettification into minor mode and global minor mode.
16416         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
16417         `prog-prettify-symbols', and make a local defvar instead of defcustom.
16418         (prettify-symbols--keywords): Rename from
16419         `prog-prettify-symbols-alist' and make a local defvar.
16420         (prettify-symbols--compose-symbol): Rename from
16421         `prog--prettify-font-lock-compose-symbol'.
16422         (prettify-symbols--make-keywords): Rename from
16423         `prog-prettify-font-lock-symbols-keywords' and simplify.
16424         (prog-prettify-install): Remove.
16425         (prettify-symbols-mode): New minor mode, based on
16426         `prog-prettify-install'.
16427         (turn-on-prettify-symbols-mode): New function.
16428         (global-prettify-symbols-mode): New globalized minor mode.
16430         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
16431         * progmodes/cfengine.el (cfengine3-mode):
16432         * progmodes/perl-mode.el (perl-mode): Don't call
16433         `prog-prettify-install'; set `prettify-symbols-alist' instead.
16435 2013-06-18  Juri Linkov  <juri@jurta.org>
16437         * files-x.el (modify-file-local-variable-message): New function.
16438         (modify-file-local-variable)
16439         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
16440         and call `modify-file-local-variable-message' when it's non-nil.
16441         (add-file-local-variable, delete-file-local-variable)
16442         (add-file-local-variable-prop-line)
16443         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
16444         and use it.  (Bug#9820)
16446 2013-06-18  Juri Linkov  <juri@jurta.org>
16448         * emulation/vi.el (vi-shell-op):
16449         * emulation/vip.el (vip-execute-com, ex-command):
16450         * emulation/viper-cmd.el (viper-exec-bang):
16451         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
16452         the call of `shell-command-on-region'.  (Bug#14637)
16454         * simple.el (shell-command-on-region): Doc fix.
16456 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16458         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
16459         (bug#14633).
16461 2013-06-18  Glenn Morris  <rgm@gnu.org>
16463         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
16465         * newcomment.el (comment-search-forward, comment-search-backward):
16466         Doc fix.  (Bug#14376)
16468 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
16470         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
16471         (buffer-face-mode-invoke): Doc fix.
16473 2013-06-18  Matthias Meulien  <orontee@gmail.com>
16475         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
16476         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
16478 2013-06-18  Glenn Morris  <rgm@gnu.org>
16480         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
16481         Replace obsolete function generic-make-keywords with its expansion.
16483         * progmodes/python.el (ffap-alist): Declare.
16485         * textmodes/reftex.el (bibtex-mode-map): Declare.
16487 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16489         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
16490         (package-unpack, package-unpack-single): Return the pkg-dir.
16491         (package-download-transaction): Use it to update package-alist.
16493 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16495         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
16496         possible choice.
16498 2013-06-17  Juri Linkov  <juri@jurta.org>
16500         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
16502 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
16504         * emacs-lisp/package.el (package-load-descriptor):
16505         Remove `with-syntax-table' call, `read' doesn't need it.
16506         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
16508 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
16510         * startup.el (command-line): Expand package name returned by
16511         `package--description-file' (bug#14639).
16513 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
16515         * emacs-lisp/package.el (package-load-descriptor): Do not call
16516         `emacs-lisp-mode', just use its syntax table.
16518 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
16520         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
16521         `font-lock-extra-managed-props' if any prettifying keyword is added.
16522         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
16523         (prog-mode): Use `setq-local'.
16525 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16527         * international/characters.el (standard-case-table): Set syntax of ?»
16528         and ?« to punctuation.
16530 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
16532         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
16533         Save relevant match data before calling `syntax-ppss' (bug#14595).
16535 2013-06-15  Juri Linkov  <juri@jurta.org>
16537         * files-x.el (modify-file-local-variable-prop-line): Add local
16538         variables to the end of the existing comment on the first line.
16539         Use `file-auto-mode-skip' to skip interpreter magic line,
16540         and also skip XML declaration.
16542 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16544         * startup.el (package--builtin-versions): New var.
16545         (package-subdirectory-regexp): Remove.
16546         (package--description-file): Hard code its value instead.
16548         * emacs-lisp/package.el: Don't activate packages older than builtin.
16549         (package-obsolete-list): Rename from package-obsolete-alist, and make
16550         it into a simple list of package-desc.
16551         (package-strip-version): Remove.
16552         (package-built-in-p): Use package--builtin-versions.
16553         (package-mark-obsolete): Simplify.
16554         (package-process-define-package): Mark it obsolete if older than the
16555         builtin version.
16556         (package-handle-response): Use line-end-position.
16557         (package-read-archive-contents, package--download-one-archive):
16558         Simplify.
16559         (package--add-to-archive-contents): Skip if older than the builtin or
16560         installed version.
16561         (package-menu-describe-package): Fix last change.
16562         (package-list-unversioned): New var.
16563         (package-menu--generate): Use it.
16565         * emacs-lisp/autoload.el: Manage package--builtin-versions.
16566         (autoload--insert-text, autoload--insert-cookie-text): New functions.
16567         (autoload-builtin-package-versions): New variable.
16568         (autoload-generate-file-autoloads): Use them.
16569         Remove the list of autoloaded functions/macros from the
16570         (autoload...) comments.
16572         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
16574 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
16576         * simple.el (line-move-partial): Don't jump to the next screen
16577         line as soon as it becomes visible.  Instead, continue enlarging
16578         the vscroll until the portion of a tall screen line that's left on
16579         display is about the height of the frame's default font.
16580         (Bug#14567)
16582 2013-06-15  Glenn Morris  <rgm@gnu.org>
16584         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
16585         compilation-error-regexp-alist void, or local while let-bound.
16587         * progmodes/make-mode.el (makefile-mode-syntax-table):
16588         Treat "=" as punctuation.  (Bug#14614)
16590 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
16592         * help-fns.el (describe-variable):
16593         Add extra line for permanent-local variables.
16595 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
16597         * progmodes/scheme.el (scheme-font-lock-keywords-2):
16598         Add export, import, library.  (Bug#9164)
16599         (library): Set indent function.
16601 2013-06-14  Glenn Morris  <rgm@gnu.org>
16603         * term/xterm.el (xterm--query):
16604         Stop after first matching handler.  (Bug#14615)
16606 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
16608         Add support for dired in saveplace.
16609         * dired.el (dired-initial-position-hook): New variable.
16610         (dired-initial-position): Call hook to place cursor position.
16611         * saveplace.el (save-place-to-alist): Add dired position.
16612         (save-place-dired-hook): New function.
16614 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16616         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
16617         through a symbol rather than letrec.
16619         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
16620         (package-desc): Add `dir' field.
16621         (package-desc-full-name): New function.
16622         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
16623         (package-maybe-load-descriptor): Remove.
16624         (package-load-all-descriptors): Just call package-load-descriptor.
16625         (package--disabled-p): New function.
16626         (package-desc-vers, package-desc-doc): Remove aliases.
16627         (package--dir): Remove function.
16628         (package-activate): Check if a package is disabled.
16629         (package-process-define-package): New function, extracted from
16630         define-package.
16631         (define-package): Turn into a place holder.
16632         (package-unpack-single, package-tar-file-info):
16633         Use package--description-file.
16634         (package-compute-transaction): Use package--disabled-p.
16635         (package-download-transaction): Don't call
16636         package-maybe-load-descriptor since they're all loaded anyway.
16637         (package-install): Change argument to be a pkg-desc.
16638         (package-delete): Use a single pkg-desc argument.
16639         (describe-package-1): Use package-desc-dir instead of package--dir.
16640         Use package-desc property instead of package-symbol.
16641         (package-install-button-action): Adjust accordingly.
16642         (package--push): Rewrite.
16643         (package-menu--print-info): Adjust accordingly.  Change the ID format
16644         to be a pkg-desc.
16645         (package-menu-describe-package, package-menu-get-status)
16646         (package-menu--find-upgrades, package-menu-mark-upgrades)
16647         (package-menu-execute, package-menu--name-predicate):
16648         Adjust accordingly.
16649         * startup.el (package--description-file): New function.
16650         (command-line): Use it.
16651         * emacs-lisp/package-x.el (package-upload-buffer-internal):
16652         Use package-desc-version.
16654         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
16655         (byte-compile-preprocess): Use it.
16656         (byte-compile-file-form-defalias): Try a bit harder to use macros we
16657         can't quite recognize.
16658         (byte-compile-add-to-list): Remove.
16659         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
16660         (cconv-closure-convert): Add assertion.
16662         * emacs-lisp/map-ynp.el: Use lexical-binding.
16663         (map-y-or-n-p): Remove unused vars `tail' and `object'.
16664         Factor out some repeated code.
16666 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16668         * subr.el (with-eval-after-load): New macro.
16669         (eval-after-load): Allow form to be a function.
16670         take advantage of lexical-binding.
16671         (do-after-load-evaluation): Use dolist and adjust to new format.
16672         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
16674 2013-06-13  Juri Linkov  <juri@jurta.org>
16676         * replace.el (perform-replace): Display "symbol " and other search
16677         modes from `isearch-message-prefix' in the *Help* buffer.
16679         * isearch.el (isearch-query-replace): Add " symbol" and other
16680         possible search modes from `isearch-message-prefix' to the prompt.
16681         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
16682         when reading a regexp to collect.
16684 2013-06-13  Juri Linkov  <juri@jurta.org>
16686         * isearch.el (word-search-regexp): Match whitespace if the search
16687         string begins or ends in whitespace.  The LAX arg is applied to
16688         both ends of the search string.  Use `regexp-quote' and explicit
16689         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
16690         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
16691         boundaries are replaced with symbol boundaries, and characters
16692         between symbols match non-word non-symbol syntax.  (Bug#14602)
16694 2013-06-13  Juri Linkov  <juri@jurta.org>
16696         * isearch.el (isearch-del-char): Don't exceed the length of
16697         `isearch-string' by the prefix arg.  (Bug#14563)
16699 2013-06-13  Juri Linkov  <juri@jurta.org>
16701         * isearch.el (isearch-yank-word, isearch-yank-line)
16702         (isearch-char-by-name, isearch-quote-char)
16703         (isearch-printing-char, isearch-process-search-char):
16704         Add optional count prefix arg.  (Bug#14563)
16706         * international/isearch-x.el
16707         (isearch-process-search-multibyte-characters):
16708         Add optional count prefix arg.
16710 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16712         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
16713         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
16714         lexical-binding.
16716 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
16718         * subr.el (set-temporary-overlay-map): Add on-exit argument.
16720 2013-06-13  Glenn Morris  <rgm@gnu.org>
16722         * startup.el (tty-handle-args):
16723         Don't just discard "--" and anything after.  (Bug#14608)
16725         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
16727 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
16729         Implement changes in Secret Service API.  Make it backward compatible.
16730         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
16731         (secrets-create-item): Use it.  Prefix properties with interface.
16733 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
16735         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
16736         (term-emulate-terminal): Respect term-suppress-hard-newline.
16738 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
16740         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
16741         Only remove a `thumb-file' overlay.  (Bug#14548)
16743 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
16745         * mail/reporter.el (reporter-submit-bug-report):
16746         Handle missing package-name.  (Bug#14600)
16748 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16750         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
16751         (reftex-citation-prompt, reftex-default-bibliography)
16752         (reftex-bib-or-thebib, reftex-get-bibfile-list)
16753         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
16754         (reftex-bib-sort-author, reftex-bib-sort-year)
16755         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
16756         (reftex-extract-bib-entries-from-thebibliography)
16757         (reftex-get-bibkey-default, reftex-get-bib-names)
16758         (reftex-parse-bibtex-entry, reftex-get-bib-field)
16759         (reftex-format-bib-entry, reftex-parse-bibitem)
16760         (reftex-format-bibitem, reftex-do-citation)
16761         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
16762         (reftex-restrict-bib-matches, reftex-extract-bib-file)
16763         (reftex-insert-bib-matches, reftex-format-citation)
16764         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
16765         (reftex-create-bibtex-file): Add docstrings, mostly by converting
16766         existing comments into docstrings.
16768 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
16770         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
16772 2013-06-12  Andreas Schwab  <schwab@suse.de>
16774         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
16775         for auto-save files.
16777 2013-06-12  Glenn Morris  <rgm@gnu.org>
16779         * ido.el (ido-delete-ignored-files): Remove.
16780         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
16781         Go back to calling ido-ignore-item-p directly.
16783 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
16785         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
16787         * ido.el (ido-delete-ignored-files): New function,
16788         split from ido-make-file-list-1.
16789         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
16790         (ido-make-file-list-1): Use ido-delete-ignored-files.
16792 2013-06-12  Leo Liu  <sdl.web@gmail.com>
16794         * progmodes/octave.el (inferior-octave-startup)
16795         (inferior-octave-completion-table)
16796         (inferior-octave-track-window-width-change)
16797         (octave-eldoc-function-signatures, octave-help)
16798         (octave-find-definition): Use single quoted strings.
16799         (inferior-octave-startup-args): Change default value.
16800         (inferior-octave-startup): Do not hard code "-i" and
16801         "--no-line-editing".
16802         (inferior-octave-resync-dirs): Add optional arg NOERROR.
16803         (inferior-octave-directory-tracker): Use it.
16804         (octave-goto-function-definition): Robustify.
16805         (octave-help): Support highlighting operators in 'See also'.
16806         (octave-find-definition): Find subfunctions only in Octave mode.
16808 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16810         * help-fns.el (help-fns--compiler-macro): If the handler function is
16811         named, then put a link to it.
16812         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
16813         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
16814         (cl-typep): Use it.
16815         (cl-eval-when): Simplify debug spec.
16816         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
16817         compiler-macro function instead of setting `compiler-macro-file'.
16819 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
16821         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
16822         * vc/vc-hooks.el (vc-stay-local): Doc fix.
16824 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16825             Daniel Hackney  <dan@haxney.org>
16827         First part of Daniel Hackney's patch to package.el.
16828         * emacs-lisp/package.el: Use defstruct.
16829         (package-desc): New, main struct.
16830         (package--bi-desc, package--ac-desc): New structs, used to describe the
16831         format in external files.
16832         (package-desc-vers): Replace with package-desc-version accessor.
16833         (package-desc-doc): Replace with package-desc-summary accessor.
16834         (package-activate-1): Remove `package' arg since the pkg-vec now
16835         includes the name.
16836         (define-package): Use package-desc-from-define.
16837         (package-unpack-single): Change file-name arg to be a symbol.
16838         (package--add-to-archive-contents): Use package-desc-create and new
16839         accessor functions to package--ac-desc.
16840         (package-buffer-info, package-tar-file-info): Return a package-desc.
16841         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
16842         arg to be a package-desc.
16843         (package-install-file): Adjust accordingly.  Use \' to match EOS.
16844         (package--from-builtin): New function.
16845         (describe-package-1, package-menu--generate): Use it.
16846         (package--make-autoloads-and-compile): Change name arg to be a symbol.
16847         (package-generate-autoloads): Idem and return the name of the file.
16848         * emacs-lisp/package-x.el (package-upload-buffer-internal):
16849         Change pkg-info arg to be a package-desc.
16850         Use package-make-ac-desc.
16851         (package-upload-file): Use \' to match EOS.
16852         * finder.el (finder-compile-keywords): Use package-make-builtin.
16854 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16856         * vc/vc.el (vc-deduce-fileset): Change error message.
16857         (vc-read-backend): New function.
16858         (vc-next-action): Use it.
16860         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
16862         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
16863         (prolog-font-lock-keywords): Use regexp-opt instead.
16864         Don't manually highlight strings.
16865         (prolog-mode-variables): Simplify comment-start-skip.
16866         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
16868         * emacs-lisp/generic.el (generic--normalise-comments)
16869         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
16870         (generic-mode-set-comments): Use them.
16871         (generic-bracket-support): Use setq-local.
16872         (generic-make-keywords-list): Declare obsolete.
16874 2013-06-11  Glenn Morris  <rgm@gnu.org>
16876         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
16877         Prettify after setting font-lock-defaults.  (Bug#14574)
16879 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
16881         * replace.el (query-replace, occur-read-regexp-defaults-function)
16882         (replace-search):
16883         * subr.el (declare-function, number-sequence, local-set-key)
16884         (substitute-key-definition, locate-user-emacs-file)
16885         (with-silent-modifications, split-string, eval-after-load):
16886         Fix typos, remove unneeded backslashes and reflow some docstrings.
16888 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16890         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
16891         default for Elisp files.
16893 2013-06-11  Glenn Morris  <rgm@gnu.org>
16895         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
16896         although define-derived-mode was doing this anyway.  (Bug#14583)
16898 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
16900         * allout.el (allout-encryption-plaintext-sanitization-regexps):
16901         Fix make-variable-buffer-local call to refer to the correct variable.
16903 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
16905         * eshell/em-term.el (eshell-visual-commands)
16906         (eshell-visual-subcommands, eshell-visual-options):
16907         Add summary line to docstrings.  Add cross-references.
16909 2013-06-10  Glenn Morris  <rgm@gnu.org>
16911         * epa.el (epa-read-file-name): New function.  (Bug#14510)
16912         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
16914 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
16916         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
16917         output redirection to be ignored with visual commands.
16919 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
16921         * eshell/em-term.el (eshell-visual-command-p): New function.
16922         (eshell-term-initialize): Move long lambda to separate function
16923         eshell-visual-command-p.
16924         * eshell/em-dirs.el (eshell-dirs-initialize):
16925         * eshell/em-script.el (eshell-script-initialize):
16926         Add missing #' to lambda.
16928 2013-06-08  Leo Liu  <sdl.web@gmail.com>
16930         * progmodes/octave.el (octave-add-log-current-defun): New function.
16931         (octave-mode): Set add-log-current-defun-function.
16932         (octave-goto-function-definition): Do not move point if not found.
16933         (octave-find-definition): Enhance to try subfunctions first.
16935 2013-06-08  Glenn Morris  <rgm@gnu.org>
16937         * emacs-lisp/bytecomp.el (byte-compile-char-before)
16938         (byte-compile-backward-char, byte-compile-backward-word):
16939         Improve previous change, to handle non-explicit nil.
16941 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16943         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
16944         (smie--opener/closer-at-point): New function.
16945         (smie--matching-block-data): Use it.  Don't match from right after an
16946         opener or right before a closer.  Obey smie-blink-matching-inners.
16947         Don't signal a mismatch for repeated inners like "switch..case..case".
16949 2013-06-07  Leo Liu  <sdl.web@gmail.com>
16951         * progmodes/octave.el (octave-mode): Set comment-use-global-state
16952         to t.  (Bug#14303)
16953         (octave-function-header-regexp): Fix.  (Bug#14570)
16954         (octave-help-mode-finish-hook, octave-help-mode-finish):
16955         Remove.  Just use temp-buffer-show-hook.
16957         * newcomment.el (comment-search-backward): Revert last change.
16958         (Bug#14434)
16960         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
16962 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
16964         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
16965         through xargs, to avoid failure due to MS-Windows limitations on
16966         command-line length.
16968 2013-06-06  Glenn Morris  <rgm@gnu.org>
16970         * font-lock.el (lisp-font-lock-keywords-2):
16971         Treat user-error like error.
16973         * emacs-lisp/bytecomp.el (byte-compile-char-before)
16974         (byte-compile-backward-char, byte-compile-backward-word):
16975         Handle explicit nil arguments.  (Bug#14565)
16977 2013-06-05  Alan Mackenzie  <acm@muc.de>
16979         * isearch.el (isearch-allow-prefix): New user option.
16980         (isearch-other-meta-char): Don't exit isearch when a prefix
16981         argument is typed whilst `isearch-allow-prefix' is non-nil.
16982         (Bug#9706)
16984 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16986         * autorevert.el (auto-revert-notify-handler): Use memq.
16987         Hide assertion failure.
16989         * skeleton.el: Use cl-lib.
16990         (skeleton-further-elements): Use defvar-local.
16991         (skeleton-insert): Use cl-progv.
16993 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
16995         * progmodes/prog-mode.el (prog-prettify-symbols)
16996         (prog-prettify-install): Update docstrings.
16998 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17000         * simple.el: Move all the prog-mode code to prog-mode.el.
17001         * progmodes/prog-mode.el: New file.
17002         * loadup.el: Add prog-mode.el.
17004 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
17006         * simple.el (prog-prettify-symbols): Add version.
17007         (prog-prettify-install): Add convenience function to prettify symbols.
17009         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
17010         (perl--augmented-font-lock-keywords-1)
17011         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
17012         variables and use it.
17014         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
17015         (cfengine3-mode): Remove unneeded variable and use it.
17017         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
17018         (lisp--augmented-font-lock-keywords-1)
17019         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
17020         Remove unneeded variables and use it.
17022 2013-06-05  João Távora  <joaotavora@gmail.com>
17024         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
17025         to point when opening the connection.  (Bug#14380)
17027 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17029         * subr.el (load-history-regexp, load-history-filename-element)
17030         (eval-after-load, after-load-functions, do-after-load-evaluation)
17031         (eval-next-after-load, display-delayed-warnings)
17032         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
17033         definition of save-match-data.
17034         (overriding-local-map): Remove accidental obsolescence declaration.
17036         * emacs-lisp/edebug.el (edebug-result): Move before first use.
17038 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
17040         Generalize symbol prettify support to prog-mode and implement it
17041         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
17042         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
17043         (prog--prettify-font-lock-compose-symbol)
17044         (prog-prettify-font-lock-symbols-keywords): New variables and
17045         functions to support symbol prettification.
17046         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
17047         (lisp--augmented-font-lock-keywords-1)
17048         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
17049         (lisp--prettify-symbols-alist): Implement prettify of lambda.
17050         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
17051         (cfengine3--prettify-symbols-alist, cfengine3-mode):
17052         Implement prettify of -> => :: strings.
17053         * progmodes/perl-mode.el (perl-prettify-symbols)
17054         (perl--font-lock-compose-symbol)
17055         (perl--font-lock-symbols-keywords): Move to prog-mode.
17056         (perl--prettify-symbols-alist): Prettify -> => :: strings.
17057         (perl-font-lock-keywords-1)
17058         (perl-font-lock-keywords-2): Remove explicit prettify support.
17059         (perl--augmented-font-lock-keywords)
17060         (perl--augmented-font-lock-keywords-1)
17061         (perl--augmented-font-lock-keywords-2, perl-mode):
17062         Implement prettify support.
17064 2013-06-05  Leo Liu  <sdl.web@gmail.com>
17066         Re-implement SMIE matching block highlight using
17067         show-paren-data-function.  (Bug#14395)
17068         * emacs-lisp/smie.el (smie-matching-block-highlight)
17069         (smie--highlight-matching-block-overlay)
17070         (smie--highlight-matching-block-lastpos)
17071         (smie-highlight-matching-block)
17072         (smie-highlight-matching-block-mode): Remove.
17073         (smie--matching-block-data-cache): New variable.
17074         (smie--matching-block-data): New function.
17075         (smie-setup): Use smie--matching-block-data for
17076         show-paren-data-function.
17078         * progmodes/octave.el (octave-mode-menu): Fix.
17079         (octave-find-definition): Skip garbage lines.
17081 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17083         Fix compilation error with simultaneous dynamic+lexical scoping.
17084         Add warning when a defvar appears after the first let-binding.
17085         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
17086         (byte-compile-close-variables): Initialize it.
17087         (byte-compile--declare-var): New function.
17088         (byte-compile-file-form-defvar)
17089         (byte-compile-file-form-define-abbrev-table)
17090         (byte-compile-file-form-custom-declare-variable): Use it.
17091         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
17092         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
17093         (byte-compile-bind): Handle dynamic bindings that shadow
17094         lexical bindings.
17095         (byte-compile-unbind): Make arg non-optional.
17096         (byte-compile-let): Simplify.
17097         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
17098         (cconv--analyse-function, cconv-analyse-form): Populate it.
17099         Protect byte-compile-bound-variables to limit the scope of defvars.
17100         (cconv-analyse-form): Add missing rule for (defvar <foo>).
17101         Remove unneeded rule for `declare'.
17103         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
17104         so as to avoid depending on cl-adjoin at run-time.
17105         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
17107         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
17108         (macroexp--warn-and-return): Use it.
17110 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17112         * subr.el: Convert to lexical binding.
17113         (overriding-local-map): Make obsolete.
17114         (add-to-list): Doc fix.  Add compiler macro.
17115         (read-key): Swap values of local maps.
17117 2013-06-05  Leo Liu  <sdl.web@gmail.com>
17119         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
17121 2013-06-04  Leo Liu  <sdl.web@gmail.com>
17123         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
17124         (compilation-auto-jump): Suppress the "Mark set" message to give
17125         way to exit message.
17127 2013-06-04  Alan Mackenzie  <acm@muc.de>
17129         Remove faulty optimization from indentation calculation.
17130         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
17131         search limit based on 2000 characters back from indent-point.
17133 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
17135         * eshell/em-term.el (cl-lib): Require `cl-lib'.
17137 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17139         * emacs-lisp/lisp.el: Use lexical-binding.
17140         (lisp--local-variables-1, lisp--local-variables): New functions.
17141         (lisp--local-variables-completion-table): New var.
17142         (lisp-completion-at-point): Use it complete let-bound vars.
17144         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
17145         eagerly (bug#14422).
17147 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
17149         * autorevert.el (auto-revert-notify-enabled)
17150         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
17151         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
17152         (auto-revert-notify-handler): Handle also gfilenotify.
17154         * subr.el (file-notify-handle-event): New defun.  Replacing ...
17155         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
17156         Remove.
17158 2013-06-03  Juri Linkov  <juri@jurta.org>
17160         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
17161         `M-s h .'.  (Bug#14427)
17163         * hi-lock.el (highlight-symbol-at-point): New alias for the new
17164         command `hi-lock-face-symbol-at-point'.
17165         (hi-lock-face-symbol-at-point): New command.
17166         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
17167         (hi-lock-menu): Add `highlight-symbol-at-point'.
17168         (hi-lock-mode): Doc fix.
17170         * isearch.el (isearch-forward-symbol-at-point): New command.
17171         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
17172         (isearch-highlight-regexp): Add a regexp which matches
17173         words/symbols for word/symbol mode.
17175         * subr.el (find-tag-default-bounds): New function with the body
17176         mostly moved from `find-tag-default'.
17177         (find-tag-default): Move most code to `find-tag-default-bounds',
17178         call it and apply `buffer-substring-no-properties' afterwards.
17180 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
17182         * eshell/em-term.el (eshell-term-initialize):
17183         Use `cl-intersection' rather than `intersection'.
17185 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
17187         * vc/log-view.el: Doc fix.
17188         (log-view-mode-map): Copy keymap from `special-mode-map'.
17190 2013-06-02  Eric Ludlam  <zappo@gnu.org>
17192         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
17193         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
17194         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
17195         (eieio-unbound, eieio-default-superclass)
17196         (eieio--define-field-accessors, method-static, method-before)
17197         (method-primary, method-after, method-num-lists)
17198         (method-generic-before, method-generic-primary)
17199         (method-generic-after, method-num-slots)
17200         (eieio-specialized-key-to-generic-key)
17201         (eieio--check-type, class-v, class-p)
17202         (eieio-class-name, define-obsolete-function-alias)
17203         (eieio-class-parents-fast, eieio-class-children-fast)
17204         (same-class-fast-p, class-constructor, generic-p)
17205         (generic-primary-only-p, generic-primary-only-one-p)
17206         (class-option-assoc, class-option, eieio-object-p)
17207         (class-abstract-p, class-method-invocation-order)
17208         (eieio-defclass-autoload-map, eieio-defclass-autoload)
17209         (eieio-class-un-autoload, eieio-defclass)
17210         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
17211         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
17212         (eieio--defgeneric-init-form, eieio-defgeneric-form)
17213         (eieio-defgeneric-reset-generic-form)
17214         (eieio-defgeneric-form-primary-only)
17215         (eieio-defgeneric-reset-generic-form-primary-only)
17216         (eieio-defgeneric-form-primary-only-one)
17217         (eieio-defgeneric-reset-generic-form-primary-only-one)
17218         (eieio-unbind-method-implementations)
17219         (eieio--defmethod, eieio--typep)
17220         (eieio-perform-slot-validation, eieio-validate-slot-value)
17221         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
17222         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
17223         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
17224         (eieio-slot-name-index, eieio-class-slot-name-index)
17225         (eieio-set-defaults, eieio-initarg-to-attribute)
17226         (eieio-attribute-to-initarg, eieio-c3-candidate)
17227         (eieio-c3-merge-lists, eieio-class-precedence-c3)
17228         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
17229         (eieio-class-precedence-list, eieio-generic-call-methodname)
17230         (eieio-generic-call-arglst, eieio-generic-call-key)
17231         (eieio-generic-call-next-method-list)
17232         (eieio-pre-method-execution-functions, eieio-generic-call)
17233         (eieio-generic-call-primary-only, eieiomt-method-list)
17234         (eieiomt-optimizing-obarray, eieiomt-install)
17235         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
17236         (eieio-generic-form, eieio-defmethod, make-obsolete)
17237         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
17238         (defclass): Remove `eval-and-compile' from macro.
17239         (call-next-method, shared-initialize): Instead of using
17240         `scoped-class' variable, use new eieio--scoped-class, and
17241         eieio--with-scoped-class.
17242         (initialize-instance): Rename local variable 'scoped-class' to
17243         'this-class' to remove ambiguitity from old global.
17245         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
17246         eieio.el.
17247         (eieio--scoped-class-stack): New variable.
17248         (eieio--scoped-class): New fcn.
17249         (eieio--with-scoped-class): New scoping macro.
17250         (eieio-defclass): Use pushnew instead of add-to-list.
17251         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
17252         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
17253         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
17254         `scoped-class' variable, use new eieio--scoped-class, and
17255         eieio--with-scoped-class.
17257         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
17259 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
17261         * eshell/esh-ext.el (eshell-external-command): Pass args to
17262         `eshell-find-interpreter'.
17263         (eshell-find-interpreter): Add new second parameter ARGS.
17265         * eshell/em-script.el (eshell-script-initialize): Add second arg
17266         to the function added as MATCH to `eshell-interpreter-alist'.
17268         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
17269         the function added as MATCH to `eshell-interpreter-alist'.
17271         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
17272         (eshell-visual-options): New defcustom.
17273         (eshell-escape-control-x): Adapt docstring.
17274         (eshell-term-initialize): Test `eshell-visual-subcommands' and
17275         `eshell-visual-options' in addition to `eshell-visual-commands'.
17276         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
17278 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17280         * progmodes/python.el (python-indent-block-enders): Add break,
17281         continue and raise keywords.
17283 2013-06-01  Glenn Morris  <rgm@gnu.org>
17285         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
17287         Plain (f)boundp silences compilation warnings since Emacs 22.1.
17288         * progmodes/cc-cmds.el (delete-forward-p):
17289         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
17290         * progmodes/cc-engine.el (buffer-syntactic-context):
17291         * progmodes/cc-fonts.el (face-property-instance):
17292         * progmodes/cc-mode.el (set-keymap-parents):
17293         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
17294         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
17295         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
17296         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
17297         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
17299         * progmodes/cc-vars.el (other): Emacs has this widget since
17300         at least 21.1, so don't (re)define it.
17302         * eshell/em-cmpl.el (eshell-cmpl-initialize):
17303         Replace the obsolete alias pcomplete-arg-quote-list.
17305 2013-06-01  Leo Liu  <sdl.web@gmail.com>
17307         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
17308         punctuation syntax.
17309         (inferior-octave-minimal-columns)
17310         (inferior-octave-last-column-width): New variables.
17311         (inferior-octave-track-window-width-change): New function.
17312         (inferior-octave-mode): Adjust column width so that Octave output,
17313         for example from 'ls', can fit into the window nicely.
17315 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
17317         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
17318         Highlight expansions inside regexp literals.
17320 2013-05-31  Glenn Morris  <rgm@gnu.org>
17322         * obsolete/sym-comp.el (symbol-complete):
17323         Replace obsolete completion-annotate-function.
17325         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
17327 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
17329         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
17330         New function, checks if point is inside a literal that allows
17331         expression expansion.
17332         (ruby-syntax-propertize-expansion): Use it.
17333         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
17334         around the body.
17336 2013-05-30  Juri Linkov  <juri@jurta.org>
17338         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
17339         to "\M-si".
17340         (isearch-invisible): New variable.
17341         (isearch-forward): Doc fix.
17342         (isearch-mode): Set `isearch-invisible'
17343         to the value of `search-invisible'.
17344         (isearch-toggle-case-fold): Doc fix.
17345         (isearch-toggle-invisible): New command.
17346         (isearch-query-replace): Let-bind `search-invisible'
17347         to the value of `isearch-invisible'.
17348         (isearch-search): Use `isearch-invisible' instead of
17349         `search-invisible'.  Let-bind `search-invisible'
17350         to the value of `isearch-invisible'.  (Bug#11378)
17352 2013-05-30  Juri Linkov  <juri@jurta.org>
17354         * replace.el (perform-replace): Avoid `isearch-range-invisible'
17355         call when `query-flag' is nil and `search-invisible' is non-nil.
17356         (Bug#11746)
17358 2013-05-30  Glenn Morris  <rgm@gnu.org>
17360         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
17362         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
17363         (cc-require): Suppress spurious "noruntime" warnings.
17364         (cc-require-when-compile): Use fboundp, for sake of compiler.
17366         * progmodes/cc-mode.el: Move load of cc-vars before that of
17367         cc-langs (which in turn loads cc-vars), to quieten compiler.
17369 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17371         * paren.el: Simplify the code.
17372         (show-paren-mode): Always start the timer.
17373         (show-paren--idle-timer): Rename from show-paren-idle-timer.
17374         (show-paren--overlay, show-paren--overlay-1): Rename from
17375         show-paren-overlay and show-paren-overlay-1, and initialize to an
17376         overlay rather than to nil.
17377         (show-paren-function): Misc cleanup and simplifications.
17379 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17381         * paren.el (show-paren-data-function): New hook.
17382         (show-paren--default): New function, extracted from show-paren-function.
17383         (show-paren-function): Use show-paren-data-function.
17385 2013-05-30  Glenn Morris  <rgm@gnu.org>
17387         * ielm.el (ielm-map, ielm-complete-symbol):
17388         Use completion-at-point rather than obsolete functions.
17389         (inferior-emacs-lisp-mode): Doc fix.
17390         Set completion-at-point-functions, rather than
17391         comint-dynamic-complete-functions.
17393         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
17394         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
17395         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
17397         * image.el (image-animated-p): Tweak definition.
17399         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
17400         (rlogin-process-connection-type): Tweak default.  Add set-after.
17401         (rlogin-host): Doc fix.
17402         (rlogin): Tweak prompt.
17403         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
17405         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
17406         * progmodes/tcl.el (inferior-tcl-mode-map):
17407         Use completion-at-point rather than obsolete alias.
17409         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
17411         * minibuffer.el (read-file-name-completion-ignore-case):
17412         Move before completion--in-region, for eager macro expansion.
17414 2013-05-29  Juri Linkov  <juri@jurta.org>
17416         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
17417         for total count of matching lines.  Add `global-matches' for total
17418         count of matches.  Rename `matches' to `lines' for count of
17419         matching lines.  Add `matches' for count of matches.
17420         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
17421         to `prev-line' for line number of prev match endpt.
17422         Increment `matches' for every match.  Print the number of
17423         matching lines in the header.
17424         (occur-context-lines): Rename `lines' to `curr-line'.
17425         Rename `prev-lines' to `prev-line'.  (Bug#14017)
17427 2013-05-29  Juri Linkov  <juri@jurta.org>
17429         * replace.el (perform-replace): Add `skip-read-only-count',
17430         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
17431         Increment them for corresponding conditions and report the number
17432         of skipped occurrences in the final message.  (Bug#11746)
17433         (query-replace, query-replace-regexp, query-replace-regexp-eval)
17434         (replace-string, replace-regexp): Doc fix.
17436 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17438         * emacs-lisp/trace.el (trace--read-args): Provide a default.
17440         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
17441         prog-mode-map (bug#14504).
17443 2013-05-29  Leo Liu  <sdl.web@gmail.com>
17445         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
17446         (octave-help): Small simplification.
17448         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
17449         off the highlight first.
17451 2013-05-29  Glenn Morris  <rgm@gnu.org>
17453         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
17454         Handle idlwave-last-system-routine-info-cons-cell being nil.
17456         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17457         (idlwave-write-paths): Simplify via with-temp-buffer.
17459         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
17460         * emulation/cua-rect.el: Also load cua-base at run time.
17462         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
17463         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
17464         (cperl-imenu-on-info): Require imenu.
17466 2013-05-28  Alan Mackenzie  <acm@muc.de>
17468         Handle "capitalised keywords" correctly.
17469         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
17471 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
17473         * eshell/em-unix.el: Add -r option to cp.
17475 2013-05-28  Glenn Morris  <rgm@gnu.org>
17477         * vc/vc-arch.el (vc-exec-after): Declare.
17478         (vc-switches): Autoload.
17479         * vc/vc-bzr.el: No need to require vc when compiling.
17480         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
17481         (vc-resynch-buffer, vc-dir-refresh): Declare.
17482         (vc-setup-buffer, vc-switches): Autoload.
17483         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
17484         (vc-resynch-buffer): Declare.
17485         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
17486         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
17487         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
17488         (grep-read-regexp, grep-read-files, grep-expand-template)
17489         (vc-dir-refresh): Declare.
17490         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
17491         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
17492         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
17493         * vc/vc-mtn.el (vc-exec-after): Declare.
17494         (vc-switches): Autoload.
17495         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
17496         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
17497         (vc-file-tree-walk): Declare.
17498         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
17499         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
17500         (vc-tag-precondition, vc-rename-master): Autoload.
17501         * vc/vc-svn.el (vc-exec-after): Declare.
17502         (vc-switches, vc-setup-buffer): Autoload.
17503         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
17504         Autoload.
17505         (vc-resynch-buffer): Declare.
17507         * obsolete/fast-lock.el (byte-compile-warnings):
17508         Don't warn about obsolete features in this obsolete file.
17510         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
17511         Move definition before use.
17513         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
17514         (dun-unix-verbs): Remove dun-zippy.
17515         (dun-zippy): Remove function.
17517         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
17519 2013-05-27  Juri Linkov  <juri@jurta.org>
17521         * replace.el (replace-search): New function with code moved out
17522         from `perform-replace'.
17523         (replace-highlight, replace-dehighlight): Move function definitions
17524         up closer to `replace-search'.  (Bug#11746)
17526 2013-05-27  Juri Linkov  <juri@jurta.org>
17528         * replace.el (perform-replace): Ignore invisible matches.
17529         In addition to checking `query-replace-skip-read-only', also
17530         filter out matches by calling `run-hook-with-args-until-failure'
17531         on `isearch-filter-predicates', and also check `search-invisible'
17532         for t or call `isearch-range-invisible'.
17533         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
17535 2013-05-27  Juri Linkov  <juri@jurta.org>
17537         * isearch.el (isearch-filter-predicates): Rename from
17538         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
17539         (isearch-message-prefix): Display text from the property
17540         `isearch-message-prefix' of the currently active filters.
17541         (isearch-search): Don't compare `isearch-filter-predicate' with
17542         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
17543         on `isearch-filter-predicates'.  Also check `search-invisible' for t
17544         or call `isearch-range-invisible'.
17545         (isearch-filter-visible): Make obsolete.
17546         (isearch-lazy-highlight-search):
17547         Call `run-hook-with-args-until-failure' on
17548         `isearch-filter-predicates' and use `isearch-range-invisible'.
17550         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
17551         `isearch-filter-predicates' instead of `funcall'ing
17552         `isearch-filter-predicate'.
17553         (Info-mode): Set `Info-isearch-filter' to
17554         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
17556         * dired-aux.el (dired-isearch-filter-predicate-orig):
17557         Remove variable.
17558         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
17559         (dired-isearch-filenames-end): Add and remove
17560         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
17561         instead of changing the value of `isearch-filter-predicate'.
17562         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
17563         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
17564         Put property `isearch-message-prefix' to "filename " on
17565         `dired-isearch-filter-filenames'.
17567         * wdired.el (wdired-change-to-wdired-mode):
17568         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
17569         locally instead of changing `isearch-filter-predicate'.
17570         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
17572 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
17574         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
17575         return the commit hash (Bug#14459).  Also set the
17576         `vc-git-detached' property.
17577         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
17578         (vc-git-mode-line-string): Use the same help-echo format whether
17579         in detached mode or not, because we know the actual revision now.
17580         When in detached mode, shorten the revision to 7 chars.
17582 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17584         * emacs-lisp/easy-mmode.el (define-minor-mode):
17585         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
17586         mode hook and provide a docstring.
17588 2013-05-27  Alan Mackenzie  <acm@muc.de>
17590         Remove spurious syntax-table text properties inserted by C-y.
17591         * progmodes/cc-mode.el (c-after-change): Also clear hard
17592         syntax-table property with value nil.
17594 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
17596         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
17597         when reading the events; the buffer layout shall not be changed.
17599 2013-05-27  Leo Liu  <sdl.web@gmail.com>
17601         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
17602         New variable.
17603         (inferior-octave-directory-tracker): Automatically re-sync
17604         default-directory.
17605         (octave-help): Improve handling of 'See also'.
17607 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17609         * doc-view.el: Minor naming convention tweaks.
17610         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
17612         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
17613         even if there's no `display' property yet (bug#14435).
17615 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
17617         * subr.el (unmsys--file-name): Rename from reveal-filename.
17619         * Makefile.in (custom-deps, finder-data, autoloads)
17620         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
17621         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
17622         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
17624 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17626         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
17627         error-completion on the first 2 args of condition-case (bug#14446).
17628         Don't burp at EOB.
17630 2013-05-25  Leo Liu  <sdl.web@gmail.com>
17632         * comint.el (comint-previous-matching-input): Do not flood the
17633         *Messages* buffer with trivial messages.
17635 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17637         * progmodes/flymake.el (flymake-nop): Don't return a string.
17638         (flymake-set-at): Fix typo.
17640         * simple.el (read--expression): New function, extracted from
17641         eval-expression.  Set completion-at-point-functions (bug#14465).
17642         (eval-expression, eval-minibuffer): Use it.
17644 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
17646         * progmodes/flymake.el (flymake-save-buffer-in-file)
17647         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
17648         (flymake-selected-frame, flymake-log, flymake-ins-after)
17649         (flymake-set-at, flymake-get-buildfile-from-cache)
17650         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
17651         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
17652         Refine the doc string.
17653         (flymake-get-file-name-mode-and-masks): Reformat.
17654         (flymake-get-real-file-name-function): Fix a minor bug.
17656 2013-05-24  Juri Linkov  <juri@jurta.org>
17658         * progmodes/grep.el (grep-mode-font-lock-keywords):
17659         Support =linenumber= format used by git-grep for lines with
17660         function names.  (Bug#13549)
17662 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17664         * progmodes/octave.el (octave-smie-rules): Return nil rather than
17665         0 after a semi-colon; it works better for smie-auto-fill.
17666         (octave--indent-new-comment-line): New function.
17667         (octave-indent-new-comment-line): Use it (indirectly).
17668         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
17669         modify comment-line-break-function.
17671         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
17672         (smie-setup): Use add-function to set it.
17674 2013-05-24  Sam Steingold  <sds@gnu.org>
17676         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
17677         argument (before the `interactive' argument).
17679 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17681         * image-mode.el (image-mode-winprops): Add winprops to
17682         image-mode-winprops-alist before running
17683         image-mode-new-window-functions.
17684         * doc-view.el (doc-view-new-window-function): Don't delay
17685         doc-view-goto-page via timers (bug#14435).
17687 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
17689         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
17690         (doc-view-desktop-save-buffer): New function.
17691         (doc-view-restore-desktop-buffer): New function.
17692         (desktop-buffer-mode-handlers):
17693         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
17694         handler.
17695         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
17696         `desktop-save-buffer' function.
17698 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
17700         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
17701         (tramp-gvfs-file-name-handler): Raise a user error when
17702         `tramp-gvfs-enabled' is nil.
17703         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
17704         Do not raise a user error when loading package.  (Bug#14447)
17706         * net/xesam.el: Move to obsolete/.
17708 2013-05-24  Glenn Morris  <rgm@gnu.org>
17710         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
17712         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
17714         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
17715         (Info-find-node, Man-getpage-in-background): Declare.
17717         * mail/unrmail.el (unrmail):
17718         Replace obsolete detect-coding-with-priority.
17720         * net/socks.el (socks-split-string): Use this rather than split-string.
17721         (socks-nslookup-host): Update for above change.
17722         (dynamic-choice, s5-dynamic-choice-match)
17723         (s5-dynamic-choice-match-inline, s5-widget-value-create):
17724         Comment out unused code.
17726         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
17727         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
17728         (gud-tooltip-echo-area): Make obsolete.
17729         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
17731         * progmodes/js.el (js--optimize-arglist): Declare.
17733         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
17735         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
17736         (ediff-window-C): Declare.
17738         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
17739         Tweak requires to silence compiler.
17741         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
17742         (he-search-string, he-tried-table, he-expand-list)
17743         (he-init-string, he-string-member, he-substitute-string)
17744         (he-reset-string): Declare.
17746         * obsolete/options.el (list-options): Use custom-variable-p,
17747         rather than obsolete alias.
17749 2013-05-23  Sam Steingold  <sds@gnu.org>
17751         * simple.el (shell-command-on-region): Pass the `replace' argument
17752         down to `call-process-region' to comply with the doc as reported on
17753         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
17755 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17757         * emacs-lisp/smie.el (smie-indent-forward-token)
17758         (smie-indent-backward-token): Handle string tokens (bug#14381).
17760 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17762         * ielm.el (ielm-menu): New menu.
17763         (inferior-emacs-lisp-mode): Set comment-start.
17765 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17767         * textmodes/reftex.el (reftex-ref-style-toggle):
17768         Fix deactivate action.
17770         * textmodes/reftex-vars.el (reftex-ref-style-alist):
17771         Add cleveref macros.
17773         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
17774         Accept options for bibliography commands.
17775         * textmodes/reftex-vars.el (reftex-bibliography-commands):
17776         Add addbibresource.  Basic Biblatex support.
17778 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
17780         * net/tramp-gvfs.el (top):
17781         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
17782         when loading package.  (Bug#14447)
17784 2013-05-23  Glenn Morris  <rgm@gnu.org>
17786         * progmodes/js.el: No need to load comint when compiling.
17787         (ring-insert, comint-send-string, comint-send-input)
17788         (comint-last-input-end, ido-chop): Declare.
17790         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
17791         * vc/ediff-mult.el: Adjust requires.
17792         (ediff-directories-internal, ediff-directory-revisions-internal)
17793         (ediff-patch-file-internal): Declare.
17794         * vc/ediff-ptch.el: Adjust requires.
17795         (ediff-use-last-dir, ediff-buffers-internal): Declare.
17796         (ediff-find-file): Autoload.
17797         * vc/ediff-util.el: No need to load ediff when compiling.
17798         (ediff-regions-internal): Declare.
17799         * vc/ediff-wind.el: Adjust requires.
17800         (ediff-compute-toolbar-width): Define when compiling.
17801         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
17802         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
17803         (dired-get-filename, dired-get-marked-files)
17804         (ediff-last-dir-patch, ediff-patch-default-directory)
17805         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
17806         (ediff-patch-buffer-internal): Declare.
17808         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
17809         (ispell-process, ispell-buffer-local-words, lm-summary)
17810         (lm-section-start, lm-section-end): Declare.
17811         (checkdoc-ispell-init): Simplify.
17813         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
17814         (he-string-member, he-reset-string, he-substitute-string): Declare.
17816         * eshell/em-ls.el: Adjust requires.
17817         (eshell-glob-regexp): Declare.
17818         * eshell/em-tramp.el: Adjust requires.
17819         (eshell-parse-command): Autoload.
17820         * eshell/em-xtra.el: Adjust requires.
17821         (eshell-parse-command): Autoload.
17822         * eshell/esh-ext.el: Adjust requires.
17823         (eshell-parse-command, eshell-close-handles): Autoload.
17824         * eshell/esh-io.el: Adjust requires.
17825         (eshell-output-filter): Autoload.
17826         * eshell/esh-util.el: No need to load tramp when compiling.
17827         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
17828         Declare.
17829         (eshell-parse-ange-ls): Require ange-ftp and tramp.
17830         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
17831         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
17832         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
17833         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
17834         * eshell/esh-opt.el, eshell/esh-proc.el:
17835         * eshell/esh-var.el: Adjust requires.
17836         * eshell/eshell.el: Do not require esh-util twice.
17837         (eshell-add-input-to-history): Declare.
17838         (eshell-command): Check history module is active before using it.
17840         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
17842 2013-05-22  Leo Liu  <sdl.web@gmail.com>
17844         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
17846 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
17848         * autorevert.el (auto-revert-notify-add-watch)
17849         (auto-revert-notify-handler): Add `attrib' for the inotify case,
17850         it indicates changes in file modification time.
17852 2013-05-22  Glenn Morris  <rgm@gnu.org>
17854         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
17855         Always delete the autoloaded function from the noruntime and
17856         unresolved functions lists.
17858         * allout.el: No need to load epa, epg, overlay when compiling.
17859         (epg-context-set-passphrase-callback, epg-list-keys)
17860         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
17861         (epg-key-user-id-list): Declare.
17863         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17864         (viper-set-parsing-style-toggling-macro)
17865         (viper-set-emacs-state-searchstyle-macros):
17866         Use called-interactively-p on Emacs.
17867         (viper-looking-back): Make it an obsolete alias.  Update callers.
17868         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
17869         Use looking-back rather than viper-looking-back.
17870         (viper-tmp-insert-at-eob, viper-enlarge-region)
17871         (viper-read-string-with-history, viper-register-to-point)
17872         (viper-append-to-register, viper-change-state-to-vi)
17873         (viper-backward-char-carefully, viper-forward-char-carefully)
17874         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
17875         (viper-change-state-to-emacs): Declare.
17876         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
17877         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
17878         * emulation/viper-mous.el: Do not load viper-cmd.
17879         (viper-backward-char-carefully, viper-forward-char-carefully)
17880         (viper-forward-word, viper-adjust-window): Declare.
17882         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
17884         * progmodes/idlw-help.el (idlwave-help-fontify):
17885         Use called-interactively-p.
17887         * term/w32console.el (w32-get-console-codepage)
17888         (w32-get-console-output-codepage): Declare.
17890         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
17891         Remove unnecessary declarations.
17892         (dframe-message): Doc fix.
17894         * info.el (dframe-select-attached-frame, dframe-current-frame):
17895         Declare.
17897         * speedbar.el (speedbar-message): Make it an obsolete alias.
17898         Update all callers.
17899         (speedbar-with-attached-buffer)
17900         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
17901         (speedbar-with-writable): Use backquote.
17902         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
17903         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
17904         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
17905         rather than speedbar- aliases.
17906         * mail/rmail.el: Load dframe rather than speedbar when compiling.
17907         (speedbar-make-specialized-keymap, speedbar-insert-button)
17908         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
17909         (speedbar-do-function-pointer): Declare.
17910         (rmail-speedbar-button, rmail-speedbar-find-file)
17911         (rmail-speedbar-move-message):
17912         Use dframe-with-attached-buffer rather than speedbar- alias.
17913         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
17914         (dframe-message, speedbar-make-specialized-keymap)
17915         (speedbar-add-expansion-list, speedbar-mode-functions-list)
17916         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
17917         (speedbar-insert-button, dframe-select-attached-frame)
17918         (dframe-maybee-jump-to-attached-frame)
17919         (speedbar-change-initial-expansion-list)
17920         (speedbar-previously-used-expansion-list-name): Declare.
17921         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
17922         Use dframe-message, dframe-with-attached-buffer rather than
17923         speedbar- aliases.
17924         (gud-sentinel): Silence compiler.
17925         * progmodes/vhdl-mode.el (speedbar-refresh)
17926         (speedbar-do-function-pointer, speedbar-add-supported-extension)
17927         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
17928         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
17929         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
17930         (speedbar-file-lists, speedbar-make-tag-line)
17931         (speedbar-line-directory, speedbar-goto-this-file)
17932         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
17933         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
17934         (speedbar-make-button, speedbar-reset-scanners)
17935         (speedbar-files-item-info, speedbar-line-text)
17936         (speedbar-find-file-in-frame, speedbar-set-timer)
17937         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
17938         (speedbar-with-writable): Do not (re)define it.
17939         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
17940         rather than speedbar- alias.
17942 2013-05-21  Leo Liu  <sdl.web@gmail.com>
17944         * progmodes/octave.el (octave-mode-menu): Update and re-organize
17945         menu items.
17946         (octave-mode): Tweak fill-nobreak-predicate.
17947         (inferior-octave-startup): Check process to avoid infinite loop.
17948         (inferior-octave): Pop to buffer first to show abornmal process
17949         exit information.
17951 2013-05-21  Glenn Morris  <rgm@gnu.org>
17953         * printing.el (pr-menu-bar): Define when compiling.
17955 2013-05-21  Leo Liu  <sdl.web@gmail.com>
17957         * progmodes/octave.el (octave-auto-fill): Remove.
17958         (octave-indent-new-comment-line): Improve.
17959         (octave-mode): Use auto fill mode through
17960         comment-line-break-function and fill-nobreak-predicate.
17961         (octave-goto-function-definition): Support DEFUN_DLD.
17962         (octave-beginning-of-defun): Small tweak.
17963         (octave-help): Show parent directory.
17965 2013-05-21  Glenn Morris  <rgm@gnu.org>
17967         * files.el (dired-unmark):
17968         * progmodes/gud.el (gdb-input): Update declarations.
17970         * calculator.el (electric, ehelp): No need to load when compiling.
17971         (Electric-command-loop, electric-describe-mode): Declare.
17973         * doc-view.el (doc-view-current-converter-processes): Move before use.
17975         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17976         Move MODE-set-explicitly definition before use.
17978         * international/mule-diag.el (mule-diag):
17979         Don't use obsolete window-system-version.
17981         * mail/feedmail.el (smtpmail): No need to load when compiling.
17982         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
17984         * mail/mail-utils.el (rfc822): No need to load when compiling.
17985         (rfc822-addresses): Autoload it.
17986         (mail-strip-quoted-names): Trivial simplification.
17988         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
17989         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
17991         * net/snmp-mode.el (tempo): Don't duplicate requires.
17993         * progmodes/prolog.el (info): No need to load when compiling.
17994         (comint): Require before shell requires it.
17995         (Info-goto-node): Autoload it.
17996         (Info-follow-nearest-node): Declare.
17997         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
17999         * textmodes/artist.el (picture-mode-exit): Declare.
18001         * textmodes/reftex-parse.el (reftex-parse-from-file):
18002         Trivial rewrite so the compiler can parse it better.
18004 2013-05-20  Leo Liu  <sdl.web@gmail.com>
18006         * progmodes/octave.el (octave-help-mode-map)
18007         (octave-help-mode-finish-hook): New variables.
18008         (octave-help-mode, octave-help-mode-finish): New functions.
18009         (octave-help): Use octave-help-mode.
18011 2013-05-20  Glenn Morris  <rgm@gnu.org>
18013         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
18015 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
18017         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
18018         start at point, so that expansion starting right after opening
18019         slash in a regexp is recognized.
18020         (ruby-syntax-before-regexp-re): New defvar, extracted from
18021         ruby-syntax-propertize-function.  Since the value of this regexp
18022         is looked up at runtime now, we should be able to turn
18023         `ruby-syntax-methods-before-regexp' into a defcustom later.
18024         (ruby-syntax-propertize-function): Split regexp matching into two
18025         parts, for opening and closing slashes.  That allows us to skip
18026         over string interpolations and support multiline regexps.
18027         Don't call `ruby-syntax-propertize-expansions', instead use another rule
18028         for them, which calls `ruby-syntax-propertize-expansion'.
18029         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
18030         call to `ruby-syntax-propertize-function'.
18031         (ruby-syntax-propertize-expansion): Extracted from
18032         `ruby-syntax-propertize-expansions'.  Handles one expansion.
18033         (ruby-syntax-propertize-percent-literal): Leave point right after
18034         the percent symbol, so that the expression expansion rule can
18035         propertize the contents.
18036         (ruby-syntax-propertize-heredoc): Leave point at bol following the
18037         heredoc openers.
18038         (ruby-syntax-propertize-expansions): Remove.
18040 2013-05-18  Juri Linkov  <juri@jurta.org>
18042         * man.el (Man-default-man-entry): Remove `-' from the end
18043         of the default value.  (Bug#14400)
18045 2013-05-18  Glenn Morris  <rgm@gnu.org>
18047         * comint.el (comint-password-prompt-regexp):
18048         Allow "password for XXX" where XXX contains colons (eg https://...).
18050 2013-05-18  Leo Liu  <sdl.web@gmail.com>
18052         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
18053         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
18054         (octave-source-directories): Don't check process.
18055         (octave-source-directories, octave-find-definition): Doc fix.
18057 2013-05-18  Glenn Morris  <rgm@gnu.org>
18059         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
18060         Remove backspace/delete bindings.  (Bug#14392)
18062         * cus-dep.el (custom-make-dependencies): Sort the output.
18063         (custom-versions-load-alist): Convert comment to doc.
18065 2013-05-17  Leo Liu  <sdl.web@gmail.com>
18067         * newcomment.el (comment-search-backward): Stricter in finding
18068         comment start.  (Bug#14303)
18070         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
18071         (octave-comment-start-skip): Properly anchored.
18073 2013-05-17  Leo Liu  <sdl.web@gmail.com>
18075         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
18076         Clean up when turned off.  (Bug#14395)
18077         (smie--highlight-matching-block-overlay): No longer buffer-local.
18078         (smie-highlight-matching-block): Adjust.
18080 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
18082         Doc string fix for "nanoseconds" (Bug#14406).
18083         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
18084         Fix doc string typo that had "nanoseconds" instead of "microseconds".
18086 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
18088         * calc/calc-units.el (math-extract-units): Preserve powers
18089         of units.
18091 2013-05-17  Leo Liu  <sdl.web@gmail.com>
18093         * subr.el (delete-consecutive-dups): New function.
18094         * ido.el (ido-set-matches-1): Use it.
18095         * progmodes/octave.el (inferior-octave-completion-table): Use it.
18096         * ido.el (ido-remove-consecutive-dups): Remove.
18098 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18100         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18101         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
18102         regexp-opt's `words'.
18104 2013-05-16  Leo Liu  <sdl.web@gmail.com>
18106         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
18107         (smie--highlight-matching-block-overlay)
18108         (smie--highlight-matching-block-lastpos)
18109         (smie--highlight-matching-block-timer): New variables.
18110         (smie-highlight-matching-block): New function.
18111         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
18112         (smie-setup): Conditionally enable smie-blink-matching-open.
18114 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
18116         Sync with upstream verilog-mode r840.
18117         * progmodes/verilog-mode.el (verilog-mode-version)
18118         (verilog-mode-release-date): Update.
18119         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
18120         (verilog-sig-tieoff): Fix string error on
18121         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
18122         (verilog-read-decls): Fix parameters confusing
18123         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
18125 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
18127         * subr.el (reveal-filename): New function.
18129         * loadup.el: Compute Emacs executable versions on MS-Windows,
18130         where executables have the .exe extension.  Add a hard link
18131         emacs-XX.YY.ZZ.exe on MS-Windows.
18133         * Makefile.in (XARGS_LIMIT): New variable.
18134         (custom-deps, finder-data, autoloads)
18135         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
18136         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
18137         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
18138         (compile-main): Limit xargs according to $(XARGS_LIMIT).
18140 2013-05-16  Leo Liu  <sdl.web@gmail.com>
18142         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
18143         (octave-mode-menu, octave-mode-map): Remove its uses.
18145 2013-05-16  Reto Zimmermann  <reto@gnu.org>
18147         Sync with upstream vhdl mode v3.34.2.
18148         * progmodes/vhdl-mode.el: Use `push' throughout.
18149         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
18150         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
18151         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
18152         (vhdl-actual-generic-name): New option to derive actual generic name.
18153         (vhdl-port-paste-signals): Replace formal by actual generics.
18154         (vhdl-beautify): New name for old group vhdl-align.  Update users.
18155         (vhdl-beautify-options): New option.
18156         (vhdl-last-input-event): New compat alias.  Use throughout.
18157         (vhdl-goto-line): Replace user level function `goto-line'.
18158         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
18159         vhdl-fix-statement-buffer.
18160         (vhdl-create-mode-menu): Add some entries.
18161         (vhdl-align-region-groups): Respect vhdl-beautify-options.
18162         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
18163         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
18164         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
18165         to force statements on one line.
18166         (vhdl-remove-trailing-spaces-region):
18167         New, split from vhdl-remove-trailing-spaces.
18168         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
18169         Respect vhdl-beautify-options.
18170         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
18171         (vhdl-update-sensitivity-list): Not add with index if exists without.
18172         Not include array index with signal.  Ignore keywords in comments.
18173         (vhdl-get-visible-signals): Regexp tweaks.
18174         (vhdl-template-component-inst): Handle empty library.
18175         (vhdl-template-type): Add template for 'enum' type.
18176         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
18177         Use vhdl-replace-string.
18178         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
18179         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
18180         (vhdl-speedbar-initialize): Update for above name change.
18181         (vhdl-compose-wire-components): Fix in handling of constants.
18182         (vhdl-error-regexp-emacs-alist): New variable.
18183         (vhdl-error-regexp-add-emacs): New function;
18184         adds support for new compile.el (Emacs 22+)
18185         (vhdl-generate-makefile-1): Change target order for single lib. units.
18186         Allow use of absolute file names.
18188 2013-05-16  Leo Liu  <sdl.web@gmail.com>
18190         * simple.el (prog-indent-sexp): Indent enclosing defun.
18192 2013-05-15  Glenn Morris  <rgm@gnu.org>
18194         * cus-start.el (show-trailing-whitespace): Move to editing basics.
18195         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
18196         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
18197         (whitespace-highlight): Move to whitespace group.
18199         * comint.el (comint-source):
18200         * pcmpl-linux.el (pcmpl-linux):
18201         * shell.el (shell-faces):
18202         * eshell/esh-opt.el (eshell-opt):
18203         * international/ccl.el (ccl): Remove empty custom groups.
18205         * completion.el (dynamic-completion-mode):
18206         * jit-lock.el (jit-lock-debug-mode):
18207         * minibuffer.el (completion-in-region-mode):
18208         * type-break.el (type-break-mode-line-message-mode)
18209         (type-break-query-mode):
18210         * emulation/tpu-edt.el (tpu-edt-mode):
18211         * progmodes/subword.el (global-subword-mode, global-superword-mode):
18212         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18213         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
18215         * term/xterm.el (xterm): Change parent group to terminals.
18217         * master.el (master): Remove empty custom group.
18218         (master-mode): Remove unused :group argument.
18219         * textmodes/refill.el (refill): Remove empty custom group.
18220         (refill-mode): Remove unused :group argument.
18222         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
18224         * cus-dep.el: Provide a feature.
18225         (custom-make-dependencies): Ignore dotfiles (dir-locals).
18226         Don't mistakenly ignore files whose basenames match a basename
18227         from preloaded-file-list (eg cedet/ede/simple.el).
18228         Add a fallback method for getting :group.
18230 2013-05-15  Juri Linkov  <juri@jurta.org>
18232         * isearch.el (isearch-char-by-name): Rename from
18233         `isearch-insert-char-by-name'.  Doc fix.
18234         (isearch-forward): Mention `isearch-char-by-name' in
18235         the docstring.  (Bug#13348)
18237         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
18238         `exit-minibuffer' instead of
18239         `isearch-nonincremental-exit-minibuffer'.
18240         (isearch-edit-string): Remove mention of
18241         `isearch-nonincremental-exit-minibuffer' from docstring.
18242         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
18243         (isearch-forward-exit-minibuffer)
18244         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
18246 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18248         * loadup.el: Just use unversioned DOC.
18250         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
18251         literals as extending to EOB.
18252         (nxml-last-fontify-end): Remove unused variable.
18253         (nxml-after-change1): Use with-silent-modifications.
18254         (nxml-extend-after-change-region): Simplify.
18255         (nxml-extend-after-change-region1): Remove function.
18256         (nxml-after-change1): Don't adjust for dependent regions.
18257         (nxml-fontify-matcher): Simplify.
18258         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
18259         (xmltok-add-dependent): Remove function.
18260         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
18261         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
18262         (xmltok-scan-prolog-after-processing-instruction-open): Treat
18263         unclosed <[[, <?, comment, and other literals as extending to EOB.
18264         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
18265         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
18266         Remove functions.
18267         (rng-do-some-validation-1): Don't mark dependent regions.
18268         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
18269         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
18270         (nxml-clear-dependent-regions): Remove functions.
18271         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
18272         (nxml-ensure-scan-up-to-date):
18273         Don't clear&mark dependent regions.
18275 2013-05-15  Leo Liu  <sdl.web@gmail.com>
18277         * progmodes/octave.el (octave-goto-function-definition):
18278         Improve and fix callers.
18280 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18282         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
18283         the setter (bug#14387).
18285         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
18286         surrounding group (bug#14402).
18288 2013-05-14  Juri Linkov  <juri@jurta.org>
18290         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
18291         (Bug#14390)
18293 2013-05-14  Glenn Morris  <rgm@gnu.org>
18295         * progmodes/f90.el (f90-imenu-generic-expression):
18296         Fix typo in 2013-05-08 change.  (Bug#14402)
18298 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
18300         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
18301         Remove signals for which replies are never received.
18303 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
18305         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
18306         (gdb-handler-alist, gdb-handler-number): Remove variables.
18307         (gdb-handler-list): New variable.
18308         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
18309         (gdb-pending-handler-p, gdb-handle-reply)
18310         (gdb-remove-all-pending-triggers): New functions.
18311         (gdb-discard-unordered-replies): New defcustom.
18312         (gdb-handler): New defstruct.
18313         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
18314         instead of gdb-pending-triggers.  Update docstring.
18315         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
18316         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
18317         (gdb-var-update-handler, def-gdb-auto-update-trigger)
18318         (def-gdb-auto-update-handler, gdb-get-changed-registers)
18319         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
18320         (gdb-frame-handler): Pending triggers are now automatically managed.
18321         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
18322         Remove argument.
18323         (gdb-input): Automatically handles pending triggers.  Update docstring.
18324         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
18325         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
18326         Update comments.
18327         (gdb-done-or-error): Now use gdb-handle-reply.
18329 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
18331         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
18332         gdb-debug-log.
18334 2013-05-14  Glenn Morris  <rgm@gnu.org>
18336         * subr.el (user-emacs-directory-warning): New option.
18337         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
18339 2013-05-14  Leo Liu  <sdl.web@gmail.com>
18341         * progmodes/octave.el (octave-font-lock-keywords): Fix error
18342         during redisplay.
18343         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
18344         (octave-font-lock-texinfo-comment): Fix invalid search bound
18345         error: wrong side of point.
18347 2013-05-14  Glenn Morris  <rgm@gnu.org>
18349         * progmodes/flymake.el (flymake-xml-program): New option.
18350         (flymake-xml-init): Use it.
18352         * term/xterm.el: Provide a feature.
18354         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
18356 2013-05-13  Glenn Morris  <rgm@gnu.org>
18358         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
18359         Add compat aliases as a hack workaround.  (Bug#14384)
18361 2013-05-13  Leo Liu  <sdl.web@gmail.com>
18363         * progmodes/octave.el (octave-indent-comment): Fix indentation for
18364         ###, and %!.
18365         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
18366         C-M-q.
18367         (octave-comment-start-skip): Include %!.
18368         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
18370 2013-05-12  Leo Liu  <sdl.web@gmail.com>
18372         * progmodes/octave.el (inferior-octave-startup): Store the value
18373         of __octave_srcdir__ for octave-source-directories.
18374         (inferior-octave-check-process): New function refactored out of
18375         inferior-octave-send-list-and-digest.
18376         (octave-source-directories)
18377         (octave-find-definition-filename-function): New variables.
18378         (octave-source-directories)
18379         (octave-find-definition-default-filename): New functions.
18380         (octave-find-definition): Improve to find functions implemented in C++.
18382 2013-05-12  Glenn Morris  <rgm@gnu.org>
18384         * calendar/diary-lib.el (diary-outlook-format-1):
18385         Don't include dayname in the output.  (Bug#14349)
18387 2013-05-11  Glenn Morris  <rgm@gnu.org>
18389         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
18391         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
18392         Treat cc-provide like provide.
18394 2013-05-11  Kevin Ryde  <user42@zip.com.au>
18396         * cus-dep.el (custom-make-dependencies):
18397         Use generated-autoload-load-name for the sake of files such
18398         such cedet/semantic/bovine/c.el, where the base file name
18399         is not in load-path.  (Bug#5277)
18401 2013-05-11  Glenn Morris  <rgm@gnu.org>
18403         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
18404         Provide features.
18406 2013-05-11  Leo Liu  <sdl.web@gmail.com>
18408         * progmodes/octave.el (octave-indent-comment): Improve.
18409         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
18410         (octave-eldoc-function-signatures, octave-eldoc-function):
18411         New functions.
18412         (octave-mode, inferior-octave-mode): Add eldoc support.
18414 2013-05-11  Richard Stallman  <rms@gnu.org>
18416         * epa.el (epa-decrypt-file): Take output file name as argument
18417         and read it using `interactive'.
18419 2013-05-11  Leo Liu  <sdl.web@gmail.com>
18421         * progmodes/octave.el (octave-beginning-of-line)
18422         (octave-end-of-line): Check before using up-list because it jumps
18423         out of more syntactic contructs since moving to smie.
18424         (octave-indent-comment): New function.
18425         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
18426         (octave-begin-keywords, octave-end-keywords)
18427         (octave-reserved-words, octave-smie-bnf-table)
18428         (octave-smie-rules): Add new keywords from Octave 3.6.4.
18430 2013-05-11  Glenn Morris  <rgm@gnu.org>
18432         * faces.el (internal-face-x-get-resource):
18433         * frame.el (ns-display-monitor-attributes-list):
18434         * calc/calc-aent.el (math-to-radians-2):
18435         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
18436         Fix declarations.
18438         * calc/calc-menu.el: Make it loadable in isolation.
18440         * net/eudcb-bbdb.el: Make it loadable without bbdb.
18441         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
18442         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
18443         (eudc-bbdb-query-internal): Require 'bbdb.
18445         * lpr.el (lpr-headers-switches):
18446         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
18448         * progmodes/sql.el (sql-login-params): Fix and improve :type.
18450         * emulation/edt-mapper.el: In batch mode, error rather than hang.
18452         * term.el (term-set-escape-char): Make it idempotent.
18454 2013-05-10  Leo Liu  <sdl.web@gmail.com>
18456         * progmodes/octave.el (inferior-octave-completion-table):
18457         No longer a function and all uses changed.  Use cache to speed up
18458         completion due to bug#11906.
18459         (octave-beginning-of-defun): Re-write to be more general.
18461 2013-05-10  Glenn Morris  <rgm@gnu.org>
18463         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
18465 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
18467         * comint.el (comint-redirect-send-command-to-process): Use :around
18468         rather than :override for comint-redirect-filter.
18469         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
18470         Call it instead of comint-redirect-original-filter-function (which
18471         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
18473 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
18475         * frame.el (display-monitor-attributes-list): Add NS case.
18476         (ns-display-monitor-attributes-list): Declare.
18478 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
18480         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
18482 2013-05-09  Glenn Morris  <rgm@gnu.org>
18484         * international/fontset.el (vertical-centering-font-regexp):
18485         Set standard-value.
18487         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
18489         * bookmark.el (bookmark-search-delay):
18490         * cus-start.el (vertical-centering-font-regexp):
18491         * ps-mule.el (ps-mule-font-info-database-default):
18492         * ps-print.el (ps-default-fg, ps-default-bg):
18493         * type-break.el (type-break-good-break-interval):
18494         * whitespace.el (whitespace-indentation-regexp)
18495         (whitespace-space-after-tab-regexp):
18496         * emacs-lisp/testcover.el (testcover-1value-functions)
18497         (testcover-noreturn-functions, testcover-progn-functions)
18498         (testcover-prog1-functions):
18499         * emulation/viper-init.el (viper-emacs-state-cursor-color):
18500         * eshell/em-glob.el (eshell-glob-translate-alist):
18501         * play/tetris.el (tetris-tty-colors):
18502         * progmodes/cpp.el (cpp-face-default-list):
18503         * progmodes/flymake.el (flymake-allowed-file-name-masks):
18504         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
18505         (idlwave-help-browser-generic-args):
18506         * progmodes/make-mode.el (makefile-special-targets-list):
18507         * progmodes/python.el (python-shell-virtualenv-path):
18508         * progmodes/verilog-mode.el (verilog-active-low-regexp)
18509         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
18510         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
18511         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
18512         * textmodes/reftex-vars.el (reftex-format-label-function):
18513         * textmodes/remember.el (remember-diary-file): Fix custom types.
18515         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
18516         Add :version.
18518 2013-05-09  Leo Liu  <sdl.web@gmail.com>
18520         * progmodes/octave.el (inferior-octave-completion-at-point):
18521         Restore file completion.  (Bug#14300)
18522         (inferior-octave-startup): Fix incorrect highlighting for the
18523         first prompt.
18525 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18527         * progmodes/ruby-mode.el: First cut at SMIE support.
18528         (ruby-use-smie): New var.
18529         (ruby-smie-grammar): New constant.
18530         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
18531         (ruby-smie--forward-token, ruby-smie--backward-token)
18532         (ruby-smie-rules): New functions.
18533         (ruby-mode-variables): Setup SMIE if applicable.
18535 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
18537         * simple.el (line-move-visual): Signal beginning/end of buffer
18538         only if vertical-motion moved less than it was requested.  Avoids
18539         silly incorrect error messages when there are display strings with
18540         multiple newlines at EOL.
18542 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18544         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
18545         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
18546         (prolog-char-quote-workaround):
18547         * progmodes/cperl-mode.el (cperl-under-as-char):
18548         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
18549         Mark as obsolete.
18550         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
18551         their declaration.
18552         (vhdl-mode-syntax-table-init): Remove.
18554         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
18555         last change.
18557         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
18558         syntax for "_".
18559         (ld-script-font-lock-keywords):
18560         Change regexps to use things like \_< and \_>.
18562         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
18563         Change all regexps to use things like \_< and \_>.
18565         * progmodes/autoconf.el (autoconf-definition-regexp)
18566         (autoconf-font-lock-keywords, autoconf-current-defun-function):
18567         Handle a _ with symbol syntax.
18568         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
18570         * progmodes/ada-mode.el (ada-mode-abbrev-table):
18571         Consolidate declaration.
18572         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
18573         the declaration.
18574         (ada-create-syntax-table): Remove.
18575         (ada-capitalize-word): Don't mess with the syntax of "_" since it
18576         already has the right syntax nowadays.
18577         (ada-goto-next-word): Don't change the syntax of "_".
18579         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
18580         with-wrapper-hook.
18582 2013-05-08  Sam Steingold  <sds@gnu.org>
18584         * thingatpt.el (thing-at-point): Accept optional second argument
18585         NO-PROPERTIES to strip the text properties from the return value.
18586         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
18587         to `thing-at-point' instead of stripping the properties ourselves.
18588         Also, when `thing-at-point' fails to find a url, prepend "http://"
18589         to the filename at point on the assumption that the user is
18590         pointing at something like gnu.org/gnu.
18592 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
18594         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
18595         * faces.el (crm-separator):
18596         Silence byte-compiler.
18598         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
18599         (tool-bar-map): Remove unneeded defvars.
18601 2013-05-08  Leo Liu  <sdl.web@gmail.com>
18603         Re-work a fix for bug#10994 based on Le Wang's patch.
18604         * ido.el (ido-remove-consecutive-dups): New helper.
18605         (ido-completing-read): Use it.
18606         (ido-chop): Revert fix for bug#10994.
18608 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
18610         * cus-edit.el (custom-save-variables):
18611         Pretty-print long values.  (Bug#14187)
18613 2013-05-08  Glenn Morris  <rgm@gnu.org>
18615         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
18616         (m4-mode-syntax-table): Init in the defvar.
18617         (m4-mode-abbrev-table): Let define-derived-mode define it.
18619 2013-05-08  Tom Tromey  <tromey@redhat.com>
18621         * progmodes/m4-mode.el (m4-mode-syntax-table):
18622         Do not treat "_" as word constituent.  (Bug#14167)
18624 2013-05-07  Glenn Morris  <rgm@gnu.org>
18626         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
18627         Remove explicit eshell-isearch-cancel-map.
18629         * progmodes/f90.el (f90-smart-end-names): New option.
18630         (f90-smart-end): Doc fix.
18631         (f90-end-block-optional-name): New constant.
18632         (f90-block-match): Respect f90-smart-end-names.
18634 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18636         * progmodes/octave.el (octave-smie-forward-token): Be more careful
18637         about implicit semi-colons (bug#14218).
18639 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
18641         * frame.el (display-monitor-attributes-list)
18642         (frame-monitor-attributes): New functions.
18644 2013-05-06  Leo Liu  <sdl.web@gmail.com>
18646         * progmodes/octave.el (octave-syntax-propertize-function): Change
18647         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
18648         (octave-font-lock-keywords): Use octave-operator-regexp.
18649         (octave-completion-at-point): Rename from
18650         octave-completion-at-point-function.
18651         (inferior-octave-directory-tracker): Robustify.
18652         (octave-text-functions): Remove and fix its uses.  No such things
18653         any more.
18655 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18657         * emacs-lisp/trace.el (trace--display-buffer): New function.
18658         (trace-make-advice): Use it.
18660 2013-05-06  Juri Linkov  <juri@jurta.org>
18662         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
18663         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
18664         Doc fix.
18665         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
18666         in the help string.  (Bug#12985)
18668 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
18670         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
18672 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18674         * progmodes/perl-mode.el: Add support for here documents.
18675         (perl-syntax-propertize-function): Match here-doc markers.
18676         (perl-syntax-propertize-special-constructs): Find their end.
18677         (perl-imenu-generic-expression): Use [:alnum:].
18679         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
18680         (advice--add-function): Refresh the advice if already present
18681         (bug#14317).
18683 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
18685         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
18687 2013-05-06  Glenn Morris  <rgm@gnu.org>
18689         * w32-fns.el (w32-charset-info-alist): Declare.
18691         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
18692         of its defcustom properties.
18693         (eshell-cmpl-initialize): No need to load pcomplete.
18695         * generic-x.el: No need to require comint when compiling.
18697         * net/eudc-export.el: Make it loadable without bbdb.
18698         (top-level): Use require rather than load-library.
18699         (eudc-create-bbdb-record, eudc-bbdbify-phone)
18700         (eudc-batch-export-records-to-bbdb)
18701         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
18702         Require bbdb.
18704 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18706         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
18707         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
18708         some tweaks, instead.
18710 2013-05-05  Leo Liu  <sdl.web@gmail.com>
18712         * progmodes/octave.el (octave-font-lock-keywords)
18713         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
18714         (inferior-octave-send-list-and-digest): Improve error message.
18715         (octave-mode, inferior-octave-mode): Use setq-local.
18716         (octave-help): Set info-lookup-mode.
18718 2013-05-05  Richard Stallman  <rms@gnu.org>
18720         * vc/compare-w.el (compare-windows-whitespace):
18721         Treat no-break space as whitespace.
18723         * mail/rmailsum.el (rmail-summary-rmail-update):
18724         Detect empty summary and don't change selected message.
18725         (rmail-summary-goto-msg): Likewise.
18727         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
18728         Doc fixes, rename args.
18730 2013-05-05  Alan Mackenzie  <acm@muc.de>
18732         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
18734 2013-05-05  Juri Linkov  <juri@jurta.org>
18736         * info.el (Info-read-subfile): Use (point-min) instead of (point)
18737         to not add the length of the summary segment to the return value.
18738         (Bug#14125)
18740 2013-05-05  Leo Liu  <sdl.web@gmail.com>
18742         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
18743         (inferior-octave-output-filter): Remove.
18744         (octave-send-region, inferior-octave-startup): Fix callers.
18745         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
18746         (octave-binary-file-extensions): New user variable.
18747         (octave-find-definition): Confirm if opening binary files.
18748         (octave-help-file): Use octave-find-definition to get the binary
18749         confirmation.
18750         (octave-help): Adjust for octave-help-file change.
18752 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18754         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
18755         Merge the two entries that handle function definitions.
18756         (pascal--syntax-propertize): New const.
18757         (pascal-mode): Use it.  Use setq-local.
18759 2013-05-04  Glenn Morris  <rgm@gnu.org>
18761         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
18762         (diary-from-outlook): Respect diary-from-outlook-function.
18764 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18766         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
18767         Move the declaration from C.
18768         (read-minibuffer, eval-minibuffer): Move from C.
18769         (completion-setup-function): Avoid minibuffer-completion-contents.
18771 2013-05-03  Leo Liu  <sdl.web@gmail.com>
18773         * progmodes/octave.el (octave-font-lock-keywords): Do not
18774         dehighlight 'end' in comments or strings.
18775         (octave-completing-read, octave-goto-function-definition):
18776         New helpers.
18777         (octave-help-buffer): New user variable.
18778         (octave-help-file, octave-help-function): New button types.
18779         (octave-help): New command and bind it to C-h ;.
18780         (octave-find-definition): New command and bind it to M-.
18781         (user-error): Alias to error if not defined.
18783 2013-05-02  Leo Liu  <sdl.web@gmail.com>
18785         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
18786         for \.  (bug#14332)
18787         (octave-font-lock-keywords): Include [ and {.
18789 2013-05-02  Leo Liu  <sdl.web@gmail.com>
18791         * progmodes/octave.el (inferior-octave-startup-file): Change default.
18792         (inferior-octave): Remove calling comint-mode and return the buffer.
18793         (inferior-octave-startup): Cosmetic changes.
18795 2013-05-02  Leo Liu  <sdl.web@gmail.com>
18797         * progmodes/octave.el (octave-syntax-propertize-function):
18798         Include the case when ' is at line beginning.  (Bug#14336)
18800 2013-05-02  Glenn Morris  <rgm@gnu.org>
18802         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
18803         * desktop.el (vc-dir-mode): Just autoload it here.
18805 2013-05-02  Alan Mackenzie  <acm@muc.de>
18807         Eliminate variable c-standard-font-lock-fontify-region-function.
18808         * progmodes/cc-mode.el
18809         (c-standard-font-lock-fontify-region-function): Remove.
18810         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
18812 2013-05-01  Leo Liu  <sdl.web@gmail.com>
18814         * progmodes/octave.el: Compatible with older emacs-24 releases.
18815         (inferior-octave-has-built-in-variables): Remove.  Built-in
18816         variables were removed from Octave in 2007.
18817         (inferior-octave-startup): Fix uses.
18818         (comint-line-beginning-position): Remove compatibility code for
18819         emacs 21.
18821 2013-05-01  Juri Linkov  <juri@jurta.org>
18823         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
18825 2013-05-01  Juri Linkov  <juri@jurta.org>
18827         * comint.el (comint-previous-matching-input): Don't print message
18828         "History item: %d" when `isearch-mode' is active.
18829         (comint-history-isearch-message): Print message "History item: %d"
18830         when `comint-input-ring-index' is not empty and this function is
18831         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
18833 2013-05-01  Leo Liu  <sdl.web@gmail.com>
18835         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
18836         definitions.  Use completion-at-point to insert keywords.
18837         (octave-abbrev-start): Remove.
18838         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
18840 2013-04-30  Leo Liu  <sdl.web@gmail.com>
18842         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
18843         change.
18845 2013-04-30  Alan Mackenzie  <acm@muc.de>
18847         Handle arbitrarily long C++ member initialisation lists.
18848         * progmodes/cc-engine.el (c-back-over-member-initializers):
18849         new function.
18850         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
18851         (most) member init lists.
18853 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
18855         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
18856         variable.
18858 2013-04-30  Leo Liu  <sdl.web@gmail.com>
18860         * progmodes/octave.el (octave-variables): Remove.  No builtin
18861         variables any more.  All converted to functions.
18862         (octave-font-lock-keywords, octave-completion-at-point-function):
18863         Fix uses.
18864         (octave-font-lock-texinfo-comment): New user variable.
18865         (octave-texinfo-font-lock-keywords): New variable for texinfo
18866         comment block.
18867         (octave-function-comment-block): New face.
18868         (octave-font-lock-texinfo-comment): New function.
18869         (octave-mode): Font lock texinfo comment block.
18871 2013-04-29  Leo Liu  <sdl.web@gmail.com>
18873         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
18874         indexing expression.
18875         (octave-continuation-string): Do not use \.
18876         (inferior-octave-complete-impossible): Remove.
18877         (inferior-octave-completion-table)
18878         (inferior-octave-completion-at-point): Remove its uses.
18879         (inferior-octave-startup): completion_matches was introduced to
18880         Octave in 1996 so safe to assume it.
18881         (octave-function-file-comment): Improve to follow how Octave does it.
18882         (octave-update-function-file-comment): Tweak.
18884 2013-04-29  Leo Liu  <sdl.web@gmail.com>
18886         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
18887         (inferior-octave-startup): Remove inferior-octave-startup-hook.
18888         (octave-function-file-comment): Fix typo.
18889         (octave-sync-function-file-names): Use read-char-choice.
18891 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
18893         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
18894         to t for the less important warnings.
18896 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
18898         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
18900 2013-04-27  Glenn Morris  <rgm@gnu.org>
18902         * vc/log-view.el (log-view-current-entry):
18903         Treat "---" separator lines as part of the following rev.  (Bug#14169)
18905 2013-04-27  Juri Linkov  <juri@jurta.org>
18907         * subr.el (read-number): Doc fix about using it by interactive
18908         code letter `n'.  (Bug#14254)
18910 2013-04-27  Juri Linkov  <juri@jurta.org>
18912         * desktop.el (desktop-auto-save-timeout): New option.
18913         (desktop-file-checksum): New variable.
18914         (desktop-save): Add optional arg `auto-save' and don't auto-save
18915         if nothing changed.
18916         (desktop-auto-save-timer): New variable.
18917         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
18918         (after-init-hook): Call `desktop-auto-save-set-timer'.
18919         Suggested by Reuben Thomas <rrt@sc3d.org> in
18920         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
18922 2013-04-27  Leo Liu  <sdl.web@gmail.com>
18924         * progmodes/octave.el (octave-function-file-p)
18925         (octave-skip-comment-forward, octave-function-file-comment)
18926         (octave-update-function-file-comment): New functions.
18927         (octave-mode-map): Bind C-c ; to
18928         octave-update-function-file-comment.
18929         (octave-mode-menu): Add octave-update-function-file-comment.
18930         (octave-mode, inferior-octave-mode): Fix doc-string.
18931         (octave-insert-defun): Conform to Octave's coding convention.
18932         (Bug#14285)
18934         * files.el (basic-save-buffer): Don't let errors in
18935         before-save-hook prevent saving buffer.
18937 2013-04-20  Roland Winkler  <winkler@gnu.org>
18939         * faces.el (read-face-name): Use completing-read if arg multiple
18940         is nil.
18942 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
18944         * ls-lisp.el (ls-lisp-insert-directory): If no files are
18945         displayed, move point to after the totals line.
18946         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
18947         for the details.
18949 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18951         * emacs-lisp/package.el (package-autoload-ensure-default-file):
18952         Add current dir to the load-path.
18953         (package-generate-autoloads): Don't rely on
18954         autoload-ensure-default-file.
18956 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
18958         * textmodes/remember.el (remember-store-in-files): Document that
18959         the file name format is passed to `format-time-string'.
18961 2013-04-26  Leo Liu  <sdl.web@gmail.com>
18963         * progmodes/octave.el (octave-sync-function-file-names): New function.
18964         (octave-mode): Use it in before-save-hook.
18966 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18968         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
18969         (bug#14274).
18971         * progmodes/octave.el (octave-smie-forward-token): Properly skip
18972         \n and comment, even if it's not an implicit ; (bug#14218).
18974 2013-04-26  Glenn Morris  <rgm@gnu.org>
18976         * subr.el (read-number): Once more use `read' rather than
18977         `string-to-number', to trap non-numeric input.  (Bug#14254)
18979 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
18981         * emacs-lisp/syntax.el (syntax-propertize-multiline):
18982         Use `syntax-multiline' text property consistently instead of
18983         `font-lock-multiline'.  (Bug#14237)
18985 2013-04-26  Glenn Morris  <rgm@gnu.org>
18987         * emacs-lisp/shadow.el (list-load-path-shadows):
18988         No longer necessary to check for duplicate simple.el, since
18989         2012-07-07 change to init_lread to not include installation lisp
18990         directories in load-path when running uninstalled.  (Bug#14270)
18992 2013-04-26  Leo Liu  <sdl.web@gmail.com>
18994         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
18995         (octave-mode, inferior-octave-mode): Use setq-local.
18996         (octave-not-in-string-or-comment-p): Rename to
18997         octave-in-string-or-comment-p.
18998         (octave-in-comment-p, octave-in-string-p)
18999         (octave-in-string-or-comment-p): Replace defsubst with defun.
19001 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
19003         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
19005 2013-04-25  Bastien Guerry  <bzg@gnu.org>
19007         * textmodes/remember.el (remember-data-directory)
19008         (remember-directory-file-name-format): Fix custom types.
19010 2013-04-25  Leo Liu  <sdl.web@gmail.com>
19012         * progmodes/octave.el (octave-completion-at-point-function):
19013         Make use of inferior octave process.
19014         (octave-initialize-completions): Remove.
19015         (inferior-octave-completion-table): New function.
19016         (inferior-octave-completion-at-point): Use it.
19017         (octave-completion-alist): Remove.
19019 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19021         * progmodes/opascal.el: Use font-lock and syntax-propertize.
19022         (opascal-mode-syntax-table): New var.
19023         (opascal-literal-kind, opascal-is-literal-end)
19024         (opascal-literal-token-at): Rewrite.
19025         (opascal--literal-start-re, opascal-font-lock-keywords)
19026         (opascal--syntax-propertize): New constants.
19027         (opascal-font-lock-defaults): Adjust.
19028         (opascal-mode): Use them.  Set comment-<foo> variables as well.
19029         (delphi-comment-face, opascal-comment-face, delphi-string-face)
19030         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
19031         (delphi-other-face, opascal-other-face): Remove face variables.
19032         (opascal-save-state): Remove macro.
19033         (opascal-fontifying-progress-step): Remove constant.
19034         (opascal--ignore-changes): Remove var.
19035         (opascal-set-token-property, opascal-parse-next-literal)
19036         (opascal-is-stable-literal, opascal-complete-literal)
19037         (opascal-is-literal-start, opascal-face-of)
19038         (opascal-parse-region, opascal-parse-region-until-stable)
19039         (opascal-fontify-region, opascal-after-change)
19040         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
19041         (opascal-debug-parse-region, opascal-debug-parse-window)
19042         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
19043         (opascal-debug-fontify-buffer): Remove.
19044         (opascal-debug-mode-map): Adjust accordingly.
19046 2013-04-25  Leo Liu  <sdl.web@gmail.com>
19048         Merge octave-mod.el and octave-inf.el into octave.el with some
19049         cleanups.
19050         * progmodes/octave.el: New file renamed from octave-mod.el.
19051         * progmodes/octave-inf.el: Merged into octave.el.
19052         * progmodes/octave-mod.el: Renamed to octave.el.
19054 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
19056         * textmodes/reftex-vars.el
19057         (reftex-label-ignored-macros-and-environments): New defcustom.
19059         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
19061 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19063         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
19064         (smie-indent-keyword): Improve the check to ensure that the next
19065         comment is really on the same line.
19066         (smie-indent-comment): Don't align with a subsequent closer (or eob).
19068         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
19069         semi-colons if the line is not otherwise empty (bug#14218).
19071 2013-04-25  Glenn Morris  <rgm@gnu.org>
19073         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
19075 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19077         * progmodes/opascal.el (opascal-set-token-property): Rename from
19078         opascal-set-text-properties and only set `token' (bug#14134).
19079         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
19080         (opascal-literal-text-properties): Remove.
19081         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
19082         Adjust callers.
19084 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
19086         * textmodes/remember.el (remember-handler-functions): Add an
19087         option for a new handler `remember-store-in-files'.
19088         (remember-data-directory, remember-directory-file-name-format):
19089         New options.
19090         (remember-store-in-files): New function to store remember notes
19091         as separate files within a directory.
19093 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
19095         * progmodes/compile.el (compilation-next-error-function):
19096         Pass "formats" to compilation-find-file (bug#11777).
19098 2013-04-24  Glenn Morris  <rgm@gnu.org>
19100         * vc/vc-bzr.el (vc-bzr-print-log):
19101         * vc/vc-hg.el (vc-hg-print-log):
19102         * vc/vc-svn.el (vc-svn-print-log):
19103         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
19105         * vc/vc-bzr.el (vc-bzr-print-log):
19106         * vc/vc-cvs.el (vc-cvs-print-log):
19107         * vc/vc-git.el (vc-git-print-log):
19108         * vc/vc-hg.el (vc-hg-print-log):
19109         * vc/vc-mtn.el (vc-mtn-print-log):
19110         * vc/vc-rcs.el (vc-rcs-print-log):
19111         * vc/vc-sccs.el (vc-sccs-print-log):
19112         * vc/vc-svn.el (vc-svn-print-log):
19113         * vc/vc.el (vc-print-log-internal): Doc fixes.
19115 2013-04-23  Glenn Morris  <rgm@gnu.org>
19117         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
19118         Remove venerable code attempting to avoid substitute-command-keys.
19120 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
19122         * textmodes/reftex-vars.el (reftex-label-regexps):
19123         Call `reftex-compile-variables' after changes to this variable.
19125 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19127         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
19128         Use lexical-binding.
19129         (jit-lock-force-redisplay): Use markers, check buffer's continued
19130         existence and beware narrowed buffers.
19131         (jit-lock-fontify-now): Adjust call accordingly.
19133 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19135         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
19136         to avoid misleading the user.
19138 2013-04-22  Leo Liu  <sdl.web@gmail.com>
19140         * info-look.el: Prefer latex2e.info.  (Bug#14240)
19142 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
19144         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
19146         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
19147         * net/tramp.el (tramp-call-process): ... here.
19148         (tramp-set-completion-function, tramp-parse-putty):
19149         * net/tramp-adb.el (tramp-adb-execute-adb-command):
19150         * net/tramp-gvfs.el (tramp-gvfs-send-command):
19151         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
19152         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
19153         (tramp-call-local-coding-command): Use `tramp-call-process'
19154         instead of `tramp-compat-call-process'.
19156         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
19157         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
19158         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
19159         (tramp-find-inline-compress): Improve traces.
19160         (tramp-maybe-send-script): Check for Perl binary.
19161         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
19163 2013-04-22  Daiki Ueno  <ueno@gnu.org>
19165         * epg.el (epg-context-pinentry-mode): New function.
19166         (epg-context-set-pinentry-mode): New function.
19167         (epg--start): Pass --pinentry-mode option to gpg command.
19169 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
19171         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
19172         `comint-dynamic-complete' is obsolete since 24.1, replaced by
19173         `completion-at-point'.  (Bug#13774)
19175         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
19176         default key binding for `describe-distribution' has been moved to
19177         `C-h C-o'.  (Bug#13970)
19179 2013-04-21  Glenn Morris  <rgm@gnu.org>
19181         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
19182         Add doc strings.
19183         (vc-print-log): Clarify interactive prompt.
19185 2013-04-20  Glenn Morris  <rgm@gnu.org>
19187         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
19188         No longer include timestamp etc information.
19190 2013-04-20  Roland Winkler  <winkler@gnu.org>
19192         * faces.el (read-face-name): Bug fix, return just one face if arg
19193         multiple is nil.  (Bug#14209)
19195 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19197         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
19198         (remove-function): Autoload.
19200         * comint.el (comint-redirect-original-filter-function): Remove.
19201         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
19202         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
19203         (vc-cvs-annotate-command):
19204         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
19205         * progmodes/prolog.el (prolog-consult-compile):
19206         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
19207         Use add/remove-function instead.
19208         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
19209         (gud-tooltip-process-output, gud-tooltip-tips):
19210         Use add/remove-function instead.
19211         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
19212         (scheme-interaction-mode, exit-scheme-interaction-mode):
19213         Use add/remove-function instead.
19215         * vc/vc-dispatcher.el: Use lexical-binding.
19216         (vc--process-sentinel): Rename from vc-process-sentinel.
19217         Change last arg to be the code to run.  Don't use vc-previous-sentinel
19218         and vc-sentinel-commands any more.
19219         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
19220         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
19222 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
19224         * progmodes/sh-script.el (sh-imenu-generic-expression):
19225         Handle function names with a single character.  (Bug#14111)
19227 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
19229         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
19230         for subroutines defined in an eval (bug#14182).
19232 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
19234         * bookmark.el (bookmark-completing-read): Improve handling of empty
19235         string (bug#14176).
19237 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19239         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
19241 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
19243         New faster Imenu implementation (bug#14058).
19244         * progmodes/python.el (python-imenu-prev-index-position)
19245         (python-imenu-format-item-label-function)
19246         (python-imenu-format-parent-item-label-function)
19247         (python-imenu-format-parent-item-jump-label-function):
19248         New vars.
19249         (python-imenu-format-item-label)
19250         (python-imenu-format-parent-item-label)
19251         (python-imenu-format-parent-item-jump-label)
19252         (python-imenu--put-parent, python-imenu--build-tree)
19253         (python-imenu-create-index, python-imenu-create-flat-index)
19254         (python-util-popn): New functions.
19255         (python-mode): Set imenu-create-index-function to
19256         python-imenu-create-index.
19258 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19260         * winner.el (winner-active-region): Use region-active-p, activate-mark
19261         and deactivate-mark (bug#14225).
19263         * simple.el (deactivate-mark): Don't inline it.
19265 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
19267         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
19269 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
19271         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
19272         file extensions from the archive-mode entry in order to prefer
19273         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
19275 2013-04-18  Leo Liu  <sdl.web@gmail.com>
19277         * bindings.el (help-event-list): Add ?\?.
19279 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19281         * subr.el (with-wrapper-hook): Declare obsolete.
19282         * simple.el (filter-buffer-substring-function): New hook.
19283         (filter-buffer-substring): Use it.
19284         (filter-buffer-substring-functions): Mark obsolete.
19285         * minibuffer.el (completion-in-region-function): New hook.
19286         (completion-in-region): Use it.
19287         (completion-in-region-functions): Mark obsolete.
19288         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
19289         * abbrev.el (abbrev-expand-function): New hook.
19290         (expand-abbrev): Use it.
19291         (abbrev-expand-functions): Mark obsolete.
19292         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
19293         and :filter-return.
19295 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
19297         * progmodes/python.el (python-nav--syntactically): Fix cornercases
19298         and do not care about match data.
19300 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19302         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
19303         completion tables when completing error conditions and
19304         `declare' arguments.
19305         (lisp-complete-symbol, field-complete): Mark as obsolete.
19306         (check-parens): Unmatched parens are user errors.
19307         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
19309 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
19311         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
19312         command changed buffer (ie. `flyspell-pre-buffer' is not current
19313         buffer), which prevents making decisions based on invalid value of
19314         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
19315         cause an error when `flyspell-pre-point' was nil after switching
19316         buffers.
19317         (flyspell-post-command-hook): No longer needs to change buffers when
19318         checking pre-word.  While at it remove unnecessary progn.
19320 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
19322         * textmodes/ispell.el (ispell-add-per-file-word-list):
19323         Fix `flyspell-correct-word-before-point' error when accepting
19324         words and `coment-padding' is an integer by using
19325         `comment-normalize-vars' (Bug #14214).
19327 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
19329         New defun movement commands.
19330         * progmodes/python.el (python-nav--syntactically)
19331         (python-nav--forward-defun, python-nav-backward-defun)
19332         (python-nav-forward-defun): New functions.
19334 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
19336         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
19337         (python-syntax-context): Use named compiler-macro for backwards
19338         compatibility with Emacs 24.x.
19340 2013-04-17  Leo Liu  <sdl.web@gmail.com>
19342         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
19343         octave-hide-process-buffer.
19345 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19347         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
19348         (bug#14216).
19350 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
19352         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
19353         Fix adjustment of offset when receiving incomplete responses from GDB
19354         (bug#14129).
19356 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19358         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
19359         python-mode-abbrev-table.
19360         (python-skeleton-define): Adjust accordingly.
19361         (python-mode-abbrev-table): New table that inherits from it so that
19362         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
19364         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
19365         (abbrev-symbol): Use it.
19366         (abbrev--before-point): Use it since we already handle inheritance.
19368 2013-04-16  Leo Liu  <sdl.web@gmail.com>
19370         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
19371         binding to info-lookup-symbol.
19373 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
19375         * minibuffer.el (completion--twq-all):
19376         * term/ns-win.el (ns-initialize-window-system):
19377         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
19379 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19381         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
19382         global bindings.
19384         * doc-view.el (doc-view-start-process): Handle url-handler directories.
19386 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
19388         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
19389         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
19390         to nil.
19391         (ruby-end-of-defun): Remove the unused arg, change the docstring
19392         to reflect that this function is only used as the value of
19393         `end-of-defun-function'.
19394         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
19395         to reflect an earlier change that beginning/end-of-defun functions
19396         jump between methods in a class definition, as well as top-level
19397         functions.
19399 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19401         * minibuffer.el (minibuffer-complete): Don't just scroll
19402         a *Completions* that's been iconified.
19403         (minibuffer-force-complete): Make sure repetitions do cycle when going
19404         through completion-in-region -> minibuffer-complete.
19406 2013-04-15  Alan Mackenzie  <acm@muc.de>
19408         Correct the placement of c-cpp-delimiters when there're #s not at
19409         col 0.
19411         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
19412         place a submatch around the #.
19413         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
19414         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
19415         on the #, not BOL.
19417 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19419         * emacs-lisp/nadvice.el: Properly test names when adding advice.
19420         (advice--member-p): New arg `name'.
19421         (advice--add-function, advice-member-p): Use it (bug#14202).
19423 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
19425         Reformulate java imenu-generic-expression.
19426         The old expression contained ill formed regexps.
19428         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
19429         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
19430         (cc-imenu-java-method-arg-regexp): New defconsts.
19431         (cc-imenu-java-build-type-args-regex): New defun.
19432         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
19433         handling of spaces in the regexp.
19435 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
19437         * textmodes/ispell.el (ispell-command-loop): Remove
19438         flyspell highlight of a word when ispell accepts it (bug #14178).
19440 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
19442         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
19443         uses code from the previous `ange-ftp-run-real-handler'.
19444         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
19445         only in case that function exist.  This is needed for proper
19446         unloading of Tramp.
19448 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
19450         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
19452         * textmodes/reftex.el (reftex-compile-variables): Use it.
19454 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19456         * files.el (normal-mode): Only use default major-mode if no other mode
19457         was specified.
19459         * emacs-lisp/trace.el (trace-values): New function.
19461         * files.el: Allow : in local variables (bug#14089).
19462         (hack-local-variable-regexp): New var.
19463         (hack-local-variables-prop-line, hack-local-variables): Use it.
19465 2013-04-13  Roland Winkler  <winkler@gnu.org>
19467         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
19468         data before it gets modified by bibtex-beginning-of-entry.
19470 2013-04-13  Roland Winkler  <winkler@gnu.org>
19472         * textmodes/bibtex.el (bibtex-url): Doc fix.
19474 2013-04-13  Roland Winkler  <winkler@gnu.org>
19476         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
19477         does not visit a BibTeX file, exclude it from the list of buffers
19478         returned by bibtex-initialize.
19480 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
19482         * window.el (split-window): Remove interactive form, since as a
19483         command this function is a special case of split-window-below.
19484         Correct doc string.
19486 2013-04-12  Roland Winkler  <winkler@gnu.org>
19488         * faces.el (read-face-name): Do not override value of arg default.
19489         Allow single faces and strings as default values.  Remove those
19490         elements from return value that are not faces.
19491         (describe-face): Simplify.
19492         (face-at-point): New optional args thing and multiple so that this
19493         function can provide the same functionality previously provided by
19494         read-face-name.
19495         (make-face-bold, make-face-unbold, make-face-italic)
19496         (make-face-unitalic, make-face-bold-italic, invert-face)
19497         (modify-face, read-face-and-attribute): Use face-at-point.
19499         * cus-edit.el (customize-face, customize-face-other-window)
19500         * cus-theme.el (custom-theme-add-face)
19501         * face-remap.el (buffer-face-set)
19502         * facemenu.el (facemenu-set-face): Use face-at-point.
19504 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
19506         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
19508 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
19510         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
19511         off leading { and trailing } from field values.
19513 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19515         * emacs-lisp/timer.el (timer--check): New function.
19516         (timer--time, timer-set-function, timer-event-handler): Use it.
19517         (timer-set-idle-time): Simplify.
19518         (timer--activate): CSE.
19519         (timer-event-handler): Give more info in error message.
19520         (internal-timer-start-idle): New function, moved from C.
19522         * mpc.el (mpc-proc): Add `restart' argument.
19523         (mpc-proc-cmd): Use it.
19524         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
19525         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
19526         less often.
19528 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
19530         * progmodes/sh-script.el: Implement `sh-mode' own
19531         `add-log-current-defun-function' (bug#14112).
19532         (sh-current-defun-name): New function.
19533         (sh-mode): Use the function.
19535 2013-04-09  Bastien Guerry  <bzg@gnu.org>
19537         * simple.el (choose-completion-string): Fix docstring (bug#14163).
19539 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19541         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
19543         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
19544         timer (bug#14156).
19546 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
19548         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
19549         declaration.
19551 2013-04-07  Leo Liu  <sdl.web@gmail.com>
19553         * pcmpl-x.el: New file.
19555 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
19557         Do not set x-display-name until X connection is established.
19558         This is needed to prevent from weird situation described at
19559         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
19560         * frame.el (make-frame): Set x-display-name after call to
19561         window system initialization function, not before.
19562         * term/x-win.el (x-initialize-window-system): Add optional
19563         display argument and use it.
19564         * term/w32-win.el (w32-initialize-window-system):
19565         * term/ns-win.el (ns-initialize-window-system):
19566         * term/pc-win.el (msdos-initialize-window-system):
19567         Add compatible optional display argument.
19569 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
19571         * files.el (normal-backup-enable-predicate): On MS-Windows and
19572         MS-DOS compare truenames of temporary-file-directory and of the
19573         file, so that 8+3 aliases (usually found in $TEMP on Windows)
19574         don't fail comparison by compare-strings.  Also, compare file
19575         names case-insensitively on MS-Windows and MS-DOS.
19577 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19579         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
19580         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
19582 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
19584         * whitespace.el (whitespace-color-on, whitespace-color-off):
19585         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
19587 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
19589         * ispell.el (ispell-set-spellchecker-params):
19590         Really set `ispell-args' for all equivs.
19592 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19594         * ido.el (ido-completions): Use extra elements of ido-decorations
19595         (bug#14143).
19596         (ido-decorations): Update docstring.
19598 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
19600         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19601         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
19602         nil during initialization, in order not to miss changes since the
19603         file was opened.  (Bug#14140)
19605 2013-04-05  Leo Liu  <sdl.web@gmail.com>
19607         * kmacro.el (kmacro-call-macro): Fix bug#14135.
19609 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
19611         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
19613 2013-04-04  Glenn Morris  <rgm@gnu.org>
19615         * electric.el (electric-pair-inhibit-predicate): Add :version.
19617 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19619         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
19620         when a package is required several times (bug#14082).
19622 2013-04-04  Roland Winkler  <winkler@gnu.org>
19624         * faces.el (read-face-name): Behave as promised by the docstring.
19625         Assume that arg default is a list of faces.
19626         (describe-face): Call read-face-name with list of default faces.
19628 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
19630         * bookmark.el: Fix deletion of bookmarks (bug#13972).
19631         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
19632         (bookmark-bmenu-execute-deletions): Only skip first line if it's
19633         the header.
19634         (bookmark-exit-hook-internal): Save even if list is empty.
19636 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
19638         * emacs-lisp/package.el (package-pinned-packages): New var.
19639         (package--add-to-archive-contents): Obey it (bug#14118).
19641 2013-04-03  Alan Mackenzie  <acm@muc.de>
19643         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
19644         Also adapt to the new values of element 7 of a parse state.
19646         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
19647         parameter `not-in-delimiter'.  Handle being inside comment opener.
19648         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
19649         character in case we're typing a '*' after a '/'.
19650         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
19651         instead by passing the parameter to c-state-pp-to-literal.
19653         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
19654         for elt. 7 of a parse state.
19656 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
19658         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
19659         * international/latin1-disp.el, international/mule-util.el:
19660         * language/cyril-util.el, language/european.el, language/ind-util.el:
19661         * language/lao-util.el, language/thai.el, language/tibet-util.el:
19662         * language/tibetan.el, language/viet-util.el:
19663         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
19665 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19667         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
19668         (electric-pair-post-self-insert-function): Use it.
19669         (electric-pair-default-inhibit): New function, extracted from
19670         electric-pair-post-self-insert-function.
19672 2013-03-31  Roland Winkler  <winkler@gnu.org>
19674         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
19676 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19678         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
19680 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
19682         Un-indent after "pass" and "return" statements (Bug#13888)
19683         * progmodes/python.el (python-indent-block-enders): New var.
19684         (python-indent-calculate-indentation): Use it.
19686 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
19688         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
19689         defun.  Defining it as defalias could introduce too eager
19690         byte-compiler optimization.  (Bug#14030)
19692 2013-03-30  Chong Yidong  <cyd@gnu.org>
19694         * iswitchb.el (iswitchb-read-buffer): Fix typo.
19696 2013-03-30  Leo Liu  <sdl.web@gmail.com>
19698         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
19699         (kmacro-execute-from-register): Pass the keyboard macro to
19700         kmacro-call-macro or repeating won't work correctly.
19702 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
19704         * progmodes/subword.el: Back to using `forward-symbol'.
19706         * subr.el (forward-whitespace, forward-symbol)
19707         (forward-same-syntax): Move from thingatpt.el.
19709 2013-03-29  Leo Liu  <sdl.web@gmail.com>
19711         * kmacro.el (kmacro-to-register): New command.
19712         (kmacro-execute-from-register): New function.
19713         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
19715 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19717         * mpc.el: Use defvar-local and setq-local.
19718         (mpc--proc-connect): Connection failures are not bugs.
19719         (mpc-mode-map): `follow-link' only applies to the buffer's content.
19720         (mpc-volume-map): Bind to the up-events.
19722 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
19724         * progmodes/subword.el (superword-mode): Use `forward-sexp'
19725         instead of `forward-symbol'.
19727 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19729         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
19730         (edebug--recursive-edit): Use it.
19731         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
19732         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
19734 2013-03-28  Leo Liu  <sdl.web@gmail.com>
19736         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
19738 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
19740         * facemenu.el (list-colors-callback): New defvar.
19741         (list-colors-redisplay): New function.
19742         (list-colors-display): Install list-colors-redisplay as the
19743         revert-buffer-function.  (Bug#14063)
19745 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19747         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
19748         and suffixes don't overlap (bug#14061).
19750         * case-table.el: Use lexical-binding.
19751         (case-table-get-table): New function.
19752         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
19754 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
19756         * progmodes/subword.el: Add `superword-mode' to do word motion
19757         over symbol_words (parallels and leverages `subword-mode' which
19758         does word motion inside MixedCaseWords).
19760 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
19762         * eshell/em-unix.el: Move su and sudo to...
19763         * eshell/em-tramp.el: ...Eshell tramp module.
19765 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19767         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
19768         Change return value to be a sexp.  Delay `get-buffer' to after
19769         restoring the desktop (bug#13951).
19771 2013-03-26  Leo Liu  <sdl.web@gmail.com>
19773         * register.el: Move semantic tag handling back to
19774         cedet/semantic/senator.el.  (Bug#14052)
19776 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19778         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
19779         into the prompt either (bug#13963).
19781 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19783         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
19784         part of "(error-foo)".
19786 2013-03-24  Juri Linkov  <juri@jurta.org>
19788         * replace.el (list-matching-lines-prefix-face): New defcustom.
19789         (occur-1): Pass `list-matching-lines-prefix-face' to the function
19790         `occur-engine' if `face-differs-from-default-p' returns t.
19791         (occur-engine): Add `,' inside backquote construct to evaluate
19792         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
19793         Pass `prefix-face' to the functions `occur-context-lines' and
19794         `occur-engine-add-prefix'.
19795         (occur-engine-add-prefix, occur-context-lines): Add optional arg
19796         `prefix-face' and propertize the prefix with `prefix-face'.
19797         (Bug#14017)
19799 2013-03-24  Leo Liu  <sdl.web@gmail.com>
19801         * nxml/rng-valid.el (rng-validate-while-idle)
19802         (rng-validate-quick-while-idle): Guard against deleted buffer.
19803         (Bug#13999)
19805         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
19806         is the last entry in kill-buffer-hook.
19808         * files.el (kill-buffer-hook): Doc fix.
19810 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
19812         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
19813         Make it safe-local.
19815         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
19817 2013-03-23  Leo Liu  <sdl.web@gmail.com>
19819         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
19820         Remove.
19822         * nxml/rng-valid.el (rng-validate-mode)
19823         (rng-after-change-function, rng-do-some-validation):
19824         * nxml/rng-maint.el (rng-validate-buffer):
19825         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
19826         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
19827         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
19828         (nxml-extend-after-change-region): Use with-silent-modifications.
19830         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
19831         timer-idle-list.
19833         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
19834         (rng-next-error-1, rng-previous-error-1): Do not let-bind
19835         timer-idle-list.  (Bug#13999)
19837 2013-03-23  Juri Linkov  <juri@jurta.org>
19839         * info.el (info-index-match): New face.
19840         (Info-index, Info-apropos-matches): Add a nested subgroup to the
19841         main pattern and add text properties with the new face to matches
19842         in index entries relative to the beginning of the index entry.
19843         (Bug#14015)
19845 2013-03-21  Eric Ludlam  <zappo@gnu.org>
19847         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
19848         Inhibit read only while inserting objects.
19850 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
19852         * progmodes/cfengine.el: Update docs to mention
19853         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
19854         symbol motion.  Remove "_" from the word syntax.
19856 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
19858         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
19859         syntax for both `cfengine2-mode' and `cfengine3-mode'.
19861 2013-03-20  Juri Linkov  <juri@jurta.org>
19863         * info.el (Info-next-reference-or-link)
19864         (Info-prev-reference-or-link): New functions.
19865         (Info-next-reference, Info-prev-reference): Use them.
19866         (Info-try-follow-nearest-node): Handle footnote navigation.
19867         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
19869 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19871         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
19872         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
19874 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
19876         Suppress unnecessary non-ASCII chatter during build process.
19877         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
19878         (batch-skkdic-convert): Suppress most of the chatter.
19879         It's not needed so much now that machines are faster,
19880         and its non-ASCII component was confusing; see Dmitry Gutov in
19881         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
19883 2013-03-20  Leo Liu  <sdl.web@gmail.com>
19885         * ido.el (ido-chop): Fix bug#10994.
19887 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
19889         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
19890         Remove vars.
19891         (whitespace-color-on, whitespace-color-off):
19892         Use `font-lock-fontify-buffer' (Bug#13817).
19894 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19896         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
19897         remapping in mode-line.
19898         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
19900 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
19902         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
19903         value for `whitespace-line' face (Bug#13875).
19904         (whitespace-font-lock-keywords): Change description.
19905         (whitespace-color-on): Don't save `font-lock-keywords' value, save
19906         the constructed keywords instead.
19907         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
19909 2013-03-19  Leo Liu  <sdl.web@gmail.com>
19911         * progmodes/compile.el (compilation-display-error): New command.
19912         (compilation-mode-map, compilation-minor-mode-map): Bind it to
19913         C-o.  (Bug#13992)
19915 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
19917         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
19919 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
19921         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
19923 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
19925         * net/tramp-compat.el (tramp-compat-user-error): New defun.
19927         * net/tramp-adb.el (tramp-adb-handle-shell-command):
19928         * net/tramp-gvfs.el (top):
19929         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
19930         (tramp-handle-shell-command): Use it.
19931         (tramp-dissect-file-name): Raise an error when hostname is a
19932         method name, and neither method nor user is specified.
19934         * net/trampver.el: Update release number.
19936 2013-03-18  Leo Liu  <sdl.web@gmail.com>
19938         Make sure eldoc can be turned off properly.
19939         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
19940         eldoc-mode.
19941         (eldoc-display-message-p): Revert last change.
19942         (eldoc-display-message-no-interference-p)
19943         (eldoc-print-current-symbol-info): Tweak.
19945 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
19947         * doc-view.el (doc-view-new-window-function): Check the new window
19948         overlay's display property instead the char property of the
19949         buffer's first char.  Use `with-selected-window' instead of
19950         `save-window-excursion' with `select-window'.
19951         (doc-view-document->bitmap): Check the current doc-view overlay's
19952         display property instead the char property of the buffer's first char.
19954 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
19956         Automate the build of ja-dic.el (Bug#13984).
19957         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
19958         from the input, rather than assume that it's been done for us by the
19959         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
19960         the current date into a ja-dic.el comment, as that complicates
19961         regression testing.
19963 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19965         * whitespace.el: Fix double evaluation.
19966         (whitespace-space, whitespace-hspace, whitespace-tab)
19967         (whitespace-newline, whitespace-trailing, whitespace-line)
19968         (whitespace-space-before-tab, whitespace-indentation)
19969         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
19970         obsolete defvars.
19971         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
19972         (whitespace-color-on): Use a single font-lock-add-keywords call.
19973         Fix double-evaluation of face variables.
19975 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
19977         * net/tramp-adb.el (tramp-adb-parse-device-names):
19978         Use `start-process' instead of `call-process'.  Otherwise, the
19979         function might be blocked under MS Windows.  (Bug#13299)
19981 2013-03-17  Leo Liu  <sdl.web@gmail.com>
19983         Extend eldoc to display info in the mode-line.  (Bug#13978)
19984         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
19985         (eldoc-mode-line-string): New variable.
19986         (eldoc-minibuffer-message): New function.
19987         (eldoc-message-function): New variable.
19988         (eldoc-message): Use it.
19989         (eldoc-display-message-p)
19990         (eldoc-display-message-no-interference-p):
19991         Support eldoc-post-insert-mode.
19993         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
19994         (eval-expression): Run it.
19996 2013-03-17  Roland Winkler  <winkler@gnu.org>
19998         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
19999         strings in the list of return values.
20001 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
20003         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
20004         radix before checking for HMS forms.
20006 2013-03-16  Leo Liu  <sdl.web@gmail.com>
20008         * progmodes/scheme.el: Add indentation and font-locking for λ.
20009         (Bug#13975)
20011 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20013         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
20014         token before point (bug#13942).
20016 2013-03-16  Leo Liu  <sdl.web@gmail.com>
20018         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
20020 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
20022         * startup.el (command-line-normalize-file-name): Fix handling of
20023         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
20024         <xfq.free@gmail.com> in
20025         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
20027 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
20029         Sync with Tramp 2.2.7.
20031         * net/trampver.el: Update release number.
20033 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
20035         * doc-view.el: Fix bug#13887.
20036         (doc-view-insert-image): Don't modify overlay associated to
20037         non-live windows, and implement horizontal centering of image in
20038         case it's smaller than the window.
20039         (doc-view-new-window-function): Force redisplay of new windows on
20040         doc-view buffers.
20042 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
20044         * saveplace.el (save-place-alist-to-file): Don't sort
20045         `save-place-alist', just pretty-print it (bug#13882).
20047 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
20049         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
20050         Check whether `default-file-name-coding-system' is bound.
20051         It isn't in XEmacs.
20053 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20055         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
20056         backquotes for `obsolete' (bug#13929).
20058         * international/mule.el (find-auto-coding): Include file name in
20059         obsolescence warning (bug#13922).
20061 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
20063         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
20064         for CFEngine 3-specific indentation.
20065         (cfengine3-indent-line): Use it.  Fix up category regex.
20066         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
20068 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20070         * type-break.el (type-break-file-name):
20071         * textmodes/remember.el (remember-data-file):
20072         * strokes.el (strokes-file):
20073         * shadowfile.el (shadow-initialize):
20074         * saveplace.el (save-place-file):
20075         * ps-bdf.el (bdf-cache-file):
20076         * progmodes/idlwave.el (idlwave-config-directory):
20077         * net/quickurl.el (quickurl-url-file):
20078         * international/kkc.el (kkc-init-file-name):
20079         * ido.el (ido-save-directory-list-file):
20080         * emulation/viper.el (viper-custom-file-name):
20081         * emulation/vip.el (vip-startup-file):
20082         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
20083         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
20085 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
20087         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
20088         * language/thai-word.el: Switch to UTF-8.
20090 See ChangeLog.16 for earlier changes.
20092 ;; Local Variables:
20093 ;; coding: utf-8
20094 ;; End:
20096   Copyright (C) 2011-2014 Free Software Foundation, Inc.
20098   This file is part of GNU Emacs.
20100   GNU Emacs is free software: you can redistribute it and/or modify
20101   it under the terms of the GNU General Public License as published by
20102   the Free Software Foundation, either version 3 of the License, or
20103   (at your option) any later version.
20105   GNU Emacs is distributed in the hope that it will be useful,
20106   but WITHOUT ANY WARRANTY; without even the implied warranty of
20107   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20108   GNU General Public License for more details.
20110   You should have received a copy of the GNU General Public License
20111   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.