* net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
[emacs.git] / lisp / ChangeLog
blob486c6aec72287a28a4338f7c83c5041017da4012
1 2014-11-02  Ivan Shmakov <ivan@siamics.net>
3         * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5 2014-11-02  Eric Abrahamsen  <eric@ericabrahamsen.net>
7         * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
8         use as advice.
9         (edebug-setup-hook): Advise `edebug-prin1-to-string'.  (Bug#18897)
11 2014-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13         * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
14         (bug#18821).
15         * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
17 2014-11-01  Michael R. Mauger  <michael@mauger.com>
19         * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
20         syntax, add new keywords, and parse longer keywords first.
21         (sql-redirect-one): Protect against empty command.
22         (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
23         to SQL.  (Bug#14759)
25 2014-11-01  Michael R. Mauger  <michael@mauger.com>
27         * sql.el (sql-interactive-mode, sql-stop): Correct fix for
28         Bug#16814 with let-bind of comint-input-ring variables around read
29         and save functions.
31 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
33         * net/tramp-cache.el (tramp-get-file-property)
34         (tramp-set-file-property): Check that `tramp-cache-get-count-*'
35         and `tramp-cache-set-count-*' are bound.  Otherwise, there might
36         be compiler warnings.
38         * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
39         Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
41 2014-11-01  Eli Zaretskii  <eliz@gnu.org>
43         * progmodes/compile.el (compilation-mode): Turn off deferred
44         fontifications locally.  (Bug#18856)
46 2014-11-01  Wolfgang Jenkner  <wjenkner@inode.at>
48         * net/tramp-sh.el (tramp-send-command): Fix the case where the
49         remote-echo connection property is non-nil (bug#18858).
51 2014-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
53         * simple.el (newline): Add assertions to try and help catch bug#18913.
55         * emulation/cua-base.el (cua-delete-region): Use delete-active-region
56         (bug#18886).
57         (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
59 2014-11-01  Kim F. Storm  <storm@cua.dk>
61         Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
62         * delsel.el (delete-selection-save-to-register)
63         (delsel--replace-text-or-position): New vars.
64         (delete-active-region): Use them.
65         (delete-selection-repeat-replace-region): New command, moved from
66         cua-base.el.
67         * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
68         (cua-repeat-replace-region): Move command to delsel.el.
69         (cua--init-keymaps): Update binding accordingly.
70         (cua-mode): Set delete-selection-save-to-register.
72 2014-11-01  Alan Mackenzie  <acm@muc.de>
74         Make blink-parens work with a closing template delimiter.
75         * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
76         before calling blink-paren-function, so as to apply syntax-table
77         properties to the ">".
79 2014-11-01  Jan Djärv  <jan.h.d@swipnet.se>
81         * select.el (gui-get-selection): Comment: data-type ignored on NS.
83 2014-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
85         * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
86         (macroexp--expand-all): Unrelated tweaks.
88         * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
90 2014-10-30  Glenn Morris  <rgm@gnu.org>
92         * startup.el (command-line): Remove pointless attempt to avoid
93         statting the file-system (which expand-file-name doesn't do).
95 2014-10-30  Daniel Colascione  <dancol@dancol.org>
97         Add "enum class" support to C++ mode.
98         * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
99         (c-after-brace-list-key): New language consts/variables.
100         * progmodes/cc-engine.el (c-looking-at-decl-block):
101         Exclude spurious match of "enum struct" from decl-block recognition.
102         (c-backward-colon-prefixed-type): New function.
103         (c-backward-over-enum-header): Call above function to extend
104         recognition of enum structure.
106 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
108         * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
109         (c-lang-defconst):
110         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
112 2014-10-30  Eli Zaretskii  <eliz@gnu.org>
114         * progmodes/compile.el (compilation-start):
115         If compilation-scroll-output is non-nil, don't force window-start of
116         the compilation buffer to be at beginning of buffer.  (Bug#18874)
118         * startup.el (fancy-about-text): Read the entire tutorial, not
119         just its first 256 bytes.  (Bug#18760)
121 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
123         * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
124         * emacs-lisp/cl-extra.el: Add missing provide.
126         * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
127         all args are copyable (bug#18767).
128         (=, <, >, <=, >=): Re-enable the optimization.
130 2014-10-29  Glenn Morris  <rgm@gnu.org>
132         * net/rcirc.el (rcirc-fill-column): Unbump :version.  Mark :risky.
134         * version.el (emacs-bzr-version, emacs-bzr-get-version):
135         Revert 2014-10-26 change.
137 2014-10-29  Paul Eggert  <eggert@cs.ucla.edu>
139         Simplify use of current-time and friends.
140         * allout-widgets.el (allout-widgets-hook-error-handler):
141         * calendar/appt.el (appt-display-message):
142         * calendar/icalendar.el (icalendar--convert-float-to-ical):
143         * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
144         (timeclock-last-period, timeclock-day-base):
145         * eshell/em-ls.el (eshell-ls-file):
146         * eshell/esh-util.el (eshell-parse-ange-ls):
147         * generic-x.el (named-database-print-serial):
148         * net/newst-backend.el (newsticker--get-news-by-url-callback)
149         (newsticker-get-news, newsticker--sentinel-work)
150         (newsticker--image-get, newsticker--image-sentinel):
151         * net/tramp-sh.el (tramp-get-remote-touch):
152         * progmodes/opascal.el (opascal-debug-log):
153         * textmodes/remember.el (remember-mail-date)
154         (remember-store-in-files):
155         * vc/vc-annotate.el (vc-annotate-display-autoscale)
156         (vc-default-annotate-current-time):
157         * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
158         * vc/vc-cvs.el (vc-cvs-annotate-current-time):
159         * vc/vc-rcs.el (vc-rcs-annotate-current-time):
160         Omit unnecessary call to current-time.
161         * calendar/time-date.el (time-to-seconds) [!float-time]:
162         * vc/vc-annotate.el (vc-annotate-convert-time):
163         Use current time if arg is nil, to be compatible with float-time.
164         (time-date--day-in-year): New function, with most of the guts of
165         the old time-to-day-in-year.
166         (time-to-day-in-year): Use it.
167         (time-to-days): Use it, to avoid decoding the same time stamp twice.
168         * calendar/timeclock.el (timeclock-time-to-date):
169         Arg is now optional, like current-time-string.
170         (timeclock-update-mode-line):
171         Don't call current-time twice to get the current time stamp,
172         as this can lead to inconsistent results.
173         * completion.el (cmpl-hours-since-origin):
174         * ido.el (ido-time-stamp):
175         * vc/vc-annotate.el (vc-annotate-convert-time):
176         Simplify by using float-time.
177         * completion.el (save-completions-to-file):
178         Rename local var to avoid confusion.
179         * net/rcirc.el (rcirc-float-time): Simplify to an alias because
180         time-to-seconds now behaves like float-time with respect to nil arg.
181         * subr.el (progress-reporter-do-update):
182         Don't call float-time unless needed.
184 2014-10-29  Leo Liu  <sdl.web@gmail.com>
186         * net/rcirc.el (rcirc-fill-column): Use function.
187         (rcirc-markup-fill): Remove adjustment.
189 2014-10-28  Christopher Schmidt  <ch@ristopher.com>
191         * calc/calc.el (quick-calc):
192         * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
194 2014-10-28  Sam Steingold  <sds@gnu.org>
196         * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
197         the sake of `window-body-width' (in addition to `frame-width').
199 2014-10-26  Eric S. Raymond  <esr@thyrsus.com>
201         * version.el: Fix some fallback values to conform to the actual
202         release number.
204 2014-10-25  Eric S. Raymond  <esr@thyrsus.com>
206         * Makefile.in: Change some production names so they're neutral
207         about the repository type.
209 2014-10-25  Michael Albinus  <michael.albinus@gmx.de>
211         * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
212         (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
213         during initialization.  (Bug#18774)
215 2014-10-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
217         * ses.el (macroexp): Add require for this package, so that
218         function `ses--cell' gets macroexp-quote --- this change was
219         supposed to be in my previous commit, but left out by mistake.
220         (ses--cell): Do not make formula a macroexp-quote of value when
221         value, not formula, is *skip*.
223 2014-10-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
225         * ses.el (macroexp): Add require for this package, so that function
226         `ses--cell gets macroexp-quote.
227         (ses--cell): Makes formula a macroexp-quote of value when formula
228         is nil. The rationale of this changr is to allow in the future
229         shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
230         instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
231         reference list REFLIST would be re-computed after load --- thus
232         trading off load time against file size.
234         * emacs-lisp/package.el (package--alist-to-plist-args):
235         Use macroexp-quote instead of a lambda expression which has the same
236         content as macroexp-quote.
237         (macroexp): Add require for this package, so that function
238         `package--alist-to-plist-args' gets macroexp-quote.
240         * emacs-lisp/macroexp.el (macroexp-quote): New defun.
242 2014-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
244         * term/ns-win.el (ns-store-cut-buffer-internal)
245         (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
247 2014-10-24  Martin Rudalics  <rudalics@gmx.at>
249         * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
250         Calculate increment from last position instead of window edge.
251         Add right- and bottom-divider bindings to transient map.
253 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
255         * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
256         even if :predicate was nil, for the benefit of typep.
257         Record the name of the predicate for typep's use.
258         (cl--make-type-test): Use pcase.  Obey new
259         cl-deftype-satisfies property.
261         * epg.el: Use cl-defstruct.
262         (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
263         (epg-data-string): Define via cl-defstruct.
264         (epg--gv-nreverse): New macro.
265         (epg-context--make): New constructor (provided vi cl-defstruct).
266         (epg-make-context): Rewrite using it.
267         (epg-context-protocol, epg-context-program)
268         (epg-context-home-directory, epg-context-armor, epg-context-textmode)
269         (epg-context-include-certs, epg-context-cipher-algorithm)
270         (epg-context-digest-algorithm, epg-context-compress-algorithm)
271         (epg-context-passphrase-callback, epg-context-progress-callback)
272         (epg-context-signers, epg-context-sig-notations, epg-context-process)
273         (epg-context-output-file, epg-context-result, epg-context-operation)
274         (epg-context-pinentry-mode): Define using cl-defstruct.
275         (epg-context-set-protocol, epg-context-set-program)
276         (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
277         (epg-context-set-digest-algorithm)
278         (epg-context-set-sig-notations, epg-context-set-process)
279         (epg-context-set-output-file, epg-context-set-result)
280         (epg-context-set-operation, epg-context-set-pinentry-mode)
281         (epg-context-set-compress-algorithm): Remove.  Use setf instead.
282         (epg-context-set-armor, epg-context-set-textmode)
283         (epg-context-set-signers): Redefine using setf
284         and declare as obsolete.
285         (epg-context-set-passphrase-callback)
286         (epg-context-set-progress-callback): Use setf.
287         (epg-signature-notations): Rename from epg-sig-notations.
288         (epg-make-signature, epg-signature-status, epg-signature-key-id)
289         (epg-signature-validity, epg-signature-fingerprint)
290         (epg-signature-creation-time, epg-signature-expiration-time)
291         (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
292         (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
293         (epg-signature-set-status, epg-signature-set-key-id)
294         (epg-signature-set-validity, epg-signature-set-fingerprint)
295         (epg-signature-set-creation-time, epg-signature-set-expiration-time)
296         (epg-signature-set-pubkey-algorithm)
297         (epg-signature-set-digest-algorithm, epg-signature-set-class)
298         (epg-signature-set-version, epg-signature-set-notations): Remove.
299         Use setf instead.
300         (epg-make-new-signature, epg-new-signature-type)
301         (epg-new-signature-pubkey-algorithm)
302         (epg-new-signature-digest-algorithm, epg-new-signature-class)
303         (epg-new-signature-creation-time, epg-new-signature-fingerprint):
304         Define using cl-defstruct.
305         (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
306         (epg-key-user-id-list): Define using cl-defstruct.
307         (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
308         Use setf instead.
309         (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
310         (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
311         (epg-sub-key-id, epg-sub-key-creation-time)
312         (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
313         cl-defstruct.
314         (epg-sub-key-set-fingerprint): Remove.  Use setf instead.
315         (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
316         (epg-user-id-signature-list): Define using cl-defstruct.
317         (epg-user-id-set-signature-list): Remove.  Use setf instead.
318         (epg-make-key-signature, epg-key-signature-validity)
319         (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
320         (epg-key-signature-creation-time, epg-key-signature-expiration-time)
321         (epg-key-signature-user-id, epg-key-signature-class)
322         (epg-key-signature-exportable-p): Define using cl-defstruct.
323         (epg-make-sig-notation, epg-sig-notation-name)
324         (epg-sig-notation-value, epg-sig-notation-human-readable)
325         (epg-sig-notation-critical): Define using cl-defstruct.
326         (epg-sig-notation-set-value): Remove.  Use setf instead.
327         (epg-make-import-status, epg-import-status-fingerprint)
328         (epg-import-status-reason, epg-import-status-new)
329         (epg-import-status-user-id, epg-import-status-signature)
330         (epg-import-status-sub-key, epg-import-status-secret): Define using
331         cl-defstruct.
332         (epg-make-import-result, epg-import-result-considered)
333         (epg-import-result-no-user-id, epg-import-result-imported)
334         (epg-import-result-imported-rsa, epg-import-result-unchanged)
335         (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
336         (epg-import-result-new-signatures, epg-import-result-new-revocations)
337         (epg-import-result-secret-read, epg-import-result-secret-imported)
338         (epg-import-result-secret-unchanged, epg-import-result-not-imported)
339         (epg-import-result-imports): Define using cl-defstruct.
341         * emacs-lisp/package.el: Require EPG during macroexpansion.
342         (package--check-signature, package-import-keyring): Use setf instead of
343         epg-context-set-home-directory.
345 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
347         * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
349 2014-10-23  Leo Liu  <sdl.web@gmail.com>
351         * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
352         (cfengine3-create-imenu-index): Use it and use ` ' for separation.
353         (cfengine3-current-defun): New function.
354         (cfengine3-mode): Set add-log-current-defun-function.
356 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
358         * select.el: Use lexical-binding.
359         (gui-set-selection): Provide an implementation for non-GUI frames
360         (bug#18791).
361         * term/x-win.el: Use lexical-binding.
362         (x-clipboard-yank): Fix up missed renamings.
363         * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
364         (w32--set-selection): Fix up var names.
365         * term/pc-win.el: Use lexical-binding.
366         (w16-selection-exists-p): Silence compiler warning.
367         (w16-selection-owner-p): Fix up missed renamings.
369         * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
371         * frame.el (frame-notice-user-settings): Fix excessive quoting.
373 2014-10-22  Tassilo Horn  <tsdh@gnu.org>
375         * doc-view.el (doc-view-open-text): View the document's plain text
376         in the current buffer instead of a new one.
377         (doc-view-toggle-display): Handle the case where the current
378         buffer contains the plain text contents of the document.
379         (doc-view-initiate-display): Don't switch to fallback mode if the
380         user wants to view the doc's plain text.
381         (doc-view-set-doc-type): Use assoc-string instead of
382         assoc-ignore-case.
384 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
386         * subr.el (read-key): Fix clicks on the mode-line.
387         (set-transient-map): Return exit function.
389         * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
390         (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
391         (mouse-yank-secondary): Use gui-get-selection.
392         (mouse--down-1-maybe-follows-link): Use read-key.
394         * xt-mouse.el: Add `event-kind' property on the fly from
395         xterm-mouse-translate-1 rather than statically at the outset.
397 2014-10-21  Daniel Colascione  <dancol@dancol.org>
399         * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
400         change window configuration when we turn it off.
402 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
404         Get rid of backend-dependent selection-handling functions for kill/yank
405         and make it generic instead by relying on the lower-level selection
406         management functions.
408         * select.el (select-enable-clipboard): Rename from
409         gui-select-enable-clipboard.
410         (select-enable-primary): Move from x-win.el and rename from
411         x-select-enable-primary.
412         (gui-last-selected-text): Remove.
413         (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
414         New vars.
415         (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
416         (gui-select-text-alist, gui-selection-value-alist): Remove.
417         (x-select-request-type): Move from x-win.el.
418         (gui--selection-value-internal): New function, taken from x-win's
419         x-selection-value-internal.
420         (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
421         (gui-set-selection-alist): Rename from gui-own-selection-alist and
422         extend it to handle a nil value as a "disown" request.
423         (gui-disown-selection-alist): Remove.
424         (xselect-convert-to-delete): Adjust accordingly.
425         (gui-set-selection): Simplify accordingly as well.  Use dotimes.
427         * term/x-win.el (x-last-selected-text-primary)
428         (x-select-enable-primary): Remove (moved to select.el).
429         (x-select-request-type): Move to select.el.
430         (x-selection-value-internal, x--selection-value): Remove functions.
431         (gui-selection-value, gui-select-text): Remove moethods.
432         (gui-set-selection): Merge own and disown methods.
434         * term/w32-win.el (w32--select-text, w32--get-selection-value):
435         Delete function (move functionality into w32--set-selection and
436         w32--get-selection).
437         (gui-select-text, gui-selection-value): Don't define methods.
438         (w32--set-selection, w32--get-selection, w32--selection-owner-p):
439         New functions.
440         (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
441         Use them.
442         (gui-selection-exists-p): Adjust to new name of C primitive.
444         * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
445         test of gui-select-enable-clipboard, to make it usable as
446         a gui-get-selection method.
447         (gui-selection-exists-p): Adjust to new name of C primitive.
448         (gui-set-selection): Merge own and disown methods.
449         (gui-select-text, gui-selection-value): Delete methods.
450         (w16--select-text): Delete function.
452         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
453         (ns-selection-value): Remove functions.
454         (gui-select-text, gui-selection-value): Don't define method any more.
455         (gui-set-selection): Merge the old own and disown methods.
456         (gui-selection-exists-p, gui-get-selection): Adjust to new name of
457         underlying C primitive.
459         * startup.el (command-line): Adjust now that `gui-method' expects nil
460         for ttys.
462         * frame.el (gui-method): Use window-system rather than framep.
463         (gui-method-declare): The tty case is now nil rather than t.
464         (make-frame): Adjust accordingly.
466 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
468         * net/newst-reader.el (newsticker--image-read): Simplify.
469         (newsticker--icon-read): Use dolist and fix free var error.
471         * imenu.el (imenu--menubar-keymap): New var.
472         (imenu-add-to-menubar): Set it to remember the keymap we used.
473         (imenu-update-menubar): Use it instead of asking lookup-key.
475         * obsolete/cc-compat.el: Make obsolete (bug#18561).
477         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
479         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
480         case (bug#18767).
482 2014-10-21  Glenn Morris  <rgm@gnu.org>
484         * Merge in all changes up to version 24.4 release.
486 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
488         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
489         case (bug#18767).
491 2014-10-20  Glenn Morris  <rgm@gnu.org>
493         * Merge in all changes up to 24.4 release.
495 2014-10-20  Ulf Jasper  <ulf.jasper@web.de>
497         * net/newst-backend.el
498         (newsticker--image-download-by-url-callback): Make this function
499         actually work: Check status properly, then save image.
501 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
503         * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
504         `this-event'.
505         (mouse-drag-line): Unless there's no actual mouse, use the event's
506         position info.
508 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
510         * textmodes/css-mode.el (scss-mode): New major-mode.
511         (css-mode-syntax-table): Use d style comment, to ease the scss case.
512         (css-ident-re): Allow things like @-moz-keyframes.
513         (scss--hash-re): New const.
514         (css--font-lock-keywords): New function, extracted from
515         css-font-lock-keywords.
517 2014-10-19  Ulf Jasper  <ulf.jasper@web.de>
519         * net/newst-backend.el: Require url-parse.
520         (newsticker--get-news-by-wget): Store feed name as process property.
521         (newsticker--sentinel): Read feed name from process property.
522         (newsticker--sentinel-work): Rename argument name to feed-name.
523         Rename variable imageurl to image-url.  Pick icon url from Atom
524         1.0 data.  Launch download of feed icon.
525         (newsticker--get-icon-url-atom-1.0): New.
526         (newsticker--unxml)
527         (newsticker--unxml-node)
528         (newsticker--unxml-attribute): Documentation.
529         (newsticker--icons-dir): New.
530         (newsticker--image-get): New arguments FILENAME and DIRECTORY.
531         Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
532         (newsticker--image-download-by-wget): New.  Use process properties
533         for storing informations.
534         (newsticker--image-sentinel): Read informations from process properties.
535         (newsticker--image-save)
536         (newsticker--image-remove)
537         (newsticker--image-download-by-url)
538         (newsticker--image-download-by-url-callback): New.
539         (newsticker-opml-export): Handle url list entries containing a
540         function instead of an url string.
542         * net/newst-reader.el (newsticker-html-renderer): Whitespace.
543         (newsticker--print-extra-elements)
544         (newsticker--do-print-extra-element):
545         Documentation (newsticker--image-read): Optionally limit image height.
546         Use imagemagick if possible.
547         (newsticker--icon-read): New.
549         * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
550         (newsticker--treeview-tree-expand): Use feed icons in treeview.
551         (newsticker--tree-widget-icon-create): New.  Set the tree widget icon.
552         (newsticker--tree-widget-leaf-icon): Use feed icon.
554 2014-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
556         * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
557         Use help-function-arglist instead.
559         * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
560         (eieio--with-scoped-class): Use `declare'.
561         (eieio-defclass): Remove compatibility code.
562         (no-method-definition, no-next-method, inconsistent-class-hierarchy)
563         (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
565 2014-10-18  Jan Djärv  <jan.h.d@swipnet.se>
567         * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
569         * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
570         replacements to stock names before stock names in a list.
571         Cdr may be a list, each name is tried in turn until one is found.
573 2014-10-18  Alan Mackenzie  <acm@muc.de>
575         Check that a "macro" found near point-min isn't a ## operator.
576         Fixes bug #18749.
577         * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
578         (c-beginning-of-macro): Use the above new function.
580 2014-10-18  Teodor Zlatanov  <tzz@lifelogs.com>
582         * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
583         correct data to `gnutls-boot' (Bug#18664).
584         Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
586 2014-10-18  Michal Nazarewicz  <mina86@mina86.com>
588         * whitespace.el (whitespace-style, whitespace-big-indent)
589         (whitespace-big-indent-regexp, whitespace-style-value-list)
590         (whitespace-toggle-option-alist, whitespace-interactive-char)
591         (whitespace-toggle-options)
592         (global-whitespace-toggle-options, whitespace-help-text)
593         (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
594         style to `whitespace-mode' to indicate that the line indentation
595         is too deep.  By default, 32 SPACEs or four TABs are considered
596         too many but `whitespace-big-indent-regexp' can be configured.
598 2014-10-17  Michal Nazarewicz  <mina86@mina86.com>
600         * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
601         tildify-mode-alist.
603 2014-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
605         * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
606         (defclass, defgeneric, defmethod): Add doc-string position.
607         (with-slots): Require cl-lib.
609         * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
610         (list-of): New type.
611         (eieio--typep): Remove.
612         (eieio-perform-slot-validation): Use cl-typep instead.
614         * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
616         * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
618 2014-10-16  Alan Mackenzie  <acm@muc.de>
620         Trigger showing when point is in the "periphery" of a line or just
621         inside a paren.
622         * paren.el (show-paren-style, show-paren-delay)
623         (show-paren-priority, show-paren-ring-bell-on-mismatch):
624         Remove superfluous :group specifications.
625         (show-paren-when-point-inside-paren)
626         (show-paren-when-point-in-periphery): New customizable variables.
627         (show-paren-highlight-openparen): Make into a defcustom.
628         (show-paren--unescaped-p, show-paren--categorize-paren)
629         (show-paren--locate-near-paren): New defuns.
630         (show-paren--default): Refaactor and trigger on more paren
631         positions.
632         (show-paren-function): Small consequential changes.
634 2014-10-16  Tom Tromey  <tom@tromey.com>
636         * files.el (auto-mode-alist): Use javascript-mode for .jsm
637         (bug #18719).
639 2014-10-16  Eli Zaretskii  <eliz@gnu.org>
641         * international/characters.el (bracket-type): Force pre-loading of
642         uni-brackets.el.
644 2014-10-16  Alan Mackenzie  <acm@muc.de>
646         * cus-edit.el (custom-command-apply): Specify the return value in
647         the doc string.
648         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
649         custom-command-apply has returned non-nil.
651 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
653         * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
654         Remove incorrect handling of eldoc-print-after-edit.
655         (eldoc-message-commands, eldoc-last-data): Use defvar.
656         * loadup.el (emacs-lisp/eldoc): Load it.
658         * progmodes/m4-mode.el (m4-syntax-propertize): New var.
659         (m4-mode): Use it.
660         (m4--quoted-p): New function.
661         (m4-font-lock-keywords): Don't handle #..\n comments any more.
662         (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
663         for most special characters.
665         * progmodes/compile.el (compilation--previous-directory): Simplify.
666         (compilation-next-error): Ensure the parse before we look at
667         compilation-message property.
669 2014-10-15  Eli Zaretskii  <eliz@gnu.org>
671         * simple.el (what-cursor-position):
672         * descr-text.el (describe-char): Update to support the new bidi
673         characters.
675         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
676         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
677         buffer-menu display when the first buffer happens to start with
678         R2L letter.
680 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
682         * progmodes/elisp-mode.el (elisp--local-variables-1):
683         Handle quoted expressions (bug#18688).
685 2014-10-14  Jérémy Compostella  <jeremy.compostella@intel.com>
686             Michael Albinus  <michael.albinus@gmx.de>
688         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
689         Reduce the amount of set environment variable commands.
691 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
693         Fix import completion.  (Bug#18582)
694         * progmodes/python.el (python-shell-completion-get-completions):
695         Fix import case regexp.
697 2014-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
699         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
700         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
701         * progmodes/prolog.el (prolog-electric--underscore): Same.
703 2014-10-12  Michael Albinus  <michael.albinus@gmx.de>
705         * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
707 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
709         * cus-start.el (all): Add missing ns and boolean to
710         ns-use-fullscreen-animation.
712 2014-10-11  Leo Liu  <sdl.web@gmail.com>
714         * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
715         Use strings.
716         (cfengine3-create-imenu-index): New function.
717         (cfengine3-mode): Use it for `imenu-create-index-function'.
718         (cfengine-auto-mode): Improve and prefer cfengine3-mode when
719         buffer is empty.
721 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
723         * cus-start.el (all): Add ns-use-fullscreen-animation.
725 2014-10-11  Glenn Morris  <rgm@gnu.org>
727         * calendar/diary-lib.el (diary-display-function):
728         Drop support for deprecated nil and list forms.
729         (diary-list-entries): Update for the above.
730         * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
732 2014-10-10  Leo Liu  <sdl.web@gmail.com>
734         * window.el (temp-buffer-window-show): Make BUFFER a required arg.
735         (Bug#18656)
737 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
739         * select.el (gui-selection-exists-p-alist): New method.
740         * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
741         * simple.el (deactivate-mark): Use it.
742         * term/x-win.el (gui-selection-exists-p):
743         * term/w32-win.el (gui-selection-exists-p):
744         * term/pc-win.el (gui-selection-exists-p):
745         * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
747 2014-10-10  Glenn Morris  <rgm@gnu.org>
749         * info.el (Info-fontify-maximum-menu-size): Bump to 400k.  (Bug#16227)
750         Fix :type.  Allow t to mean no limit.
751         (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
753 2014-10-09  Glenn Morris  <rgm@gnu.org>
755         * frame.el (display-monitor-attributes-list): Doc tweaks.
757 2014-10-09  Eli Zaretskii  <eliz@gnu.org>
759         * faces.el (display-grayscale-p): Mention in the doc string that
760         the argument can be either a display name or a frame.
762         * frame.el (display-pixel-height, display-pixel-width)
763         (display-mm-height, display-mm-width, display-backing-store)
764         (display-save-under, display-planes, display-color-cells)
765         (display-visual-class, display-monitor-attributes-list)
766         (display-screens): Mention in the doc string that the argument can
767         be either a display name or a frame.  Improve the docs of the
768         monitor attributes.  (Bug#18636)
770 2014-10-09  Martin Rudalics  <rudalics@gmx.at>
772         * term.el (term-window-width): Subtract 1 from the width when
773         any fringe has zero width, not just the right fringe.  (Bug#18601)
775 2014-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
777         * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
779 2014-10-08  Leo Liu  <sdl.web@gmail.com>
781         * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
783 2014-10-08  Glenn Morris  <rgm@gnu.org>
785         * calendar/cal-x.el (calendar-dedicate-diary):
786         Drop support for recently deleted aliases.
788 2014-10-08  Leo Liu  <sdl.web@gmail.com>
790         * progmodes/cfengine.el (cfengine3-make-syntax-cache):
791         Always return a syntax.  Replace call-process-shell-command with
792         process-file.  Ensure cfengine-mode-syntax-functions-regex is
793         always set.  Ensure cache when cfengine-cf-promises fails.
794         (Bug#18620)
796 2014-10-07  Glenn Morris  <rgm@gnu.org>
798         * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
800 2014-10-07  Wilson Snyder  <wsnyder@wsnyder.org>
802         Sync with upstream verilog-mode revision c075a492.
803         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
804         (verilog-menu): Add AUTOINSERTLAST.
805         (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
806         is nil, fix indenting initial/final to match always statements, bug825.
807         Reported by Tim Clapp.
808         (verilog-extended-complete-re): Fix indentation of DPI-C imports,
809         bug557.  Reported by ZeDong Mao and Jason Forkey.
810         (verilog-read-decls): Fix parsing typed interfaces.
811         Fix AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
812         (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
813         (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
814         Reported by Pierre-David Pfister.
815         (verilog-auto-insert-lisp): Doc fix.
816         (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
817         allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
818         (verilog-sk-ovm-class, verilog-sk-uvm-object)
819         (verilog-sk-uvm-component): Fix missing string keyword in class
820         skeletons, bug824.  Reported by eldad faruhi.
822 2014-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
824         * term/w32-win.el: Move all code from 32-common-fns.el here.
825         (gui-select-text, gui-selection-value): Use w32 handlers in the w32
826         console as well (bug#18629).
827         * w32-common-fns.el: Remove.
828         * loadup.el: Don't load w32-common-fns.el.
829         * w32-fns.elc: Don't require w32-common-fns.
831         * icomplete.el: Move Iswitchb autoload here.  Much simpler.
832         * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
833         Remove redundant obsolescence thingy.
834         * loadup.el: Don't load obsolete/loaddefs.el.
835         * Makefile.in (obsolete-autoloads): Remove.
836         (AUTOGENEL): Remove obsolete/loaddefs.el.
838 2014-10-06  Glenn Morris  <rgm@gnu.org>
840         * Makefile.in (obsolete-autoloads): Write to a separate file,
841         to workaround autoloads bug.  (Bug#17407)
842         (AUTOGENEL): Add obsolete/loaddefs.el.
843         * loadup.el: Load obsolete/loaddefs.el if present.
844         * subr.el (do-after-load-evaluation):
845         Don't warn about obsolete/loaddefs.el.
847         * menu-bar.el (menu-bar-games-menu): Remove landmark.
848         It has zero relationship to a game.
850 2014-10-06  Leo Liu  <sdl.web@gmail.com>
852         * imenu.el (imenu): Re-write for clarity.
854 2014-10-06  Glenn Morris  <rgm@gnu.org>
856         Remove calendar code obsolete since at least version 23.1.
857         * calendar/cal-bahai.el (calendar-absolute-from-bahai)
858         (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
859         (calendar-goto-bahai-date, list-bahai-diary-entries)
860         (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
861         (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
862         (insert-yearly-bahai-diary-entry):
863         * calendar/cal-china.el (chinese-calendar-time-zone)
864         (chinese-calendar-location-name)
865         (chinese-calendar-daylight-time-offset)
866         (chinese-calendar-standard-time-zone-name)
867         (chinese-calendar-daylight-time-zone-name)
868         (chinese-calendar-daylight-savings-starts)
869         (chinese-calendar-daylight-savings-ends)
870         (chinese-calendar-daylight-savings-starts-time)
871         (chinese-calendar-daylight-savings-ends-time)
872         (chinese-calendar-celestial-stem)
873         (chinese-calendar-terrestrial-branch)
874         (calendar-absolute-from-chinese, calendar-print-chinese-date)
875         (calendar-goto-chinese-date):
876         * calendar/cal-coptic.el (calendar-absolute-from-coptic)
877         (calendar-print-coptic-date, coptic-prompt-for-date)
878         (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
879         (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
880         * calendar/cal-french.el (calendar-absolute-from-french)
881         (calendar-print-french-date, calendar-goto-french-date):
882         * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
883         (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
884         (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
885         (holiday-rosh-hashanah-etc, holiday-hanukkah)
886         (holiday-passover-etc, holiday-tisha-b-av-etc)
887         (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
888         (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
889         (insert-monthly-hebrew-diary-entry)
890         (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
891         (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
892         (diary-sabbath-candles):
893         * calendar/cal-islam.el (calendar-absolute-from-islamic)
894         (calendar-print-islamic-date, calendar-goto-islamic-date)
895         (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
896         (mark-islamic-diary-entries, insert-islamic-diary-entry)
897         (insert-monthly-islamic-diary-entry)
898         (insert-yearly-islamic-diary-entry):
899         * calendar/cal-iso.el (calendar-absolute-from-iso)
900         (calendar-print-iso-date, calendar-iso-read-args)
901         (calendar-goto-iso-date, calendar-goto-iso-week):
902         * calendar/cal-julian.el (calendar-absolute-from-julian)
903         (calendar-print-julian-date, calendar-goto-julian-date)
904         (calendar-absolute-from-astro, calendar-print-astro-day-number)
905         (calendar-goto-astro-day-number):
906         * calendar/cal-mayan.el (calendar-print-mayan-date)
907         (calendar-next-haab-date, calendar-previous-haab-date)
908         (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
909         (calendar-next-calendar-round-date)
910         (calendar-previous-calendar-round-date)
911         (calendar-absolute-from-mayan-long-count)
912         (calendar-goto-mayan-long-count-date):
913         * calendar/cal-move.el (scroll-calendar-left)
914         (scroll-calendar-right, scroll-calendar-left-three-months)
915         (scroll-calendar-right-three-months):
916         * calendar/cal-persia.el (calendar-absolute-from-persian)
917         (calendar-print-persian-date, persian-prompt-for-date)
918         (calendar-goto-persian-date):
919         * calendar/cal-x.el (calendar-after-frame-setup-hooks):
920         * calendar/calendar.el (view-diary-entries-initially)
921         (mark-diary-entries-in-calendar, calendar-today-face)
922         (diary-face, holiday-face, view-calendar-holidays-initially)
923         (mark-holidays-in-calendar, initial-calendar-window-hook)
924         (today-visible-calendar-hook, today-invisible-calendar-hook)
925         (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
926         (bahai-diary-entry-symbol, american-date-diary-pattern)
927         (european-date-diary-pattern, european-calendar-display-form)
928         (american-calendar-display-form, holidays-in-diary-buffer)
929         (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
930         (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
931         (fancy-diary-buffer, increment-calendar-month)
932         (extract-calendar-month, extract-calendar-day)
933         (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
934         (mark-visible-calendar-date, calendar-version):
935         * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
936         (diary-display-hook, list-diary-entries-hook)
937         (mark-diary-entries-hook, nongregorian-diary-listing-hook)
938         (nongregorian-diary-marking-hook, print-diary-entries-hook)
939         (abbreviated-calendar-year, number-of-diary-entries)
940         (view-other-diary-entries, add-to-diary-list)
941         (include-other-diary-files, simple-diary-display)
942         (fancy-diary-display, print-diary-entries, mark-diary-entries)
943         (mark-sexp-diary-entries, mark-included-diary-files)
944         (mark-calendar-days-named, mark-calendar-month)
945         (mark-calendar-date-pattern, sort-diary-entries)
946         (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
947         (insert-weekly-diary-entry, insert-monthly-diary-entry)
948         (insert-yearly-diary-entry, insert-anniversary-diary-entry)
949         (insert-block-diary-entry, insert-cyclic-diary-entry)
950         (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
951         * calendar/holidays.el (general-holidays, oriental-holidays)
952         (local-holidays, other-holidays, hebrew-holidays)
953         (christian-holidays, islamic-holidays, bahai-holidays)
954         (solar-holidays, list-calendar-holidays)
955         (check-calendar-holidays, mark-calendar-holidays)
956         (filter-visible-calendar-holidays):
957         * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
958         (diary-phases-of-moon): Remove obsolete aliases.
959         * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
960         * calendar/cal-x.el (calendar-one-frame-setup)
961         (calendar-only-one-frame-setup, calendar-two-frame-setup):
962         Remove obsolete functions.
963         (cal-x-load-hook): Remove obsolete hook.
964         * calendar/calendar.el (european-calendar-style):
965         Remove obsolete variable.
966         (calendar-date-style): No longer consult european-calendar-style.
967         * calendar/calendar.el (european-calendar, american-calendar):
968         Remove obsolete commands.
969         * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
970         * calendar/diary-lib.el (diary-face): Remove obsolete variable.
971         (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
972         Use the face `diary' instead of the variable `diary-face'.
973         * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
974         (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
975         * calendar/icalendar.el (icalendar--date-style): Remove function.
976         Replace all uses with calendar-date-style.
977         * textmodes/remember.el (calendar-date-style): Declare.
978         (remember-diary-convert-entry):
979         No longer consult european-calendar-style.
981 2014-10-05  Leo Liu  <sdl.web@gmail.com>
983         * imenu.el (imenu-default-goto-function): Fix typo.
985 2014-10-04  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
987         * net/ntlm.el (ntlm-build-auth-request):
988         Add NTLM2 Session support.  (Bug#15603)
990 2014-10-04  Glenn Morris  <rgm@gnu.org>
992         * apropos.el (apropos-symbols-internal):
993         Avoid error with non-symbol properties.  (Bug#18337#16)
995         * startup.el (command-line):
996         Handle altered user-emacs-directory in load-path warning.  (Bug#18512)
998 2014-10-04  Martin Rudalics  <rudalics@gmx.at>
1000         * window.el (window-full-height-p): Make it behave correctly for
1001         minibuffer window.
1002         (window-current-scroll-bars): Fix code.
1003         (fit-frame-to-buffer): Use window-scroll-bar-height instead of
1004         window-scroll-bars.
1005         * frame.el (frame-current-scroll-bars): Fix doc-string.
1006         * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
1008 2014-10-04  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
1010         * files.el (auto-mode-alist): Use sh-mode for .zsh files.  (Bug#18488)
1012 2014-10-04  Glenn Morris  <rgm@gnu.org>
1014         * frame.el (frame-monitor-attributes)
1015         (display-monitor-attributes-list): Doc fixes.
1017 2014-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1019         Merge trivially safe differences from standalone CC-mode.
1020         * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
1021         just to then pass it to `symbol-value'.
1022         (prog-mode): Provide fallback definition, if needed.
1023         * progmodes/cc-langs.el: Always load `cl'.  Don't load `cl-lib'.
1024         Remove "cl-" prefix accordingly.
1025         * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
1026         characterp depending on the type of characters.
1027         (c-font-lock-enum-tail): Remove unused var `start'.
1028         * progmodes/cc-engine.el: Load CL at compile-time.
1029         (c-declare-lang-variables): Use mapcan.
1030         (c-append-to-state-cache): Remove unused var `ce+1'.
1031         (c-parse-state-state): Make buffer-local.
1032         (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
1033         (c-just-after-func-arglist-p): Remove unused var `end'.
1034         * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
1035         (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
1036         (c-make-keywords-re): Use delete-dups.
1037         (c-get-current-file): Avoid file-name-base.
1038         * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
1039         `close-paren-inserted'.
1040         * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
1042         * progmodes/python.el: Avoid building unneeded markers.
1043         (python-font-lock-keywords, python-indent-dedent-line)
1044         (python-fill-paren, python-shell-completion-complete-or-indent):
1045         Prefer point over point-marker.
1046         (inferior-python-mode): Remove redundant completion settings.
1048 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
1050         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
1051         (vc-svn-ignore): Use it.  (Bug#18619)
1053 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
1055         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1056         In doc-string mention need to set `frame-resize-pixelwise'.
1058 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1060         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
1061         similarly to Rogers's 2010-06-16 change for the remote case
1062         (bug#18605).
1064 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1066         New gui-selection-value consolidating x-selection-value.
1067         * select.el (gui-selection-value-alist): New method.
1068         (gui-selection-value): New function.
1069         (x-selection-value): Make it an obsolete alias.
1070         * simple.el (interprogram-paste-function): Default to
1071         gui-selection-value.
1072         * w32-common-fns.el (w32-get-selection-value): Simplify.
1073         (x-selection-value): Remove alias.
1074         (interprogram-paste-function): Don't set.
1075         (gui-selection-value): Define for w32.
1076         * term/x-win.el (gui-selection-value): Define for x.
1077         (x--selection-value): Rename from x--selection-value.
1078         (interprogram-paste-function): Don't set.
1079         * term/pc-win.el (w16-get-selection-value): Simplify.
1080         (msdos-initialize-window-system): Don't set
1081         interprogram-paste-function.
1082         (gui-selection-value): Define for pc.
1083         * term/ns-win.el (x-selection-value): Remove.
1084         (gui-selection-value): Define for ns, instead.
1085         * term/common-win.el (x-setup-function-keys): Don't set
1086         interprogram-paste-function.
1087         * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
1088         Use gui-selection-value.
1090 2014-10-02  David Raynes  <rayners@gmail.com>  (tiny change)
1092         * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
1094 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1096         * obsolete/lucid.el (read-number): Remove, redundant.
1097         * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
1098         Remove, broken.
1100 2014-10-02  Glenn Morris  <rgm@gnu.org>
1102         * emacs-lisp/package.el (package-import-keyring):
1103         Create gnupg directory private.  (Bug#17625#155)
1105 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1107         * progmodes/python.el (python-shell-completion-get-completions):
1108         Use python-shell--prompt-calculated-input-regexp from the
1109         process buffer (bug#18582).
1110         Don't assume that `line' comes from the process buffer.
1112 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1114         * frame.el: Use lexical-binding (bug#18598).
1115         (make-frame): Use t rather than nil for tty's window-system.
1116         * startup.el (command-line): Use gui-method.
1118         Consolidate management/ownership of selections.
1119         * select.el (gui-get-selection-alist): New method.
1120         (gui-get-selection): Use it.  Rename from x-get-selection.
1121         (x-get-selection): Define as obsolete alias.
1122         (x-get-clipboard): Mark obsolete.
1123         (gui-get-primary-selection): New function.
1124         (x-get-selection-value): Mark obsolete.
1125         (gui-own-selection-alist, gui-disown-selection-alist)
1126         (gui-selection-owner-p-alist): New methods.
1127         (gui-set-selection): Use them.  Rename from x-set-selection.
1128         (x-set-selection): Define as obsolete alias.
1129         (gui--valid-simple-selection-p): Rename from
1130         x-valid-simple-selection-p.
1131         * w32-common-fns.el (gui-own-selection, gui-disown-selection)
1132         (gui-selection-owner-p, gui-get-selection): Define for w32.
1133         (w32-get-selection-value): Rename from x-get-selection-value.
1134         Use the new gui-last-selected-text.
1135         * term/x-win.el (x-get-selection-value): Remove.
1136         (x-clipboard-yank): Declare obsolete.
1137         (gui-own-selection, gui-disown-selection, gui-get-selection)
1138         (gui-selection-owner-p): Define for x.
1139         * term/w32-win.el (w32-win-suspend-error): Rename from
1140         x-win-suspend-error.
1141         * term/pc-win.el (w16-get-selection-value): Rename from
1142         x-get-selection-value.
1143         (w16-selection-owner-p): Rename from x-selection-owner-p.
1144         (gui-own-selection, gui-disown-selection, gui-get-selection)
1145         (gui-selection-owner-p): Define for pc.
1146         (w16--select-text): New function.
1147         * term/ns-win.el (gui-own-selection, gui-disown-selection)
1148         (gui-get-selection, gui-selection-owner-p): Define for ns.
1149         * term.el (term-mouse-paste):
1150         * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
1152 2014-10-02  H. Dieter Wilhelm  <dieter@duenenhof-wilhelm.de>
1154         * calc/calc-help.el (calc-describe-thing): Quote strings
1155         which could look like regexps.
1157 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1159         Consolidate x-select-text.
1160         * frame.el (gui-method, gui-method-define, gui-method-declare)
1161         (gui-call): New macros.
1162         (gui-method--name): New function.
1163         (frame-creation-function-alist): Use gui-method-declare.
1164         (make-frame): Use gui-method.
1165         * select.el (gui-select-enable-clipboard): Rename from
1166         x-select-enable-clipboard and move here.
1167         (x-select-enable-clipboard): Define as obsolete alias.
1168         (gui-last-selected-text): New var, to replace x-last-selected-text.
1169         (gui-select-text): New GUI method.
1170         (gui-select-text): New function.
1171         (x-select-text): Define as obsolete alias.
1172         * term/common-win.el (x-select-enable-clipboard, x-select-text):
1173         Move to select.el.
1174         * simple.el (interprogram-cut-function): Change default to
1175         x-select-text.
1176         (interprogram-paste-function): Change default to `ignore'.
1177         * w32-common-fns.el (interprogram-cut-function): Don't modify.
1178         * term/x-win.el (interprogram-cut-function): Don't modify.
1179         (gui-select-text): Add method for x.
1180         * term/w32-win.el (gui-select-text): Add method for w32.
1181         * term/pc-win.el (x-last-selected-text): Remove, use
1182         gui-last-selected-text instead.
1183         (msdos-initialize-window-system): Don't set interprogram-cut-function.
1184         (gui-select-text): Add method for pc.
1185         * term/ns-win.el (ns-last-selected-text): Remove, use
1186         gui-last-selected-text instead.
1187         (gui-select-text): Add method for ns.
1188         (x-setup-function-keys): Don't change interprogram-cut-function.
1189         * loadup.el ("startup"): Load after "frame".
1190         * subr.el (package--builtin-versions, package--description-file):
1191         Move from startup.el.
1192         * startup.el (package--builtin-versions, package--description-file):
1193         Move to subr.el.
1194         (handle-args-function-alist, window-system-initialization-alist):
1195         Use gui-method-declare.
1196         (command-line): Use gui-method.
1198 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1200         * subr.el (alist-get): New accessor.
1201         * emacs-lisp/gv.el (alist-get): Provide expander.
1202         * winner.el (winner-remember):
1203         * tempo.el (tempo-use-tag-list):
1204         * progmodes/gud.el (minor-mode-map-alist):
1205         * international/mule-cmds.el (define-char-code-property):
1206         * frameset.el (frameset-filter-params):
1207         * files.el (dir-locals-set-class-variables):
1208         * register.el (get-register, set-register):
1209         * calc/calc-yank.el (calc-set-register): Use it.
1210         * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
1211         * tooltip.el (tooltip-set-param): Mark as obsolete.
1212         (tooltip-show): Use alist-get instead.
1213         * ses.el (ses--alist-get): Remove.  Use alist-get instead.
1215 2014-10-01  Ulf Jasper  <ulf.jasper@web.de>
1217         * net/newst-backend.el: Remove Time-stamp.  Rename variable
1218         `newsticker--download-logos' to `newsticker-download-logos' and
1219         make it customizable.
1220         (newsticker--sentinel-work): Move xml-workarounds to function
1221         `newsticker--do-xml-workarounds', call unless libxml-parser is
1222         used.  Allow single quote in regexp for encoding.
1223         Use libxml-parser if available, else fall back to `xml-parse-region'.
1224         Take care of possibly missing namespace prefixes (like "RDF"
1225         instead of "rdf:RDF") when checking xml nodes and attributes (as
1226         libxml correctly removes the prefixes).  Always use Atom 1.0 as
1227         fallback feed type.  Rename `newsticker--download-logos' to
1228         `newsticker-download-logos'
1229         (newsticker--unxml, newsticker--unxml-node)
1230         (newsticker--unxml-attribute): New.
1231         (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
1232         HTML code has become part of the xml parse tree.
1233         (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
1234         of possibly missing namespace prefixes.
1235         (newsticker--parse-generic-items): Code formatting. Typo.
1236         (newsticker--images-dir): Add trailing slash.
1237         (newsticker--image-get): Fix error message.
1239         * net/newst-plainview.el: Remove Time-stamp.
1241         * net/newst-reader.el: Remove Time-stamp.
1242         (newsticker-download-logos): Rename variable
1243         `newsticker--download-logos' to `newsticker-download-logos' and
1244         make it customizable.
1245         (newsticker--print-extra-elements): Add optional parameter
1246         'htmlish for using html markup.  Amend list of ignored elements.
1247         (newsticker--do-print-extra-element): Add parameter 'htmlish for
1248         using html markup.
1250         * net/newst-ticker.el: Remove Time-stamp.
1252         * net/newst-treeview.el (newsticker--treeview-item-show): Use html
1253         for formatting extra elements.
1255         * net/newsticker.el:  Remove Time-stamp, Version.
1256         (newsticker-version): Make obsolete.
1258 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
1260         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
1261         (bug#18462).
1263 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1265         * emacs-lisp/package.el (package-check-signature): Default to nil if
1266         GPG is not available.
1267         (package-refresh-contents): Don't mess with the keyring if we won't
1268         check the signatures anyway.
1270 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1272         * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
1273         (ses-center, ses-center-span): Use them.
1274         (ses-print-cell): Bind them while calling the printer.
1275         (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
1276         (ses-dorange): Revert last change.
1277         (ses-calculate-cell): Don't bind row&col dynamically while evaluating
1278         the formula.
1279         (ses-set-cell): Avoid `eval'.
1280         (ses--time-check): Rename it from ses-time-check and turn it into
1281         a macro.
1283         * ses.el (ses-setup): Don't assume modifying the iteration var of
1284         dotimes affects the iteration (bug#18191).
1286 2014-09-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1288         * ses.el (ses-calculate-cell): Bind row and col dynamically to
1289         their values with 'cl-progv'.
1290         (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
1291         their values with 'cl-progv', also use non-interned symbols for
1292         row, minrow, maxrow, mincol and maxcol.
1293         (maxrow maxcol): New defvar, to make the compiler happy.
1295 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1297         * minibuffer.el (completion-at-point): Emit warning for ill-behaved
1298         completion functions.
1300 2014-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1302         * ses.el (ses--letref): Quote value before it gets re-evaluated.
1304 2014-09-28  Thien-Thi Nguyen  <ttn@gnu.org>
1306         Font-lock `cl-flet*', too.
1307         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
1308         Add "flet*" to intermediate var `cl-lib-kw'.
1310 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1312         * epg-config.el (epg-gpg-program): Use the plain program names rather
1313         than their absolute file name.
1315         * subr.el (track-mouse): New macro.
1316         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1317         Remove track-mouse case.
1318         * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
1320 2014-09-27  Leo Liu  <sdl.web@gmail.com>
1322         * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
1324         * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
1326 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1328         * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
1329         Handle the case where `match' is :pcase--succeed or :pcase--fail
1330         (bug#18554).
1332         Introduce global-eldoc-mode.  Move Elisp-specific code to elisp-mode.el.
1333         * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
1334         (eldoc-schedule-timer): Obey it.
1335         (eldoc-documentation-function): Default to nil.
1336         (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
1337         (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
1338         (eldoc-highlight-function-argument, eldoc-get-var-docstring)
1339         (eldoc-last-data-store, eldoc-docstring-first-line)
1340         (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
1341         (eldoc-beginning-of-sexp, eldoc-current-symbol)
1342         (eldoc-function-argstring): Move to elisp-mode.el.
1343         (eldoc-symbol-function): Remove, unused.
1344         * progmodes/elisp-mode.el: New file.  Rename all "eldoc-*" to "elisp--*".
1345         (elisp-completion-at-point): Rename from lisp-completion-at-point.
1346         (elisp--preceding-sexp): Rename from preceding-sexp.
1347         * loadup.el: Load new file progmodes/elisp-mode.
1348         * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
1349         * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
1350         (lisp--local-variables-completion-table, lisp--expect-function-p)
1351         (lisp--form-quoted-p, lisp--company-doc-buffer)
1352         (lisp--company-doc-string, lisp--company-location)
1353         (lisp-completion-at-point): Move to elisp-mode.el.
1354         * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
1355         extracted from emacs-lisp-mode-syntax-table.
1356         (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
1357         elisp-mode.el.
1358         (lisp-imenu-generic-expression): Add comments to document what comes
1359         from which Lisp dialect.
1360         (emacs-lisp-mode-map, emacs-lisp-byte-compile)
1361         (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
1362         (emacs-lisp-mode, emacs-list-byte-code-comment-re)
1363         (emacs-lisp-byte-code-comment)
1364         (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
1365         (lisp-interaction-mode-map, lisp-interaction-mode)
1366         (eval-print-last-sexp, last-sexp-setup-props)
1367         (last-sexp-toggle-display, prin1-char, preceding-sexp)
1368         (eval-last-sexp-1, eval-last-sexp-print-value)
1369         (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
1370         (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
1372 2014-09-26  Paul Eggert  <eggert@cs.ucla.edu>
1374         * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
1375         Do not match file names that end in '/', as they cannot be 'grep'
1376         hits nowadays.  This prevents confusion when 'grep -r' reports a
1377         match in a file whose basename is ':12345:'.  Conversely, do not
1378         require exactly the same sequence of spaces and tabs after both
1379         colons, and allow spaces or tabs before the second colon, as per
1380         the POSIX spec for 'grep' output.
1382 2014-09-26  Leo Liu  <sdl.web@gmail.com>
1384         Add cl-parse-integer based on parse-integer (Bug#18557)
1385         * calendar/parse-time.el (parse-time-digits): Remove.
1386         (digit-char-p, parse-integer) Moved to cl-lib.el.
1387         (parse-time-tokenize, parse-time-rules, parse-time-string):
1388         Use cl-parse-integer.
1390         * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
1392         * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
1393         (cl-digit-char-p): New function.
1395 2014-09-25  Juri Linkov  <juri@jurta.org>
1397         * vc/add-log.el (change-log-next-buffer): Don't create an empty
1398         buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
1399         Return the current buffer if no files match the default pattern
1400         ChangeLog.[0-9].  Signal "end of multi" when file is nil. (Bug#18547)
1402 2014-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1404         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
1405         the global vc-handled-backends (bug#18535).
1407 2014-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1409         * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
1410         Suggested by <lompik@voila.fr>.
1412 2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
1414         * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
1415         Rename from `newsticker--treeview-do-get-node'.
1416         (newsticker--treeview-get-node-by-id):
1417         Rename from `newsticker--treeview-get-node'.
1418         (newsticker--treeview-buffer-init)
1419         (newsticker--treeview-buffer-init): Disable buffer undo.
1420         (newsticker--treeview-unfold-node): Adapt to modified
1421         `newsticker--group-find-parent-group'.
1422         (newsticker--group-do-find-group):
1423         Rename from `newsticker--group-do-find-group-for-feed'.
1424         Now works for both, groups and feeds.
1425         (newsticker--group-find-parent-group):
1426         Rename from `newsticker--group-find-group-for-feed'.
1427         Now works for both, groups and feeds.
1428         (newsticker--group-do-get-parent-group)
1429         (newsticker--group-get-parent-group): Remove.
1430         (newsticker-group-add-group): Change interactive prompts.
1431         (newsticker-group-add-group): Finally jump to added group.
1432         (newsticker-group-delete-group): Finally jump to current feed.
1433         (newsticker--group-do-rename-group, newsticker-group-rename-group)
1434         (newsticker--get-group-names, newsticker--group-names): New.
1435         (newsticker-group-move-feed): Finally jump to moved feed.
1436         (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
1437         (newsticker-group-shift-group-down)
1438         (newsticker-group-shift-group-up, newsticker--group-shift): New.
1439         (newsticker-treeview-mode-map): New keybindings for new shift commands.
1441         * net/newst-backend.el (newsticker--item-list)
1442         (newsticker--item-position, newsticker--prev-message)
1443         (newsticker--scrollable-text): Move to newst-ticker.el.
1445         * net/newst-ticker.el (newsticker--item-list)
1446         (newsticker--item-position, newsticker--prev-message)
1447         (newsticker--scrollable-text): Move from newst-backend.el.
1449 2014-09-22  Kan-Ru Chen  <kanru@kanru.info>
1451         * window.el (fit-window-to-buffer): When counting buffer width,
1452         count the whole visible buffer.  Correctly convert the body-height
1453         to pixel size for window-text-pixel-size (Bug#18498).
1455 2014-09-22  Sam Steingold  <sds@gnu.org>
1457         * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
1458         (sql-execute): Use `special-mode'.
1460 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1462         Add pcase-defmacro, as well as `quote' and `app' patterns.
1463         * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
1464         * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
1465         (pcase--funcall, pcase--eval): New functions.
1466         (pcase--u1): Use them for guard, pred, let, and app.
1467         (\`): Use the new feature to generate better code for vector patterns.
1468         * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
1469         (pcase--upat): Remove.
1470         (pcase--macroexpand): Don't hardcode handling of `.
1471         (pcase--split-consp, pcase--split-vector): Remove.
1472         (pcase--split-equal): Disregard ` since it's expanded away.
1473         (pcase--split-member): Optimize for quote rather than for `.
1474         (pcase--split-pred): Optimize for quote rather than for `.
1475         (pcase--u1): Remove handling of ` (and of `or' and `and').
1476         Quote non-selfquoting values when passing them to `eq'.
1477         Drop `app's let-binding if the variable is not used.
1478         (pcase--q1): Remove.
1479         (`): Define as a pattern macro.
1480         * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
1481         (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
1482         (pcase--macroexpand): Handle self-quoting patterns here, expand them to
1483         quote patterns.
1484         (pcase--split-match): Don't hoist or/and here any more.
1485         (pcase--split-equal): Optimize quote patterns as well as ` patterns.
1486         (pcase--flip): New helper macro.
1487         (pcase--u1): Optimize the memq case directly.
1488         Don't handle neither self-quoting nor and/or patterns any more.
1489         * emacs-lisp/pcase.el (pcase-defmacro): New macro.
1490         (pcase--macroexpand): New function.
1491         (pcase--expand): Use it.
1492         * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
1493         New optimization functions.
1494         (pcase--u1): Add support for `quote' and `app'.
1495         (pcase): Document them in the docstring.
1497 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1499         Use lexical-bindin in Ibuffer.
1500         * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
1501         (ibuffer-compile-format): Simplify.
1502         (ibuffer-clear-summary-columns): Simplify.
1503         * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
1504         elem of dotimes when we don't refer to the iteration var from it.
1505         (ibuffer-toggle-sorting-mode): Avoid add-to-list.
1506         * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
1507         Silence byte-compiler.
1509 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1511         * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
1512         expression for a list.
1514         * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
1515         for functions with no arguments.
1517         * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
1518         (mpc-volume-refresh): Make sure the corresponding header-line is updated.
1520 2014-09-17  Tom Willemse  <tom@ryuslash.org>  (tiny change)
1522         * simple.el (clone-indirect-buffer): Mention the return value
1523         (bug#18478).
1525         * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
1526         Text mode in docstring (bug#18464).
1528 2014-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1530         * progmodes/perl-mode.el (perl-syntax-propertize-function):
1531         Accept underscores in identifiers after "sub" (bug#18502).
1533 2014-09-21  Tassilo Horn  <tsdh@gnu.org>
1535         * textmodes/reftex-sel.el (reftex-select-label-mode)
1536         (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
1537         from special-mode (instead of fundamental-mode) and propertize
1538         with font-lock-face instead of just face. (Bug#18496)
1540         * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
1542 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
1544         * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
1545         `table-etc' when `end' is non-nil.
1546         (lisp-completion-at-point): Move `end' back if it's after quote.
1547         If in comment or string, only complete when after backquote.
1548         (Bug#18265)
1549         (lisp-completion-at-point): Don't use
1550         `lisp--local-variables-completion-table' in the
1551         `lisp--form-quoted-p' case.
1553 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
1555         * emacs-lisp/lisp.el (lisp--expect-function-p)
1556         (lisp--form-quoted-p): New functions.
1557         (lisp-completion-at-point): Use them to see if we're completing a
1558         variable reference, a function name, or just any symbol.
1559         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
1561 2014-09-18  Ivan Kanis  <ivan@kanis.fr>
1563         * net/shr.el, net/eww.el: Don't override `shr-width', but
1564         introduce a new variable `shr-internal-width'.  This allows users
1565         to specify a width themselves.
1567 2014-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1569         * image-mode.el (image-toggle-display-image): If we have a
1570         `fit-width' or a `fit-height', don't limit the size of the image
1571         to the window size, because that doesn't preserve the aspect ratio.
1572         * image-mode.el: Move defvars earlier to avoid a byte-compilation
1573         warning.
1575 2014-09-17  Reuben Thomas  <rrt@sc3d.org>
1577         * progmodes/js.el: Add interpreter-mode-alist support for various
1578         JavaScript interpreters.
1580 2014-09-17  Paul Eggert  <eggert@cs.ucla.edu>
1582         Don't assume 'grep' supports GREP_OPTIONS.
1583         The GREP_OPTIONS environment variable is planned to be marked
1584         obsolescent in GNU grep, due to problems in its use, so stop
1585         relying on it.
1586         * progmodes/grep.el (grep-highlight-matches): Document this.
1587         (grep-process-setup): Do not set GREP_OPTIONS.
1588         (grep-compute-defaults): Use an explicit --color option if supported.
1590 2014-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1592         * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
1593         Don't add outdated key-shortcut cache (bug#18482).
1595 2014-09-15  Glenn Morris  <rgm@gnu.org>
1597         * image.el (image-multi-frame-p): Fix thinko - do not force
1598         a delay if none was specified.  (Bug#18334)
1600 2014-09-15  Kan-Ru Chen  <kanru@kanru.info>
1602         * window.el (fit-window-to-buffer): Doc fix.
1604 2014-09-15  Ivan Shmakov  <ivan@siamics.net>
1606         * desktop.el (desktop-create-buffer): Check that buffers are still live
1607         before burying them (bug#18373).
1609 2014-09-15  Glenn Morris  <rgm@gnu.org>
1611         * calendar/diary-lib.el (diary-list-entries):
1612         Restore 24.3 display behavior.  (Bug#18381)
1614 2014-09-15  Eli Zaretskii  <eliz@gnu.org>
1616         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
1617         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
1618         discrepancy between window-pixel-edges and mouse events, and
1619         avoids moving mode line up when the mouse click is on the modeline
1620         and no drag is attempted.
1622 2014-09-14  Daniel Colascione  <dancol@dancol.org>
1624         * register.el (insert-register): Change default interactive
1625         insertion mode.
1627 2014-09-14  Michael Albinus  <michael.albinus@gmx.de>
1629         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
1630         Suppress debug messages.
1632         * net/tramp.el (tramp-file-name-handler):
1633         * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
1634         appropriate.
1636 2014-09-13  Christopher Schmidt  <ch@ristopher.com>
1638         * calendar/calendar.el (calendar-update-mode-line):
1639         Do not overwrite mode-line-format if calendar-mode-line-format is
1640         nil.  (Bug#18467)
1642 2014-09-13  Leo Liu  <sdl.web@gmail.com>
1644         * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
1645         (pcase--expand): Use it.
1646         (pcase-exhaustive): New macro.  (Bug#16567)
1648         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
1649         Add pcase-exhaustive.
1651 2014-09-13  Eli Zaretskii  <eliz@gnu.org>
1653         * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
1654         using the specified transfer-encoding, if any, or 'undecided'.
1655         (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
1656         broken at the window margin.
1658 2013-12-27  Ken Olum  <kdo@cosmos.phy.tufts.edu>
1660         Support rendering of HTML parts in Rmail (bug#4258).
1661         * mail/rmailmm.el (rmail-mime-process): Handle text/html
1662         separately from other text/ types.  Suppress tagline for
1663         multipart body.
1664         (rmail-mime-parse): Don't change visibility of tagline here.
1665         (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
1666         Handle text/html specially.
1667         (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
1668         (rmail-mime-insert-html, rmail-mime-render-html-shr)
1669         (rmail-mime-render-html-lynx): New functions.
1670         (rmail-mime-fix-inserted-faces): New function.
1671         (rmail-mime-process-multipart): Find the best part to show
1672         following rmail-mime-prefer-html if set.
1673         (rmail-mime-searching): New variable.
1674         (rmail-search-mime-message): Bind rmail-mime-searching to
1675         suppress rendering while searching.
1677 2014-09-12  Sam Steingold  <sds@gnu.org>
1679         * progmodes/sql.el (sql-product-alist): Add vertica.
1680         (sql-vertica-program, sql-vertica-options)
1681         (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
1682         New functions and variables to support Vertica.
1683         Inspired by code by Roman Scherer <roman@burningswell.com>.
1685 2014-09-11  Paul Eggert  <eggert@cs.ucla.edu>
1687         * ses.el (ses-file-format-extend-parameter-list): Rename from
1688         ses-file-format-extend-paramter-list, to correct a misspelling.
1689         All uses changed.
1691 2014-09-10  Alan Mackenzie  <acm@muc.de>
1693         CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
1694         gets loaded at run-time).
1695         * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
1696         c-lang-const to c-make-no-parens-syntax-table and correct the
1697         logic.
1698         (c-no-parens-syntax-table): Correct the logic of the
1699         c-lang-defvar.
1701 2014-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1703         CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
1704         plus misc cleanup.
1705         * progmodes/cc-mode.el (c-basic-common-init):
1706         Set open-paren-in-column-0-is-defun-start.
1707         (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
1708         Remove declarations, unused.
1709         (run-mode-hooks): Remove declaration.
1710         (font-lock-defaults): Use plain `defvar' to declare.
1711         (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
1712         * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
1713         (c-make-mode-syntax-table): Don't micro-optimize.
1714         (c-keywords, c-keyword-member-alist): Simplify.
1715         (c-kwds-lang-consts): Don't eval at compile-time.
1716         (c-primary-expr-regexp): Comment out unused vars.
1717         * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
1718         (c-font-byte-compile): New var.
1719         (c--compile): New function.  Use it instead of `byte-compile'.
1720         (c-cpp-matchers): Quote the value returned by
1721         `c-make-syntactic-matcher' in case it's not self-evaluating.
1722         (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
1723         parentheses instead (in case MATCHER happens to be a list).
1724         (c-font-lock-enum-tail): Remove unused var `start'.
1725         (c-font-lock-objc-methods): Silence byte-compiler warnings.
1726         * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
1727         test into an argument.
1728         * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
1729         (c-get-char-property): Don't use `eval' just to unquote a constant.
1730         (c-use-extents): Remove.  Use (featurep 'xemacs), compiled
1731         more efficiently.
1732         (c-put-char-property-fun): Don't call `byte-compile' by hand.
1733         (c-clear-char-property, c-clear-char-properties): Check that `property'
1734         is a quoted constant.
1735         (c-emacs-features): Remove `infodock', `syntax-properties', and
1736         `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
1737         'xemacs) instead).  Use `with-temp-buffer' and let-bind vars after
1738         changing buffer, so we don't have to setq them again afterwards.
1739         (c-lang-const): Remove redundant symbolp assertions.
1740         (c-find-assignment-for-mode): Use `or'.
1741         * Makefile.in (compile-one-process): Remove cc-mode dependency.
1743 2014-09-09  Sam Steingold  <sds@gnu.org>
1745         * progmodes/sql.el (sql-default-directory): Fix type annotation.
1747 2014-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1749         * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
1750         Change doc comments into docstrings.
1751         * Makefile.in: Remove cc-awk dependency.
1753 2014-09-08  Sam Steingold  <sds@gnu.org>
1755         * progmodes/sql.el (sql-send-line-and-next): New command,
1756         bound to C-c C-n.
1757         (sql-show-sqli-buffer): Display the buffer instead of its name and
1758         bind the command to C-c C-z.
1759         (sql-default-directory): New user option.
1760         (sql-product-interactive): Bind `default-directory' to it to
1761         enable remote connections using Tramp.
1762         (sql-set-sqli-buffer): Call `sql-product-interactive' when no
1763         suitable buffer is available.
1765 2014-09-08  Glenn Morris  <rgm@gnu.org>
1767         * calendar/calendar.el (calendar-basic-setup):
1768         Fix calendar-view-holidays-initially-flag and fancy display.
1769         * calendar/diary-lib.el (diary-live-p): Doc fix.
1771         * calendar/calendar.el (calendar-basic-setup):
1772         Avoid clobbering calendar with diary.  (Bug#18381)
1774 2014-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1776         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
1778 2014-09-08  Lars Ljung  <lars@matholka.se>  (tiny change)
1780         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
1781         as well (bug#18400).
1783 2014-09-08  Eli Zaretskii  <eliz@gnu.org>
1785         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
1787 2014-09-06  Leo Liu  <sdl.web@gmail.com>
1789         * emacs-lisp/pcase.el (pcase): Doc fix.
1790         (pcase--split-vector): New function.
1791         (pcase--q1): Support vector qpattern.  (Bug#18327)
1793 2014-09-05  Sam Steingold  <sds@gnu.org>
1795         * textmodes/tex-mode.el (tex-print-file-extension): New user
1796         option.
1797         (tex-print): Use it instead of the hard-coded string.
1799 2014-09-05  Michael Albinus  <michael.albinus@gmx.de>
1801         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1802         Expand `default-directory'.
1804 2014-09-05  Martin Rudalics  <rudalics@gmx.at>
1806         * scroll-bar.el (horizontal-scroll-bars-available-p):
1807         New function.
1808         (horizontal-scroll-bar-mode): Rewrite using
1809         horizontal-scroll-bars-available-p.
1810         * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
1811         horizontal-scroll-bars-available-p.
1813 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1815         * subr.el (call-process-shell-command, process-file-shell-command):
1816         Make the `args' obsolete (bug#18409).
1817         (start-process-shell-command, start-file-process-shell-command):
1818         Use `declare'.
1820 2014-09-05  Jay Belanger  <jay.p.belanger@gmail.com>
1822         * calc/calc-forms.el (math-normalize-hms): Do a better check for
1823         "negative" hms forms.
1825 2014-09-04  Rasmus Pank Roulund  <emacs@pank.eu>
1827         * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
1828         returns nil (bug#18391).
1830 2014-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1832         * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
1833         terminating paren (bug#18352).
1834         (eldoc-last-data-store): Return cached data.
1835         (eldoc-get-var-docstring): Avoid setq.
1836         (eldoc-get-fnsym-args-string): Clarify data flow.
1838 2014-09-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1840         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
1841         case where we're currently providing part of the &rest arg after some
1842         &key args, as in define-ibuffer-op (bug#18048).
1844 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1846         * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
1847         buffer-local setting of which-func-mode.
1848         (which-func-mode): Use defvar-local.
1849         (which-function-mode): Don't reset which-func-mode in each buffer since
1850         it might have been set by someone else.
1851         (which-func-update-ediff-windows): Check which-function-mode.
1853 2014-09-03  Martin Rudalics  <rudalics@gmx.at>
1855         * frame.el (frame-initialize): Remove horizontal-scroll-bars
1856         from frame-initial-frame-alist.
1857         * scroll-bar.el (previous-horizontal-scroll-bar-mode)
1858         (horizontal-scroll-bar-mode-explicit)
1859         (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
1860         (toggle-horizontal-scroll-bar): Remove.
1861         (horizontal-scroll-bar-mode): Remove defcustom.
1862         (horizontal-scroll-bar-mode): Fix doc-string.
1863         (scroll-bar-toolkit-scroll)
1864         (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
1866 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1868         * emacs-lisp/package.el (package-generate-description-file):
1869         Properly quote the arguments (bug#18332).  Change second arg.
1870         (package--alist-to-plist-args): Rename from package--alist-to-plist and
1871         quote the elements.
1872         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1873         the *-pkg.el file.  Adjust to new calling convention of
1874         package-generate-description-file.
1876         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1877         (gud-gdb-completions): Remove obsolete workaround.
1879 2014-09-03  Eli Zaretskii  <eliz@gnu.org>
1881         * subr.el (posn-col-row): Revert the change from commit
1882         2010-11-13T21:07:58Z!eliz@gnu.org, which
1883         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1884         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1885         introduced an off-by-one error in the reported row when there is a
1886         header line.  (Bug#18384)
1888 2014-09-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1890         * progmodes/python.el (python-indent-post-self-insert-function):
1891         Avoid electric colon at beginning-of-defun.  (Bug#18228)
1893 2014-09-03  Glenn Morris  <rgm@gnu.org>
1895         * tutorial.el (tutorial--display-changes):
1896         Fix 2014-08-01 change.  (Bug#18382)
1898 2014-09-03  Ken Brown  <kbrown@cornell.edu>
1900         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1901         the Cygwin-w32 build.  (Bug#18347)
1903 2014-09-03  Glenn Morris  <rgm@gnu.org>
1905         * tar-mode.el (tar--extract, tar-extract):
1906         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
1908 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1910         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
1911         handle multiline elements (bug#18380).
1913 2014-09-01  Eli Zaretskii  <eliz@gnu.org>
1915         * ls-lisp.el (ls-lisp-use-string-collate)
1916         (ls-lisp-UCA-like-collation): New defcustoms.
1917         (ls-lisp-string-lessp): Use them to control sorting by file
1918         names.  (Bug#18051)
1919         (ls-lisp-version-lessp): New function.
1920         (ls-lisp-handle-switches): Use it to implement the -v switch of
1921         GNU ls.
1922         (ls-lisp--insert-directory): Mention the -v switch in the doc string.
1924 2014-08-31  Christoph Scholtes  <cschol2112@gmail.com>
1926         * ibuffer.el: Replace mode-specific quit function with
1927         `quit-window' via `special-mode'.
1928         (ibuffer-mode-map): Use keybindings from special-mode-map instead
1929         of local overrides.
1930         (ibuffer): Don't store previous windows configuration.
1931         Let `quit-window' handle restoring.
1932         (ibuffer-quit): Remove function. Use `quit-window' instead.
1933         (ibuffer-restore-window-config-on-quit): Remove variable.
1934         (ibuffer-prev-window-config): Remove variable.
1936 2014-08-29  Michael Heerdegen  <michael_heerdegen@web.de>
1938         * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
1939         name instead of variable name in hook docstring.  (Bug#18349)
1941 2014-08-29  Martin Rudalics  <rudalics@gmx.at>
1943         * window.el (display-buffer-at-bottom): Prefer bottom-left
1944         window to other bottom windows.  Reuse a bottom window if it
1945         shows the buffer already.  Suggested by Juri Linkov
1946         <juri@jurta.org> in discussion of (Bug#18181).
1948 2014-08-29  Leo Liu  <sdl.web@gmail.com>
1950         * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
1951         append to minibuffer-setup-hook.  (Bug#18341)
1953 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1955         * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
1956         byte-compiler.
1957         (lookup-syntax-properties): Silence byte-compiler.
1958         (c-lang-defconst): Quote the code with `lambda' rather than with
1959         `quote'.
1960         (c-lang-const): Avoid unneeded setq.
1961         (c-lang-constants-under-evaluation): Add docstring.
1962         (c-lang--novalue): New constant.
1963         (c-find-assignment-for-mode): Use it instead of c-lang-constants.
1964         (c-get-lang-constant): Same here.
1965         Get the mode's value using `funcall' now that the code is quoted
1966         with `lambda'.
1968 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
1970         * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
1971         (Bug#18326)
1973 2014-08-28  Martin Rudalics  <rudalics@gmx.at>
1975         * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
1976         interpretation of `portion-whole'.
1978 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
1980         * net/tramp-adb.el: Spell author name correctly.
1982 2014-08-28  João Távora  <joaotavora@gmail.com>
1984         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1985         use url-expand-file-name.  (Bug#18310)
1987 2014-08-28  Glenn Morris  <rgm@gnu.org>
1989         * emulation/cua-rect.el (cua--highlight-rectangle):
1990         Avoid error at point-min.  (Bug#18309)
1992 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1994         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1995         executable-find (bug#18244).
1997         * simple.el (self-insert-uses-region-functions): Defvar.
1999 2014-08-28  Glenn Morris  <rgm@gnu.org>
2001         * subr.el (remq): Revert 2014-08-25 doc change (not always true).
2003 2014-08-27  Dmitry Antipov  <dmantipov@yandex.ru>
2005         * startup.el (normal-top-level): Now use internal--top-level-message.
2007 2014-08-26  Dmitry Antipov  <dmantipov@yandex.ru>
2009         * startup.el (normal-top-level): Use top-level-message.
2011 2014-08-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2013         * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
2014         URLs containing spaces and the like.
2016 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
2018         * subr.el (remq): Fix docstring (Bug#18253).
2020 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
2022         * replace.el (query-replace): Fix typo in docstring (Bug#18320).
2024 2014-08-24  Alan Mackenzie  <acm@muc.de>
2026         Handle C++11's "auto" and "decltype" constructions.
2027         * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
2028         and return 'decltype.
2029         (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
2030         prev-kwd-sym, new-style-auto.  Enhance to handle the new "auto"
2031         keyword.
2032         * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
2033         "decltype" keyword.
2034         (c-font-lock-c++-new): Handle "decltype" constructions.
2035         * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
2036         New c-lang-defconsts/defvars.
2037         (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
2038         (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
2039         (c-typeless-decl-kwds): Append "auto" onto the C++ value.
2040         (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
2042         Make ">>" act as double template ender in C++ Mode.
2043         * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
2044         off from c->-op-cont-re.
2045         (c->-op-cont-tokens): Change to use the above.
2046         (c->-op-without->-cont-regexp): New lang-const.
2047         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
2048         Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
2051 2014-08-23  Alan Mackenzie  <acm@muc.de>
2053         * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
2054         loop, bug #18306.  The bug was introduced on 2014-08-02.
2056 2014-08-21  Eli Zaretskii  <eliz@gnu.org>
2058         * textmodes/texnfo-upd.el (texinfo-specific-section-type):
2059         Don't recognize a Top node if there are other sectioning commands
2060         earlier in the Texinfo file.  This fixes a bug in
2061         texinfo-make-menu and avoids inflooping in
2062         texinfo-all-menus-update when they are invoked on texinfo.texi.
2064 2014-08-21  Martin Rudalics  <rudalics@gmx.at>
2066         * window.el (window--side-window-p): New function.
2067         (split-window, window-splittable-p): Use window--side-window-p to
2068         determine whether WINDOW can be split (Bug#18304).
2069         * calendar/calendar.el (calendar-basic-setup): Fix one call of
2070         `window-splittable-p' and add another (Bug#18304).
2072 2014-08-20  Sam Steingold  <sds@gnu.org>
2074         * progmodes/python.el (python-new-pythonpath): Extract from
2075         `python-shell-calculate-process-environment'.
2077 2014-08-18  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2079         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
2080         for &key args (bug#18048).
2082 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2084         * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
2085         (eldoc-function-argstring-format): Remove.
2086         (eldoc-function-argstring): Always return upcase args.
2087         Use help-make-usage.  Don't add parens.
2088         (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
2089         it's too late to do it right (bug#18048).
2091 2014-08-18  Eli Zaretskii  <eliz@gnu.org>
2093         * scroll-bar.el (scroll-bar-horizontal-drag-1)
2094         (scroll-bar-toolkit-horizontal-scroll): When determining the
2095         paragraph direction, use the buffer of the window designated in
2096         the event.
2098 2014-08-16  Andreas Schwab  <schwab@linux-m68k.org>
2100         * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
2101         context of unified diff.
2103 2014-08-16  Paul Eggert  <eggert@cs.ucla.edu>
2105         Add dependencies to fix loaddefs race during parallel builds.
2106         Without this, for example, 'make -j bootstrap' can fail and report
2107         "Opening input file: no such file or directory,
2108         .../lisp/calendar/diary-loaddefs.el ... recipe for target
2109         'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
2110         got confused because diary-loaddefs.el was being built in parallel.
2111         * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
2112         Depend on $(CAL_DIR)/cal-loaddefs.el.
2113         ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
2115 2014-08-16  Martin Rudalics  <rudalics@gmx.at>
2117         * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
2118         portion-whole for scrolling right-to-left text.
2120 2014-08-15  Leo Liu  <sdl.web@gmail.com>
2122         * speedbar.el (speedbar-generic-list-tag-p): Allow special
2123         elements from imenu.
2125 2014-08-15  Glenn Morris  <rgm@gnu.org>
2127         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
2129 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
2131         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2132         Add Guile regexpses.
2134 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
2136         * progmodes/gud.el (guiler): New function.  Starts the Guile REPL;
2137         add Guile debugger support for GUD.
2139 2014-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2141         * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
2142         (mouse-sel--ignore): New function.
2143         (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
2144         (mouse-sel-original-interprogram-cut-function)
2145         (mouse-sel-original-interprogram-paste-function): Remove.
2147 2014-08-13  Eric S. Raymond  <esr@thyrsus.com>
2149         * vc/vc-git.el (vc-git-resolve-when-done): New function.
2150         Call "git add" when there are no longer conflict markers.
2152 2014-08-13  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2154         * vc/vc-git.el (vc-git-find-file-hook): New function.
2155         Adds support for calling smerge (and resolve) on a conflicted file.
2156         (vc-git-conflicted-files): New function.
2157         Useful in itself and a step towards better smerge support.
2159 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2161         * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
2162         to the first part if they're the same as the selection.
2164 2014-08-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2166         * image-mode.el (image-transform-reset): New command and menu item.
2167         (image-mode-map): Rearrange the menu items to put presumably more
2168         obscure items at the end.
2170 2014-08-12  Juri Linkov  <juri@jurta.org>
2172         * vc/vc-annotate.el (vc-annotate-background-mode):
2173         Use `with-demoted-errors' instead of `ignore-errors'.  (Bug#18189)
2175 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2177         * files.el (out-of-memory-warning-percentage): Turn it off by default.
2179 2014-08-11  Sam Steingold  <sds@gnu.org>
2181         * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
2182         the presence of known validators (tidy, (o)nsgmls).
2184 2014-08-11  Ulf Jasper  <ulf.jasper@web.de>
2186         Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
2188         * net/newst-treeview.el (newsticker-treeview-date-format): New.
2189         (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
2191 2014-08-11  Glenn Morris  <rgm@gnu.org>
2193         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
2194         chose coding system for writing before backing up, since it causes
2195         a more serious problem than the one it solves.  (Closes Bug#18141,
2196         reopens Bug#13522.)
2198 2014-08-11  Martin Rudalics  <rudalics@gmx.at>
2200         * window.el (window-total-size): Make doc-string more self-contained.
2202         * window.el (display-buffer-below-selected): Restore original
2203         behavior if buffer is already displayed in the window below the
2204         selected one (Bug#18181).
2206 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2208         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
2209         event (bug#18212).
2211 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
2213         * info.el (info): Doc fix.
2215 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2217         * info.el (Info-mode-map): Override a global down-mouse-2 binding
2218         (bug#18212).
2220 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
2222         * simple.el (default-line-height): A floating-point value of
2223         line-spacing means a fraction of the default frame font's height,
2224         not of the font currently used by the 'default' face.
2225         Truncate the pixel value, like the display engine does.
2226         (window-screen-lines): Use window-inside-pixel-edges for
2227         determining the window height in pixels.  (Bug#18195)
2229 2014-08-11  Grégoire Jadi  <daimrod@gmail.com>
2231         * leim/quail/latin-post.el: Transform " __" into " _".  (Bug#18023)
2233 2014-08-10  Ulf Jasper  <ulf.jasper@web.de>
2235         Enumerate evaluated sexp diary entries (Bug#7911).
2236         * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
2237         (icalendar-export-sexp-enumeration-days): New.
2238         (icalendar-export-region): Now `icalendar--convert-to-ical'
2239         returns a cons cell or a list of cons cells.
2240         (icalendar--convert-to-ical): Take care of
2241         `icalendar-export-sexp-enumerate-all'.  Return (a list of) cons cells.
2242         (icalendar--convert-ordinary-to-ical)
2243         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2244         (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
2245         (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
2246         (icalendar--convert-anniversary-to-ical): Return cons cell.
2247         (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
2248         entries.  Return (list of) cons cells.
2250 2014-08-09  Juri Linkov  <juri@jurta.org>
2252         * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
2253         to reevaluate `vc-annotate-color-map'.  (Bug#18189)
2255 2014-08-09  Alan Mackenzie  <acm@muc.de>
2257         * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
2258         for top-level that can cause unacceptable slow-down in scrolling.
2259         See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
2260         Antipov from 2013-10-14 in emacs-devel.
2262 2014-08-08  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2264         * ibuffer.el (ibuffer-mode-map): Use toggle button for
2265         `ibuffer-auto-mode' menu entry.
2266         (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
2268 2014-08-08  Matthias Meulien  <orontee@gmail.com>
2270         * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
2271         (Bug#16394)
2273 2014-08-07  Martin Rudalics  <rudalics@gmx.at>
2275         * window.el (window--min-size-1): Explicitly set WINDOW arg in
2276         calls of window-min-pixel-height and window-min-pixel-width.
2278 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
2280         * progmodes/ada-mode.el:
2281         * net/tramp.el (tramp-handle-file-symlink-p):
2282         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
2283         about VMS, which we no longer support.
2284         * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
2285         and fix a FIXME, using convert-standard-filename in place of
2286         removed ada-convert-file-name.
2288 2014-08-07  Eli Zaretskii  <eliz@gnu.org>
2290         * files.el (auto-mode-alist): Remove support for VMS from a pattern.
2292 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
2294         Refer to MS-DOS using the same name everywhere.
2295         * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
2296         ``msdog'' become ``MS-DOS''.
2298 2014-08-07  Michael Albinus  <michael.albinus@gmx.de>
2300         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2301         Use cached "remote-copy-args" value, if available.  (Bug#18199)
2303 2014-08-07  Leo Liu  <sdl.web@gmail.com>
2305         * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
2306         Revert change on 2014-03-22.
2308 2014-08-06  Ulf Jasper  <ulf.jasper@web.de>
2310         * calendar/icalendar.el (icalendar--diarytime-to-isotime)
2311         (icalendar--convert-ordinary-to-ical): Allow for missing minutes
2312         (Bug#13750).
2315 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2317         * image-mode.el (image-toggle-display-image): Always rescale images
2318         to not be bigger than the current window.
2320 2014-08-05  Eric Brown  <brown@fastmail.fm>  (tiny change)
2322         * net/eww.el (eww-bookmarks-directory): New variable.
2323         (eww-write-bookmarks): Use it.
2324         (eww-read-bookmarks): Ditto.
2326 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2328         * net/shr.el (shr-copy-url): Also copy the image URL.
2330 2014-08-05  Michael Albinus  <michael.albinus@gmx.de>
2332         * net/tramp-cache.el (tramp-flush-file-function): Suppress function
2333         also for Tramp working buffers.
2335 2014-08-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2337         * progmodes/python.el: Fix completions inside (i)pdb.
2338         (python-shell-completion-pdb-string-code): Make obsolete.
2339         (python-shell-completion-get-completions):
2340         Use python-shell-completion-string-code resending setup code
2341         continuously for (i)pdb.
2343 2014-08-04  Paul Eggert  <eggert@cs.ucla.edu>
2345         * rect.el (rectangle--default-line-number-format): Rename
2346         from misspelled rectange--default-line-number-format (Bug#18045).
2347         All uses changed.
2349 2014-08-03  Paul Eggert  <eggert@cs.ucla.edu>
2351         Don't mishandle year-9999 dates (Bug#18176).
2352         * calendar/parse-time.el (parse-time-rules):
2353         Allow years up to most-positive-fixnum.
2354         * calendar/time-date.el (date-to-time):
2355         Pass "Specified time is not representable" errors through.
2357 2014-08-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2359         * progmodes/python.el: Completion code cleanups.
2360         (python-shell-completion-get-completions): Detect and send import
2361         statements directly to completion function.
2362         (python-shell-completion-at-point): Simplify prompt calculation
2363         and import vs input completion logic.
2365 2014-08-02  Alan Mackenzie  <acm@muc.de>
2367         Fix confusion in C++ file caused by comma in "= {1,2},".
2368         Bug #17756.
2369         * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
2370         for a statement boundary marked by "}", check there's no "="
2371         before the "{".
2372         (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
2373         non-nil `comma-delim' argument.
2374         * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
2375         initializer expression more accurately.
2377         Correct loop termination condition in c-syntactic-skip-backward.
2378         * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
2379         the situation where, after moving back out of a literal,
2380         skip-chars-backward doesn't move further, yet checks have still to
2381         be done.
2383 2014-08-01  Eli Zaretskii  <eliz@gnu.org>
2385         * tutorial.el (tutorial--display-changes): Accept punctuation
2386         characters before the key binding.  (Bug#18146)
2388 2014-07-31  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2390         * progmodes/python.el: Shell output capture enhancements.
2391         (python-shell-accept-process-output): New function.
2392         (inferior-python-mode)
2393         (python-shell-send-setup-code): Use it.
2395 2014-07-30  Christophe Deleuze  <christophe.deleuze@free.fr>  (tiny change)
2397         * calendar/icalendar.el (icalendar--decode-isodatetime):
2398         Use actual current-time-zone when converting to local time. (Bug#15408)
2400 2014-07-29  Martin Rudalics  <rudalics@gmx.at>
2402         * window.el (window--state-put-2): Handle horizontal scroll
2403         bars, if present.
2405 2014-07-29  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2407         * menu-bar.el (menu-bar-update-buffers): Update item list format
2408         in `buffers-menu' to confirm with changes to `get_keyelt'
2409         (r117463).  (Bug#18016)
2411 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2413         * progmodes/python.el (inferior-python-mode): Make input prompts
2414         read-only.
2416 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
2418         * net/tramp-sh.el (tramp-get-remote-python): Also search for
2419         executables named "python2" or "python3".
2420         (tramp-get-remote-uid-with-python): Use parentheses around
2421         arguments to `print' to make it compatible with Python 3.
2422         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
2424 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
2426         * window.el (window--pixel-to-total): Use FRAME's root window, not
2427         that of the selected frame.  (Bug#18112, Bug#16674)
2429 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
2431         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
2432         (Bug#18117)
2434 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2436         * progmodes/python.el (inferior-python-mode): Doc fix.
2438 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
2440         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
2441         not a character, ignore it instead of raising an error.
2443         * calendar/todo-mode.el: Fix handling of marked items and make
2444         minor code improvements.
2445         (todo-edit-item): If there are marked items, ensure user can only
2446         invoke editing commands that work with marked items.
2447         (todo-edit-item--text): When there are marked items, make it a
2448         noop if invoked with point not on an item; otherwise, ensure it
2449         applies only to item at point.
2450         (todo-item-undone): If there are marked not-done items, return
2451         point to its original position before signaling user error.
2452         (todo--user-error-if-marked-done-item): New function.
2453         (todo-edit-item--header, todo-edit-item--diary-inclusion)
2454         (todo-item-done): Use it.
2456 2014-07-28  Glenn Morris  <rgm@gnu.org>
2458         * files.el (toggle-read-only): Re-add basic doc-string.
2459         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
2461         * progmodes/prolog.el (prolog-mode-keybindings-edit):
2462         Replace missing `switch-to-prolog' with `run-prolog'.
2463         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
2465 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
2467         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
2468         of file-wide setting when changing category-wide setting.
2470 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
2472         * doc-view.el (doc-view-open-text): Don't require that the
2473         document is saved in a file (e.g., email attachment).
2475 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2477         Parse completion input in a iPython friendly way.  (Bug#18084)
2478         * progmodes/python.el
2479         (python-shell-completion-at-point): Rename from
2480         python-shell-completion-complete-at-point.
2481         (inferior-python-mode): Use it.
2482         (python-completion-at-point): Rename from
2483         python-completion-complete-at-point.  Parse input up to first
2484         backward occurrence of whitespace, open-paren, close-paren or
2485         string delimiter.
2486         (python-mode): Use it.
2488 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2490         Prevent Python process shell buffer to pop twice.
2491         * progmodes/python.el (python-shell-switch-to-shell): Do not call
2492         pop-to-buffer.
2494 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2496         * progmodes/python.el
2497         (python-shell-with-shell-buffer): New macro.
2498         (python-shell-font-lock-get-or-create-buffer)
2499         (python-shell-font-lock-kill-buffer)
2500         (python-shell-font-lock-with-font-lock-buffer)
2501         (python-shell-font-lock-cleanup-buffer)
2502         (python-shell-font-lock-toggle): Use it.
2503         (python-shell-font-lock-turn-on)
2504         (python-shell-font-lock-turn-off): Use it.  Make command.
2506 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2508         Grab all Python process output before inferior-python-mode hooks.
2509         * progmodes/python.el (inferior-python-mode):
2510         Call accept-process-output and sit-for to ensure all output for process
2511         has been received before running hooks.
2512         (python-shell-internal-get-or-create-process):
2513         Cleanup accept-process-output and sit-for calls.
2515 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2517         More robust shell startup and code setup.
2518         * progmodes/python.el (python-shell-make-comint):
2519         Remove accept-process-output call.
2520         (python-shell-get-buffer): Return current buffer if major-mode is
2521         inferior-python-mode.
2522         (python-shell-get-or-create-process): Use it.
2523         (python-shell-send-setup-code): Send all setup code in one string,
2524         output success message and accept-process-output.
2526 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
2528         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
2529         Add rudimentary support for bidirectional text.
2531 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
2533         * frame.el (frame-notice-user-settings): Rewrite using
2534         frame-initial-frame-tool-bar-height.
2535         * menu-bar.el (menu-bar-horizontal-scroll-bar)
2536         (menu-bar-no-horizontal-scroll-bar): New functions.
2537         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
2538         scroll bars.
2539         * scroll-bar.el (scroll-bar-lines)
2540         (set-horizontal-scroll-bar-mode)
2541         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
2542         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
2543         (scroll-bar-toolkit-horizontal-scroll): New functions.
2544         (horizontal-scroll-bar-mode)
2545         (previous-horizontal-scroll-bar-mode)
2546         (horizontal-scroll-bar-mode-explicit): New variables.
2547         (horizontal-scroll-bar-mode): New option.
2548         (toggle-horizontal-scroll-bar): Do something.
2549         (top-level): Bind horizontal-scroll-bar mouse-1.
2550         * startup.el (tool-bar-originally-present): Remove variable.
2551         (command-line): Don't set tool-bar-originally-present.
2552         * window.el (window-min-height): Update doc-string.
2553         (window--dump-frame): Dump horizontal scroll bar values.
2554         (window--min-size-1): Handle minibuffer window separately.
2555         Count in margins and horizontal scroll bar.  Return safe value
2556         iff IGNORE equals 'safe.
2557         (frame-windows-min-size): New function (used by frame resizing
2558         routines).
2559         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
2560         scroll bars.
2561         (window--sanitize-window-sizes): New function.
2562         (window-split-min-size): Remove.
2563         (split-window): Count divider-width.  Don't use
2564         `window-split-min-size' any more.  Reword error messages.
2565         Sanitize windows sizes after splitting.
2567 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
2569         Use `defvar-local' more.
2570         * progmodes/hideshow.el
2571         (hs-c-start-regexp, hs-block-start-regexp)
2572         (hs-block-start-mdata-select, hs-block-end-regexp)
2573         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
2574         remove corresponding `make-variable-buffer-local' top-level calls.
2576 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2578         Cleanup error signals.  (Bug#18067)
2579         * progmodes/python.el
2580         (python-indent-shift-left): Use user-error instead.
2581         (python-shell-prompt-detect): Use lwarn with python group.
2582         (python-completion-complete-at-point)
2583         (python-eldoc--get-doc-at-point): Don't signal error.
2585 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2587         Support for packages in Python shell.  (Bug#13570)
2588         * progmodes/python.el (python-shell--package-depth): New var.
2589         (python-shell-package-enable): New command.
2590         (python-util-list-directories, python-util-list-files)
2591         (python-util-list-packages): New functions.
2593 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2595         Faster comint output.  (Bug#16875)
2596         * progmodes/python.el:
2597         (python-comint-output-filter-function): Make obsolete.
2598         (python-comint-postoutput-scroll-to-bottom): New function.
2599         (inferior-python-mode): Set comint-output-filter-functions to a
2600         minimum.
2602 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2604         * progmodes/python.el (python-shell-font-lock-post-command-hook):
2605         Safeguard current point and undo history.
2607 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2609         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
2610         * progmodes/python.el:
2611         (python-shell-prompt-input-regexps): Add iPython block prompt.
2612         (python-shell-output-syntax-table): Delete var.
2613         (python-shell-font-lock-with-font-lock-buffer): New macro.
2614         (python-shell-font-lock-get-or-create-buffer)
2615         (python-shell-font-lock-kill-buffer)
2616         (python-shell-font-lock-cleanup-buffer)
2617         (python-shell-font-lock-post-command-hook)
2618         (python-shell-font-lock-turn-off): New functions.
2619         (python-shell-font-lock-turn-on): New function.
2620         (inferior-python-mode): Use it.
2621         (python-shell-font-lock-toggle): New command.
2622         (python-shell-font-lock-enable): Rename from
2623         python-shell-enable-font-lock.
2624         (run-python-internal): Use it.
2625         (python-shell-font-lock-comint-output-filter-function): New function.
2626         (python-shell-comint-end-of-output-p): New function.
2627         (python-shell-output-filter): Use it.
2628         (python-util-comint-last-prompt): New function.
2629         (python-util-text-properties-replace-name): New function.
2631 2014-07-25  Glenn Morris  <rgm@gnu.org>
2633         * vc/ediff-init.el (ediff-toggle-read-only-function):
2634         * vc/ediff-util.el (ediff-toggle-read-only):
2635         Replace obsolete toggle-read-only with read-only-mode.
2637 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
2639         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
2640         with `save-match-data'.  (Bug#18095)
2642 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2644         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
2645         order to ensure that row and col are lexically bound inside the
2646         evaluated sexp.
2648 2014-07-21  Glenn Morris  <rgm@gnu.org>
2650         * progmodes/hideif.el (hide-ifdef-mode-submap):
2651         Also substitute read-only-mode.
2652         * bindings.el (mode-line-toggle-read-only):
2653         * bs.el (bs-toggle-readonly):
2654         * buff-menu.el (Buffer-menu-toggle-read-only):
2655         * dired.el (dired-toggle-read-only):
2656         * files.el (view-read-only, find-file-read-only)
2657         (find-file-read-only-other-window)
2658         (find-file-read-only-other-frame):
2659         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
2660         Doc fixes re toggle-read-only.
2662 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2664         * progmodes/python.el: Add comment about pipe buffering and
2665         solutions for missing/delayed output in inferior Python shells.
2666         (Bug#17304)
2668         * progmodes/python.el (python-mode): Don't set
2669         mode-require-final-newline.  (Bug#17990)
2671         Make python.el work with IPython automatically.  (Bug#15510)
2672         * progmodes/python.el:
2673         (python-shell-completion-setup-code): New value supporting iPython.
2674         (python-shell-completion-string-code): New value supporting iPython.
2675         (python-shell-completion-get-completions): Use them.
2676         (python-shell-completion-module-string-code): Make obsolete.
2677         (python-shell-prompt-input-regexps)
2678         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
2679         (python-shell-output-filter): Fix comment typo.
2681         Fix Python shell prompts detection for remote hosts.
2682         * progmodes/python.el (python-shell-prompt-detect):
2683         Replace call-process with process-file and make it more robust.
2685         Autodetect Python shell prompts.  (Bug#17370)
2686         * progmodes/python.el:
2687         (python-shell-interpreter-interactive-arg)
2688         (python-shell-prompt-detect-enabled)
2689         (python-shell-prompt-detect-failure-warning)
2690         (python-shell-prompt-input-regexps)
2691         (python-shell-prompt-output-regexps): New vars.
2692         (python-shell-prompt-calculated-input-regexp)
2693         (python-shell-prompt-calculated-output-regexp): New vars.
2694         (python-shell-get-process-name)
2695         (python-shell-internal-get-process-name)
2696         (python-shell-output-filter)
2697         (python-shell-completion-get-completions): Use them.
2698         (python-shell-prompt-detect)
2699         (python-shell-prompt-validate-regexps): New functions.
2700         (python-shell-prompt-set-calculated-regexps): New function.
2701         (inferior-python-mode): Use it.  Also honor overriden
2702         python-shell-interpreter and python-shell-interpreter-args.
2703         (python-shell-make-comint): Honor overriden
2704         python-shell-interpreter and python-shell-interpreter-args.
2705         (python-shell-get-or-create-process): Make it testable by allowing
2706         to call run-python non-interactively.
2707         (python-util-valid-regexp-p): New function.
2708         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
2709         (python-shell-prompt-output-regexp)
2710         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
2712 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2714         * emacs-lisp/smie.el (smie-config--guess-1): Split from
2715         smie-config--guess.
2716         (smie-config--guess): Use it.
2718         * emacs-lisp/edebug.el: Use nadvice.
2719         (edebug-original-read): Remove.
2720         (edebug--read): Rename from edebug-read and add `orig' arg.
2721         (edebug-uninstall-read-eval-functions)
2722         (edebug-install-read-eval-functions): Use nadvice.
2723         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
2724         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
2725         (edebug-read-string, edebug-read-function): Use just `read'.
2726         (edebug-original-debug-on-entry): Remove.
2727         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
2728         `orig' arg.
2729         (debug-on-entry): Override with nadvice.
2731         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
2732         it also makes sense to bind it to a non-mouse event.
2734         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
2736 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2738         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
2739         (bug#18015).
2741         * rect.el (rectangle--string-preview): Don't assume there
2742         a non-nil default (bug#17984).
2744 2014-07-16  Glenn Morris  <rgm@gnu.org>
2746         * desktop.el (after-init-hook): Disable startup frame restoration
2747         in non-graphical situations.  (Bug#17693)
2749         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
2750         if it was "empty", or used for a different set of files.  (Bug#17884)
2752 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
2754         * bindings.el (mode-line-remote): If default-directory is not a
2755         string, don't call file-remote-p on it; instead state in the
2756         help-echo that it is nil.  (Bug#17986)
2758 2014-07-14  Daniel Colascione  <dancol@dancol.org>
2760         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
2761         to `macroexpand-all'
2763         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
2764         Use `macroexpand-all' instead of `cl-macroexpand-all'.
2766 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
2768         Fix bug: C-x v v discarded existing log message (Bug#17884).
2769         * vc/vc-dispatcher.el (vc-log-edit):
2770         Don't clobber an already-existing log message.
2772 2014-07-12  Glenn Morris  <rgm@gnu.org>
2774         * vc/log-edit.el (log-edit-changelog-entries):
2775         Check for a visited-but-never-saved ChangeLog.
2777 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2779         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
2780         a non-existing file (bug#17970).
2782         * faces.el (face-name): Undo last change.
2783         (x-resolve-font-name): Don't call face-name (bug#17956).
2785 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2787         Fix dedenters and electric colon handling. (Bug#15163)
2788         * progmodes/python.el
2789         (python-rx-constituents): Add dedenter and block-ender.
2790         (python-indent-dedenters, python-indent-block-enders): Delete.
2791         (python-indent-context): Return new case for dedenter-statement.
2792         (python-indent-calculate-indentation): Handle new case.
2793         (python-indent-calculate-levels): Fix levels calculation for
2794         dedenter statements.
2795         (python-indent-post-self-insert-function): Fix colon handling.
2796         (python-info-dedenter-opening-block-message): New function.
2797         (python-indent-line): Use it.
2798         (python-info-closing-block)
2799         (python-info-closing-block-message): Remove.
2800         (python-info-dedenter-opening-block-position)
2801         (python-info-dedenter-opening-block-positions)
2802         (python-info-dedenter-statement-p): New functions.
2804 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
2806         * files.el (out-of-memory-warning-percentage): New defcustom.
2807         (warn-maybe-out-of-memory): Use it.
2809 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
2811         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
2812         when calling `read-string'.  (Bug#17839)
2814 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
2816         * files.el (warn-maybe-out-of-memory): Fix the wording of the
2817         warning.
2819 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
2821         * files.el (warn-maybe-out-of-memory): New function.
2822         (find-file-noselect): Use it.
2824 2014-07-09  Sam Steingold  <sds@gnu.org>
2826         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
2827         `constant' like `bless', `return' &c
2829 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2831         * rect.el (apply-on-rectangle): Check forward-line really moved to the
2832         next line.
2834 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2836         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
2837         the middle of a line (bug#17896).
2839 2014-07-09  Juri Linkov  <juri@jurta.org>
2841         * startup.el (command-line): Append displaying the warning about
2842         the errors in the init file to the end of `after-init-hook'.
2843         (Bug#17927)
2845         * faces.el (face-name): Return input arg `face' as-is
2846         when it's not a symbol.
2847         (x-resolve-font-name): Don't check if the face is a symbol.
2848         (Bug#17956)
2850         * facemenu.el (list-colors-print): In help-echo format use %.2f
2851         instead of %d because now HSV values are floating-point components
2852         between 0.0 and 1.0.
2854 2014-07-09  Glenn Morris  <rgm@gnu.org>
2856         * emulation/cua-rect.el (cua--activate-rectangle):
2857         Avoid setting cua--rectangle to nil.  (Bug#17877)
2859 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
2861         * calendar/todo-mode.el: Fix wrong-type-argument error when
2862         marking multiple consecutive items.
2863         (todo-toggle-mark-item): Don't try to mark the empty lines at the
2864         end of the todo and done items sections.  Note in doc string that
2865         items marked by passing a numeric prefix argument can include the
2866         last todo and first done items.
2867         (todo-mark-category): Don't try to mark the empty line between the
2868         todo and done items sections.
2870 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2872         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
2873         proper Lisp quoting (bug#17934).
2875         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
2876         require-final-newline since prog-mode already took care of it (bug#17947).
2878 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
2880         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
2881         refer to the Todo mode Info manual.  Update the comment on
2882         requiring cl-lib.
2883         (todo-find-filtered-items-file): Add todo-prefix overlays.
2884         (todo-filter-items): Reorder a let-bound variable to avoid a
2885         wrong-type-argument error on canceling the file choice dialog.
2887 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2889         * progmodes/octave.el (inferior-octave-mode):
2890         Set comint-input-ring-size to a number (bug#17912).
2892 2014-07-09  Juri Linkov  <juri@jurta.org>
2894         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
2895         and `isearch-mode' associated with nil.  (Bug#17849)
2897 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2899         * linum.el (linum--face-height): New function (bug#17813).
2900         (linum-update-window): Use it to adjust margin to linum's width.
2902         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
2903         * eshell/em-smart.el (eshell-smart-scroll-window):
2904         Use with-selected-window.
2906         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
2907         Remove also pointless window&mark manipulation.
2909         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
2910         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
2911         (perl-continuation-line-p): Don't skip over anything else than labels.
2912         Return the previous char.
2913         (perl-calculate-indent): Use syntax-ppss instead of parse-start
2914         and update callers accordingly.  For continuation lines, check the
2915         the case of array hashes.
2916         (perl-backward-to-noncomment): Make it non-interactive.
2917         (perl-backward-to-start-of-continued-exp): Rewrite.
2919 2014-07-08  Sam Steingold  <sds@gnu.org>
2921         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
2922         New user commands.
2924 2014-07-08  Juri Linkov  <juri@jurta.org>
2926         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
2927         (vc-annotate-color-map): Use less saturated colors (20%) for
2928         background-mode.
2929         (vc-annotate-very-old-color): Add default value for background-mode.
2930         (vc-annotate-background): Set default value to nil since now text on
2931         the default backgrounds should be legible in light and dark modes.
2932         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
2933         (Bug#17808)
2935 2014-07-08  Juri Linkov  <juri@jurta.org>
2937         * simple.el (transpose-chars): Don't move point into read-only area.
2938         (Bug#17829)
2940 2014-07-08  Juri Linkov  <juri@jurta.org>
2942         * window.el (with-displayed-buffer-window): New macro.
2943         (with-temp-buffer-window, with-current-buffer-window):
2944         Use `macroexp-let2' to evaluate and bind variables
2945         in the same order as macro arguments.
2946         (display-buffer--action-function-custom-type):
2947         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
2949         * minibuffer.el (minibuffer-completion-help): Replace
2950         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
2951         with actions that display *Completions* at-bottom when called
2952         from the minibuffer, or below-selected in a normal buffer.
2953         Associate `window-height' with `fit-window-to-buffer'.
2954         Let-bind `pop-up-windows' to nil.
2956         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
2957         instead of `with-current-buffer-window'.  (Bug#17809)
2959 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
2961         * progmodes/hideif.el (hide-ifdef-env): Change to global.
2962         (hide-ifdef-env-backup): New variable.
2963         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
2964         New customizable variables.
2965         (hif-clear-all-ifdef-defined): New defun.
2966         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
2967         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
2968         (hif-tokenize): Fix for MS-DOS/Win EOL style.
2969         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
2970         Fix bug to hide the correct #elif region(s).
2971         (hif-range-elif): New defun.
2972         (hif-recurse-level): New var.
2973         (hif-evaluate-region, hif-evaluate-macro): New defun.
2974         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
2975         fully hidden.
2976         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
2977         Better interaction.
2979 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
2981         * net/dbus.el (dbus-peer-handler): New defun.
2982         (dbus-register-service): Register it.  (Bug#17858)
2983         (dbus-managed-objects-handler): Fix docstring.
2985 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>
2987         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
2988         (narrow-to-defun): New arg include-comments, defaulting to it
2989         (bug#16328).
2991 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2993         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
2994         different calling convention to rectangle--unhighlight-for-redisplay.
2996 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
2998         * net/tramp.el (tramp-call-process): Handle error strings.
3000         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
3002         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
3003         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
3005         * net/trampver.el: Update release number.
3007 2014-07-03  Juri Linkov  <juri@jurta.org>
3009         * desktop.el (desktop-save): Rename arg `auto-save' to
3010         `only-if-changed'.  Doc fix.  (Bug#17873)
3012 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3014         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
3015         Use insert-for-yank (bug#17271).
3017 2014-07-03  Leo Liu  <sdl.web@gmail.com>
3019         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
3020         Support lexical-binding.
3022 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3024         * vc/log-edit.el (log-edit-goto-eoh): New function.
3025         (log-edit--match-first-line): Use it (bug#17861).
3027 2014-07-03  Glenn Morris  <rgm@gnu.org>
3029         * vc/log-edit.el (log-edit-hook): Add missing :version.
3031 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3033         * progmodes/python.el (python-indent-post-self-insert-function):
3034         Enhancements to electric indentation behavior inside
3035         parens. (Bug#17658)
3037 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3039         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
3040         buffer-invisibility-spec (bug#17867).
3042 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
3044         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
3045         pass "-a".
3047 2014-07-03  Glenn Morris  <rgm@gnu.org>
3049         * cus-edit.el (help):
3050         * finder.el (finder-known-keywords):
3051         * help.el (help-for-help-internal):
3052         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
3053         (ediff-redraw-registry-buffer):
3054         * vc/ediff-ptch.el (ediff-patch-file-internal):
3055         Doc fixes re "online" help.  (Bug#17803)
3057         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
3058         (idlwave-mode): Doc URL update.
3060 2014-07-01  Juri Linkov  <juri@jurta.org>
3062         * man.el: Display man pages immediately and use process-filter
3063         to format them asynchronously.
3064         (Man-width): Doc fix.
3065         (man): Doc fix.
3066         (Man-start-calling): Use `with-selected-window' to get
3067         `frame-width' and `window-width'.
3068         (Man-getpage-in-background): Call `Man-notify-when-ready'
3069         immediately after creating a new buffer.  Call `Man-mode' and set
3070         `mode-line-process' in the created buffer.  Set process-filter to
3071         `Man-bgproc-filter' in start-process branch.  In call-process branch
3072         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
3073         Use `Man-start-calling' inside `with-current-buffer'.
3074         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
3075         (Man-cleanup-manpage): Don't print messages.
3076         (Man-bgproc-filter): New function.
3077         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
3078         user moved it during asynchronous formatting.  Move calls of
3079         `Man-fontify-manpage' and `Man-cleanup-manpage' to
3080         `Man-bgproc-filter'.  Move the call of `Man-mode' to
3081         `Man-getpage-in-background'.  Use `quit-restore-window'
3082         instead of `kill-buffer'.  Use `message' instead of `error'
3083         because errors are caught by process sentinel.
3084         (Man-mode): Move calls of `Man-build-page-list',
3085         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
3086         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
3088         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
3089         for the message about the man page cleaned up.
3091 2014-07-01  Mario Lang  <mlang@delysid.org>
3093         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
3094         cosutomization option `gnutls-verify-error'.
3096 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3098         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
3099         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
3101         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
3102         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
3103         is suspended (bug#17857).
3105 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
3107         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3108         Prefer utf-8 coding.  (Bug#17859)
3110 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3112         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
3113         for `reverse'.
3115 2014-06-30  Glenn Morris  <rgm@gnu.org>
3117         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
3118         (autoload-ensure-default-file): Maybe make existing output writable.
3119         * Makefile.in (AUTOGEN_VCS): Remove.
3120         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
3122 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3124         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
3126 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3128         New if-let, when-let, thread-first and thread-last macros.
3130         * emacs-lisp/subr-x.el
3131         (internal--listify, internal--check-binding)
3132         (internal--build-binding-value-form, internal--build-binding)
3133         (internal--build-bindings): New functions.
3134         (internal--thread-argument, thread-first, thread-last)
3135         (if-let, when-let): New macros.
3137 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
3139         * net/rcirc.el (rcirc-buffer-process): Restore previous
3140         behaviour.  (Bug#17772)
3142 2014-06-29  Alan Mackenzie  <acm@muc.de>
3144         Don't call c-parse-state when c++-template-syntax-table is active.
3145         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
3146         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
3147         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
3149 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
3151         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
3152         account for file-wide setting of todo-top-priorities-overrides.
3153         Make code a bit cleaner.
3155 2014-06-28  Glenn Morris  <rgm@gnu.org>
3157         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
3159 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
3161         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
3162         category-wide setting of todo-top-priorities-overrides, check for
3163         a file-wide setting and fontify accordingly.
3165 2014-06-28  Glenn Morris  <rgm@gnu.org>
3167         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
3169 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3171         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
3173 2014-06-28  K. Handa  <handa@gnu.org>
3175         Fix Bug#17739.
3177         * composite.el: Setup composition-function-table for dotted circle.
3178         (compose-gstring-for-dotted-circle): New function.
3180         * international/characters.el: Add category "^" to all
3181         non-spacing characters.
3183 2014-06-28  Glenn Morris  <rgm@gnu.org>
3185         * Makefile.in (doit): Remove force rule.
3186         (custom-deps, finder-data, autoloads, update-subdirs)
3187         (compile-one-process): PHONY targets do not need force rules.
3189         * Makefile.in (compile-main, compile, compile-always):
3190         No need to explicitly pass variables to ourself in recursive calls.
3192 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3194         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
3196 2014-06-26  Glenn Morris  <rgm@gnu.org>
3198         * Makefile.in (update-authors): Update for moved authors.el.
3200 2014-06-26  Leo Liu  <sdl.web@gmail.com>
3202         * skeleton.el (skeleton-end-hook): Default to nil and move the
3203         work to skeleton-insert.  (Bug#17850)
3205 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
3207         * calc/calc-alg.el (math-beforep):
3208         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
3209         Simplify because string-lessp can accept symbols as args.
3211 2014-06-26  Daiki Ueno  <ueno@gnu.org>
3213         * emacs-lisp/package.el (package--check-signature):
3214         If package-check-signature is allow-unsigned, don't signal error when
3215         we can't verify signature because of missing public key
3216         (bug#17625).
3218 2014-06-26  Glenn Morris  <rgm@gnu.org>
3220         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
3221         Remove outdated declaration.
3223         * emacs-lisp/authors.el (authors-valid-file-names)
3224         (authors-renamed-files-alist): Additions.
3226 2014-06-26  Leo Liu  <sdl.web@gmail.com>
3228         * textmodes/picture.el (picture-set-tab-stops):
3229         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
3230         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
3232         * progmodes/asm-mode.el (asm-calculate-indentation):
3233         Use indent-next-tab-stop.
3235         * indent.el (indent-accumulate-tab-stops): New function.
3237 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3239         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
3240         (package-desc-status): Obey it.
3242 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
3244         * calendar/todo-mode.el: Fix two bugs.
3245         (todo-insert-item--basic): If user cancels item insertion to
3246         another category before setting priority, show original category
3247         whether it is in the same or a different file.
3248         (todo-set-item-priority): After selecting category, instead of
3249         moving point to top, which extends an active region, restore it.
3251 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3253         * help-fns.el (describe-function-1): Check file-name is a string before
3254         calling help-fns--autoloaded-p (bug#17564).
3256 2014-06-26  Juri Linkov  <juri@jurta.org>
3258         * desktop.el (desktop-auto-save-enable)
3259         (desktop-auto-save-disable): New functions.
3260         (desktop-save-mode, desktop-auto-save-timeout): Use them.
3261         (desktop-read): Disable the autosave before loading the desktop,
3262         and enable afterwards.  (Bug#17351)
3264 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3266         Fix some indentation problem with \; and pipes (bug#17842).
3267         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
3268         (sh-smie--default-forward-token, sh-smie--default-backward-token):
3269         New functions.
3270         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
3271         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
3272         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
3274 2014-06-26  Glenn Morris  <rgm@gnu.org>
3276         * emacs-lisp/find-func.el (find-function-C-source-directory):
3277         Use file-accessible-directory-p.
3279         * ps-samp.el: Make it slightly less awful.
3280         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
3281         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
3282         Only set local values.
3283         (ps-article-subject, ps-article-author): Use standard functions
3284         like mail-fetch-field.
3285         (ps-info-file, ps-info-node): Use match-string.
3286         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
3287         (ps-samp-ps-setup): ... new function.
3289         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
3290         Optimize away code unneeded on any modern Emacs.
3292         * emacs-lisp/authors.el: Move to ../admin.
3294         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
3296 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
3298         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
3299         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
3300         performance enhancements.
3301         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
3302         expansion.
3303         (hif-factor, hif-string-concatenation, intern-safe): Support string
3304         concatenation and argumented macro expansion.
3305         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
3306         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
3307         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
3308         (hif-canonicalize-tokens, hif-place-macro-invocation)
3309         (hif-parse-macro-arglist): Mostly new functions for supporting
3310         argumented macro expansion.
3311         (hif-string-concatenation, hif-stringify, hif-token-concat)
3312         (hif-token-stringification, hif-token-concatenation):
3313         Stringification and concatenation.
3314         (hif-find-next-relevant): Fix comments.
3315         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
3316         some cases involving #elif.
3317         (hif-find-define, hif-add-new-defines): New functions for automatically
3318         scanning of defined symbols.
3319         (hide-ifdef-guts): Fix for defined symbol auto scanning.
3320         (hide-ifdef-undef): Fix behavior to match CPP.
3322 2014-06-25  Glenn Morris  <rgm@gnu.org>
3324         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
3325         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
3326         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
3327         files.  They are not relevant to the original issue (bug#1004),
3328         and cause unnecessary recompilation (bug#2151).
3330 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3332         * play/landmark.el: Use lexical-binding and avoid `intangible'.
3333         (landmark--last-pos): New var.
3334         (landmark--intangible-chars): New const.
3335         (landmark--intangible): New function.
3336         (landmark-mode, landmark-move): Use it.
3337         (landmark-mode): Remove properties.
3338         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
3339         (landmark-cross-qtuple):
3340         Don't worry about `intangible' any more.
3341         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
3342         (landmark-init-display): Don't set `intangible' and `point-entered'.
3343         (square): Remove.  Inline it instead.
3344         (landmark--distance): Rename from `distance'.
3345         (landmark-calc-distance-of-robot-from): Rename from
3346         calc-distance-of-robot-from.
3347         (landmark-calc-smell-internal): Rename from calc-smell-internal.
3349 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
3351         * files.el (dir-locals-find-file, file-relative-name):
3352         * info.el (Info-complete-menu-item):
3353         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
3354         to compare-strings to avoid out-of-range errors.
3355         * subr.el (string-prefix-p): Adjust to match strict range
3356         checking in compare-strings.
3358 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
3360         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
3361         for comment lines non-greedy and stopping at newlines to fix stack
3362         overflows with large files.
3364 2014-06-24  Eli Barzilay  <eli@barzilay.org>
3366         * calculator.el (calculator-last-input): Drop 'ascii-character property
3367         lookup.
3369 2014-06-24  Leo Liu  <sdl.web@gmail.com>
3371         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
3372         tab-stop-list to nil.  (Bug#16381)
3374         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
3375         (indent-rigidly-left-to-tab-stop)
3376         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
3377         (move-to-tab-stop): Change callers.
3379 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
3381         * skeleton.el (skeleton-insert): Yet another fix of the doc string
3382         wrt behavior of \n as the first/last element of a skeleton.
3384 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
3386         * net/tramp-adb.el (tramp-adb-handle-process-file):
3387         * net/tramp-sh.el (tramp-sh-handle-process-file):
3388         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
3389         the output buffer when DISPLAY is non-nil.  (Bug#17815)
3391 2014-06-24  Glenn Morris  <rgm@gnu.org>
3393         * play/landmark.el (landmark-move-down, landmark-move-up):
3394         Fix 2007-10-20 change - preserve horizontal position.
3396 2014-06-23  Sam Steingold  <sds@gnu.org>
3398         * simple.el (kill-append): Remove undo boundary depending on ...
3399         (kill-append-merge-undo): New user option.
3401 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3403         * simple.el (handle-shift-selection, exchange-point-and-mark)
3404         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
3405         (transient-mark-mode): Use&set the global value.
3406         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
3407         * emulation/edt.el (edt-emulation-off): Save&restore the global
3408         transient-mark-mode setting.
3409         * obsolete/pc-select.el (pc-selection-mode): Use the
3410         transient-mark-mode function.
3412 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
3414         * international/fontset.el (script-representative-chars):
3415         Add representative characters for scripts added in Unicode 7.0.
3416         (otf-script-alist): Synchronize with the latest registry of OTF
3417         script tags.
3419         * international/characters.el (char-script-table): Update for
3420         scripts added and codepoint ranges changed in Unicode 7.0.
3422 2014-06-23  Eli Barzilay  <eli@barzilay.org>
3424         * calculator.el (calculator-standard-displayer): Fix bug in use of
3425         `calculator-groupize-number'.
3426         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
3427         `eval' code, so it works in v24.3.1 too.
3428         (calculator-last-input): Comment to clarify purpose.
3430 2014-06-22  Mario Lang  <mlang@delysid.org>
3432         * textmodes/rst.el (rst-comment-region): From from -> from.
3434         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
3436 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
3438         * electric.el (electric-layout-post-self-insert-function):
3439         * emacs-lisp/ert.el (ert--insert-infos):
3440         * obsolete/vi.el (vi-set-mark):
3441         * term.el (term-handle-scroll):
3442         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
3443         * wid-edit.el (widget-editable-list-value-create):
3444         Prefer point-marker to copy-marker of point.
3446 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3448         Fix completion retrieval parsing (bug#17209).
3449         * progmodes/python.el (python-mode):
3450         (python-util-strip-string): New function.
3451         (python-shell-completion-get-completions): Use it.
3453 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
3455         * skeleton.el (skeleton-insert): Fix last change.
3457 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3459         Enhancements for outline integration (bug#17796).
3460         * progmodes/python.el (python-mode): Properly set
3461         outline-heading-end-regexp so that comments after colons for
3462         defuns are supported.
3464 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
3466         * skeleton.el (skeleton-insert): Doc fix.
3468 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3470         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
3471         (smie-config-guess): Use smie-config-local so the rules are obeyed
3472         (bug#17818).
3474         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
3475         since it's already done inside the loop (bug#17819).
3477 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
3479         * mouse.el (mouse-drag-line): Re-remove code initially removed
3480         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
3481         (Bug#17819).
3483 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3485         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
3486         align with the surrounding parent (bug#17721).
3488 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
3490         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
3491         locally to nil.
3492         (texinfo-insert-block, texinfo-insert-@end)
3493         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
3494         local setting of skeleton-end-newline by adding an explicit \n to
3495         the skeletons where appropriate.  (Bug#17801)
3497 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3499         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
3500         (smie-indent--hanging-p): Use it.
3501         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
3503 2014-06-21  Leo Liu  <sdl.web@gmail.com>
3505         * simple.el (read-quoted-char): Don't let help chars pop up help
3506         buffer.  (Bug#16617)
3508 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3510         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
3511         for | (bug#17621).
3513         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
3514         Drop unknown events instead of burping.
3516 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
3518         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
3519         and later.  (Bug#17790)
3521 2014-06-21  Juri Linkov  <juri@jurta.org>
3523         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
3524         to `soft'.  (Bug#17554)
3526 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3528         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
3529         (bug#17737).
3531 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
3533         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
3534         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
3536 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
3538         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
3539         `unread-command-events'.
3541 2014-06-19  William Xu  <william.xwl@gmail.com>
3543         * progmodes/hideif.el (hif-string-to-number): Don't return float for
3544         hex integer constants (bug#17807).
3546 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3548         * international/mule-util.el (truncate-string-ellipsis): New var.
3549         (truncate-string-to-width): Use it.
3551 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
3553         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
3554         (lisp-string-in-doc-position-p): New function, extracted from
3555         lisp-font-lock-syntactic-face-function.
3556         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
3558 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
3560         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
3562 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3564         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
3565         (bubbles--game-over): Don't add `intangible' properties since they
3566         didn't work anyway.
3568 2014-06-18  Juri Linkov  <juri@jurta.org>
3570         * vc/ediff-init.el (ediff-current-diff-Ancestor)
3571         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
3572         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
3573         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
3574         Add `min-colors 88' version with removed black/white foregrounds.
3575         (Bug#10181)
3577 2014-06-18  Juri Linkov  <juri@jurta.org>
3579         * vc/diff-mode.el (diff-changed): Empty face definition to use
3580         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
3581         (diff-context): Use darker color on light background and
3582         lighter color on dark background.
3584 2014-06-18  Juri Linkov  <juri@jurta.org>
3586         * vc/diff-mode.el (diff-refine-changed): Rename from
3587         `diff-refine-change' for consistency with `diff-changed'.
3588         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
3590         * vc/smerge-mode.el (smerge-refined-changed): Rename from
3591         `smerge-refined-change'.
3592         (smerge-refined-change): Add obsolete face alias.
3594 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3596         * rect.el (rectangle-preview): New custom.
3597         (rectangle): New group.
3598         (rectangle--pos-cols): Add `window' argument.
3599         (rectangle--string-preview-state, rectangle--string-preview-window):
3600         New vars.
3601         (rectangle--string-flush-preview, rectangle--string-erase-preview)
3602         (rectangle--space-to, rectangle--string-preview): New functions.
3603         (string-rectangle): Use them.
3604         (rectangle--inhibit-region-highlight): New var.
3605         (rectangle--highlight-for-redisplay): Obey it.  Make sure
3606         `apply-on-region' uses the point-crutches of the right window.
3607         Use :align-to rather than multiple spaces.
3609 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
3611         * ruler-mode.el (ruler-mode-window-col)
3612         (ruler-mode-mouse-set-left-margin)
3613         (ruler-mode-mouse-set-right-margin): Fix calculation of column
3614         from mouse position (Bug#17768).
3616 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
3618         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
3619         without varname or rhs causes crash.
3620         (dun-ftp): Fix bug where blank ftp password is allowed, making it
3621         impossible to win endgame.
3622         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
3623         rlogin is anymore.
3624         (dun-help): Bump version number; update contact info.
3626 2014-06-15  Eli Barzilay  <eli@barzilay.org>
3628         * calculator.el (calculator-prompt, calculator-remove-zeros)
3629         (calculator-mode-hook, calculator-operators, calculator-stack)
3630         (calculator-mode): Tweak docstring.
3631         (calculator-user-operators): Tweak docstring, fix a bug in the last
3632         example.
3633         (calculator-displayer): `std' case has an optional boolean.
3634         (calculator-displayers): Use the new boolean to group in decimal mode.
3635         (calculator-mode-map, calculator, calculator-message)
3636         (calculator-op-arity, calculator-add-operators)
3637         (calculator-string-to-number, calculator-displayer-prev)
3638         (calculator-displayer-next, calculator-remove-zeros)
3639         (calculator-eng-display, calculator-number-to-string)
3640         (calculator-update-display, calculator-last-input)
3641         (calculator-clear-fragile, calculator-digit, calculator-decimal)
3642         (calculator-exp, calculator-saved-move, calculator-clear)
3643         (calculator-copy, calculator-put-value, calculator-help)
3644         (calculator-expt, calculator-truncate): Minor code improvements.
3645         (calculator-need-3-lines): New function pulling out code from
3646         `calculator'.
3647         (calculator-get-display): Rename from `calculator-get-prompt', and
3648         improved.
3649         (calculator-push-curnum): Rename from `calculator-curnum-value', and
3650         extended for all uses of it.  All callers changed.
3651         (calculator-groupize-number): New utility for splitting a number into
3652         groups.
3653         (calculator-standard-displayer): Improve code, new optional argument to
3654         use comma-split groups, make second argument optional too to use with
3655         'left/'right inputs.  All callers changed.
3656         (calculator-reduce-stack-once): New utility, doing the meat of what
3657         `calculator-reduce-stack' used to do, much improved (mostly using
3658         `pcase' for conciseness and clarity).
3659         (calculator-reduce-stack): Now doing just the reduction loop using
3660         `calculator-reduce-stack-once'.
3661         (calculator-funcall): Improve code, make it work in v24.3.1 too.
3662         (calculator-last-input): Improve code, remove some old cruft.
3663         (calculator-quit): Kill `calculator-buffer' in electric mode too.
3664         (calculator-integer-p): Remove.
3665         (calculator-fact): Improve code, make it work on non-integer values
3666         too (using truncated numbers).
3668 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
3670         Sync with Tramp 2.2.10.
3672         * net/tramp.el (tramp-methods): Tweak docstring.
3673         (tramp-handle-file-accessible-directory-p): Check for
3674         `file-readable-p' instead of `file-executable-p'.
3675         (tramp-check-cached-permissions):
3676         Use `tramp-compat-file-attributes'.
3677         (tramp-call-process): Add new argument VEC.  Adapt callees in all
3678         tramp*.el files.
3680         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
3681         (tramp-adb-maybe-open-connection): Don't set
3682         `tramp-current-*' variables.
3684         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
3685         file properties of temporary buffers.
3687         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
3689         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
3690         (tramp-gvfs-handle-delete-file): Flush file
3691         properties, not directory properties.
3692         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
3693         reading "unix::mode".
3694         (tramp-gvfs-handle-file-name-all-completions):
3695         Use "-h" option for "gvfs-ls".
3696         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
3697         (tramp-gvfs-send-command): Simplify traces.
3699         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
3700         (vc-git-program, vc-hg-program): Declare.
3701         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
3702         (tramp-methods) <nc>: Add new method.
3703         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
3704         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
3705         `tramp-login-args'.
3706         (tramp-default-user-alist): Add "nc".
3707         (top): Remove completion function for "sftp".  Add completion
3708         functions for "nc" and "psftp".
3709         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
3710         Implement support for "nc" method.
3711         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
3712         (tramp-remote-coding-commands, tramp-call-local-coding-command):
3713         Tweak docstring.
3714         (tramp-sh-handle-write-region): Tweak error message.
3715         (tramp-sh-handle-vc-registered): Remove backends when the remote
3716         binary does not exist.
3717         (tramp-find-inline-encoding): Do not raise an error.
3718         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
3719         the "nc" case.  Quote result also locally.
3721         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3722         (tramp-smb-handle-set-file-acl): Use `start-process'.
3723         (tramp-smb-handle-insert-directory): Use progress reporter.
3724         (tramp-smb-handle-rename-file): Flush also file properties of
3725         FILENAME.
3727         * net/trampver.el: Update release number.
3729 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3731         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
3732         add-to-list.
3733         (ses-localvars): Remove ses--local-printer-list, unused.
3734         (ses--metaprogramming): New macro.  Use it to defvar variables.
3735         (ses-set-localvars): Simplify.
3736         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
3737         property-list into an alist.
3738         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
3739         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
3740         Remove; use defstruct accessors/setters instead.
3741         (ses-cell-formula-aset, ses-cell-printer-aset)
3742         (ses-cell-references-aset): Remove, use setf instead.
3743         (ses--alist-get): New function.
3744         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
3745         Use an alist instead of a plist and don't do move-to-front since the
3746         list is always short.
3747         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
3748         (ses-cell-property-set-fun, ses-cell-property-set)
3749         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
3750         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
3751         (ses--letref): New macro.
3752         (ses-cell-property-pop): Rewrite.
3753         (ses--cell): Rename from ses-cell and make it into a function.
3754         Make `formula' fallback on `value' if nil.
3755         (ses--local-printer): Rename from ses-local-printer and make it into
3756         a function.
3757         (ses-set-cell): Turn it into a macro so finding the accessor from the
3758         field name is done at compile time.
3759         (ses-repair-cell-reference-all): Test presence of `sym' rather than
3760         `ref' before adding `sym' to :ses-repair-reference.
3761         (ses-calculate-cell): Use ses--letref rather than
3762         ses-cell-property-get-handle.
3763         (ses-write-cells): Use a single prin1-to-string.
3764         (ses-setter-with-undo): New function.
3765         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
3766         (ses-unset-with-undo): Remove.
3767         (ses-load): Prefer apply' over `eval'.
3768         (ses-read-printer, ses-set-column-width): Use standard "(default
3769         foo)" format.
3771 2014-06-15  Glenn Morris  <rgm@gnu.org>
3773         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
3775         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
3776         Replace delete-duplicates and mapcan by cl- versions throughout.
3777         And cl-macroexpand-all by macroexpand-all.
3778         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
3780 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
3782         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
3784 2014-06-15  Juri Linkov  <juri@jurta.org>
3786         * bindings.el: Put `ascii-character' property on keypad keys
3787         mapped to characters.  (Bug#17759)
3789 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3791         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
3792         bumping forward into a closing paren (bug#17761).
3794         * term/xterm.el (xterm--version-handler): Work around for OSX
3795         Terminal.app (bug#17607).
3797 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
3799         * play/dunnet.el (dun-describe-room, dun-mode):
3800         If a lamp is in the room, you won't be eaten by a grue.
3802 2014-06-13  Glenn Morris  <rgm@gnu.org>
3804         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
3805         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
3806         (compile-always): GNU make automatically passes
3807         command-line arguments to sub-makes.
3809         * calendar/calendar.el (calendar-generate-window):
3810         Remove pointless call to font-lock-fontify-buffer.
3812 2014-06-13  Matthias Meulien  <orontee@gmail.com>
3814         * simple.el (completion-list-mode-map): Navigate with tab and backtab
3815         (bug#17767).
3817 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3819         * simple.el (set-mark-command): Simplify a bit.
3821 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3823         * help.el (help--key-binding-keymap): New function.
3824         (help--binding-locus): New function.
3825         (describe-key): Mention the keymap in which the binding was
3826         found. (bug#13948)
3828 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3830         * hippie-exp.el (he--all-buffers): New function.
3831         (try-expand-line-all-buffers, try-expand-list-all-buffers)
3832         (try-expand-dabbrev-all-buffers): Use it.
3834 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
3836         * hippie-exp.el (try-expand-line-all-buffers)
3837         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
3838         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
3839         original buffer, in case they're buffer-local.
3841 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3843         * ses.el (ses-initial-global-parameters-re): New defconst, a
3844         specific regexp is needed now that ses.el can handle both
3845         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
3846         local printers.
3847         (ses-localvars): Add local variables needed for local printer handling.
3848         (ses-set-localvars): Handle hashmap initialisation.
3849         (ses-paramlines-plist): Add param-line for number of local printers.
3850         (ses-paramfmt-plist): New defconst, needed for code factorization
3851         between functions `ses-set-parameter' and
3852         `ses-file-format-extend-paramter-list'
3853         (ses-make-local-printer-info): New defsubst.
3854         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
3855         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
3856         (ses-cell-printer-aset): New defmacro.
3857         (ses-local-printer-compile): New defun.
3858         (ses-local-printer): New defmacro.
3859         (ses-printer-validate, ses-call-printer): Add support for local
3860         printer functions.
3861         (ses-file-format-extend-paramter-list): New defun.
3862         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
3863         factorization.
3864         (ses-load): Add support for local printer functions.
3865         (ses-read-printer): Update docstring and add support for local printer
3866         functions.
3867         (ses-refresh-local-printer, ses-define-local-printer): New defun.
3868         (ses-safe-printer): Add support for local printer functions.
3870 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
3872         * ffap.el (ffap-lax-url): New var (bug#17723).
3873         (ffap-url-at-point): Use it.
3874         (ffap-file-at-point): Avoid returning just "/".
3876 2014-06-12  Matthias Meulien  <orontee@gmail.com>
3878         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
3879         (python-mode-map): Bind it.
3881         * progmodes/python.el (class skeleton): Don't erase last char of class
3882         name (bug#17683).
3884 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
3886         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
3888 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
3890         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
3891         (bug#17745).
3893 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3895         * international/mule-cmds.el: Use lexical-binding.
3896         (ucs-names): Simplify.
3898 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
3900         * progmodes/python.el (run-python): Use read-shell-command.
3902 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3904         * rect.el: Make it possible to move bounds past EOL or into TABs.
3905         (operate-on-rectangle): Use apply-on-rectangle.
3906         (rectangle--mark-crutches): New var.
3907         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
3908         (rectangle--crutches, rectangle--reset-crutches): New functions.
3909         (apply-on-rectangle): Obey crutches.  Avoid setq.
3910         Fix missing final iteration if end is at EOB&BOL.
3911         (rectangle-mark-mode-map): Add remap bindings for
3912         exchange-point-and-mark and char/line movements.
3913         (rectangle--*-char): New function.
3914         (rectangle-exchange-point-and-mark, rectangle-right-char)
3915         (rectangle-left-char, rectangle-forward-char)
3916         (rectangle-backward-char, rectangle-next-line)
3917         (rectangle-previous-line): New commands.
3918         (rectangle--place-cursor): New function.
3919         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
3921 2014-06-08  Glenn Morris  <rgm@gnu.org>
3923         * startup.el (initial-buffer-choice): Doc fix.
3924         Reset :version (adding an option does not merit a :version bump).
3926         * bookmark.el (bookmark-load):
3927         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
3929 2014-06-08  Juri Linkov  <juri@jurta.org>
3931         * desktop.el: Activate auto-saving on window configuration changes.
3932         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
3933         `desktop-auto-save-set-timer' to/from
3934         `window-configuration-change-hook'.
3935         (desktop-auto-save-set-timer): Change REPEAT arg of
3936         `run-with-idle-timer' from t to nil.
3937         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
3939 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
3941         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
3942         vc-hg-command (bug#17570).
3944 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3946         * international/mule-cmds.el (ucs-names): Add special entry for BEL
3947         (bug#17702).
3949 2014-06-08  Glenn Morris  <rgm@gnu.org>
3951         * startup.el (window-setup-hook): Doc fix.
3953         * emacs-lisp/package.el (package-check-signature)
3954         (package-unsigned-archives): Doc fixes.
3956 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
3958         * window.el (display-buffer-use-some-window): Don't make window
3959         used smaller than it was before (Bug#17671).
3961 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
3963         * menu-bar.el (menu-bar-open): Fix last change: use the PC
3964         'redisplay' instead of '(sit-for 0)'.
3966 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
3968         * net/tramp.el (tramp-ssh-controlmaster-options):
3969         Improve search regexp.  (Bug#17653)
3971 2014-06-08  Glenn Morris  <rgm@gnu.org>
3973         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
3975 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
3977         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
3979 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
3981         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
3982         (bug#17586).
3984         * vc/vc-hg.el (vc-hg-log-graph): New var.
3985         (vc-hg-print-log): Use it.
3986         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
3987         graph output (bug#17515).
3989 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3991         * mouse.el (mouse-posn-property): Ignore buffer position info when the
3992         even happened elsewhere.
3994 2014-06-06  Mario Lang  <mlang@delysid.org>
3996         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
3997         `recenter' if `current-buffer' is equal to `window-buffer'.
3999 2014-06-05  Leo Liu  <sdl.web@gmail.com>
4001         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
4003 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
4005         * textmodes/tildify.el (tildify-foreach-region-outside-env):
4006         New function which calls a callback on portions of the buffer that are
4007         outside of ignored environments.
4008         (tildify-build-regexp): Remove function since it is now
4009         incorporated in `tildify-foreach-region-outside-env' where it is
4010         optimized and simplified by the use of `mapconcat'.
4011         (tildify-tildify): Return number of substitutions made so that…
4012         (tildify-count): …can be removed.
4013         (tildify-find-env): Accept a new PAIRS argument which was
4014         previously looked up in `tildify-ignored-environments-alist' each
4015         time the function was called.  With this change, the lookup is
4016         performed only once in `tildify-foreach-region-outside-env'.
4017         (tildify-region): Greatly simplify the function since now most of
4018         the work is done by `tildify-foreach-region-outside-env'.
4019         (tildify-mode-alist): Simplify slightly by avoiding if and setq
4020         and instead using or.
4022         * textmodes/tildify.el (tildify-ignored-environments-alist):
4023         Optimize environments regexes
4025         Each time beginning of an environment to ignore is found,
4026         `tildify-find-env' needs to identify regexp for the ending
4027         of the environment.  This is done by trying all the opening
4028         regexes on matched text in a loop, so to speed that up, this
4029         loop should have fewer things to match, which can be done by
4030         using alternatives in the opening regexes.
4032         Coincidentally, this should make matching of the opening
4033         regexp faster as well thanks to the use of `regexp-opt' and
4034         having common prefix pulled from many regexes.
4036         * textmodes/tildify.el (tildify-string-alist)
4037         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
4038         of supported modes since `xml-mode' is no longer a thing but just
4039         an alias to the former.  Also include comments and insides of tags
4040         in `tildify-ignored-environments-alist' for XML modes.  Finally,
4041         since XML does not define “&nbsp;”[1], use a numeric reference for
4042         a no-break space (namely “&#160;”)
4044         [1] XML specification defines only a handful of predefined entities.
4045             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
4046             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
4047             >, &, ' and " respectively).  This is in contrast to HTML and even
4048             XHTML which defined a whole bunch of entities including “&nbsp;”.
4050         * textmodes/tildify.el (tildify-pattern-alist)
4051         (tildify-string-alist, tildify-ignored-environments-alist):
4052         Improve defcustom's types by adding more tags explaining what each
4053         value means and replace “sexp” used in
4054         `tildify-ignored-environments-alist' with a full type declaration.
4056         * textmodes/tildify.el (tildify-find-env): Fix matched group
4057         indexes in end-regex building
4059         When looking for a start of an ignore-environment, the regex is built
4060         by concatenating regexes of all the environments configured in
4061         `tildify-ignored-environments-alist'.  So for example, the following
4062         list could be used to match TeX's \verb and \verb* commands:
4064             (("\\\\verb\\(.\\)" . (1))
4065              ("\\\\verb\\*\\(.\\)" . (1)))
4067         This would result in the following regex being used to find the start
4068         of any of the variants of the \verb command:
4070             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
4072         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
4073         won't match anything, and thus (match-string 1) will be nil, which
4074         will cause building of the end-matching regex to fail.
4076         Fix this by using capture groups from the time when the opening
4077         regexes are matched individually.
4079         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
4080         in `tildify-find-env'
4082         The `tildify-ignored-environments-alist' allows the end-regex to
4083         be provided not as a static string but mix of strings and indexes
4084         of groups matched the begin-regex.  For example, the “\verb!…!”
4085         TeX-command (where “!” is an arbitrary character) is handled
4086         using:
4088             ("\\\\verb\\*?\\(.\\)" . (1))
4090         In the same way, the following should be supported as well:
4092             ("open-\\(.\\)" . ("end-" 1))
4094         However the tildify-find-env function fails at
4096             (concat result
4097                     (if (stringp (setq aux (car expression)))
4098                          expression  ; BUG: expression is a list
4099                        (regexp-quote (match-string aux))))
4101         where the string part is handled incorrectly.
4103         The most trivial fix would be to replace `expression' in the
4104         true-part of the if-statement with `aux', but instead, this commit
4105         optimizes `tildify-find-env' by changing it to use `mapconcat'
4106         rather than open-coded while-loop.
4108 2014-06-05  Mario Lang  <mlang@delysid.org>
4110         * woman.el (woman-mapcan): Remove.
4111         (woman-parse-colon-path): Use cl-mapcan instead.
4113 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4115         * register.el: Add link to Emacs manual in Commentary.
4117 2014-06-02  Sam Steingold  <sds@gnu.org>
4119         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
4120         (popup-menu): ...here.
4121         (menu-bar-open): Use it to avoid an error when `lookup-key'
4122         returns a number.
4124 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
4126         * net/tramp.el (tramp-call-process): Add traces.
4127         (tramp-handle-unhandled-file-name-directory): Return "/".
4129 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
4131         Sync with upstream verilog-mode revision 3cd8144.
4132         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
4133         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
4134         (verilog-type-font-keywords): Add nor.
4135         (verilog-batch-execute-func): Force reading of Local Variables.
4136         Fix printing "no changes to be saved" with verilog-batch.
4137         (verilog-auto-arg-ports): Doc fix.
4138         Add verilog-auto-arg-format to support newlines in AUTOARG.
4139         (verilog-auto-arg): Doc fix.
4141 2014-06-02  Glenn Morris  <rgm@gnu.org>
4143         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
4144         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
4145         * emulation/ws-mode.el: Move to obsolete/.
4146         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
4148 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
4150         * simple.el (keyboard-quit): Force update of mode lines, to remove
4151         the "Def" indicator, if we were defining a macro.  (Bug#17615)
4153 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4155         * minibuffer.el (minibuffer-force-complete-and-exit):
4156         Obey minibuffer-default (bug#17545).
4158         * progmodes/js.el (js-indent-line): Don't mix columns and chars
4159         (bug#17619).
4161         * subr.el (set-transient-map): Don't wait for some "nested"
4162         transient-map to finish if we're only supposed to be active for
4163         the next command (bug#17642).
4165 2014-06-02  Leo Liu  <sdl.web@gmail.com>
4167         * emacs-lisp/gv.el (window-buffer, window-display-table)
4168         (window-dedicated-p, window-hscroll, window-point, window-start):
4169         Fix gv-expander.  (Bug#17630)
4171 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4173         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
4174         clicks (bug#17633).
4176         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
4177         for the single comma, since ", " is *very* common in normal French text
4178         (bug#17643).
4180 2014-06-02  Glenn Morris  <rgm@gnu.org>
4182         * emacs-lisp/package.el (package-check-signature)
4183         (package-unsigned-archives): Fix :version.
4185 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4187         * subr.el (sit-for): Don't run input-methods (bug#15614).
4189 2014-06-02  Glenn Morris  <rgm@gnu.org>
4191         * cus-start.el: Fix some :version numbers.
4193 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4195         * simple.el (deactivate-mark): Set mark-active to nil even if
4196         deactivation is done via setting transient-mark-mode to nil,
4197         since one is buffer-local and the other is global.
4199         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
4200         there can't be more than 2 arguments (bug#17584).
4202 2014-06-02  Glenn Morris  <rgm@gnu.org>
4204         * simple.el (filter-buffer-substring-functions)
4205         (filter-buffer-substring-function, buffer-substring-filters)
4206         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
4208         * minibuffer.el (completion-in-region-functions, completion-in-region)
4209         (completion--in-region): Doc fixes.
4211         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
4212         (expand-abbrev, abbrev--default-expand): Doc fixes.
4214 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
4216         Include sources used to create macuvs.h.
4217         * international/README: Refer to the Unicode Terms of Use rather
4218         than copying it bodily here, as that simplifies maintenance.
4220 2014-06-01  Glenn Morris  <rgm@gnu.org>
4222         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
4224 2014-05-31  Glenn Morris  <rgm@gnu.org>
4226         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
4228 2014-05-30  Glenn Morris  <rgm@gnu.org>
4230         * loadup.el: Treat `command-line-args' more flexibly.
4232 2014-05-30  Alan Mackenzie  <acm@muc.de>
4234         Guard (looking-at "\\s!") from XEmacs.
4235         * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
4237 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>
4239         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
4240         The argument COUNT is now optional, to be more backward-compatible.
4241         Doc fix.  (Bug#17560)
4243 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
4245         * whitespace.el (whitespace-report-region):
4246         Simplify documentation.
4247         (whitespace-report-region): Allow report-if-bogus to take the
4248         value `never', for non-interactive use.
4249         (whitespace-report): Refer to whitespace-report-region's
4250         documentation.
4252 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4254         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
4255         Side benefit: it works without jit-lock.
4256         (whitespace-point--used): New buffer-local var.
4257         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
4258         (whitespace-color-off): Use font-lock-flush.
4259         (whitespace-point--used, whitespace-point--flush-used): New functions.
4260         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
4261         (whitespace-empty-at-eob-regexp): Use them.
4262         (whitespace-post-command-hook): Rewrite.
4264         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
4265         (font-lock-fontify-buffer): Mark interactive-only.
4266         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
4267         Make buffer-local.
4268         (font-lock-specified-p): Remove redundant boundp check.
4269         (font-lock-flush-function, font-lock-ensure-function): New vars.
4270         (font-lock-turn-on-thing-lock): Set them.
4271         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
4272         (font-lock-after-change-function): Make `old-len' optional.
4273         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
4274         Call font-lock-flush, just in case.
4275         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
4276         recent Emacsen.
4277         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
4278         (vera-mode-map, vera-mode-menu): Remove bindings to it.
4279         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
4280         and with-syntax-table.
4281         * textmodes/conf-mode.el (conf-quote-normal):
4282         * progmodes/sh-script.el (sh-set-shell):
4283         * progmodes/prog-mode.el (prettify-symbols-mode):
4284         * progmodes/f90.el (f90-font-lock-n):
4285         * progmodes/cwarn.el (cwarn-mode):
4286         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
4287         * progmodes/compile.el (compilation-setup, compilation--unsetup):
4288         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
4289         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
4290         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
4291         font-lock-fontify-buffer-function and
4292         font-lock-unfontify-buffer-function.
4293         (rmail-unfontify-buffer-function, rmail-fontify-message):
4294         Use with-silent-modifications.
4295         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
4296         and font-lock-ensure.
4297         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
4299 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
4301         * emacs-lisp/package.el (package-generate-autoloads):
4302         Inhibit backup files.
4304 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4306         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
4307         (bug#17608).
4309 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
4311         * textmodes/tildify.el (tildify-buffer, tildify-region):
4312         Add dont-ask option.
4314 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4316         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
4317         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
4319         * subr.el (internal--funcall-interactively): New.
4320         (internal--call-interactively): Remove.
4321         (called-interactively-p): Detect funcall-interactively instead of
4322         call-interactively.
4323         * simple.el (repeat-complex-command): Use funcall-interactively.
4324         (repeat-complex-command--called-interactively-skip): Remove.
4326 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4328         * register.el (register-read-with-preview): Don't burp on
4329         frame switches (e.g. due to the frame we just popped).
4331         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
4332         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
4334 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
4336         * cus-face.el (custom-face-attributes): Add :distant-foreground.
4338 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
4340         * window.el (window--dump-frame): Remove interactive specification.
4342 2014-05-26  Glenn Morris  <rgm@gnu.org>
4344         * hippie-exp.el (he-line-search-regexp):
4345         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
4347 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
4349         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
4350         to avoid errors when trying to create or visit a file foo.todo
4351         located outside to todo-directory, and to allow having such files
4352         without them being tied to Todo mode (bug#17482).
4353         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
4354         (todo-archive-done-item, todo-find-filtered-items-file)
4355         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
4356         (todo-category-completions, todo-read-category): When visiting a
4357         Todo file, make sure we're in the right mode and the buffer local
4358         variables are set.
4359         (todo-make-categories-list, todo-reset-nondiary-marker)
4360         (todo-reset-done-string, todo-reset-comment-string):
4361         After processing all Todo files, kill the buffers of those files that
4362         weren't being visited before the processing.
4363         (todo-display-as-todo-file, todo-add-to-buffer-list)
4364         (todo-visit-files-commands): Comment out.
4365         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
4366         (auto-mode-alist): Remove add-to-list calls making Todo file
4367         extensions unrestrictedly tied to Todo modes.
4369 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4371         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
4372         (advice-function-member-p): Tell it to check both names and functions
4373         (bug#17531).
4374         (advice--add-function): Adjust call accordingly.
4376 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
4378         * calendar/todo-mode.el: Miscellaneous bug fixes.
4379         (todo-delete-file): When deleting an archive but not its todo
4380         file, make sure to update the todo file's category sexp.
4381         (todo-move-category): Keep the moved category's name unless the
4382         file moved to already has a category with that name.  If the
4383         numerically last category of the source file was moved, make the
4384         first category current to avoid selecting a nonexisting category.
4385         (todo-merge-category): Fix implementation to make merging to a
4386         category in another file work as documented.  Eliminate now
4387         insufficient and unnecessary renaming of archive category, correct
4388         document string accordingly, and clarify it.  If the numerically
4389         last category of the source file was merged, make the first
4390         category current to avoid selecting a nonexisting category.
4391         (todo-archive-done-item): When there are marked items and point
4392         happens to be on an unmarked item, ignore the latter.  Don't leave
4393         point below last item after archiving marked items.
4394         (todo-unarchive-items): Fix logic to ensure unarchiving an item
4395         from an archive with only one category deletes the archive only
4396         when the category is empty after unarchiving.  Make sure the todo
4397         file's category sexp is updated.
4398         (todo-read-file-name): Allow an existing file name even when it is
4399         not required (todo-move-category needs this to work as documented).
4400         (todo-add-file): Call todo-validate-name to reject the name of an
4401         existing todo file (needed due to fix in todo-read-file-name).
4402         (todo-reset-nondiary-marker): Also reset in filtered items files.
4403         (todo-reset-done-string, todo-reset-comment-string): Also reset in
4404         regexp filtered items files.
4405         (todo-reset-highlight-item): Also reset in filtered items files.
4406         Fix incorrect variable reference in document string.
4408 2014-05-26  Glenn Morris  <rgm@gnu.org>
4410         * window.el (window--dump-frame): Avoid error in --without-x builds.
4412 2014-05-26  Glenn Morris  <rgm@gnu.org>
4414         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
4416 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
4418         * frame.el (set-frame-font): Doc fix.
4420         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
4422 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
4424         * emacs-lisp/package.el (package--download-one-archive):
4425         Use `write-region' instead of `save-buffer' to avoid running various
4426         hooks.  (Bug#17155)
4427         (describe-package-1): Same.  Insert newline at the end of the
4428         buffer if appropriate.
4430 2014-05-26  Juri Linkov  <juri@jurta.org>
4432         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
4433         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
4434         Add more modifiers: meta, control, shift, hyper, super, alt.
4435         (Bug#17439)
4437         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
4438         to allow changing its value with `set-variable'.
4440 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4442         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
4443         #; comments.
4444         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
4445         New functions.
4446         (scheme-mode-variables): Set syntax-propertize-function instead of
4447         font-lock-syntactic-face-function.
4448         (scheme-font-lock-syntactic-face-function): Delete.
4450         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
4452         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
4453         (bug#17392).
4455 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
4457         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
4458         for a temporary file name.
4460 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
4462         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
4464 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
4466         * net/dbus.el (dbus-init-bus, dbus-call-method)
4467         (dbus-call-method-asynchronously, dbus-send-signal)
4468         (dbus-method-return-internal, dbus-method-error-internal):
4469         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
4471 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4473         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
4474         methods which do not have a doc string.  (Bug#17490)
4476 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
4478         * textmodes/reftex-ref.el (reftex-format-special): Make it work
4479         also for AMS Math's \eqref macro.
4481 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
4483         Arrange to never byte-compile the generated -pkg.el file.
4485         * emacs-lisp/package.el (package-generate-description-file):
4486         Output first-line comment to set buffer-local var `no-byte-compile'.
4487         Suggested by Dmitry Gutov:
4488         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
4490 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
4492         Fix bug: Properly quote args to generated -pkg.el `define-package'.
4494         * emacs-lisp/package.el (package-generate-description-file):
4495         Inline `package--alist-to-plist'; rewrite to selectively
4496         quote alist values that are not self-quoting.
4497         (package--alist-to-plist): Delete func.
4499 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
4501         * term/xterm.el (xterm-function-map): Add mapping for shifted
4502         keypad keys.
4504 2014-05-24  Daniel Colascione  <dancol@dancol.org>
4506         * progmodes/subword.el (subword-find-word-boundary): Move point to
4507         correct spot before search. (Bug#17580)
4509         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
4510         breaking the build.
4512 2014-05-24  Leo Liu  <sdl.web@gmail.com>
4514         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
4516 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4518         * minibuffer.el (completion--sreverse): Remove.
4519         (completion--common-suffix): Use `reverse' instead.
4520         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
4522 2014-05-22  Glenn Morris  <rgm@gnu.org>
4524         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
4526 2014-05-21  Daniel Colascione  <dancol@dancol.org>
4528         * files.el (interpreter-mode-alist): Add mksh.
4530         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
4531         derivative.
4532         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
4533         mksh. Improve custom spec; allow regular expressions.
4534         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
4535         (sh-after-hack-local-variables): New function.
4536         (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
4537         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
4538         the normalization.
4539         (sh-canonicalize-shell): Rewrite to support regexes.
4541 2014-05-21  Leo Liu  <sdl.web@gmail.com>
4543         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
4545 2014-05-19  Leo Liu  <sdl.web@gmail.com>
4547         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
4549 2014-05-18  Glenn Morris  <rgm@gnu.org>
4551         * loadup.el:
4552         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
4554 2014-05-14  Sam Steingold  <sds@gnu.org>
4556         * progmodes/python.el (python-shell-get-or-create-process):
4557         Do not bind `current-prefix-arg' so that C-c C-z does not talk
4558         back unless requested.
4560 2014-05-14  Glenn Morris  <rgm@gnu.org>
4562         * subr.el (with-file-modes): New macro.
4563         * printing.el (pr-save-file-modes): Make obsolete.
4564         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
4565         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
4566         Add with-file-modes.
4567         * doc-view.el (doc-view-make-safe-dir):
4568         * epg.el (epg--start):
4569         * files.el (locate-user-emacs-file, make-temp-file)
4570         (backup-buffer-copy, move-file-to-trash):
4571         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
4572         * eshell/esh-util.el (eshell-with-private-file-modes)
4573         (eshell-make-private-directory):
4574         * net/browse-url.el (browse-url-mosaic):
4575         * obsolete/mailpost.el (post-mail-send-it):
4576         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
4577         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
4578         Use with-file-modes.
4580         * vc/emerge.el (emerge-make-temp-file): Simplify.
4582 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
4583             Stefan Monnier  <monnier@iro.umontreal.ca>
4585         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
4586         suffix (bug#15419).
4588 2014-05-14  Glenn Morris  <rgm@gnu.org>
4590         * vc/emerge.el (emerge-temp-file-prefix):
4591         Make pointless option obsolete.
4592         (emerge-temp-file-mode): Make non-functional option obsolete.
4594 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
4596         * net/browse-url.el (browse-url):
4597         Use `unhandled-file-name-directory' when setting `default-directory',
4598         in order to circumvent stalled remote connections.  (Bug#17425)
4600 2014-05-14  Glenn Morris  <rgm@gnu.org>
4602         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
4603         Optimize on Emacs, which has the relevant functions for ages.
4605 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4607         * simple.el (undo-make-selective-list): Obey undo-no-redo.
4609 2014-05-12  Sam Steingold  <sds@gnu.org>
4611         * calendar/time-date.el (seconds-to-string): New function to
4612         pretty print time delay in seconds.
4614 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4616         * mpc.el (mpc-format): Trim Date to the year.
4617         (mpc-songs-hashcons): Shorten the Date field.
4619         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
4620         into autoloading just because of a silly indirection.
4622 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
4624         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
4626 2014-05-12  Glenn Morris  <rgm@gnu.org>
4628         * emacs-lisp/find-gc.el: Move to ../admin.
4630         * printing.el (pr-version):
4631         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
4633         * net/browse-url.el (browse-url-mosaic):
4634         Create /tmp/Mosaic.PID as a private file.
4636 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4638         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
4639         (advice--member-p): If name is given, only compare the name.
4640         (advice--remove-function): Don't stop at the first match.
4641         (advice--normalize-place): New function.
4642         (add-function, remove-function): Use it.
4643         (advice--add-function): Pass the name, if any, to
4644         advice--remove-function.
4646 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
4648         * electric.el (electric-indent-post-self-insert-function): Don't use
4649         `pos' after modifying the buffer (bug#17449).
4651 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
4653         * calendar/todo-mode.el (todo-insert-item-from-calendar):
4654         Correct argument list to conform to todo-insert-item--basic.
4656 2014-05-12  Glenn Morris  <rgm@gnu.org>
4658         * files.el (cd-absolute): Test if directory is accessible
4659         rather than executable.  (Bug#17330)
4661         * progmodes/compile.el (recompile):
4662         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
4664         * net/browse-url.el (browse-url-mosaic):
4665         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
4666         This is CVE-2014-3423.
4668 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4670         * mouse.el: Use the normal toplevel loop while dragging.
4671         (mouse-set-point): Handle multi-clicks.
4672         (mouse-set-region): Handle multi-clicks for drags.
4673         (mouse-drag-region): Update call accordingly.
4674         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
4675         Use the normal event loop instead of a local while/read-event loop.
4676         (global-map): Remove redundant bindings for double/triple-mouse-1.
4677         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
4678         Generate synthetic down events when the protocol only sends up events.
4679         (xterm-mouse-last): Remove.
4680         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
4681         terminal parameter instead.
4682         (xterm-mouse--set-click-count): New function.
4683         (xterm-mouse-event): Detect/generate double/triple clicks.
4684         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
4686         * info.el (Info-quoted): New face.
4687         (Info-mode-font-lock-keywords): New var.
4688         (Info-mode): Use it.
4690         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
4691         are a hindrance for C-x C-e.
4693 2014-05-11  Leo Liu  <sdl.web@gmail.com>
4695         * net/rcirc.el (rcirc-sentinel): Fix last change.
4697 2014-05-08  Sam Steingold  <sds@gnu.org>
4699         * net/rcirc.el (rcirc-reconnect-delay): New user option.
4700         (rcirc-sentinel): Auto-reconnect to the server if
4701         `rcirc-reconnect-delay' is non-0 (but not more often than its
4702         value in case the host is off-line).
4704 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
4706         * progmodes/grep.el (lgrep): Fix a typo in last commit.
4708 2014-05-09  Glenn Morris  <rgm@gnu.org>
4710         * files.el (file-expand-wildcards):
4711         * man.el (Man-support-local-filenames):
4712         * printing.el (pr-i-directory, pr-interface-directory):
4713         * progmodes/grep.el (lgrep, rgrep):
4714         * textmodes/ispell.el (ispell-call-process)
4715         (ispell-call-process-region, ispell-start-process)
4716         (ispell-init-process): Use file-accessible-directory-p.
4718 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4720         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
4721         (xterm-mouse--read-event-sequence-1000): Return nil if something
4722         looks fishy.
4723         (xterm-mouse-event): Propagate it.
4724         (xterm-mouse-translate-1): Handle it.
4726 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
4728         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
4729         four slots of the parameter list are filled, make sure to pass it
4730         to the argument list of todo-insert-item--basic.
4732 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4734         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
4735         Add optional `seen' argument to detect and break infinite loops.
4737 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
4739         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
4740         (trace-unsafe, trace-use-tree): Make parentheses style be
4741         according to Emacs style.
4743 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
4745         * net/tramp-sh.el (tramp-remote-process-environment):
4746         Remove HISTFILE and HISTSIZE; it's too late to set them here.
4747         Add :version entry.
4748         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
4749         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
4750         extra "PSx=..." commands.
4751         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
4752         (Bug#17295)
4754         (tramp-uudecode): Replace the hard-coded temporary file name by a
4755         format specifier.
4756         (tramp-remote-coding-commands): Enhance docstring.
4757         (tramp-find-inline-encoding): Replace "%t" by a temporary file
4758         name.  (Bug#17415)
4759         This is CVE-2014-3424.
4761 2014-05-08  Glenn Morris  <rgm@gnu.org>
4763         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
4764         (find-gc-source-files): Update some names.
4765         (trace-call-tree): Simplify and update.
4766         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
4767         This is CVE-2014-3422.
4769 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4771         * minibuffer.el (completion--try-word-completion): Revert fix for
4772         Bug#15980 (bug#17375).
4774         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
4775         Always store button numbers in the same way in xterm-mouse-last;
4776         Don't burp is xterm-mouse-last is not set as expected.
4777         Never return negative indices.
4779 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
4781         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4782         Backtrack one char if the global/char-literal var matcher hits
4783         inside a string.  The next char could be the beginning of an
4784         expression expansion.
4786 2014-05-08  Glenn Morris  <rgm@gnu.org>
4788         * help-fns.el (describe-function-1): Test for an autoload before a
4789         macro, since `macrop' works on autoloads.  (Bug#17410)
4791 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4793         * electric.el (electric-indent-functions-without-reindent): Add yaml.
4795         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
4796         Make sure the new point we return is within the new string (bug#17239).
4798 2014-05-05  Daniel Colascione  <dancol@dancol.org>
4800         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4801         Port `gnu' pattern to rx.
4803 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
4805         Remove unneeded prompt when closing a buffer with active
4806         emacsclient ("Buffer ... still has clients"), #16548.
4807         * server.el (server-start): Remove the only call to:
4808         (server-kill-buffer-query-function): Remove.
4810 2014-05-04  Leo Liu  <sdl.web@gmail.com>
4812         * calendar/diary-lib.el (calendar-chinese-month-name-array):
4813         Defvar to pacify compiler.
4815 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
4817         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
4819 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4821         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
4822         Use nil rather than `default' for the "default" appearance (bug#17388).
4823         * vc/ediff-util.el (ediff-inferior-compare-regions)
4824         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
4825         a misleading `default' value when it's really a boolean.
4826         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
4827         overlay is not visible.
4829 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
4831         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
4832         (todo-menu): Uncomment and update.
4834 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
4836         * calendar/todo-mode.el: Reimplement item editing to have the same
4837         basic user interface as item insertion, and make small UI and
4838         larger internal improvements to the latter.
4839         (todo-insert-item): Add reference to the Todo mode user manual to
4840         the documentation string.
4841         (todo-insert-item--basic): Rename from todo-basic-insert-item and
4842         adjust all callers.  Change signature to combine diary and
4843         nonmarking arguments.  Incorporate functionality of deleted item
4844         copying command and add error checking.  Remove detailed
4845         descriptions of the arguments from the documentation string, since
4846         this is treated in the Todo mode user manual.
4847         (todo-copy-item, todo-edit-multiline-item)
4848         (todo-edit-done-item-comment, todo-edit-item-header)
4849         (todo-edit-item-time, todo-edit-item-date-from-calendar)
4850         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
4851         (todo-edit-item-date-year, todo-edit-item-date-month)
4852         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
4853         Remove.
4854         (todo-edit-item): Reimplement as wrapper command for
4855         todo-edit-item--next-key and make it distinguish done and not done
4856         todo items.
4857         (todo-edit-item--text): New function, replacing old command
4858         todo-edit-item and incorporating deleted commands
4859         todo-edit-multiline-item and todo-edit-done-item-comment.
4860         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
4861         Use only numeric value of prefix argument.  Remove detailed
4862         descriptions of the arguments from the documentation string, since
4863         this is treated in the Todo mode user manual.
4864         (todo-edit-item--diary-inclusion): New function, replacing old
4865         command todo-edit-item-diary-inclusion and incorporating and fixing
4866         functionality of deleted command todo-edit-item-diary-nonmarking,
4867         making sure to remove todo-nondiary-marker when adding
4868         diary-nonmarking-symbol.
4869         (todo-edit-category-diary-inclusion): Make sure to delete
4870         diary-nonmarking-symbol when adding todo-nondiary-marker.
4871         (todo-edit-category-diary-nonmarking): Fix indentation.
4872         (todo-insert-item--parameters): Group diary and nonmarking
4873         parameters together.
4874         (todo-insert-item--apply-args): Adjust to signature of
4875         todo-insert-item--basic and incorporate copy parameter.
4876         Make small code improvements.
4877         (todo-insert-item--next-param): Improve prompt and adjust it to
4878         new parameter grouping.  Remove obsolete code.
4879         (todo-edit-item--param-key-alist)
4880         (todo-edit-item--date-param-key-alist)
4881         (todo-edit-done-item--param-key-alist): New defconsts.
4882         (todo-edit-item--prompt): New variable.
4883         (todo-edit-item--next-key): New function.
4884         (todo-key-bindings-t): Bind "e" to todo-edit-item.
4885         Remove bindings of deleted commands.
4887 2014-05-04  Leo Liu  <sdl.web@gmail.com>
4889         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
4891 2014-05-04  Glenn Morris  <rgm@gnu.org>
4893         * allout-widgets.el (allout-widgets-tally)
4894         (allout-decorate-item-guides):
4895         * menu-bar.el (menu-bar-positive-p):
4896         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
4897         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
4898         * progmodes/js.el (js--inside-param-list-p)
4899         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
4900         * progmodes/prolog.el (region-exists-p):
4901         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
4902         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
4903         Doc fixes (replace `iff').
4905 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4907         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
4909 2014-05-04  Leo Liu  <sdl.web@gmail.com>
4911         Support Chinese diary entries in calendar and diary.  (Bug#17393)
4912         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
4913         (calendar-chinese-from-absolute-for-diary)
4914         (calendar-chinese-to-absolute-for-diary)
4915         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
4916         (diary-chinese-list-entries): New functions to list and mark
4917         Chinese diary entries in the calendar window.
4918         (diary-chinese-anniversary)
4919         (diary-chinese-insert-anniversary-entry)
4920         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
4921         (diary-chinese-insert-yearly-entry): New commands to insert
4922         Chinese diary entries.
4924         * calendar/diary-lib.el (diary-font-lock-keywords):
4925         Support font-locking Chinese dates.
4927         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
4928         inserting Chinese diary entries.
4930         * calendar/calendar.el (diary-chinese-entry-symbol):
4931         New customizable variable.
4932         (calendar-mode-map): Add bindings for inserting Chinese diary
4933         entries.
4935 2014-05-03  Juri Linkov  <juri@jurta.org>
4937         * dired.el (dired-check-switches, dired-switches-recursive-p):
4938         New functions.  (Bug#17218)
4939         (dired-switches-escape-p, dired-move-to-end-of-filename):
4940         Use `dired-check-switches'.
4941         (dired-insert-old-subdirs, dired-build-subdir-alist)
4942         (dired-sort-R-check): Use `dired-switches-recursive-p'.
4944 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
4946         * simple.el (undo-make-selective-list): New algorithm fixes
4947         incorrectness of position adjustments when undoing in region.
4948         (Bug#17235)
4949         (undo-elt-crosses-region): Make obsolete.
4950         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
4951         New functions to adjust positions using undo-deltas.
4953 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4955         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
4956         the last consecutive closing paren (bug#17345).
4958 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
4960         * dired.el (dired-mode): make terminology for eXpunge command
4961         consistent.  (Bug#17276)
4963 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
4965         * dired.el (dired-initial-position-hook, dired-initial-position):
4966         Doc string fixes.
4968 2014-04-30  Glenn Morris  <rgm@gnu.org>
4970         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
4972 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
4974         * faces.el (face-spec-recalc): Apply X resources only after the
4975         defface spec has been applied. Thus, X resources are no longer
4976         overriden by the defface spec which also fixes issues on win32 where
4977         the toolbar coloring was wrong because it is set through X resources
4978         and was (wrongfully) overriden.  (Bug#16694)
4980 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4982         * textmodes/rst.el (electric-pair-pairs): Declare.
4983         (rst-mode): Set it (bug#17131).
4985 2014-04-30  Juri Linkov  <juri@jurta.org>
4987         * desktop.el (desktop-value-to-string): Let-bind `print-length'
4988         and `print-level' to nil.  (Bug#17351)
4990 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4992         * battery.el (battery-update): Handle the case where battery
4993         status is "N/A" (bug#17319).
4995 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4997         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
4998         to syntax-propertize.
4999         (ps-mode-auto-indent): Mark as obsolete.
5000         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
5001         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
5002         word regexp operators.
5003         (ps-mode-map): Move initialization into declaration.  Remove binding
5004         for TAB, RET, >, ], and }.
5005         (ps-mode-syntax-table): Move initialization into declaration.
5006         Don't give word syntax to non-word chars.
5007         (ps-run-mode-map): Move initialization into declaration.
5008         (ps-mode-menu-main): Remove auto-indent entry.
5009         (ps-mode-smie-rules): New function.
5010         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
5011         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
5012         (ps-mode--string-syntax-table): New const.
5013         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
5014         New functions.
5015         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
5016         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
5018 2014-04-27  Daniel Colascione  <dancol@dancol.org>
5020         * term/xterm.el (xterm-paste): Use large finite timeout when
5021         reading event to avoid putting keys in this-command-keys.
5023 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5025         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
5026         (perl-syntax-propertize-function): Use it.  Extend handling of
5027         here-docs to the unquoted case.
5029 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
5031         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
5032         Use equal-including-properties to compare help-echo strings (bug#17331).
5034 2014-04-25  Leo Liu  <sdl.web@gmail.com>
5036         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5037         Fix syntax for @.  (Bug#17325)
5039 2014-04-25  Daniel Colascione  <dancol@dancol.org>
5041         * emacs-lisp/cl.el (gv): Require gv early to break eager
5042         macro-expansion cycles.
5044 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5046         * simple.el (region-active-p): Check there's a mark (bug#17324).
5048         * simple.el (completion-list-mode-map): Use choose-completion for the
5049         mouse binding as well (bug#17302).
5050         (completion-list-mode, completion-setup-function): Adjust docstring and
5051         echo area message accordingly.
5052         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
5053         calling convention of choose-completion.
5054         * comint.el (comint-dynamic-list-completions):
5055         * term.el (term-dynamic-list-completions): Accept choose-completion.
5057         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
5058         &, |, +, - and * can't be a division (bug#17317).
5060         * term/xterm.el (xterm--version-handler): Don't use modern xterm
5061         features on gnome-terminal (bug#16988).
5063 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
5065         Improve Scheme font-locking for (define ((foo ...) ...) ...).
5067         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
5068         the declared object, ignore zero or more parens, not zero or one.
5070 2014-04-24  Leo Liu  <sdl.web@gmail.com>
5072         * progmodes/xscheme.el (xscheme-expressions-ring)
5073         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
5074         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
5075         (xscheme-allow-output-p, xscheme-prompt)
5076         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
5078         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
5079         Comment out unused functions.
5081 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5083         * info.el: Use lexical-binding and cl-lib.
5084         Use defvar-local and setq-local instead of make-local-variable.
5085         (Info-apropos-matches): Avoid add-to-list.
5086         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
5088 2014-04-24  Daniel Colascione  <dancol@dancol.org>
5090         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
5092 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5094         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
5096 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
5098         * dired.el (dired-insert-set-properties): Do not consider
5099         subdirectory headings and empty lines to be information that
5100         `dired-hide-details-mode' should hide.  (Bug#17228)
5102 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
5104         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5105         Remove test messages.
5106         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
5107         and `target' twice.
5109 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5111         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
5112         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
5114         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
5116 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
5118         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5119         Set "IFS=" when using read builtin, in order to preserve spaces in
5120         the file name.  Add test messages for hunting a bug on hydra.
5121         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
5123 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5125         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
5126         Don't prettify a word within a symbol.
5128 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
5130         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
5131         possible.
5133 2014-04-22  Daniel Colascione  <dancol@dancol.org>
5135         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
5136         use defun to define `function-put'.
5138 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5140         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
5141         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
5142         (lisp-mode-variables): Set font-lock-extra-managed-props.
5144         * emacs-lisp/byte-run.el (function-put): New function.
5145         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
5146         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
5147         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
5148         Use them.
5150 2014-04-22  Daniel Colascione  <dancol@dancol.org>
5152         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
5153         Add `full-p' parameter; when nil, call `macroexpand' instead of
5154         `macroexpand-all'.
5156         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
5157         Improve docstrings.
5159         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5160         Use lambda function values, not quoted lambdas.
5161         (byte-compile-recurse-toplevel): Remove extraneous &optional.
5163         * emacs-lisp/cl-macs.el
5164         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
5165         (cl-struct-slot-value): Conditionally use aref or nth so that the
5166         compiler produces optimal code.
5168 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5170         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
5171         (inline): Don't inline cl--set-elt.
5172         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
5173         Define as inlinable instead.
5174         (cl-struct-set-slot-value): Remove.
5176         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
5177         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
5178         Use setf instead.
5180 2014-04-21  Daniel Colascione  <dancol@dancol.org>
5182         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
5183         last two parameters after all.
5184         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
5185         (cl--compiler-macro-assoc,cl-struct-slot-value)
5186         (cl-struct-set-slot-value): Stop using them.
5188 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5190         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
5191         entry in image-mode-winprops-alist.
5193 2014-04-21  Daniel Colascione  <dancol@dancol.org>
5195         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
5196         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
5197         (byte-compile-toplevel-file-form): Use it.
5199         * emacs-lisp/cl-macs.el:
5200         (cl--loop-let): Properly destructure `while' clauses.
5202 2014-04-20  Daniel Colascione  <dancol@dancol.org>
5204         * vc/vc.el (vc-root-dir): New public autoloaded function for
5205         generically finding the current VC root.
5206         * vc/vc-hooks.el (vc-not-supported): New error.
5207         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
5209 2014-04-20  Daniel Colascione  <dancol@dancol.org>
5211         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
5212         argument.
5213         (cl--const-expr-val): cl--const-expr-val should macroexpand its
5214         argument in case we're inside a symbol-macrolet.
5215         (cl--do-arglist, cl--compiler-macro-typep)
5216         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
5217         environment to `cl--const-expr-val'.
5218         (cl-struct-sequence-type,cl-struct-slot-info)
5219         (cl-struct-slot-offset, cl-struct-slot-value)
5220         (cl-struct-set-slot-value): New functions.
5222 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5224         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
5225         assignments such as "case=hello" (bug#17297).
5227 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
5229         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
5230         Do not autoload.
5231         (tramp-file-name-handler, tramp-completion-file-name-handler):
5232         Revert patch from 2014-04-10, it isn't necessary anymore.
5233         (tramp-autoload-file-name-handler)
5234         (tramp-register-autoload-file-name-handlers): New defuns.
5235         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
5236         (tramp-register-file-name-handlers): Remove also
5237         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
5238         Do not autoload its invocation, but eval it after loading of 'tramp.
5240         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
5242         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
5244 2014-04-17  Daniel Colascione  <dancol@dancol.org>
5246         Add support for bracketed paste mode; add infrastructure for
5247         managing terminal mode enabling and disabling automatically.
5249         * xt-mouse.el:
5250         (xterm-mouse-mode): Simplify.
5251         (xterm-mouse-tracking-enable-sequence)
5252         (xterm-mouse-tracking-disable-sequence): New constants.
5253         (turn-on-xterm-mouse-tracking-on-terminal)
5254         (turn-off-xterm-mouse-tracking-on-terminal):
5255         Use tty-mode-set-strings and tty-mode-reset-strings terminal
5256         parameters instead of random hooks.
5257         (turn-on-xterm-mouse-tracking)
5258         (turn-off-xterm-mouse-tracking): Delete.
5260         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
5261         (xterm-paste-ending-sequence): New constant.
5262         (xterm-paste): New command used for bracketed paste support.
5264         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
5265         (terminal-init-xterm-bracketed-paste-mode): New function.
5266         (terminal-init-xterm): Call it.
5267         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
5268         and tty-mode-reset-strings instead of random hooks.
5269         (xterm-turn-on-modify-other-keys)
5270         (xterm-turn-off-modify-other-keys)
5271         (xterm-remove-modify-other-keys): Delete obsolete functions.
5273         * term/screen.el: Rewrite to just use the xterm code.
5274         Add copyright notice.  Mention tmux.
5276 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
5278         * image-mode.el (image-mode-window-put): Also update the property of
5279         the "default window".
5280         * doc-view.el (doc-view-new-window-function): If no window
5281         exists, move to the last known page.
5283 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5285         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
5286         here-documents (bug#17262).
5288 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
5290         * term/pc-win.el (x-list-fonts, x-get-selection-value):
5291         Provide doc strings, as required by snarf-documentation.
5293 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5295         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
5296         arg of overlays-at.  Use `invisible-p'.
5298         * obsolete/lucid.el (extent-at):
5299         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
5300         overlays-at.
5301         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
5303 2014-04-16  João Távora  <joaotavora@gmail.com>
5305         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
5306         links.  (Bug#17217).
5308 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
5310         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
5311         Use mapc to loop over a vector.  (Bug#17257).
5313 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
5315         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
5316         patch, there are new problems with file names containing spaces.
5317         Get rid of backticks.  (Bug#17238)
5319 2014-04-16  João Távora  <joaotavora@gmail.com>
5321         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
5322         possible bug.
5324 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
5326         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
5327         (blink-cursor-mode): Mention customization variables and the
5328         effect of 'blink-cursor-blinks'.
5330 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
5332         * simple.el (undo): Prevent insertion of identity mapping into
5333         undo-equiv-table so as undo-only does not inf loop in the presence
5334         of consecutive nils in undo list.
5336 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
5338         * faces.el (make-face): Deprecate optional argument as it is no
5339         longer needed/used since the conditional X resources handling
5340         has been pushed down to make-face-x-resource-internal itself.
5341         (make-empty-face): Don't pass optional argument to make-face.
5343 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
5345         * savehist.el (savehist-save): Remove workaround for a read-passwd
5346         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
5347         noticing that the shim was still present.
5349 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5351         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
5353 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
5355         * faces.el (face-set-after-frame-default): Remove unused local variable.
5357 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5359         * progmodes/grep.el: Use lexical-binding.
5360         (grep-expand-template): Pass explicit lexical env to `eval'.
5361         (zrgrep): Let-bind grep-find-template explicitly.
5363         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
5364         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
5366 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
5368         * international/characters.el <standard-case-table>: Add entries
5369         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
5370         Set category of Coptic characters be 'g' (Greek).
5372 2014-04-12  Leo Liu  <sdl.web@gmail.com>
5374         * progmodes/octave.el (completion-table-with-cache):
5375         Define if not available.
5376         (octave-goto-function-definition, octave-sync-function-file-names)
5377         (octave-find-definition-default-filename):
5378         Backquote upattern for compatibility.
5380 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
5382         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
5383         name twice due to backticks.  (Bug#17238)
5385 2014-04-12  Glenn Morris  <rgm@gnu.org>
5387         * term/w32-win.el (x-win-suspend-error):
5388         * term/x-win.el (x-win-suspend-error): Sync docs.
5390 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
5392         * faces.el (make-face): Remove deprecated optional argument.
5393         The conditional application of X resources is handled directly by
5394         make-face-x-resource-internal since Emacs 24.4.
5395         (make-empty-face): Don't pass optional argument to make-face.
5397 2014-04-11  Glenn Morris  <rgm@gnu.org>
5399         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
5401 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5403         Ediff's overlay priorities cause more trouble than they solve.
5404         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
5405         (ediff-highest-priority): Remove function (bug#17234).
5406         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
5407         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
5408         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
5409         overlay priorities.
5411 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
5413         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
5414         entry; use symbol boundaries to avoid mis-matches.
5416 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
5418         * net/tramp.el (tramp-file-name-handler)
5419         (tramp-completion-file-name-handler): Avoid recursive loading.
5421         * net/tramp-sh.el (tramp-make-copy-program-file-name):
5422         Quote result also locally.
5424 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5426         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
5427         Remove left-over code.
5429         * newcomment.el (comment-indent-new-line): Sink code where it's used.
5430         Reuse the previous comment's indentation unconditionally if it's on its
5431         own line.
5433 2014-04-09  Daniel Colascione  <dancol@dancol.org>
5435         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
5436         `no-syntax-crossing' arguments.  Forward to `up-list'.
5437         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
5438         Implement logic for escaping from strings.  Use narrowing to deal
5439         with corner cases.
5441 2014-04-09  Leo Liu  <sdl.web@gmail.com>
5443         * net/rcirc.el (rcirc-connection-info): New variable.
5444         (rcirc-connect): Use it to store connection info.
5445         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
5446         for killed process.
5447         (rcirc-cmd-reconnect): New command.  (Bug#17045)
5448         (rcirc-mode, set-rcirc-encode-coding-system)
5449         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
5451 2014-04-09  Daniel Colascione  <dancol@dancol.org>
5453         * emacs-lisp/cl-indent.el: Add comment claiming
5454         facility is also good for elisp.
5455         (lisp-indent-find-method): New function.
5456         (common-lisp-indent-function): Recognize cl-loop.
5457         (common-lisp-indent-function-1): Recognize cl constructs; use
5458         `lisp-indent-find-method' instead of `get' directly.
5459         (if): Use else-body style for elisp.
5461 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
5463         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5464         Module methods.  (Bug#17216)
5466 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5468         * help.el (describe-bindings): Fix buffer handling (bug#17210).
5469         (describe-bindings-internal): Mark obsolete.
5471 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5473         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
5474         buffer-file-name, and buffer-file-truename any more.
5476 2014-04-08  Leo Liu  <sdl.web@gmail.com>
5478         Use lexical-binding and require cl-lib.
5479         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
5480         (rcirc-handler-generic, rcirc-fill-paragraph)
5481         (rcirc-format-response-string, rcirc-target-buffer)
5482         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
5483         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
5484         (rcirc-ctcp-sender-PING, rcirc-browse-url)
5485         (rcirc-markup-timestamp, rcirc-markup-attributes)
5486         (rcirc-markup-my-nick, rcirc-markup-urls)
5487         (rcirc-markup-bright-nicks, rcirc-markup-fill)
5488         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
5489         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
5490         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
5491         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
5492         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
5493         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
5494         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
5495         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
5496         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
5497         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
5498         use cl-lib.
5500 2014-04-07  João Távora  <joaotavora@gmail.com>
5502         * elec-pair.el (electric-pair--syntax-ppss):
5503         When inside comments parse from comment beginning.
5504         (electric-pair--balance-info): Fix typo in comment.
5505         (electric-pair--in-unterminated-string-p): Delete.
5506         (electric-pair--unbalanced-strings-p): New function.
5507         (electric-pair-string-bound-function): New var.
5508         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
5509         according to `electric-pair--in-unterminated-string-p'
5511         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
5512         Inhibit quote pairing if point-max is inside an unterminated string.
5513         (electric-pair--looking-at-unterminated-string-p): Delete.
5514         (electric-pair--in-unterminated-string-p): New function.
5516 2014-04-07  Glenn Morris  <rgm@gnu.org>
5518         * shell.el (shell-directory-tracker):
5519         Go back to just ignoring failures.  (Bug#17159)
5521 2014-04-07  João Távora  <joaotavora@gmail.com>
5523         Fix `electric-pair-delete-adjacent-pairs' in modes binding
5524         backspace. (bug#16981)
5525         * elec-pair.el (electric-pair-backward-delete-char): Delete.
5526         (electric-pair-backward-delete-char-untabify): Delete.
5527         (electric-pair-mode-map): Bind backspace to a menu item filtering
5528         a new `electric-pair-delete-pair' command.
5529         (electric-pair-delete-pair): New command.
5531         * progmodes/python.el (python-electric-pair-string-delimiter):
5532         Fix triple-quoting electricity.  (Bug#17192)
5534         * elec-pair.el (electric-pair-post-self-insert-function):
5535         Don't skip whitespace when `electric-pair-text-pairs' and
5536         `electric-pair-pairs' were used. syntax to
5537         electric-pair--skip-whitespace.  (Bug#17183)
5539 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
5541         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
5542         "<F>".  (Bug#17199)
5544 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5546         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
5547         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
5549 2014-04-07  Glenn Morris  <rgm@gnu.org>
5551         * help.el (view-lossage): Doc tweak.
5553 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
5555         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
5556         only when inhibit-x-resources is nil, and do that earlier in the
5557         function.  Doc fix.  (Bug#16694)
5558         (face-spec-choose): Accept additional optional argument, whose
5559         value is returned if no matching attributes are found.
5560         (face-spec-recalc): Use the new optional argument when calling
5561         face-spec-choose.  (Bug#16378)
5562         (make-face-x-resource-internal): Do nothing when
5563         inhibit-x-resources is non-nil.  Don't touch the default face if
5564         reversed video is given--as was done in previous versions of Emacs.
5565         (face-set-after-frame-default): Don't call
5566         make-face-x-resource-internal here.  (Bug#16434)
5568 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
5570         * doc-view.el (doc-view-bookmark-jump):
5571         Use `bookmark-after-jump-hook' to jump to the right page after the
5572         buffer is shown in a window.  (bug#16090)
5574 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
5576         * international/characters.el (mirroring): Fix last change:
5577         instead of loading uni-mirrored.el explicitly, do that implicitly
5578         by creating the 'mirroring' uniprop table.  This avoids announcing
5579         the loading of uni-mirrored.el.
5581 2014-04-07  Glenn Morris  <rgm@gnu.org>
5583         * files.el (buffer-stale--default-function)
5584         (buffer-stale-function, revert-buffer--default):
5585         * autorevert.el (auto-revert-buffers): Doc tweaks.
5587 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
5589         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
5591 2014-04-07  Glenn Morris  <rgm@gnu.org>
5593         * files.el (make-backup-file-name-function)
5594         (make-backup-file-name, make-backup-file-name--default-function)
5595         (make-backup-file-name-1, find-backup-file-name)
5596         (revert-buffer-function, revert-buffer-insert-file-contents-function)
5597         (buffer-stale--default-function, buffer-stale-function)
5598         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
5599         (revert-buffer, revert-buffer--default)
5600         (revert-buffer-insert-file-contents--default-function):
5601         Doc fixes related to defaults no longer being nil.
5602         (make-backup-file-name-function): Bump :version.
5603         Restore nil as a valid but deprecated custom type.
5605 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5607         * progmodes/perl-mode.el (perl-syntax-propertize-function):
5608         Handle $' used as a variable (bug#17174).
5610         * progmodes/perl-mode.el (perl-indent-new-calculate):
5611         Handle forward-sexp failure (bug#16985).
5612         (perl-syntax-propertize-function): Add "foreach" and "for" statement
5613         modifiers introducing expressions (bug#17116).
5615 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5617         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
5619 2014-04-05  Leo Liu  <sdl.web@gmail.com>
5621         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5622         Add define-compilation-mode.
5624 2014-04-04  João Távora  <joaotavora@gmail.com>
5626         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
5627         parse from comment beginning.
5628         (electric-pair--balance-info): Fix typo in comment.
5629         (electric-pair--in-unterminated-string-p): Delete.
5630         (electric-pair--unbalanced-strings-p): New function.
5631         (electric-pair-string-bound-function): New var.
5632         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
5633         according to `electric-pair--in-unterminated-string-p'.
5635 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5637         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
5638         Move declaration before first use.
5639         (reftex-move-to-next-arg): Silence compiler warning.
5641 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
5643         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
5644         Use `window-total-width' instead of `window-width'.
5646 2014-04-03  Daniel Colascione  <dancol@dancol.org>
5648         * subr.el (set-transient-map): Remove rms's workaround entirely;
5649         use new `suspicious-object' subr to mark our lambda for closer
5650         scrutiny during gc.
5652 2014-04-02  Richard Stallman  <rms@gnu.org>
5654         * subr.el (set-transient-map): Comment out previous change.
5656 2014-04-02  Glenn Morris  <rgm@gnu.org>
5658         * menu-bar.el (menu-bar-file-menu):
5659         * vc/ediff.el (ediff-current-file):
5660         Update for revert-buffer-function no longer being nil by default.
5662         * simple.el (command-execute): Respect nil disabled-command-function.
5664 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5666         * simple.el (command-execute): Do not execute the command when it
5667         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
5669 2014-04-02  Juri Linkov  <juri@jurta.org>
5671         * dired-aux.el (dired-compress-file): Don't use string-match-p
5672         because its match data is used afterwards.
5674 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5676         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
5677         0 like nil.
5679 2014-04-02  João Távora  <joaotavora@gmail.com>
5681         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
5682         Inhibit quote pairing if point-max is inside an unterminated string.
5683         (electric-pair--looking-at-unterminated-string-p):
5684         Delete.
5685         (electric-pair--in-unterminated-string-p): New function.
5687 2014-04-01  Daniel Colascione  <dancol@dancol.org>
5689         * minibuffer.el (minibuffer-complete): Prevent assertion failure
5690         when trying to complete the prompt.
5692 2014-03-31  Leo Liu  <sdl.web@gmail.com>
5694         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5695         Refactor out eldoc-documentation-function-default.
5696         (eldoc-documentation-function-default): New function.
5697         (eldoc-documentation-function): Change value.
5699 2014-03-31  Glenn Morris  <rgm@gnu.org>
5701         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
5703         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
5704         (vhdl-compose-components-package, vhdl-compose-configuration):
5705         Abbreviate default-directory (missing from some previous upstream sync).
5707 2014-03-31  Reto Zimmermann  <reto@gnu.org>
5709         Sync with upstream vhdl mode v3.35.2.
5710         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
5711         (top-level): No longer require assoc.
5712         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
5713         New functions.  Use throughout to replace aget etc.
5714         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
5715         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
5716         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
5717         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
5718         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
5719         except `vhdl-compiler'.
5720         (vhdl-error-regexp-add-emacs): Remove all other compilers,
5721         when appropriate.
5723 2014-03-31  Glenn Morris  <rgm@gnu.org>
5725         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
5726         Revert 2014-03-26 merge goof; go back to using defalias.
5728 2014-03-30  Daniel Colascione  <dancol@dancol.org>
5730         * comint.el (comint-send-input):
5731         Deactivate completion-in-region-mode before we send comint input.
5732         (Bug#17139).
5734         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
5735         on keyboard-quit.
5737 2014-03-29  Glenn Morris  <rgm@gnu.org>
5739         * textmodes/reftex.el: Manage most autoloads automatically.
5740         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
5741         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
5742         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
5743         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
5744         * textmodes/reftex-toc.el: Set generated-autoload-file,
5745         and add autoload cookies for reftex.el.
5746         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
5748 2014-03-28  Glenn Morris  <rgm@gnu.org>
5750         * cus-start.el (report-emacs-bug-address): Set custom properties.
5751         * mail/emacsbug.el (report-emacs-bug-address):
5752         Variable is now defined in emacs.c.
5754         * mail/emacsbug.el (report-emacs-bug):
5755         Include system-configuration-features.
5757 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
5759         * simple.el (cycle-spacing): Never delete spaces on first run by
5760         default, but do so in a new 'fast mode and if there are already
5761         N spaces (the previous behavior).
5762         Compare N with its value in previous invocation so that changing
5763         prefix argument restarts `cycle-spacing' sequence.
5764         The idea is that with this change, binding M-SPC to
5765         `cycle-spacing' should not introduce any changes in behavior of
5766         the binding so long as users do not type M-SPC twice in a raw with
5767         the same prefix argument or lack thereof.
5769 2014-03-28  Glenn Morris  <rgm@gnu.org>
5771         * faces.el (term-file-aliases): New variable.
5772         (tty-run-terminal-initialization): Respect term-file-aliases.
5773         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
5774         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
5775         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
5777 2014-03-27  Glenn Morris  <rgm@gnu.org>
5779         * startup.el (inhibit-startup-hooks): Doc tweak.
5780         (normal-top-level): Simplify running of hooks.
5781         For window-setup-hook, respect inhibit-startup-hooks.
5782         (command-line-1): Don't set window-setup-hook to nil.
5784         Allow selective autoloading from obsolete/ directory.
5785         * Makefile.in (obsolete-autoloads): New rule.
5786         (autoloads): Run obsolete-autoloads.
5787         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
5788         * simple.el (iswitchb-mode): Remove hand-written autoloads.
5790 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
5792         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5793         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
5795         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5796         Don't propertize `?' or `!' as symbol constituent when after
5797         colon.  (Bug#17097)
5799 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
5801         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
5802         which is no longer needed and causes trouble in GTK builds (bug#17046).
5804         * emacs-lisp/package-x.el (package--archive-contents-from-url):
5805         Use url-insert-file-contents; package-handle-response no longer exists.
5807 2014-03-26  Daniel Colascione  <dancol@dancol.org>
5809         * simple.el (process-menu-mode-map): New variable.
5810         (process-menu-delete-process): New command.
5812 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
5814         * emacs-lisp/package.el: Fix bug#16733 (again).
5815         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
5816         (url-http-target-url): Remove unused declarations.
5817         (package-handle-response): Remove.
5818         (package--with-work-buffer): Use url-insert-file-contents and simplify.
5819         (package--download-one-archive): Use current-buffer instead of
5820         dynamic binding of `buffer'.
5821         (describe-package-1): Do not decode readme-string.
5823 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
5825         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
5827         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
5828         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
5829         `remote-file-name-inhibit-cache' to nil in the second pass.
5830         (tramp-find-executable): Do not call "which" on SunOS.
5831         (tramp-send-command-and-check): Fix docstring.
5832         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
5833         check whether source directory has set the sticky bit.
5835 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
5837         * simple.el (primitive-undo): Only process marker adjustments
5838         validated against their corresponding (TEXT . POS).  Issue warning
5839         for lone marker adjustments in undo history.  (Bug#16818)
5840         (undo-make-selective-list): Add marker adjustments to selective
5841         undo list based on whether their corresponding (TEXT . POS) is in
5842         the region.  Remove variable adjusted-markers, which was unused
5843         and only non nil during undo-make-selective-list.
5844         (undo-elt-in-region): Return nil when passed a marker adjustment
5845         and explain in function doc.
5847 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5849         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
5851 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
5853         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
5854         Match special global variables without curlies, too.
5855         (ruby-font-lock-keywords): Simplify the matcher for special global
5856         variables.  Don't require a non-word character after the variable.
5857         (Bug#17057)
5859 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5861         * simple.el (redisplay-highlight-region-function): Increase priority of
5862         overlay to make sure boundaries are visible (bug#15899).
5864 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
5866         * frameset.el (frameset--initial-params): Fix typo in parameter name.
5867         (frameset-restore): Compare display strings with equal.
5869         * frame.el (make-frame): Don't quote display name in error message,
5870         it is already a string.
5872 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5874         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
5875         the password.
5877 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
5879         * emacs-lisp/package.el (package--add-to-archive-contents):
5880         Include already installed and built-in packages in
5881         `package-archive-contents'.
5882         (package-install): Don't include already installed packages in the
5883         options during interactive invocation.  (Bug#16762)
5884         (package-show-package-list): If the buffer is already displayed in
5885         another window, switch to that window.
5887 2014-03-26  Reto Zimmermann  <reto@gnu.org>
5889         Sync with upstream vhdl mode v3.35.1.
5890         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
5891         (vhdl-compiler-alist): Doc fix.
5892         (vhdl-goto-line): Remove.
5893         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
5894         (vhdl-mode) <paragraph-start>: Fix value.
5895         (vhdl-fix-statement-region): Not `for' in wait-statement.
5896         (vhdl-beautify-region): Also (un)tabify.
5897         (vhdl-get-visible-signals):
5898         Scan declarative part of generate statements.
5899         (vhdl-template-record): Fix indentation for record type declaration.
5900         (vhdl-expand-abbrev, vhdl-expand-paren):
5901         Revert to using fset again rather than defalias.
5902         (vhdl-scan-directory-contents): Tweak.
5903         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
5904         (vhdl-compose-components-package):
5905         Replace vhdl-goto-line with forward-line.
5906         (top-level): Tweak speedbar frame selection.
5907         (vhdl-generate-makefile-1): Support for compilers with no
5908         unit-to-file name mapping (create directory with dummy files).
5910 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
5912         Sync with upstream verilog-mode revision 702457d.
5913         * progmodes/verilog-mode.el (verilog-mode-version): Update.
5914         (create-lockfiles): Declare.
5915         (verilog-read-decls): Fix module header imports, bug709.
5916         Reported by Victor Lau.
5917         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
5918         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
5919         interface-only modules, bug721.  Reported by Dean Hoyt.
5921 2014-03-26  Glenn Morris  <rgm@gnu.org>
5923         * obsolete/gulp.el: Move here from emacs-lisp/.
5925         * files.el (lock-buffer, unlock-buffer, file-locked-p):
5926         Remove fallback aliases, since they are always defined now.
5928 2014-03-24  Daniel Colascione  <dancol@dancol.org>
5930         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
5931         instead of cl-loop search function.
5933 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
5935         * calendar/parse-time.el (parse-time-iso8601-regexp)
5936         (parse-iso8601-time-string): Copy from `url-dav' so that we can use
5937         it more generally.
5939 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
5941         * net/dns.el (network-interface-list): Define for XEmacs.
5943 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
5945         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
5946         the network interfaces changed.
5947         (dns-query): Use it to flush the data.
5949 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
5951         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
5953 2014-03-23  Daniel Colascione  <dancol@dancol.org>
5955         Change subword-mode to use `find-word-boundary-function-table' and
5956         replace `capitalized-words-mode'.  Also, convert to lexical binding.
5957         * progmodes/cap-words.el: Delete now-obsolete file.
5958         * progmodes/subword.el: Reimplement using
5959         `find-word-boundary-function-table'.
5960         (subword-mode-map): Hollow out.
5961         (capitalized-words-mode): Define as obsolete alias for
5962         `subword-mode'.
5963         (subword-mode, superword-mode): Tweak documentation to reflect new
5964         implementation; call `subword-setup-buffer'.
5965         (subword-forward, subword-capitalize): Add underscore to indicate
5966         unused variable.
5967         (subword-find-word-boundary-function-table): New constant.
5968         (subword-empty-char-table): New constant.
5969         (subword-setup-buffer): New function.
5970         (subword-find-word-boundary): New function.
5972 2014-03-23  Daniel Colascione  <dancol@dancol.org>
5974         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
5975         list to look for keyword arguments instead of `memq', fixing
5976         (Bug#3647) --- unfortunately, only for freshly-compiled code.
5977         Please make bootstrap.
5979 2014-03-22  Glenn Morris  <rgm@gnu.org>
5981         * dired.el (dired-read-regexp): Make obsolete.
5982         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
5983         (dired-flag-files-regexp):
5984         * dired-aux.el (dired-mark-read-regexp):
5985         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
5987         * startup.el (fancy-startup-text):
5988         * help.el (describe-gnu-project): Visit online info about GNU project.
5990         * help-fns.el (help-fns--interactive-only): New function.
5991         (help-fns-describe-function-functions): Add the above function.
5992         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
5993         (next-line, previous-line): Remove hand-written interactive-only
5994         information from doc strings, it is auto-generated now.
5995         * bookmark.el (bookmark-write):
5996         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
5997         (epa-mail-import-keys): Mark interactive-only,
5998         and remove hand-written interactive-only information from doc strings.
5999         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
6000         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
6001         * files.el (not-modified):
6002         * simple.el (mark-whole-buffer): Mark interactive-only.
6004         * emacs-lisp/byte-run.el (defun-declarations-alist):
6005         Add interactive-only.  Doc tweak.
6006         (macro-declarations-alist): Doc tweak.
6007         * subr.el (declare): Doc tweak (add xref to manual).
6008         * comint.el (comint-run):
6009         * files.el (insert-file-literally, insert-file):
6010         * replace.el (replace-string, replace-regexp):
6011         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6012         (delete-forward-char, goto-line, insert-buffer, next-line)
6013         (previous-line): Set interactive-only via declare.
6015 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
6017         * emacs-lisp/package.el (package-desc): Use the contents of the
6018         quoted form, not its cdr.  (Bug#16873)
6020 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
6022         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
6023         benefit of doc.c; change parameter profile to match the X function.
6025 2014-03-22  Leo Liu  <sdl.web@gmail.com>
6027         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
6028         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
6030 2014-03-21  Richard Stallman  <rms@gnu.org>
6032         * battery.el (battery-linux-sysfs): Search for each field
6033         from the beginning of the buffer.
6035         * subr.el (set-transient-map): Clear out function and value
6036         of the temporary symbol when we're done with it.
6038         * mail/rmailsum.el (rmail-summary-delete-forward):
6039         Optimize case of reaching end and handling count.
6040         (rmail-summary-mark-deleted): Optimize when N is current msg.
6041         Don't create new summary line.
6042         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
6043         (rmail-summary-undelete-many): Rewrite for speed.
6044         (rmail-summary-msg-number): New function.
6046         * mail/rmail.el (rmail-delete-message): Update summary.
6047         (rmail-undelete-previous-message): Handle repeat count arg.
6048         (rmail-delete-backward, rmail-delete-forward): Likewise.
6050 2014-03-21  Daniel Colascione  <dancol@dancol.org>
6052         * mail/emacsbug.el (report-emacs-bug): Include memory usage
6053         information in bug reports.
6055 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
6057         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
6058         and `tramp-copy-env'.
6060         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
6061         (tramp-maybe-open-connection): Handle `tramp-login-env'.
6063 2014-03-21  Glenn Morris  <rgm@gnu.org>
6065         * electric.el (electric-indent-post-self-insert-function): Add doc.
6067 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
6069         * emacs-lisp/package.el (package-compute-transaction):
6070         Use `version-list-<=' to compare the requirement version against
6071         the version of package already to be installed.  Update the error
6072         message.  (Bug#16826)
6074         * progmodes/ruby-mode.el (ruby-smie-rules):
6075         Add indentation rule for ` @ '.  (Bug#17050)
6077 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
6079         * align.el (align-regexp): Remove superfluous backslash.
6081         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
6082         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
6083         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
6084         Fix docstring typos.
6085         (ffap-next): Use C-u in docstring.
6086         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
6087         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
6088         Remove superfluous backslashes.
6089         (ffap-string-at-point): Reflow docstring.
6091         * server.el (server-host): Reflow docstring.
6092         (server-unload-function): Fix docstring typo.
6093         (server-eval-at): Remove superfluous backslash.
6095         * skeleton.el (skeleton-insert): Remove superfluous backslash.
6096         (skeleton-insert): Doc fix.
6097         (skeleton-insert): Reflow docstring.
6099         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
6100         (tty-color-approximate, tty-color-by-index, tty-color-values)
6101         (tty-color-desc): Remove superfluous backslashes.
6103 2014-03-21  Glenn Morris  <rgm@gnu.org>
6105         * cus-start.el (history-length): Bump :version.
6107         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6108         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6109         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6110         Don't set `make-backup-files'.
6112         * info.el (info--prettify-description): New function,
6113         to give info-finder descriptions consistent case, punctuation.
6114         (Info-finder-find-node): Use it.  Sort packages.
6115         Refer to "description" rather than "commentary".
6117 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
6119         * frameset.el (frameset--print-register): New function.
6120         (frameset-to-register): Use it.
6122 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
6124         * progmodes/hideif.el (hif-string-to-number): New function.
6125         (hif-tokenize): Use it to understand non-decimal floats.
6127         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
6129         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
6131 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6133         * electric.el (electric-newline-and-maybe-indent): New command.
6134         Bind it globally to C-j.
6135         (electric-indent-mode): Don't mess with the global map any more.
6136         Don't drop the post-self-insert-hook is some buffer is still using it
6137         (bug#16770).
6139         * bindings.el (global-map): Remove C-j binding.
6141         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
6142         the docstring of functions advised before dumping (bug#16993).
6144 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
6146         * ps-print.el (ps-generate-postscript-with-faces):
6147         Explicitly deactivate the mark (bug#16866).
6148         * simple.el (deactivate-mark): Update region highlight.
6150 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
6152         * emacs-lisp/package.el (describe-package-1):
6153         Decode commentary (bug#16733).
6155 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
6157         * custom.el (defcustom): Doc fix: recommend avoiding destructive
6158         modification of the value argument of :set (bug#16755).
6160 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6162         * simple.el (newline-and-indent): Do autofill (bug#17031).
6164 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
6166         * newcomment.el (comment-normalize-vars): Only add escaping check
6167         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
6168         (comment-beginning): Use `narrow-to-region' instead of moving back
6169         one character.
6170         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
6171         (comment-start-skip): Update the docstring.
6173 2014-03-18  Richard Stallman  <rms@gnu.org>
6175         * dired.el (dired-display-file): Force use of other window.
6177 2014-03-18  Daniel Colascione  <dancol@dancol.org>
6179         * startup.el (tty-handle-args): Remove debug message from 2007.
6181 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6183         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
6184         (advice--make-interactive-form): Use it to avoid (auto)loading function.
6185         (advice--make-1, advice-add, advice-remove):
6186         Remove braindead :advice-pending hack.
6188 2014-03-17  Glenn Morris  <rgm@gnu.org>
6190         * calendar/calendar.el (calendar-generate-month): Apply weekend
6191         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
6193 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
6195         * net/tramp.el (tramp-action-out-of-band): Read pending output.
6196         (tramp-call-process): Trace also DESTINATION.
6198         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6199         Quote file names when they are local.  Remove superfluous trace.
6201 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
6203         * newcomment.el (comment-beginning): If `comment-start-skip'
6204         doesn't match, move back one char and try again.  (Bug#16971)
6206         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6207         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
6208         Set `comment-start-skip' to a simpler value that doesn't try to
6209         check if the semicolon is escaped (this is handled by
6210         `syntax-ppss' now).  (Bug#16971)
6212         * progmodes/scheme.el (scheme-mode-variables): Same.
6214 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
6216         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
6217         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
6218         current (Bug#16816, Bug#17007).
6219         (with-current-buffer-window): New macro doing the same as
6220         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
6221         * help.el (help-print-return-message): Warn in doc-string to not
6222         use this in `with-help-window'.
6223         (describe-bindings-internal): Call `describe-buffer-bindings'
6224         from within help buffer.  See Juanma's scenario in (Bug#16816).
6225         (with-help-window): Update doc-string.
6226         * dired.el (dired-mark-pop-up):
6227         * files.el (save-buffers-kill-emacs):
6228         * register.el (register-preview): Use `with-current-buffer-window'
6229         instead of `with-temp-buffer-window'.
6231 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
6233         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
6234         Implement inserting into current buffer, documented in their docstrings.
6235         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
6236         (rst-section-tree-point, rst-forward-section, rst-indent)
6237         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
6238         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
6239         (rst-font-lock-handle-adornment-pre-match-form)
6240         (rst-repeat-last-character): Reflow docstrings.
6241         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
6242         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
6243         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
6244         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
6245         Fix docstring typos.
6246         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
6247         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
6248         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
6250 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
6252         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
6253         for compatibility with other ports.
6254         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
6255         from the -xrm command line argument, but in the Nextstep port its value
6256         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
6258         * progmodes/python.el (defconst, python-syntax-count-quotes)
6259         (python-indent-region, python-indent-shift-right)
6260         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
6261         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
6262         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
6263         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
6264         (inferior-python-mode, python-shell-make-comint, run-python-internal)
6265         (python-shell-buffer-substring, python-shell-send-buffer)
6266         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
6267         (python-completion-complete-at-point, python-fill-docstring-style)
6268         (python-eldoc-function, python-imenu-format-item-label)
6269         (python-imenu-format-parent-item-label)
6270         (python-imenu-format-parent-item-jump-label)
6271         (python-imenu--build-tree, python-imenu-create-index)
6272         (python-imenu-create-flat-index): Fix docstring typos.
6273         (python-indent-context, python-shell-prompt-regexp, run-python):
6274         Remove superfluous backslashes.
6275         (python-indent-line, python-nav-beginning-of-defun)
6276         (python-shell-get-buffer, python-shell-get-process)
6277         (python-info-current-defun, python-info-current-line-comment-p)
6278         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
6279         (python-indent-post-self-insert-function, python-shell-send-file)
6280         (python-shell-completion-get-completions)
6281         (python-shell-completion-complete-or-indent)
6282         (python-eldoc--get-doc-at-point): Reflow docstrings.
6284 2014-03-14  Glenn Morris  <rgm@gnu.org>
6286         * emacs-lisp/package.el (package-menu-mode-map):
6287         Replace use of obsolete function alias.  Tweak menu item text.
6289         * info.el (Info-finder-find-node):
6290         Ignore the `emacs' metapackage.  (Bug#10813)
6292         * finder.el (finder-list-matches): Include unversioned packages
6293         in the result of a keyword search.
6295         * finder.el (finder--builtins-descriptions): New constant.
6296         (finder-compile-keywords): Use finder--builtins-descriptions.
6298 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
6300         * simple.el (blink-matching-paren): Describe the new value,
6301         `jump', enabling the old behavior.
6302         (blink-matching-open): Use that value.  (Bug#17008)
6304 2014-03-14  Glenn Morris  <rgm@gnu.org>
6306         * finder.el (finder-no-scan-regexp): Add leim-list.
6307         (finder-compile-keywords):
6308         Don't skip files with same basename.  (Bug#14010)
6309         * Makefile.in (setwins_finder): New, excluding leim.
6310         (finder-data): Use setwins_finder.
6312         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
6313         (help-function-arglist, help-make-usage): Move from here...
6314         * help.el (help-split-fundoc, help-add-fundoc-usage)
6315         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
6316         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
6318 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
6320         * net/socks.el (socks, socks-override-functions)
6321         (socks-find-services-entry):
6322         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
6323         (hif-find-ifdef-block):
6324         * progmodes/modula2.el (m2-indent): Fix docstring typos.
6326         * net/tls.el (tls-program): Reflow docstring.
6328         * progmodes/pascal.el (pascal-mode-abbrev-table)
6329         (pascal-imenu-generic-expression, pascal-auto-endcomments)
6330         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
6331         (pascal-outline-mode): Fix docstring typos.
6332         (pascal-mode): Let define-derived-mode document mode hook.
6333         (pascal-uncomment-area): Reflow.
6334         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
6336         * progmodes/opascal.el (opascal-compound-block-indent)
6337         (opascal-case-label-indent): Fix docstring typos.
6338         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
6340 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
6342         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6343         Fontify multiple adjacent negation chars.  (Bug#17004)
6345 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
6347         * emacs-lisp/package.el (package--prepare-dependencies):
6348         Accept requirements without explicit version (bug#14941).
6350 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
6352         * register.el (register-separator, copy-to-register): Doc fixes.
6353         (register-preview-default): Remove unnecessary call to concat.
6355         * frameset.el (frameset-restore): When checking for a visible frame,
6356         use the action map instead of calling visible-frame-list.
6358 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
6360         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
6362 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
6364         * window.el (fit-frame-to-buffer): Get maximum width from
6365         display's width instead of height.
6367 2014-03-12  Glenn Morris  <rgm@gnu.org>
6369         * desktop.el (desktop-restore-frames)
6370         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
6371         (desktop-restore-reuses-frames): Doc tweaks.
6373         * electric.el (electric-indent-mode): Doc fix.
6375 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
6377         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
6378         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
6379         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
6380         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
6381         (cvs-dired-use-hook): Fix docstring typos.
6382         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
6383         Doc fixes.
6385         * vc/pcvs-defs.el (cvs-auto-remove-handled)
6386         (cvs-auto-remove-directories, cvs-default-ignore-marks)
6387         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
6388         (cvs-execute-single-dir): Fix docstring typos.
6390         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
6391         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
6393         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
6395         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
6396         Fix docstring typos.
6398 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
6400         * frameset.el (frameset--jump-to-register): Add autoload; it could be
6401         called from jump-to-register after unloading the frameset package.
6403 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6405         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
6406         (bug#16975).  Deactivate the mark before setting it to nil.
6407         (activate-mark): Do nothing if region is already active.
6409 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
6411         * frameset.el (frameset--target-display): Remove definition; declare.
6412         (frameset-save, frameset-restore): Let-bind frameset--target-display.
6414 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6416         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
6417         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
6418         when the advice is pending.
6419         (advice-remove): Remove this marker when not needed any more.
6421 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
6423         * frameset.el: Separate options for reusing frames and cleaning up.
6424         (frameset--reuse-list): Remove definition; declare.
6425         (frameset--action-map): Declare.
6426         (frameset--find-frame-if): Doc fix.
6427         (frameset--restore-frame): Cache frame action.
6428         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
6429         how to clean up the frame list after restoring.  Remove cleaning
6430         options from REUSE-FRAMES.  Change all keyword values to symbols.
6431         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
6433         * desktop.el (desktop-restore-forces-onscreen)
6434         (desktop-restore-reuses-frames): Use non-keyword values.
6435         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
6437 2014-03-10  Glenn Morris  <rgm@gnu.org>
6439         * files.el (find-file): Doc fix: update info node name.
6441         * emacs-lisp/advice.el (ad-add-advice, defadvice):
6442         Doc fix: remove references to deleted info nodes.
6444 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
6446         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6447         Do not add nil to the environment, when there's no remote `locale'.
6448         (tramp-find-inline-encoding): Check, that the remote host has
6449         installed perl, before sending scripts.
6451 2014-03-10  Leo Liu  <sdl.web@gmail.com>
6453         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6454         Clear eldoc-last-message.  (Bug#16920)
6456 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6458         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
6459         (bug#14430).
6461 2014-03-09  Juri Linkov  <juri@jurta.org>
6463         * ansi-color.el (ansi-color-names-vector): Copy default colors
6464         from `xterm-standard-colors' that look well on the default white
6465         background (and also on the black background) to avoid illegible
6466         color combinations like yellow-on-white and white-on-white.
6467         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
6469 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
6471         * frameset.el (frameset-restore): When no frame is visible, do not
6472         generate a list of frames, just make visible the selected one.
6474 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
6476         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
6477         it only contains the repository root.  (Bug#16897)
6479 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
6481         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
6482         only when `remote-file-name-inhibit-cache' is nil.
6483         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
6485 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
6487         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
6488         Fix doc-strings.
6489         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
6490         fit-frame-to-buffer variable.  Fix doc-string.
6491         (fit-window-to-buffer): Set ONLY argument in call of
6492         fit-frame-to-buffer.  Fix doc-string.
6494 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
6496         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
6497         (tramp-action-password): Clear password cache if needed.
6498         (tramp-read-passwd): Do not clear password cache.
6500         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
6501         cache unless it is the first password request.
6503 2014-03-06  Glenn Morris  <rgm@gnu.org>
6505         * simple.el (newline): Doc tweak.
6507         * emacs-lisp/shadow.el (load-path-shadows-find):
6508         Ignore dir-locals.  (Bug#12357)
6510 2014-03-05  Glenn Morris  <rgm@gnu.org>
6512         * files.el (interpreter-mode-alist):
6513         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
6515 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
6517         * frameset.el (frameset--initial-params): Filter out null entries.
6519 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
6521         * window.el (window-min-height, window-min-width):
6522         Rewrite doc-strings.
6523         (window-body-size): Add PIXELWISE argument to make it consistent
6524         with its callees.
6526 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
6528         * finder.el (finder-mode-map, finder-mode-syntax-table):
6529         Revert part of 2014-02-28 change.
6531 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
6533         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
6534         (eww-setup-buffer): Clear next/prev/etc more reliably.
6535         (eww-textarea-map): [tab] doesn't work on tty.
6536         Reported by Mario Lang.
6538         * net/shr.el (shr-map): Ditto.
6540 2014-03-04  Glenn Morris  <rgm@gnu.org>
6542         * minibuffer.el (completion-hilit-commonality):
6543         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
6545 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
6547         * hilit-chg.el (hilit-chg-unload-function): New function.
6548         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
6549         (hilit-chg-map-changes): Prefer cardinal number to digit.
6550         (hilit-chg-display-changes): Reflow docstring.
6551         (highlight-changes-rotate-faces): Remove superfluous backslash.
6553 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
6555         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
6556         `tramp-send-command-and-check'.
6558 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
6560         * hexl.el (hexl-address-region, hexl-ascii-region)
6561         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
6562         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
6563         (hexl-forward-word, hexl-previous-line, hexl-next-line):
6564         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
6565         (hexl-mode): Doc fix.
6566         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
6567         (hexl-mode-ruler): Fix typos in docstrings.
6569         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
6570         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
6571         Remove superfluous backslashes.
6572         (strokes-last-stroke, strokes-global-map, strokes-mode):
6573         Reflow docstrings.
6574         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
6575         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
6576         (strokes-distance-squared, strokes-global-set-stroke)
6577         (strokes-global-set-stroke-string): Doc fixes.
6578         (strokes-help): Fix typos; reflow docstring.
6580 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
6582         * window.el (window-in-direction): Fix doc-string.
6584 2014-03-04  Glenn Morris  <rgm@gnu.org>
6586         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
6587         Explicit error if no grammar.
6588         (smie-config-save): Doc fix.  Fix quote typo.
6590 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6592         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
6593         electric-indent-mode-hook if we obey electric-indent-mode.
6594         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
6595         decide whether we obey electric-indent-mode.
6596         (c-change-set-fl-decl-start, c-extend-after-change-region):
6597         Silence warnings.
6598         (c-electric-indent-mode-hook): Assume we do want to obey
6599         electric-indent-mode.
6601         * electric.el (electric-indent-mode-has-been-called): Remove.
6602         (electric-indent-mode): Fix accordingly.
6604         * files.el (hack-local-variables): Mention file name in warning.
6606         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
6608 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
6610         * bindings.el: Add comment describing why C-d binds to `delete-char'.
6611         * simple.el (delete-forward-char): Mark as interactive-only.
6613 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
6615         * icomplete.el (icomplete-completions):
6616         Follow-up to 2014-03-01 change.
6618         * icomplete.el: Miscellaneous doc fixes.
6619         Use Icomplete everywhere instead of icomplete for consistency.
6620         (icomplete-max-delay-chars): Fix typo.
6621         (icomplete-mode): Use \[].
6622         (icomplete-tidy, icomplete-exhibit): Reflow.
6623         (icomplete-minibuffer-setup-hook, icomplete-completions):
6624         Remove superfluous backlashes.
6626         * ido.el: Miscellaneous doc fixes.
6627         Use Ido everywhere instead of ido or `ido' for consistency.
6628         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
6629         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
6630         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
6631         (ido-separator): Extract obsolescence info from docstring and declare
6632         with make-obsolete-variable.
6633         (ido-minibuffer-setup-hook): Simplify example.
6634         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
6635         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
6636         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
6637         (ido-everywhere): Reflow docstring.
6638         (ido-toggle-vc): Doc fix.
6639         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
6640         of long list of keybindings.
6642 2014-03-03  Glenn Morris  <rgm@gnu.org>
6644         * frame.el (display-pixel-height, display-pixel-width)
6645         (display-mm-dimensions-alist, display-mm-height)
6646         (display-mm-width): Doc tweaks.
6648 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
6650         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
6651         case of undo in region.
6653 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
6655         * window.el (fit-window-to-buffer): Fix argument in window-size
6656         call when window is horizontally combined.
6658 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
6660         * icomplete.el (icomplete-completions): Use string-width.
6661         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6663 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
6665         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6666         Highlight regexp options.  (Bug#16914)
6668 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
6670         * window.el (window--max-delta-1): Round down when calculating
6671         how many lines/columns we can get from a window.
6673 2014-03-01  Glenn Morris  <rgm@gnu.org>
6675         * isearch.el (search-invisible): Doc fix.
6677         * minibuffer.el (completion-hilit-commonality):
6678         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
6679         * comint.el (comint-dynamic-list-completions): Doc fix.
6680         * comint.el (comint-dynamic-list-completions):
6681         * filecache.el (file-cache-minibuffer-complete):
6682         * tempo.el (tempo-display-completions):
6683         * eshell/em-hist.el (eshell-list-history):
6684         Replace use of obsolete argument of display-completion-list.
6686 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
6688         * icomplete.el (icomplete-completions):
6689         Revert back to using "..." when ?… cannot be displayed.
6691 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
6693         * finder.el (finder-unload-function): New function.
6695 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
6697         * dframe.el (dframe-detach):
6698         * find-dired.el (find-dired, find-name-dired):
6699         * finder.el (finder-mode-map, finder-mode-syntax-table)
6700         (finder-headmark, finder-select, finder-mouse-select):
6701         Fix docstring typos.
6703 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
6705         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
6706         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
6707         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6708         Fix doc-string based on a suggestion by Nicolas Richard
6709         <theonewiththeevillook@yahoo.fr>.
6710         * help.el (with-help-window): Fix doc-string.
6712 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
6714         * net/shr.el (shr-image-animate): New option.
6715         (shr-put-image): Respect shr-image-animate.
6717 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
6719         * net/tramp-adb.el (tramp-adb-parse-device-names):
6720         Use `accept-process-output'.
6721         (tramp-adb-handle-file-truename): Cache the localname only.
6722         (tramp-adb-handle-make-directory)
6723         (tramp-adb-handle-delete-directory): Flush file properties correctly.
6724         (tramp-adb-handle-set-file-modes): Do not raise an error when file
6725         modes cannot be changed.
6727         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
6728         file properties of symlinks.
6730 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
6732         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
6733         required/optional fields to match development biblatex.  (Bug#16781)
6735 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
6737         * saveplace.el (toggle-save-place):
6738         Fix argument handling.  (Bug#16673)
6740 2014-02-28  Glenn Morris  <rgm@gnu.org>
6742         * minibuffer.el (completions-first-difference)
6743         (completions-common-part, completion-hilit-commonality): Doc fixes.
6745 2014-02-28  Karl Berry  <karl@gnu.org>
6747         * info.el (Info-mode-map): Add H for describe-mode,
6748         to synchronize with standalone Info.
6750 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
6752         * progmodes/sql.el (sql-interactive-mode):
6753         Avoid setting global comint-input-ring-separator.  (Bug#16814)
6755 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
6757         * net/dbus.el (dbus--init-bus): Declare function.
6758         (dbus-path-local, dbus-interface-local): New defconst.
6759         (dbus-init-bus): Use them.
6760         (dbus-return-values-table): Extend doc.
6761         (dbus-handle-bus-disconnect): Extend error message.
6763 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
6765         * subr.el (y-or-n-p): Fix double space issue in message.
6767 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
6769         * net/tramp.el (tramp-call-process): Improve trace message.
6770         (tramp-handle-insert-file-contents): Trace error case.
6772         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
6773         <insert-directory>: Use `tramp-handle-insert-directory'.
6774         (tramp-adb-handle-insert-directory): Remove function.
6775         (tramp-adb-send-command-and-check): New defun, replacing
6776         `tramp-adb-command-exit-status'.  Change all callees.
6777         (tramp-adb-handle-file-attributes)
6778         (tramp-adb-handle-directory-files-and-attributes): Use it.
6779         (tramp-adb-ls-output-name-less-p):
6780         Use `directory-listing-before-filename-regexp'.
6781         (tramp-adb-handle-delete-directory): Flush also file properties of
6782         the truename of directory.
6783         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
6784         (tramp-adb-handle-file-local-copy): Make the local copy readable.
6785         (tramp-adb-handle-write-region): Implement APPEND.
6786         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
6787         properties correctly.
6788         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
6789         variables.  Check for connected devices only when needed.
6791 2014-02-27  Glenn Morris  <rgm@gnu.org>
6793         * minibuffer.el (completion-table-dynamic)
6794         (completion-table-with-cache): Doc fixes.
6796         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
6797         (completing-read-multiple): Doc fixes.
6799 2014-02-27  Daniel Colascione  <dancol@dancol.org>
6801         * minibuffer.el (completion--nth-completion): Fix indentation.
6803         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
6804         explicit tramp path is empty.
6806 2014-02-27  Glenn Morris  <rgm@gnu.org>
6808         * emacs-lisp/crm.el (completing-read-multiple):
6809         Empower help-enable-auto-load.
6811 2014-02-26  Glenn Morris  <rgm@gnu.org>
6813         * startup.el (command-line): Don't init the tty in daemon mode.
6815         Avoid calling tty-setup-hook twice, eg if a term file
6816         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
6817         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
6818         (tty-create-frame-with-faces): Use it.
6819         * startup.el (command-line): Pass run-hook argument
6820         to tty-run-terminal-initialization.
6822         * dired.el (dired-restore-desktop-buffer): Demote errors;
6823         eg in case a glob match fails.  (Bug#16884)
6825 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
6827         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
6828         error from `read-from-string'.  (Bug#16850)
6830         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
6831         result of `completing-read' in the interactive form.  (Bug#16854)
6833 2014-02-25  Glenn Morris  <rgm@gnu.org>
6835         * image.el (image-animate, image-animate-timeout):
6836         Stop animating images in dead buffers.  (Bug#16878)
6838         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
6840         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
6841         Doc fixes.
6842         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
6843         * term/sun.el (sun-raw-prefix-hooks):
6844         Use tty-setup-hook instead of term-setup-hook.
6845         (terminal-init-sun): Construct message from bytecomp plist.
6846         * term/wyse50.el (enable-arrow-keys): Doc fix.
6848 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
6850         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
6851         Fix docstring typos.
6853 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
6855         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
6857 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6859         * minibuffer.el (completion--try-word-completion):
6860         Fix error when completing M-x commands (bug#16808).
6862 2014-02-24  Leo Liu  <sdl.web@gmail.com>
6864         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
6866 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
6868         * apropos.el (apropos-print): Avoid formatting error when
6869         apropos-do-all and apropos-compact-layout are both t.
6871 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
6873         * apropos.el (apropos-property, apropos-all-words-regexp)
6874         (apropos-true-hit, apropos-variable, apropos-print):
6875         Fix docstring typos, and remove obsolete comment.
6877 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
6879         * net/tramp-sh.el (tramp-sh-handle-file-truename):
6880         Preserve trailing "/".  (Bug#16851)
6882 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
6884         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
6885         after `=>' (bug#16811).
6886         (ruby-smie-rules): Handle the inconsistent second element of the
6887         list returned by `smie-indent--parent'.
6888         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
6889         method call.
6891 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
6893         * elec-pair.el (electric-pair-text-syntax-table)
6894         (electric-pair-syntax-info, electric-pair--syntax-ppss)
6895         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
6896         (electric-pair--looking-at-unterminated-string-p): Doc fix.
6897         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
6899 2014-02-22  Glenn Morris  <rgm@gnu.org>
6901         * imenu.el (imenu--generic-function): Doc fix.
6903         * register.el (frame-configuration-to-register): Make obsolete.
6905 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
6907         * desktop.el (desktop-save-buffer-p): Do not fail when
6908         desktop-files-not-to-save is nil.  Return t for true result
6909         as the doc says.
6911 2014-02-22  Daniel Colascione  <dancol@dancol.org>
6913         * net/secrets.el (secrets-create-item, secrets-search-items):
6914         Check that attribute values are strings, avoiding the construction
6915         of invalid dbus messages.
6917 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
6919         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
6920         defun-declarations-alist.
6922 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6924         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
6925         (bug#16829).
6927 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
6929         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
6930         (whitespace-newline, whitespace-trailing, whitespace-line)
6931         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
6932         (whitespace-space-after-tab): Fix typo in docstrings.
6934 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
6936         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
6938         * electric.el (electric-indent-functions-without-reindent):
6939         Add `yaml-indent-line'.
6941 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
6943         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
6944         It has done nothing for years; should be removed after the release.
6946         * simple.el (choose-completion): Fix docstring typo.
6947         (read-quoted-char-radix): Remove unneeded * in docstring.
6948         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
6949         Don't escape parentheses unnecessarily in docstrings.
6951 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
6953         Fix handling of window-min-height/-width (Bug#16738).
6954         * window.el (window--dump-window, window--dump-frame):
6955         New functions.
6956         (window--min-size-1): Account for window dividers.
6957         When window-resize-pixelwise is nil, delay rounding till after the
6958         sum of the window components has been calculated.
6959         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
6960         nil make sure at least one text line and two text columns remain
6961         fully visible.
6962         (window-resize): Signal an error when window-resize-apply fails.
6963         (window--resize-child-windows): Fix calculation of by how many
6964         pixels a window can still be shrunk via window-new-normal.
6965         (adjust-window-trailing-edge): Call window--resizable with
6966         correct TRAIL argument.
6968         (with-temp-buffer-window): Don't evaluate BODY within
6969         with-current-buffer (Bug#16816).
6971 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
6973         * net/tramp.el (tramp-check-cached-permissions):
6974         Call `file-attributes' with `suffix' being a symbol but a string.
6976 2014-02-21  Daniel Colascione  <dancol@dancol.org>
6978         * net/dbus.el (dbus-init-bus-1): Declare new subr.
6979         (dbus-init-bus): New function: call into dbus-init-bus-1
6980         and installs a handler for the disconnect signal.
6981         (dbus-call-method): Rewrite to look for result in cons.
6982         (dbus-call-method-handler): Store result in cons.
6983         (dbus-check-event): Recognize events with nil sender as valid.
6984         (dbus-handle-bus-disconnect): New function.  React to bus
6985         disconnection signal by synthesizing dbus error for each
6986         pending synchronous or asynchronous call.
6987         (dbus-notice-synchronous-call-errors): New function.
6988         (dbus-handle-event): Raise errors directly only when `dbus-debug'
6989         is true, not all the time.
6991 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
6993         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
6994         Remove obsolescence declarations, these variables do not exist anymore.
6996         * savehist.el (savehist-save-minibuffer-history)
6997         (savehist-additional-variables, savehist-file, savehist-mode-hook)
6998         (savehist-save-hook, savehist-coding-system, savehist-loaded)
6999         (savehist-load, savehist-install, savehist-autosave): Fix typos;
7000         mostly, refer to "Savehist mode" when talking about the mode,
7001         and not the function.
7003         * saveplace.el (save-place): Remove redundant info in docstring.
7004         (save-place-forget-unreadable-files, toggle-save-place)
7005         (save-place-forget-unreadable-files, save-place-dired-hook):
7006         Fix typos and remove unneeded backslashes.
7008 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
7010         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
7011         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
7013         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7014         <insert-directory>: Use `tramp-handle-insert-directory'.
7015         (tramp-gvfs-handle-insert-directory): Remove function.
7017         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7018         Call `tramp-handle-insert-directory'.
7020 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
7022         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
7023         before the start of buffer/region (bug#16799).
7025 2014-02-20  Glenn Morris  <rgm@gnu.org>
7027         * isearch.el (search-invisible): Doc fix.
7029 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
7031         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
7032         (bug#16657).
7034 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
7036         * frameset.el (frameset-restore): Delay removing an old frame's
7037         duplicate id until the new frame has been correctly created.
7039 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
7041         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
7042         (tramp-check-cached-permissions): Call `file-attributes' if the
7043         cache is empty.
7045         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
7046         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
7048         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7049         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
7050         (tramp-gvfs-maybe-open-connection): Set always connection
7051         properties, even if target is mounted already.
7053         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
7054         Set tramp-autoload cookie.
7055         (tramp-get-remote-touch): New defun.
7056         (tramp-sh-handle-set-file-times): Use it.
7057         (tramp-sh-handle-directory-files-and-attributes):
7058         Use `tramp-handle-directory-files-and-attributes' if neither stat
7059         nor perl are available on the remote host.
7061         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
7062         "/".  Write long listing only when "l" belongs to the switches.
7064         * net/trampver.el: Update release number.
7066 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
7068         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
7070 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
7072         * window.el (window-state-put): Allow WINDOW to refer to an
7073         internal window (Bug#16793).
7075 2014-02-19  Glenn Morris  <rgm@gnu.org>
7077         * textmodes/remember.el: Move provide statement to end.
7078         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
7079         (remember-notes): Doc fixes.
7081 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7083         * delsel.el (delete-char): Restore incorrectly erased property
7084         (bug#16795).
7086 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
7088         * frameset.el (frameset--restore-frame): When a frame is being reused
7089         and its root window is not alive, delete all the frame's windows before
7090         restoring the window state.  This works around the issue in bug#16793.
7092 2014-02-18  Glenn Morris  <rgm@gnu.org>
7094         * textmodes/remember.el (remember-data-directory)
7095         (remember-directory-file-name-format, remember-store-in-files)
7096         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
7097         (remember-notes-save-and-bury-buffer)
7098         (remember-notes--kill-buffer-query): Doc fixes.
7100         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
7102 2014-02-17  Alan Mackenzie  <acm@muc.de>
7104         Connect electric-indent-mode up with CC Mode.  Bug #15478.
7105         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
7106         to electric-indent-{,local-}-mode.
7107         (c-basic-common-init): Set electric-indent-inhibit.
7108         Initialise c-electric-flag from electric-indent-mode.
7109         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
7110         New hook functions which propagate electric-indent-mode to CC mode.
7112         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
7113         hit, toggle electric-indent-local-mode.
7115         * electric.el (electric-indent-mode-has-been-called):
7116         New variable.
7118 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
7120         * frameset.el (frameset-cfg-id): New function.
7121         (frameset--reuse-frame, frameset-restore): Use it.
7122         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
7124 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7126         * ido.el (ido-file-internal): Remove unused var `d'.
7127         Use \` for to match BoS.  Fit within 80n columns.
7129 2014-02-17  Daniel Colascione  <dancol@dancol.org>
7131         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
7132         dbus-call-method check for completion using a busy-wait loop with
7133         gradual backoff.
7135 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
7137         Sync with Tramp 2.2.9.
7139         * net/trampver.el: Update release number.
7141 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
7143         * ido.el (ido-file-internal): Don't add the name of an existing
7144         directory twice.  (Bug#16747)
7146 2014-02-16  Glenn Morris  <rgm@gnu.org>
7148         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
7149         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
7151 2014-02-15  Michael R. Mauger  <michael@mauger.com>
7153         * progmodes/sql.el: Version 3.4
7154         (sql-oracle-options): New default value ("-L").
7155         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
7156         (sql-placeholders-filter): Correct placeholder pattern.
7157         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
7158         (sql-login-delay): New variable.
7159         (sql-product-interactive): Use it.
7161 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
7163         * frameset.el (frameset--jump-to-register): Check that buffer is live
7164         (bug#16749).
7166 2014-02-15  Glenn Morris  <rgm@gnu.org>
7168         * info.el (info-initialize): Revert 2014-01-10 change.
7170 2014-02-14  Glenn Morris  <rgm@gnu.org>
7172         * replace.el (map-query-replace-regexp)
7173         (read-regexp-defaults-function, read-regexp): Doc fixes.
7175         * dired.el (dired-read-regexp):
7176         * faces.el (list-faces-display):
7177         * misearch.el (multi-isearch-read-matching-buffers)
7178         (multi-isearch-read-matching-files):
7179         * play/cookie1.el (cookie-apropos):
7180         * progmodes/grep.el (grep-read-regexp): Doc fixes.
7182         * textmodes/remember.el (remember): Use frameset-to-register
7183         rather than frame-configuration-to-register.
7185 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
7187         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
7188         incorrect keybinding.
7190 2014-02-13  Daniel Colascione  <dancol@dancol.org>
7192         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
7193         when adding overlays so that line numbers from compiler match line
7194         numbers we use.
7196 2014-02-13  Glenn Morris  <rgm@gnu.org>
7198         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
7200         * jit-lock.el (jit-lock-mode): Doc fix.
7202 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
7204         * apropos.el (apropos-read-pattern): When the user passes an empty
7205         string, give a more helpful error message than "Wrong type
7206         argument: stringp, nil".
7208 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7210         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
7212 2014-02-13  Glenn Morris  <rgm@gnu.org>
7214         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
7216 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7218         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
7219         shift-select commands.
7221 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
7223         * progmodes/js.el (js-indent-line): Don't widen.
7224         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
7226 2014-02-12  Glenn Morris  <rgm@gnu.org>
7228         * icomplete.el (icomplete): Add info-link to defgroup.
7229         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
7230         (icomplete-minibuffer-map, icomplete-mode)
7231         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
7233         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
7234         (package-menu-filter): Rename from package-menu-filter-interactive.
7235         Doc fix.
7237 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
7239         * frameset.el (frameset--jump-to-register): Select the required
7240         window and buffer before restoring position (bug#16696).
7242 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
7244         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
7246 2014-02-10  Glenn Morris  <rgm@gnu.org>
7248         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
7250 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
7252         * w32-common-fns.el (x-get-selection): Doc fix.
7253         * select.el (x-get-selection): Doc fix.  (Bug#15109)
7255         * face-remap.el (face-remap-add-relative)
7256         (face-remap-remove-relative, face-remap-reset-base)
7257         (face-remap-set-base): Call force-mode-line-update to redisplay
7258         the current buffer due to potential change in faces.  (Bug#16709)
7260 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
7262         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
7263         script more robustly.
7265 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
7267         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
7269         * simple.el (choose-completion): Doc fix (bug#14160).
7271         * subr.el (event-start): Say what a nil EVENT value means.
7273         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
7274         (bug#14197).
7276         * progmodes/grep.el (find-program): Doc fix (bug#14289).
7278         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
7280         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
7282         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
7283         predicate function (bug#15455).
7285 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
7287         * ielm.el (inferior-emacs-lisp-mode): Instead of
7288         `comment-use-global-state', set `comment-use-syntax'.
7290 2014-02-10  Glenn Morris  <rgm@gnu.org>
7292         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
7294 2014-02-09  Alan Mackenzie  <acm@muc.de>
7296         Fix c-invalidate-state-cache on narrowed buffers.
7297         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
7298         Widen when setting and clearing the CPP delimiter properties.
7300 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
7302         * help.el (describe-bindings): Doc fix (bug#9888).
7304         * files.el (save-buffer): Use ARG as the parameter name for
7305         consistency (bug#10346).
7306         (save-buffer): Clarify the 0 argument (bug#10346).
7308         * cus-edit.el (customize-apropos): Fix error string.
7309         (custom-buffer-create): Doc fix (bug#11122).
7310         (custom-sort-items): Doc fix (bug#11121).
7312         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
7314         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
7315         (icomplete-simple-completing-p): Mention the previous variable.
7317         * font-lock.el (font-lock-value-in-major-mode): Clarify the
7318         meaning of the parameter (bug#12282).
7320         * files.el (find-file-noselect): Clarify prompt when changing
7321         readedness (bug#13261).
7322         (locate-file): Suffixes aren't returned, so don't say that they
7323         are (bug#12674).
7324         (backup-inhibited): Doc clarification (bug#12525).
7326         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
7327         before we actually start to delete things (bug#16331).
7329         * subr.el (event-start): Doc fix (bug#14228).
7330         (event-end): Ditto.
7332 2014-02-09  Glenn Morris  <rgm@gnu.org>
7334         * emacs-lisp/warnings.el (lwarn):
7335         Empower help-enable-auto-load.  (Bug#15940)
7337 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
7339         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
7340         (Bug#16690)
7342 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
7344         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7345         Insert output at end of buffer.  (Bug#16120)
7347 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
7349         * simple.el (choose-completion-string-functions): Document new
7350         calling convention (bug#14153).
7351         (execute-extended-command): Clarify doc string (bug#13373).
7353         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
7355         * find-dired.el (find-name-dired): Doc fix (bug#14290).
7356         (find-grep-dired): Doc fix (bug#14288).
7358 2014-02-08  Juri Linkov  <juri@jurta.org>
7360         * isearch.el (isearch-quote-char): Check character validity
7361         like in `quoted-insert' (bug#16677).
7363 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
7365         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
7367         * isearch.el (isearch-hide-immediately): Doc clarification
7368         (bug#14723).
7370         * simple.el (line-move): Document utility function used many
7371         places in the Emacs sources (bug#14843).
7373         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
7374         (dired-prev-marked-file): Doc fix (bug#14855).
7375         (dired-up-directory): Doc fix (bug#14848).
7377         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
7379         * files.el (file-relative-name): Doc fix (bug#15159).
7381         * fringe.el (fringe-styles): Doc fix (bug#15239).
7383         * isearch.el (isearch-filter-predicate): Documentation typo fix
7384         (bug#15474).
7386         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
7388         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
7390         * replace.el (replace-match-maybe-edit): Doc clarification
7391         (bug#15632).
7393         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
7395         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
7397 2014-02-08  Glenn Morris  <rgm@gnu.org>
7399         * help-fns.el (describe-variable):
7400         Check {file,dir}-local-variables-alist, and buffer-file-name,
7401         in the correct buffer.
7403 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
7405         * help-fns.el (describe-variable): Fix the case where
7406         a value is directory-local with no dir-locals file.  (Bug#16635)
7408 2014-02-08  Glenn Morris  <rgm@gnu.org>
7410         * abbrev.el (edit-abbrevs-mode):
7411         Derive from fundamental-mode.  (Bug#16682)
7413 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
7415         * simple.el (quoted-insert): Check character validity (bug#16677).
7417 2014-02-07  Juri Linkov  <juri@jurta.org>
7419         * desktop.el (desktop-read): Claim the lock when the owner is not
7420         the current process.  (Bug#16157)
7422 2014-02-07  Juri Linkov  <juri@jurta.org>
7424         * desktop.el (desktop-buffers-not-to-save): Change default from nil
7425         to "\\` ".  (Bug#16651)
7427 2014-02-07  Juri Linkov  <juri@jurta.org>
7429         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
7430         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
7431         (desktop-auto-save-cancel-timer): New function with some code from
7432         `desktop-auto-save-set-timer'.
7433         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
7434         Instead of setting `desktop-save-mode' to nil, call
7435         `desktop-save-mode' with arg 0.  (Bug#16630)
7437 2014-02-07  Glenn Morris  <rgm@gnu.org>
7439         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
7440         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
7441         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
7443         * obsolete/iswitchb.el: Move to obsolete/.
7444         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
7445         since obsolete/ is not scanned for autoloads.
7446         * emacs-lisp/authors.el (authors-valid-file-names):
7447         Add iswitchb.el.
7449         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
7450         Disable now non-functional find-file-hook.
7452 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
7454         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
7455         instead of ";" in order to avoid additional prompts.  Let heredoc
7456         scripts read from tty.  (Bug#16582)
7457         (tramp-send-command): No special handling of heredocs, it isn't
7458         necessary anymore.
7460 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7462         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
7463         with a space (bug#16664).  Limit the symbols considered to the ones
7464         that are bound or fbound (bug#16646).
7466 2014-02-06  Glenn Morris  <rgm@gnu.org>
7468         * epa.el (epa-mail-aliases): Doc fix.
7470 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
7472         * emacs-lisp/lisp.el (lisp-completion-at-point):
7473         Use `completion-table-merge' instead of `completion-table-in-turn'
7474         (bug#16604).
7476         * minibuffer.el (completion-table-merge): New function.
7478 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
7480         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
7481         (tramp-sh-handle-set-file-acl)
7482         (tramp-sh-handle-start-file-process)
7483         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
7484         (tramp-find-executable, tramp-send-command): Use it.
7486 2014-02-05  Glenn Morris  <rgm@gnu.org>
7488         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
7490 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7492         * progmodes/python.el (python-shell-send-string)
7493         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
7495 2014-02-04  Anders Lindgren  <andlind@gmail.com>
7497         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
7498         the names (bug#16620).
7500 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
7502         * faces.el (window-divider): New default value.  Rewrite doc-string.
7503         (window-divider-first-pixel, window-divider-last-pixel): New faces.
7505 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
7507         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
7508         `protected' and `public' can also be called without arguments.
7510 2014-02-03  Glenn Morris  <rgm@gnu.org>
7512         * register.el (window-configuration-to-register)
7513         (frame-configuration-to-register): Unadvertise unused argument.
7514         * frameset.el (frameset-to-register): Remove unused argument.
7516         * frameset.el (frameset-to-register):
7517         * kmacro.el (kmacro-to-register):
7518         * register.el (increment-register):
7519         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
7520         (calc-append-to-register, calc-prepend-to-register):
7521         * play/gametree.el (gametree-layout-to-register)
7522         (gametree-apply-register-layout):
7523         * textmodes/picture.el (picture-clear-rectangle-to-register)
7524         (picture-yank-rectangle-from-register):
7525         * vc/emerge.el (emerge-combine-versions-register):
7526         Use register-read-with-preview to read registers.
7528 2014-02-03  João Távora  <joaotavora@gmail.com>
7530         * elec-pair.el (electric-pair-backward-delete-char): Don't error
7531         when at beginning of (possibly narrowed) buffer.
7533 2014-02-02  Daniel Colascione  <dancol@dancol.org>
7535         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
7536         Also try to display local help from just before point.
7538 2014-02-02  Alan Mackenzie  <acm@muc.de>
7540         c-parse-state.  Don't "append-lower-brace-pair" in certain
7541         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
7542         recognised as a comment.
7544         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
7545         as well as normal comment starter.
7546         (c-parse-state-get-strategy): Extra return possibility
7547         'back-and-forward.
7548         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
7549         return value list to indicate replacement of a brace-pair cons
7550         with its car.
7551         (c-parse-state-1): With 'back-and-forward, only call
7552         c-append-lower-brace-pair-to state-cache when cons-separated.
7554 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
7556         * term/ns-win.el (ns-suspend-error): New function.
7557         (ns-initialize-window-system): Add ns-suspend-error to
7558         suspend-hook (Bug#16612).
7560 2014-02-02  Daniel Colascione  <dancol@dancol.org>
7562         * progmodes/cc-defs.el (c-find-assignment-for-mode):
7563         Make loading cc-mode silent.
7565 2014-02-02  Daniel Colascione  <dancol@dancol.org>
7567         * comint.el (comint-prompt-read-only): Change doc to suggest
7568         remap keybinding.
7570 2014-02-02  Glenn Morris  <rgm@gnu.org>
7572         * register.el (register-read-with-preview, point-to-register)
7573         (window-configuration-to-register, frame-configuration-to-register)
7574         (jump-to-register, number-to-register, view-register, insert-register)
7575         (copy-to-register, append-to-register, prepend-to-register)
7576         (copy-rectangle-to-register): Doc fixes.
7578 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7580         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
7581         * emacs-lisp/find-func.el (find-function-C-source): Idem.
7582         * emacs-lisp/nadvice.el (advice--cd*r): New function.
7583         * help-fns.el (describe-function-1): Use it.
7585 2014-02-02  Glenn Morris  <rgm@gnu.org>
7587         * register.el (register-preview-default): New function,
7588         split from register-preview.
7589         (register-preview-function): Rename from register-preview-functions,
7590         make it not a hook.
7591         (register-preview): Use register-preview-function.
7592         (register-read-with-preview): Error on non-character event.  (Bug#16595)
7594 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
7596         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
7597         `:' before binary operators (bug#16609).  Don't check for `:'
7598         before `[' and `(', or their syntax status.  A percent literal
7599         can't end with either.
7600         (ruby-font-lock-keywords): For built-ins that require arguments,
7601         check that they're followed by something that looks like argument
7602         (bug#16610).
7604 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
7606         * subr.el (butlast): Document what an omitted N means (bug#13437).
7607         (nbutlast): Ditto.
7609 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
7611         * net/shr.el (shr-generic): Make into a defsubst to make the stack
7612         depth shallower (bug#16587).
7613         (shr-tag-svg): Respect `shr-inhibit-images'.
7614         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
7616 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
7618         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
7619         (ruby-smie-grammar): Make "." right-associative.  Make its priority
7620         lower than the ternary and all binary operators.
7621         (ruby-smie-rules): Indent "(" relative to the first non-"."
7622         parent, or the first "." parent at indentation.
7623         Use `ruby-align-chained-calls' for indentation of "." tokens.
7624         (Bug#16593)
7626 2014-01-31  Juri Linkov  <juri@jurta.org>
7628         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
7629         from `make-hash-table'.
7631         * textmodes/ispell.el (ispell-init-process): Change message format
7632         to be consistent with other messages.
7634 2014-01-31  Glenn Morris  <rgm@gnu.org>
7636         * delsel.el (delete-selection-mode): Doc fix.
7638         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
7639         (trace-function-background): Doc fixes.
7641         * ido.el (ido-use-virtual-buffers): Doc fix.
7642         Reset :version, since the default value has not changed.
7644         * register.el (register-preview-delay, register-read-with-preview):
7645         Doc fixes.
7647         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
7648         do not mess with mail-buffer position (fixes 2009-11-03 change).
7649         * progmodes/cc-mode.el (c-submit-bug-report):
7650         Check auto-fill-mode is bound.  (Bug#16592)
7652 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
7654         * startup.el (fancy-splash-image-file): New function,
7655         split from fancy-splash-head.
7656         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
7657         so that we are both using the same image.  (Bug#16574)
7659 2014-01-30  Glenn Morris  <rgm@gnu.org>
7661         * simple.el (eval-expression): Doc fix.
7663         * hexl.el (hexl-mode-hook):
7664         * ielm.el (ielm-mode-hook):
7665         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
7666         (lisp-interaction-mode-hook):
7667         * progmodes/cfengine.el (cfengine3-documentation-function):
7668         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
7670 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7672         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
7673         is a symbol (bug#16584).
7675 2014-01-30  Glenn Morris  <rgm@gnu.org>
7677         * help.el (help-for-help-internal): Add "P" to text.
7679 2014-01-29  Glenn Morris  <rgm@gnu.org>
7681         * simple.el (just-one-space, cycle-spacing): Doc fixes.
7683 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
7685         * window.el (fit-frame-to-buffer): Fix calculations for margins and
7686         height constraints.
7688 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
7690         * progmodes/hideif.el: Extend to full CPP expression syntax.
7691         (hif-token-alist): Add missing tokens.
7692         (hif-token-regexp): Add support for float/octal/hex immediates.
7693         (hif-string-literal-regexp): New const.
7694         (hif-tokenize): Recognize strings and float/octal/hex immediates.
7695         (hif-exprlist): New function.
7696         (hif-parse-if-exp): Use it.
7697         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
7698         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
7699         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
7700         (hif-logxor, hif-comma): New functions.
7702 2014-01-28  Glenn Morris  <rgm@gnu.org>
7704         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
7706         * indent.el (tab-stop-list): Doc fix.  Add :version.
7708         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
7709         (cvs-append-to-ignore): Add compatibility alias.
7711 2014-01-27  Glenn Morris  <rgm@gnu.org>
7713         * dired.el (dired-hide-details-mode): Don't autoload it,
7714         since it cannot be used outside Dired buffers anyway.
7716         * emulation/cua-base.el (cua-mode): Doc fix.
7718         * dired.el (dired-hide-details-hide-symlink-targets)
7719         (dired-hide-details-hide-information-lines)
7720         (dired-hide-details-mode): Doc fixes.
7722         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
7723         * strokes.el (strokes-file): Doc fix.  Bump :version.
7724         (strokes-help): Doc fix.
7725         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
7726         * emulation/viper.el (viper): Doc fix for custom group.
7727         (top-level): Remove oh-so-no-longer-relevant text about vip.
7728         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
7730         * ido.el (ido-save-directory-list-file):
7731         * saveplace.el (save-place-file):
7732         * calendar/timeclock.el (timeclock-file):
7733         * net/quickurl.el (quickurl-url-file):
7734         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
7735         * progmodes/idlwave.el (idlwave-config-directory):
7736         * textmodes/remember.el (remember-data-file):
7737         Bump :version.
7739 2014-01-26  Glenn Morris  <rgm@gnu.org>
7741         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
7742         Doc fix.  Make obsolete.
7743         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
7745         * sort.el (delete-duplicate-lines): Doc fix.
7747 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7749         * progmodes/ada-mode.el (ada):
7750         * woman.el (woman): Link to info manual and Commentary section.
7752         * progmodes/flymake.el (flymake):
7753         * nxml/nxml-mode.el (nxml):
7754         * net/eww.el (eww):
7755         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
7756         * htmlfontify.el (htmlfontify):
7757         * ses.el (ses):
7758         * epa.el (epa):
7759         * ido.el (ido): Link to info manual.
7761 2014-01-25  Leo Liu  <sdl.web@gmail.com>
7763         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
7765 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
7767         * net/shr.el (shr-tag-img): Prefer the title over the alt text
7768         (bug#16537).
7770 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
7772         * net/eww.el (eww-download-callback):
7773         Fix reference to eww-download-directory.
7775         * emacs-lisp/bytecomp.el (byte-compile-file):
7776         Remove unused local variable `file-name'.
7778 2014-01-24  Glenn Morris  <rgm@gnu.org>
7780         * woman.el (woman-default-faces, woman-monochrome-faces):
7781         Fix obsolescence specification.
7783         * subr.el (with-demoted-errors): Doc fix.
7785 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7787         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
7788         (cl--macroexp-fboundp): New function.
7789         (cl--make-type-test): Use it.
7791 2014-01-23  Glenn Morris  <rgm@gnu.org>
7793         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
7794         * simple.el (eval-expression): Doc fixes.
7796 2014-01-22  Glenn Morris  <rgm@gnu.org>
7798         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
7800 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7802         * emacs-lisp/package.el: Write files silently.
7803         (package-autoload-ensure-default-file, package--write-file-no-coding)
7804         (package-generate-description-file, package--download-one-archive)
7805         (package-install-from-archive): Tell `write-region' to stay quiet.
7806         (package-menu-mode, package-menu--print-info): Omit the Archive column
7807         if there's only one archive.
7808         (package-all-keywords, package--has-keyword-p): Remove dead code.
7810 2014-01-22  Glenn Morris  <rgm@gnu.org>
7812         * version.el (emacs-bzr-version-bzr): Fix typo.
7814         * version.el (emacs-repository-get-version):
7815         Check either .bzr or .git, but not both.
7816         Make the git case actually use the DIR argument, and return nil
7817         rather than the empty string.
7818         Avoid error if .git exists but the git executable is not found.
7820 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
7822         Fixes in window size functions around Bug#16430 and Bug#16470.
7823         * window.el (window-total-size, window-size): New argument ROUND.
7824         (window--min-delta-1, window-min-delta, window--max-delta-1):
7825         Be more conservative when calculating the numbers of lines or
7826         columns a window can shrink (Bug#16430).
7827         (fit-window-to-buffer): Simplify code.
7828         * term.el (term-window-width): Call window-body-width again.
7830 2014-01-22  Glenn Morris  <rgm@gnu.org>
7832         * image.el (image-format-suffixes): Doc fix.
7834         * international/quail.el (quail-define-package): Doc fix.
7836         * emacs-lisp/authors.el (authors-valid-file-names)
7837         (authors-renamed-files-alist): Additions.
7839         * vc/vc-git.el (vc-git-print-log): Remove --follow;
7840         reverts 2014-01-09 change.  (Bug#16422)
7842         * calc/calc-embed.el (thing-at-point-looking-at):
7843         * emacs-lisp/map-ynp.el (x-popup-dialog):
7844         * obsolete/lmenu.el (x-popup-dialog):
7845         * emacs-lisp/package.el (url-recreate-url):
7846         * mail/mailclient.el (clipboard-kill-ring-save):
7847         * subr.el (x-popup-dialog): Update declaration.
7848         * mail/rmail.el (rmail-mime-message-p):
7849         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
7851 2014-01-21  Daniel Colascione  <dancol@dancol.org>
7853         * progmodes/sh-script.el (sh--inside-noncommand-expression):
7854         Correctly detect when we're inside an arithmetic expansion form
7855         containing nested parenthesis.
7856         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
7857         to detect cases where we shouldn't expand "<<" to a heredoc
7858         skeleton.
7860 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7862         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
7863         (eldoc--message-command-p): New function.
7864         (eldoc-display-message-p): Use it.
7865         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
7866         message is not automatically erased for us.
7867         (eldoc-print-current-symbol-info): Erase previous message, if any.
7869 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
7871         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
7872         specify it's an interactive function.
7874         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
7875         Fix regex used for scanning for citation keys which failed for
7876         citations with optional arguments.
7878 2014-01-21  Leo Liu  <sdl.web@gmail.com>
7880         * simple.el (read--expression): Don't enable eldoc-mode.
7882 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7884         * simple.el (move-beginning-of-line): Make sure we don't move forward
7885         (bug#16497).
7887 2014-01-20  Juri Linkov  <juri@jurta.org>
7889         * saveplace.el (toggle-save-place, save-place-to-alist)
7890         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
7891         'dired-mode) before checking for dired-directory.  (Bug#16477)
7893 2014-01-20  Juri Linkov  <juri@jurta.org>
7895         * indent.el (indent-line-to): Use backward-to-indentation
7896         instead of back-to-indentation.  (Bug#16461)
7898 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
7900         Revert some of the CANNOT_DUMP fix (Bug#16494).
7901         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
7902         but fixing this can wait until after the next release.
7903         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
7905 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
7907         * eshell/esh-mode.el (eshell-password-prompt-regexp):
7908         Use `password-word-equivalents'.
7909         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
7910         to t.  (Bug#5664, Bug#13124)
7912 2014-01-19  Alan Mackenzie  <acm@muc.de>
7914         Bind open-paren-in-column-0-is-defun-start to nil at some entry
7915         points.
7916         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
7917         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
7918         * progmodes/cc-mode.el (c-before-change, c-after-change)
7919         (c-font-lock-fontify-region): Bind it here.
7921 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
7923         * term.el (term-window-width): Call window-text-width instead of
7924         window-width (Bug#16470).
7926 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
7928         * simple.el (password-word-equivalents): Remove duplicates.
7929         Sort, to make this easier next time.
7930         Downcase.  Omit ": " after "jelszó".
7932 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
7934         * term/common-win.el (saved-region-selection): Defvar it.
7935         (x-select-text): Set saved-region-selection (Bug#16382).
7937 2014-01-18  Glenn Morris  <rgm@gnu.org>
7939         * emacs-lisp/authors.el (authors-aliases)
7940         (authors-renamed-files-alist): Add some entries.
7942 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
7944         * net/tramp.el (tramp-password-prompt-regexp):
7945         Use `password-word-equivalents' if available.
7946         (tramp-action-password, tramp-process-one-action)
7947         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
7949 2014-01-17  Chong Yidong  <cyd@gnu.org>
7951         * simple.el (password-word-equivalents): New defcustom.
7952         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
7953         to 24.4.
7954         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
7955         to t.  (Bug#13124)
7957 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
7959         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
7960         (ruby-align-to-stmt-keywords): Change the default value.
7961         Use `ruby-alignable-keywords' to generate the possible customization
7962         choices.
7963         (ruby-smie-rules): Instead of using a hardcoded list of alignable
7964         keywords, check against the value of `ruby-alignable-keywords'
7965         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
7967 2014-01-17  Glenn Morris  <rgm@gnu.org>
7969         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
7971         Make M-x authors return zero *Authors Errors* from current logs.
7972         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
7973         (authors-ignored-files): Add some entries, remove others.
7974         (authors-ambiguous-files, authors-valid-file-names):
7975         Add some entries.
7976         (authors-renamed-files-alist): Add, remove, and adjust entries.
7977         (authors-renamed-files-regexps): Add some entries.
7978         Remove some very broad ones.  Make some entries `lax'.
7979         (authors-lax-changelogs): New constant.
7980         (authors-disambiguate-file-name): Treat top-level specially.
7981         (authors-lax-changelog-p): New function.
7982         (authors-canonical-file-name): Check file as written against
7983         authors-valid-file-names.  Do not special-case etc/.
7984         Handle `lax' logs and authors-renamed-files-regexps elements.
7986 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
7988         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
7989         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
7990         callers.
7992 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7994         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
7995         Assume we're already in the proper buffer.
7996         Inspired by Anders Lindgren <andlind@gmail.com>.
7997         (follow-post-command-hook): Call it from the right buffer.
7998         (follow-comint-scroll-to-bottom): Adjust call.
7999         (follow-all-followers): Use get-buffer-window-list.
8001 2014-01-15  Daniel Colascione  <dancol@dancol.org>
8003         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
8004         `buffer-file-name' in interactive-form so that we don't leave
8005         pathless file names in `file-name-history'.
8007 2014-01-15  Juri Linkov  <juri@jurta.org>
8009         * indent.el (indent-rigidly): Set deactivate-mark to nil
8010         in transient indentation mode.  (Bug#16438)
8012 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
8014         * emacs-lisp/package.el (package-desc-keywords): New function
8015         (Bug#16222).
8016         (describe-package-1, package-all-keywords)
8017         (package--has-keyword-p): Use it.
8019 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
8021         * simple.el (define-alternatives): When creating the
8022         COMMAND-alternatives variable, assign COMMAND as its definition
8023         name so that `describe-variable' can relocate it.
8025 2014-01-14  Matthew Leach  <matthew@mattleach.net>
8027         * font-lock.el (font-lock-keywords): Fix typo in docstring
8028         (bug#16307).
8030 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8032         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
8033         line instead of wrongly reset `add-coment' (bug#13577).
8035 2014-01-14  Daiki Ueno  <ueno@gnu.org>
8037         * epa-file.el (epa-file-write-region): Encode the region according
8038         to `buffer-file-format'.  Problem reported at:
8039         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
8041 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8043         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
8044         so it applies in the right buffer (bug#16410).
8046 2014-01-13  Daniel Colascione  <dancol@dancol.org>
8048         * textmodes/rst.el (rst-define-key): Provide deprecated
8049         keybindings through named functions instead of anonymous ones so
8050         that "??" doesn't appear in describe-mode output.
8052 2014-01-13  Bastien Guerry  <bzg@gnu.org>
8054         * simple.el (define-alternatives): Call the selected command
8055         interactively.  When setting `COMMAND--implementation' for the
8056         first time, tell the user how to chose another implementation.
8057         Enhance the docstring.
8059 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8061         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
8062         (log-edit--match-first-line): New function.
8063         (log-edit-font-lock-keywords): Use it.
8064         (log-edit-mode): Make jit-lock-defer-multiline work.
8066 2014-01-13  Bastien Guerry  <bzg@gnu.org>
8068         * rect.el (rectangle-mark-mode): When the region is not active,
8069         display a message saying that the mark as been set and that
8070         rectangle mode is in use.
8071         (rectangle--highlight-for-redisplay): Only put an overlay with a
8072         visible vertical bar when (display-graphic-p) is non-nil.
8073         This partially fixes Bug#16403.
8075 2014-01-13  Juri Linkov  <juri@jurta.org>
8077         * info.el (Info-find-file): Go to DIR before displaying the error
8078         about a nonexistent file if no previous Info file is visited.
8079         Use `user-error' instead of `error' for "Info file %s does not exist".
8080         (Info-find-node-2): In case of a nonexistent node in unwind forms
8081         go to the Top node if there is no previous node to revert to.
8082         (Bug#16405)
8084 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
8086         fit-frame/window-to-buffer code fixes including one for Bug#14096.
8087         * window.el (fit-frame-to-buffer): Fix doc-string.
8088         Respect window-min-height/-width.  Fit pixelwise when
8089         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
8090         when avoiding that frame goes partially off-screen.
8091         (fit-window-to-buffer): Respect window-min-height/-width
8092         (Bug#14096).
8094 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8096         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
8097         after an empty line.
8099 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8101         * net/shr.el (shr-render-region): Autoload.
8103 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
8105         * net/eww.el (eww-download-directory): Rename from
8106         `eww-download-path' (Bug#16419).
8108 2014-01-12  Leo Liu  <sdl.web@gmail.com>
8110         * dired-x.el (dired-mode-map): Fix last change.
8112         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
8114 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
8116         Spelling fixes.
8117         * emacs-lisp/generic.el (generic--normalize-comments):
8118         Rename from generic--normalise-comments.  All uses changed.
8119         * play/bubbles.el (bubbles--neighborhood-score)
8120         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
8121         (bubbles--neighborhood-available)
8122         (bubbles--update-neighborhood-score):
8123         Rename from names with 'neighbourhood'.  All uses changed.
8125 2014-01-12  Leo Liu  <sdl.web@gmail.com>
8127         Re-implement the feature of showing eldoc info after editing.
8128         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
8129         (eldoc-edit-message-commands): New function.
8130         (eldoc-print-after-edit): New variable.
8131         (eldoc-pre-command-refresh-echo-area): Emit message only by
8132         eldoc-message-commands.
8133         (eldoc-mode): Restrict eldoc-message-commands to editing commands
8134         if eldoc-print-after-edit is set.  (Bug#16346)
8135         * simple.el (read--expression): Enable eldoc-mode.
8136         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
8138 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
8139             Eric S. Raymond  <esr@thyrsus.com>
8141         * version.el (emacs-repository-get-version): Enhance so the
8142         function works correctly in either a Bazaar or Git repo.
8144 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
8146         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
8147         Goes with removal of the joke manpages from /etc.
8149 2014-01-10  Kenichi Handa  <handa@gnu.org>
8151         * mail/rmail.el (rmail-get-coding-system):
8152         Check rmail-get-coding-function before "funcall"ing it.
8154 2014-01-10  Glenn Morris  <rgm@gnu.org>
8156         * emacs-lisp/authors.el (authors-fixed-entries):
8157         Update for files that no longer exist.
8159 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
8161         * version.el (emacs-bzr-get-version): Restore compatibilty with
8162         24.3 (Tested).
8164 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
8166         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
8167         and Podfile.
8169 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
8171         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
8173 2014-01-10  Chong Yidong  <cyd@gnu.org>
8175         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
8177 2014-01-10  Anders Lindgren  <andlind@gmail.com>
8179         * follow.el (follow-cache-command-list): Include right-char and
8180         left-char.
8182 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8184         Spelling fixes.
8185         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
8186         * woman.el (woman-mark-horizontal-position):
8187         Rename from woman-mark-horizonal-position.  Use changed.
8189 2014-01-10  Glenn Morris  <rgm@gnu.org>
8191         * info.el (info-initialize): If running uninstalled, ensure our
8192         own info files are always found first, even if INFOPATH is set.
8194         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
8196 2014-01-09  David Engster  <deng@randomsample.de>
8198         * emacs-lisp/eieio-custom.el:
8199         * emacs-lisp/eieio-opt.el: Set generated autoload file to
8200         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
8201         * emacs-lisp/eieio.el: Regenerate autoloads.
8203 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
8205         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
8206         following renames.  (Bug#8756)
8208 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8210         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
8211         (bug#16382).
8212         (activate-mark): Add `no-tmm' argument.
8213         (set-mark, push-mark-command): Use it instead of running
8214         activate-mark-hook by hand.
8216 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
8218         In preparation for the move to git, sanitize out some
8219         Bazaar-specific names.
8221         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
8223         * version.el (emacs-bzr-version): Name changed to
8224         emacs-repository-version.  Obsolete-variable alias made.
8225         * loadup.el: Follow through on this name change.
8226         * mail/emacsbug.el (report-emacs-bug): Factor out any
8227         assumption about the version control system in use.
8229 2014-01-08  David Engster  <deng@randomsample.de>
8231         * help-fns.el (help-fns-describe-function-functions):
8232         New variable to call functions for augmenting help buffers.
8233         (describe-function-1): Remove explicit calls to
8234         `help-fns--compiler-macro', `help-fns--parent-mode' and
8235         `help-fns--obsolete'.  Put them in above new variable instead, and
8236         call them through `run-hook-with-args'.
8237         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
8238         `eieio-describe-class'.  Not meant for interactive use anymore,
8239         but to augment existing help buffers.  Remove optional second
8240         argument.  Create proper button for file location.
8241         Rewrite function to use `insert' instead of `princ' and `prin1' where
8242         possible.
8243         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
8244         (eieio-method-def, eieio-class-def): Move further up.
8245         (describe-method, describe-generic, eieio-describe-method):
8246         Remove aliases.
8247         (eieio-help-constructor, eieio-help-generic): Rename from
8248         `eieio-describe-constructor' and `eieio-describe-generic', resp.
8249         Rewrite to use `insert' in the current buffer and use proper help
8250         buttons.
8251         (eieio-help-find-method-definition)
8252         (eieio-help-find-class-definition): Also accept symbols as
8253         arguments.
8254         (eieio-help-mode-augmentation-maybee): Remove.
8255         (eieio-describe-class-sb): Use `describe-function'.
8256         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
8257         Add `eieio-help-generic' and `eieio-help-constructor'.
8259 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
8261         Spelling fixes.
8262         * language/china-util.el (hz-ascii-designation):
8263         Rename from hz-ascii-designnation.
8264         (hz-ascii-designation): Rename from hz-ascii-designnation.
8265         All uses changed.
8267 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8269         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
8270         package-alist.
8272 2014-01-08  Bastien Guerry  <bzg@gnu.org>
8274         * emacs-lisp/package.el (package-delete):
8275         Correctly delete the package from package-alist.
8277 2014-01-08  Daiki Ueno  <ueno@gnu.org>
8279         * emacs-lisp/package.el (url-recreate-url): Declare.
8280         (url-http-target-url): Declare.
8281         (package-handle-response): Include requested URL in the error message.
8282         (package--check-signature): Don't re-signal errors from
8283         package--with-work-buffer.  Suggested by Stefan Monnier.
8285 2014-01-07  Bastien Guerry  <bzg@gnu.org>
8287         * minibuffer.el (completion--try-word-completion): When both a
8288         hyphen and a space are possible candidates for the character
8289         following a word, display both candidates.  (Bug#15980)
8291 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
8293         * window.el (balance-windows-2): While rounding don't give a
8294         window more than the remainder.  Bug#16351, bug#16383.
8296 2014-01-07  Glenn Morris  <rgm@gnu.org>
8298         * menu-bar.el (menu-bar-help-extra-packages): Remove.
8299         (menu-bar-help-menu): Use view-external-packages instead.
8301 2014-01-07  Bastien Guerry  <bzg@gnu.org>
8303         * emacs-lisp/package.el (package-delete): Also delete the package
8304         name from `package-alist', not its description only.
8306 2014-01-07  Glenn Morris  <rgm@gnu.org>
8308         * help.el (view-external-packages):
8309         * menu-bar.el (menu-bar-help-extra-packages):
8310         Visit efaq.info rather than etc/MORE.STUFF.
8312 2014-01-07  Juri Linkov  <juri@jurta.org>
8314         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
8315         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
8317         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
8318         that shadows RET.  (Bug#16342)
8320 2014-01-07  Chong Yidong  <cyd@gnu.org>
8322         * isearch.el (isearch-yank-char, isearch-yank-word)
8323         (isearch-yank-line): Doc fix.
8325 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8327         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
8328         * emacs-lisp/elint.el (elint-find-builtins):
8329         * emacs-lisp/eldoc.el (eldoc-symbol-function):
8330         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
8331         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
8332         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8333         * apropos.el (apropos-safe-documentation):
8334         * subr.el (symbol-file): Remove redundant fboundp.
8335         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
8337 2014-01-06  Bastien Guerry  <bzg@gnu.org>
8339         * hl-line.el (global-hl-line-overlay): Make a local variable.
8340         (global-hl-line-overlays): New variable to store all overlays.
8341         (global-hl-line-mode): Don't delete overlays from the current
8342         buffer when `global-hl-line-sticky-flag' is non-nil.
8343         (global-hl-line-highlight): Add new overlays to
8344         `global-hl-line-overlays'.
8345         (global-hl-line-unhighlight-all): New function to delete all
8346         overlays when turning off `global-hl-line-mode'.
8347         This fixes Bug#16183.
8349 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8351         * subr.el (set-transient-map): Fix nested case and docstring.
8353 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
8355         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
8356         `Texinfo' entry.
8358 2014-01-06  Daniel Colascione  <dancol@dancol.org>
8360         Fix defun navigation in vc log view.
8362         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
8363         like `beginning-of-defun'.
8364         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
8365         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
8366         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
8367         (log-view-extract-comment): Call `log-view-current-entry' directly
8368         instead of relying on broken `log-view-beginning-of-defun' behavior.
8370 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
8372         Spelling fixes.
8373         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
8374         * emacs-lisp/debug.el (cancel-debug-on-entry):
8375         * epg.el (epg-error-to-string):
8376         * files.el (recover-file):
8377         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
8378         * mail/emacsbug.el (report-emacs-bug-hook):
8379         * mail/sendmail.el (mail-recover):
8380         * ses.el (ses-yank-resize):
8381         * term/ns-win.el (ns-print-buffer):
8382         Spelling fixes in diagnostics, mostly for "canceled" with one L.
8383         * epg.el (epg-key-capability-alist): Rename from misspelled version.
8384         All uses changed.
8385         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
8387 2014-01-06  Leo Liu  <sdl.web@gmail.com>
8389         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
8390         to avoid shadowing global key.  (Bug#16354)
8392 2014-01-06  Daniel Colascione  <dancol@dancol.org>
8394         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
8395         rst-mode.
8397 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
8399         * window.el (balance-windows): Add mising t to fix Bug#16351.
8401 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8403         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
8404         (bug#16285).
8405         (shr-insert): If we have a word that's longer than `shr-width',
8406         break after it anyway.  Otherwise we'll do no breaking once we get
8407         such a long word.
8409 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
8411         * net/eww.el (eww): Support single/double quote for search.
8412         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
8413         (eww-history-quit): Delete and use quit-window.
8414         (eww-history-kill): Delete, because it doesn't work well and
8415         not necessary.
8416         (eww-history-mode-map): Delete some keys and add easy-menu.
8418 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
8420         Fix misspelling of 'chinese' in rx (Bug#16237).
8421         * emacs-lisp/rx.el (rx-categories): Correct spelling of
8422         chinese-two-byte.
8424         Change subword regexps back to vars (Bug#16296).
8425         * progmodes/subword.el (subword-forward-regexp)
8426         (subword-backward-regexp): Change these back to variables.
8428 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8430         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
8431         syntax-begin-function (bug#16247).
8433 2014-01-03  Chong Yidong  <cyd@gnu.org>
8435         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
8436         (advice--docstring): Delete variable.
8437         (advice--make-1): Leave the docstring empty.
8438         (advice-add): Use function-documentation for advised docstring.
8440         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
8441         Ignore function-documentation property when getting documentation.
8442         (ad-activate-advised-definition): Use function-documentation
8443         generate the docstring.
8444         (ad-make-advised-definition): Don't call
8445         ad-make-advised-definition-docstring.
8446         (ad-make-advised-definition-docstring, ad-advised-definition-p):
8447         Delete functions.
8449         * progmodes/sql.el (sql-help): Use function-documentation instead
8450         of dynamic-docstring-function property.  No need to autoload now.
8451         (sql--help-docstring): New variable.
8452         (sql--make-help-docstring): Use it.
8454 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8456         * ielm.el (ielm-tab): Retarget.
8457         (ielm-map): Use ielm-tab for tab.
8458         (ielm-complete-filename): Use comint-filename-completion.
8459         (ielm-complete-symbol): Remove.
8460         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
8461         remove ielm-tab from completion-at-point-functions (bug#16224).
8463         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
8464         Beware signals raised by predicates (bug#16201).
8466 2014-01-02  Richard Stallman  <rms@gnu.org>
8468         * dired-aux.el (dired-do-print): Handle printer-name.
8470         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
8471         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
8472         (rmail-epa-decrypt): Turn off mime processing.
8474         * mail/rmail.el (rmail-make-in-reply-to-field):
8475         Add parens in message-id.
8477         * mail/rmail.el (rmail-get-coding-function): Variable.
8478         (rmail-get-coding-system): Use it.
8480 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
8482         * international/mule-conf.el: Unify the charset indian-is13194.
8483         (indian-is13194): Specify unify-map.
8485 2013-12-31  Leo Liu  <sdl.web@gmail.com>
8487         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
8489 2013-12-30  Daniel Colascione  <dancol@dancol.org>
8491         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
8492         of printing a useless when we resume from sleep.
8494         * progmodes/sh-script.el
8495         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
8496         in indentation code.  (Bug#16233)
8498 2013-12-28  João Távora  <joaotavora@gmail.com>
8500         * elec-pair.el (electric-pair-post-self-insert-function):
8501         Don't open extra newlines at beginning of buffer.  (Bug#16272)
8503 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
8505         * frame.el (window-system-for-display): Don't allow to create a
8506         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
8508 2013-12-28  Glenn Morris  <rgm@gnu.org>
8510         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
8511         Update callers.
8513         * apropos.el (apropos-match-face):
8514         * calculator.el (calculator-displayer):
8515         * dabbrev.el (dabbrev-search-these-buffers-only):
8516         * face-remap.el (buffer-face-mode-face):
8517         * simple.el (yank-handled-properties):
8518         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
8519         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
8520         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
8521         (hashcash-double-spend-database):
8522         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
8523         (ruby-deep-indent-paren-style):
8524         * textmodes/flyspell.el (flyspell-auto-correct-binding):
8525         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
8526         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
8527         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
8528         Specify custom types.
8530         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
8531         * bookmark.el (bookmark-bmenu-use-header-line):
8532         * doc-view.el (doc-view-scale-internally):
8533         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
8534         * register.el (register-preview-delay):
8535         * net/shr.el (shr-bullet):
8536         * progmodes/cfengine.el (cfengine-cf-promises)
8537         (cfengine-parameters-indent):
8538         * progmodes/octave.el (inferior-octave-error-regexp-alist):
8539         * textmodes/reftex-vars.el (reftex-label-regexps):
8540         * vc/log-edit.el (log-edit-setup-add-author): Add version.
8542         * net/tls.el (tls-certtool-program): Fix default value.
8544         * desktop.el (desktop-restore-in-current-display):
8545         * newcomment.el (comment-empty-lines):
8546         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
8547         (idlwave-pad-keyword):
8548         * progmodes/tcl.el (tcl-tab-always-indent):
8549         * textmodes/reftex-vars.el (reftex-index-default-tag):
8550         * elec-pair.el (electric-pair-skip-whitespace):
8551         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
8553         * emacs-lisp/authors.el (authors-ignored-files)
8554         (authors-valid-file-names, authors-renamed-files-alist): Additions.
8556 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
8558         * shell.el (shell-dynamic-complete-command): Doc fix.
8559         (shell--command-completion-data): Shell completion now matches
8560         executable filenames from the current buffer's directory, on
8561         systems in which this behavior is the default (windows-nt, ms-dos).
8563 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
8565         * net/shr.el (shr-insert): Don't infloop if the width is zero.
8567 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8569         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
8570         (bug#16251).
8572         * electric.el: Move all electric-pair-* to elec-pair.el.
8573         * elec-pair.el: New file, split from electric.el.
8575 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
8577         * net/shr.el (shr-find-fill-point): Don't try to fill if the
8578         indentation level is larger than the width, because that will
8579         infloop.
8580         (shr-insert): Fill repeatedly long texts, so that Japanese is
8581         formatted correctly (bug#16263).
8582         (shr-find-fill-point): Off by one error in comparison with the
8583         indentation.
8585 2013-12-26  João Távora  <joaotavora@gmail.com>
8587         * electric.el (electric-pair-mode): More flexible engine for skip-
8588         and inhibit predicates, new options for pairing-related functionality.
8589         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
8590         if that keeps or improves their balance in buffers.
8591         (electric-pair-delete-adjacent-pairs): Delete the pair when
8592         backspacing over adjacent matched delimiters.
8593         (electric-pair-open-extra-newline): Open extra newline when
8594         inserting newlines between adjacent matched delimiters.
8595         (electric--sort-post-self-insertion-hook):
8596         Sort post-self-insert-hook according to priority values when
8597         minor-modes are activated.
8598         * simple.el (newline-and-indent): Call newline with interactive
8599         set to t.
8600         (blink-paren-post-self-insert-function): Set priority to 100.
8601         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8602         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
8603         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
8604         electric-pair-open-newline-between-pairs to nil.
8606 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8608         * progmodes/python.el: Use lexical-binding.
8609         (python-nav-beginning-of-defun): Stop searching ASAP.
8611 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
8613         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
8614         Fix interactive spec.  Doc fix.  (Bug#15754)
8616 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
8618         * emacs-lisp/byte-run.el (eval-when-compile):
8619         * progmodes/cc-defs.el (cc-eval-when-compile):
8620         Fix edebug spec (bug#16184).
8622 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
8624         * net/shr.el (shr-visit-file): Remove debugging function.
8625         (shr-insert): Don't infloop if we can't find a good place to break
8626         the line (bug#16256).
8628 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8630         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
8631         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
8632         python-nav-lisp-forward-sexp-safe.
8633         (python-nav--forward-sexp): New argument SAFE allows switching
8634         forward sexp movement behavior for parens.
8635         (python-nav-forward-sexp): Throw errors on unterminated parens
8636         (Bug#16191).
8637         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
8638         (python-nav-backward-sexp-safe): New functions.
8639         (python-shell-buffer-substring):
8640         Use `python-nav-forward-sexp-safe'.
8642 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
8644         * net/shr.el (shr-find-fill-point): Don't break lines before a
8645         quotation mark.
8646         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
8647         (shr-find-fill-point): Remove the special checks for the quotation
8648         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
8650 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
8652         * net/eww.el (eww-form-textarea): Use a different face for
8653         textareas than text input since they have different keymaps
8654         (bug#16142).
8656 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8658         * progmodes/python.el (python-nav-beginning-of-statement):
8659         Speed up (Bug#15295).
8661 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
8663         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
8664         the window configuration.
8666 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
8668         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
8669         we run on MS-Windows or MS-DOS.
8671 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
8673         * window.el (balance-windows-area): Call window-size instead of
8674         window-height and window-width.  Bug#16241.
8676 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
8678         * net/eww.el (eww-bookmark-quit): Remove.
8679         (eww-bookmark-browse): Restore the window configuration when you
8680         choose a bookmark (bug#16144).
8682 2013-12-24  Daniel Colascione  <dancol@dancol.org>
8684         * icomplete.el: Remove redundant :group arguments to `defcustom'
8685         throughout.
8686         (icomplete-show-matches-on-no-input): New customizable variable.
8687         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
8688         we have something to show.
8689         (icomplete-exhibit): Compute completions even if we have no user input.
8691 2013-12-23  Daniel Colascione  <dancol@dancol.org>
8693         * icomplete.el: Move `provide' to end of file.
8695 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
8697         * net/gnutls.el (gnutls-verify-error): Add version tag.
8699 2013-12-23  Chong Yidong  <cyd@gnu.org>
8701         * subr.el (set-transient-map): Rename from
8702         set-temporary-overlay-map.  Doc fix.
8704         * face-remap.el (text-scale-adjust):
8705         * indent.el (indent-rigidly):
8706         * kmacro.el (kmacro-call-macro):
8707         * minibuffer.el (minibuffer-force-complete):
8708         * repeat.el (repeat):
8709         * simple.el (universal-argument--mode):
8710         * calendar/todo-mode.el (todo-insert-item--next-param):
8711         * progmodes/f90.el (f90-abbrev-start): Callers changed.
8713         * indent.el (indent-rigidly): Use substitute-command-keys.
8715 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
8717         * net/eww.el (eww-tag-select): Add text-property to jump to next
8718         select field.
8719         (eww): Add non-supported ftp error.
8721 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
8723         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
8724         comments.  Handle electric indent after typing `?' and `!'.
8726 2013-12-22  Chong Yidong  <cyd@gnu.org>
8728         * faces.el (face-spec-recalc): If the theme specs are not
8729         applicable to a frame, fall back on the defface spec.
8730         This prevents themes from obliterating faces on low-color terminals.
8732 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
8734         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
8735         after `{'.  We need it after block openers, and it doesn't seem
8736         to hurt after hash openers.
8738 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
8740         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
8741         extracted from `ruby-smie-rules'.
8742         (ruby--electric-indent-chars): New variable.
8743         (ruby--electric-indent-p): New function.
8744         (ruby-mode): Use `electric-indent-functions' instead of
8745         `electric-indent-chars'.
8747 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
8749         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
8750         docstring.
8751         (ruby-smie-rules): Indent plus one level after `=>'.
8753 2013-12-21  Richard Stallman  <rms@gnu.org>
8755         * simple.el (newline): Doc fix.
8757 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
8759         * net/eww.el (eww-list-histories, eww-list-histories)
8760         (eww-history-browse, eww-history-quit, eww-history-kill)
8761         (eww-history-mode-map, eww-history-mode): New command and
8762         functions to list browser histories.
8763         (eww-form-text): Support text form with disabled
8764         and readonly attributes.
8765         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
8767 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8769         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
8770         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
8771         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
8772         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
8773         Use `user-error'.
8774         (eww-bookmark-mode-map): Add menu.
8775         (eww-render, eww-mode): Use `setq-local'.
8776         (eww-tool-bar-map): New variable.
8777         (eww-mode): Set `tool-bar-map'.
8778         (eww-view-source): Check for `html-mode' with `fboundp'.
8780 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8782         * net/shr.el (shr--extract-best-source): Don't bug out on audio
8783         elements with text inside.  Also remove debugging.
8785 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
8787         * cus-start.el (all): Add ns-use-srgb-colorspace.
8789 2013-12-21  Chong Yidong  <cyd@gnu.org>
8791         * custom.el (custom-theme-recalc-face): Do nothing if the face is
8792         undefined.  Thus, theme settings for undefined faces do not take
8793         effect until the faces are defined with defface, the same as with
8794         theme variables.
8796         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
8797         (face-spec-reset-face): Don't assign extra properties in temacs.
8798         (face-spec-recalc): Apply X resources too.
8800 2013-12-21  Chong Yidong  <cyd@gnu.org>
8802         * faces.el (face-spec-set):
8803         * cus-face.el (custom-theme-set-faces, custom-set-faces):
8804         * custom.el (defface): Doc fixes (Bug#16203).
8806         * indent.el (indent-rigidly-map): Add docstring, and move commands
8807         into named functions.
8808         (indent-rigidly-left, indent-rigidly-right)
8809         (indent-rigidly-left-to-tab-stop)
8810         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
8811         indentation direction based on bidi direction, and accumulate
8812         sequential commands in a single undo boundary.
8813         (indent-rigidly--pop-undo): New utility function.
8815 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
8817         * faces.el (read-face-name): Require crm.el when using crm-separator.
8819 2013-12-20  Daniel Colascione  <dancol@dancol.org>
8821         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
8822         so that we don't reflow comments into the shebang line.
8824 2013-12-20  Juri Linkov  <juri@jurta.org>
8826         * saveplace.el (save-place-to-alist): Add `dired-filename' as
8827         a position when `dired-directory' is non-nil.  Check integer
8828         positions with `integerp'.
8829         (toggle-save-place, save-places-to-alist): Add check for
8830         `dired-directory'.
8831         (save-place-find-file-hook): Check integer positions with
8832         `integerp'.
8833         (save-place-dired-hook): Use `dired-goto-file' when
8834         `dired-filename' is found in the assoc list.  Check integer
8835         positions with `integerp'.
8836         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
8838         * dired.el (dired-initial-position-hook): Rename back from
8839         `dired-initial-point-hook'.
8840         (dired-initial-position): Rename `dired-initial-point-hook' to
8841         `dired-initial-position-hook'.
8842         (dired-file-name-at-point): Doc fix.  (Bug#15329)
8844 2013-12-20  Juri Linkov  <juri@jurta.org>
8846         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
8847         (read-regexp-suggestions): New function.
8848         (read-regexp): Use `read-regexp-defaults-function' to get default values.
8849         Use `read-regexp-suggestions'.  Add non-empty default to history
8850         for empty input.
8851         (occur-read-regexp-defaults-function): Remove function.
8852         (occur-read-primary-args): Use `regexp-history-last' instead of
8853         `occur-read-regexp-defaults-function'.
8855         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
8856         (hi-lock-line-face-buffer, hi-lock-face-buffer)
8857         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
8858         `hi-lock-read-regexp-defaults-function'.  Doc fix.
8859         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
8860         with `find-tag-default-as-symbol-regexp'.  Doc fix.
8861         (hi-lock-read-regexp-defaults): Remove function.
8862         (hi-lock-regexp-okay): Add check for null.
8864         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
8865         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
8867         * subr.el (find-tag-default-as-symbol-regexp): New function.
8868         (find-tag-default-as-regexp): Move symbol regexp formatting to
8869         `find-tag-default-as-symbol-regexp'.
8871 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
8873         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
8874         (Bug#14179)
8876 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
8878         * calendar/todo-mode.el: New implementation of item insertion
8879         commands and key bindings.
8880         (todo-key-prompt): New face.
8881         (todo-insert-item): New command.
8882         (todo-insert-item--parameters): New defconst, replacing defvar
8883         todo-insertion-commands-args-genlist.
8884         (todo-insert-item--param-key-alist): New defconst, replacing
8885         defvar todo-insertion-commands-arg-key-list.
8886         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
8887         (todo-insert-item--argsleft, todo-insert-item--apply-args)
8888         (todo-insert-item--next-param): New functions.
8889         (todo-insert-item--args, todo-insert-item--argleft)
8890         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
8891         New variables.
8892         (todo-key-bindings-t): Change binding of "i" from
8893         todo-insertion-map to todo-insert-item.
8894         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
8895         (todo-insertion-command-name, todo-insertion-commands-names)
8896         (todo-define-insertion-command, todo-insertion-commands)
8897         (todo-insertion-key-bindings, todo-insertion-map): Remove.
8899 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
8901         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
8902         (todo-toggle-item-highlighting): Use eval-and-compile instead of
8903         eval-when-compile.
8904         (todo-move-category): Allow choosing a non-existing todo file to
8905         move the category to, and create that file.
8906         (todo-default-priority): New user option.
8907         (todo-set-item-priority): Use it.
8908         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
8909         (desktop-restore-file-buffer): Declare.
8910         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
8911         (todo-modes-set-2): Locally set desktop-save-buffer to
8912         todo-desktop-save-buffer.
8913         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
8914         (auto-mode-alist): Add autoload cookie.
8916 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
8918         * emacs-lisp/subr-x.el: Renamed from helpers.el.
8919         helpers.el was a poor choice of name.
8920         (string-remove-prefix): New function.
8921         (string-remove-suffix): New function.
8923 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
8925         Fix assignment for new window total sizes.
8926         * window.el (window--pixel-to-size): Remove function.
8927         (window--pixel-to-total-1, window--pixel-to-total):
8928         Fix calculation of new total sizes.
8930 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
8932         * comint.el (comint-output-filter): Fix rear-nonsticky property
8933         placement (Bug#16010).
8935 2013-12-20  Chong Yidong  <cyd@gnu.org>
8937         * faces.el (read-color): Minor fix for completion function.
8939 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
8941         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
8942         New option.  (Bug#16182)
8943         (ruby-smie--indent-to-stmt-p): Use it.
8944         (ruby-smie-rules): Revert the logic in the handling of `when'.
8945         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
8946         (ruby-deep-arglist, ruby-deep-indent-paren)
8947         (ruby-deep-indent-paren-style): Update docstrings to note that the
8948         vars don't have any effect with SMIE.
8950 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
8952         * calc/calc.el (calc-enter, calc-pop): Use the variable
8953         `calc-context-sensitive-enter'.
8955 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8957         * net/shr.el (shr-insert): Protect against infloops in degenerate
8958         tables.
8960 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8962         * progmodes/octave.el (octave): Add link to manual and octave
8963         homepage.
8964         (octave-mode-menu): Link to octave-mode manual.
8966 2013-12-20  Leo Liu  <sdl.web@gmail.com>
8968         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
8969         insertion using skeleton-end-newline.  (Bug#16138)
8971 2013-12-20  Juri Linkov  <juri@jurta.org>
8973         * replace.el (occur-engine): Use `add-face-text-property'
8974         to add the face property to matches and titles.  (Bug#14645)
8976         * hi-lock.el (hi-green): Use lighter color "light green" closer to
8977         the palette of other hi-lock colors.
8978         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
8980 2013-12-19  Juri Linkov  <juri@jurta.org>
8982         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
8983         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
8984         (minibuffer-history-symbol): Move variable declaration closer to
8985         its usage.
8987         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
8988         (Bug#14785)
8990 2013-12-19  Juri Linkov  <juri@jurta.org>
8992         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
8993         New function.
8994         (log-edit-hook): Add it to :options.  (Bug#16170)
8996 2013-12-19  Juri Linkov  <juri@jurta.org>
8998         * simple.el (eval-expression-print-format): Don't check for
8999         command names and the last command.  Always display additional
9000         formats of the integer result in the echo area, and insert them
9001         to the current buffer only with a zero prefix arg.
9002         Display character when char-displayable-p is non-nil.
9003         (eval-expression): With a zero prefix arg, set `print-length' and
9004         `print-level' to nil, and insert the integer values from
9005         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
9007         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
9008         `eval-last-sexp-arg-internal'.  Doc fix.
9009         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
9010         `eval-last-sexp-print-value'.  Doc fix.
9011         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
9012         Set `print-length' and `print-level' to nil when arg is zero.
9013         (eval-last-sexp): Doc fix.
9014         (eval-defun-2): Print the integer values from
9015         `eval-expression-print-format' at the end.
9017         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
9018         values from `eval-expression-print-format' at the end.
9020         * ielm.el (ielm-eval-input): Print the integer
9021         values from `eval-expression-print-format' at the end.
9023 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
9025         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
9026         2013-12-11T19:01:44Z!tzz@lifelogs.com.
9028 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9030         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
9031         (hl-line-highlight, global-hl-line-highlight): Use it.
9032         (hl-line-overlay): Use defvar-local.
9034 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
9036         * term/ns-win.el: Require dnd.
9037         (global-map): Remove drag items.
9038         (ns-insert-text, ns-set-foreground-at-mouse)
9039         (ns-set-background-at-mouse):
9040         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
9041         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
9042         New functions.
9044 2013-12-19  Glenn Morris  <rgm@gnu.org>
9046         * emacs-lisp/ert.el (ert-select-tests):
9047         Fix string/symbol mixup.  (Bug#16121)
9049 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
9051         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
9052         keywords to their parent.
9054 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
9056         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
9057         first arg to be a string (fixed dead code), or an operator symbol.
9058         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
9059         operator symbols.
9060         (ruby-smie-rules): Remove parent token check in the `.' clause, it
9061         did nothing.  Don't respond to `(:after ".")', it will be called
9062         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
9063         change anything.  Only return indentation for binary operators
9064         when they are hanging.  De-dent opening paren when its parent is
9065         `.', otherwise it looks bad when the dot is not at bol or eol
9066         (bug#16182).
9068 2013-12-19  Juri Linkov  <juri@jurta.org>
9070         * replace.el (query-replace-read-args): Split a non-negative arg
9071         and a negative arg into separate elements.
9072         (query-replace, query-replace-regexp, replace-string)
9073         (replace-regexp): Add arg `backward'.  Doc fix.
9074         (replace-match-maybe-edit): When new arg `backward' is non-nil,
9075         move point to the beginning of the match.
9076         (replace-search, replace-highlight): Use new arg `backward'
9077         to set the value of `isearch-forward'.
9078         (perform-replace): Add arg `backward' and use it to perform
9079         replacement backward.  (Bug#14979)
9081         * isearch.el (isearch-query-replace): Use a negative prefix arg
9082         to call `perform-replace' with a non-nil arg `backward'.
9084 2013-12-18  Juri Linkov  <juri@jurta.org>
9086         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
9087         to the default list.  Move `log-edit-show-files' to the end.
9088         Add more available functions to options.
9089         (log-edit): Move default specific settings to
9090         `log-edit-insert-message-template'.  Don't move point.
9091         (log-edit-insert-message-template): New function.
9092         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
9093         (Bug#16170)
9095 2013-12-18  Juri Linkov  <juri@jurta.org>
9097         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
9098         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
9100 2013-12-18  Leo Liu  <sdl.web@gmail.com>
9102         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
9103         (Bug#16186)
9105 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
9107         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
9108         formats for displaying file sizes when the -s switch is given.
9109         Instead, compute a separate format for displaying the size in
9110         blocks, which is displayed in addition to the "regular" size.
9111         When -h is given in addition to -s, produce size in blocks in
9112         human-readable form as well.  (Bug#16179)
9114 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
9116         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9117         Reference tables with ~\ref{...} instead of only \ref{...}.
9119 2013-12-18  Chong Yidong  <cyd@gnu.org>
9121         * cus-edit.el (custom-magic-alist): Fix "themed" description
9122         (Bug#14348).
9124         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
9125         is non-nil, do not create a new entry in the symbol's theme-value
9126         or theme-face property; update theme-settings only (Bug#14664).
9127         (custom-available-themes): Doc fix.
9129         * cus-theme.el (custom-new-theme-mode-map): Add bindings
9130         (Bug#15674).
9132         * replace.el (occur-engine): Avoid infloop (Bug#7593).
9134 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
9136         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
9137         (Bug#13914).
9139 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
9141         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
9143 2013-12-18  Glenn Morris  <rgm@gnu.org>
9145         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
9146         * cus-start.el (load-prefer-newer): New option.
9148 2013-12-18  Le Wang  <l26wang@gmail.com>
9150         * comint.el (comint-previous-matching-input-from-input):
9151         Retain point (Bug#13404).
9153 2013-12-18  Chong Yidong  <cyd@gnu.org>
9155         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
9157 2013-12-18  Glenn Morris  <rgm@gnu.org>
9159         * mail/emacsbug.el (report-emacs-bug):
9160         Only mention enable-multibyte-characters if non-standard.
9162 2013-12-17  Juri Linkov  <juri@jurta.org>
9164         * arc-mode.el (archive-extract-by-file): Check if directory exists
9165         before deletion to not show irrelevant errors if it doesn't exist.
9167 2013-12-17  Juri Linkov  <juri@jurta.org>
9169         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
9170         (Bug#14751)
9172         * net/eww.el (browse-web): Add alias to `eww'.
9173         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
9174         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
9176         * net/browse-url.el (browse-url-browser-function): Move `eww'
9177         closer to similar functions.
9179         * startup.el (fancy-startup-screen, fancy-about-screen):
9180         Set browse-url-browser-function to eww-browse-url locally.
9181         (Bug#14751)
9183 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9185         * window.el (window--pixel-to-total): Remove unused `mini' var.
9186         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
9187         (split-window): Remove unused `new' var.
9188         (window--display-buffer): Remove unused `frame' and `delta' vars.
9189         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
9190         and display-width'.
9192 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
9194         * dired.el (dired-mark-pop-up):
9195         * register.el (register-preview): Don't bind
9196         split-height-threshold here since it's now done in
9197         display-buffer-below-selected.
9199 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
9201         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
9202         xterm-rgb-convert-to-16bit.
9203         (rxvt-register-default-colors): Standardize with
9204         xterm-register-default-colors (Bug#14078).
9206 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
9208         * simple.el (kill-region): Pass mark first, then point, so that
9209         kill-append works right (Bug#12819).
9210         (copy-region-as-kill, kill-ring-save): Likewise.
9212 2013-12-17  Leo Liu  <sdl.web@gmail.com>
9214         * net/rcirc.el (rcirc-add-face):
9215         * eshell/em-prompt.el (eshell-emit-prompt):
9216         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
9217         (Bug#16167)
9219 2013-12-17  Chong Yidong  <cyd@gnu.org>
9221         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
9222         Suggested by Xue Fuqiao.
9224 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
9226         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
9228 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9230         * net/shr.el (shr-insert-document): Remove unused var
9231         `shr-preliminary-table-render'.
9232         (shr-rescale-image): Remove unused arg `force'.
9233         (shr-put-image): Update calls accordingly.
9234         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
9236 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
9238         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
9239         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
9240         :close-all, to see which indentation method to use (Bug#16116).
9241         (smie-rules-function): Document the method :close-all.
9243 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9245         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
9247         * net/eww.el (eww-display-html): If we can't find the anchor we're
9248         looking for, then go to point-min.
9250 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
9252         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
9253         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
9254         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
9255         Expand dir too, in case it's relative.
9257 2013-12-16  Juri Linkov  <juri@jurta.org>
9259         * desktop.el (desktop-auto-save-timeout): Change default to
9260         `auto-save-timeout'.  Doc fix.
9261         (desktop-save): Skip the timestamp in desktop-saved-frameset
9262         when checking for auto-save changes.
9263         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
9264         `desktop-auto-save' is called repeatedly by the idle timer.
9265         (desktop-auto-save-set-timer): Replace `run-with-timer' with
9266         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
9267         (Bug#15331)
9269 2013-12-16  Juri Linkov  <juri@jurta.org>
9271         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
9272         (Bug#16035)
9273         (isearch-pre-command-hook): Check `this-command' for symbolp.
9275 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9277         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
9279 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
9281         * progmodes/cfengine.el (cfengine3--current-word): Remove.
9282         (cfengine3--current-function): Bring in the current-function
9283         functionality from `cfengine3--current-word'.
9284         (cfengine3-completion-function): Bring in the
9285         bounds-of-current-word functionality from
9286         `cfengine3--current-word'.
9288 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
9290         * window.el (display-buffer-below-selected):
9291         Bind split-height-threshold to 0 as suggested by Juri Linkov.
9293 2013-12-16  Leo Liu  <sdl.web@gmail.com>
9295         * progmodes/compile.el (compile-goto-error): Do not push-mark.
9296         Remove NOMSG arg and all uses changed.
9298 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9300         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
9301         (cua--deactivate-rectangle): Don't deactivate the mark.
9302         (cua-set-rectangle-mark): Don't set mark-active since
9303         cua--activate-rectangle already does it for us.
9304         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
9305         non-rectangular region.
9307         * emulation/cua-base.el (cua-repeat-replace-region):
9308         Use with-current-buffer.
9310         * net/gnutls.el: Use cl-lib.
9311         (gnutls-negotiate): `mapcan' -> cl-mapcan.
9313 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
9315         * emacs-lisp/package.el (package-built-in-p): Support both
9316         built-in and the package.el converted package descriptions.
9317         (package-show-package-list): Allow keywords.
9318         (package-keyword-button-action): Use it instead of
9319         `finder-list-matches'.
9320         (package-menu-filter-interactive): Interactive filtering (by
9321         keyword) function.
9322         (package-menu--generate): Support keywords and change keymappings
9323         and headers when they are given.
9324         (package--has-keyword-p): Helper function.
9325         (package-menu--refresh): Use it.
9326         (package--mapc): Helper function.
9327         (package-all-keywords): Use it.
9328         (package-menu-mode-map): Set up menu items and keybindings to
9329         provide a filtering UI.
9331 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
9333         * net/gnutls.el (gnutls-verify-error): New defcustom to control
9334         the behavior when a certificate fails validation.  Defaults to
9335         old behavior: never abort, just warn.
9336         (gnutls-negotiate): Use it.
9338 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
9340         * window.el (display-buffer-below-selected): Never split window
9341         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
9343 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
9345         * emacs-lisp/package.el (package--prepare-dependencies): New function.
9346         (package-buffer-info): Use it (bug#15108).
9348 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9350         * icomplete.el (icomplete-completions): Make sure the prefix is already
9351         displayed elsewhere before hiding it (bug#16219).
9353 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
9355         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
9356         open-paren tokens when preceded by a open-paren, too.
9357         (ruby-smie-rules): Handle virtual indentation after open-paren
9358         tokens specially.  If there is code between it and eol, return the
9359         column where is starts (Bug#16118).
9361 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
9363         * progmodes/cfengine.el: Fix `add-hook' doc.
9364         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
9365         (cfengine3--current-word): Fix parameters.
9366         (cfengine3-make-syntax-cache): Simplify further.
9367         (cfengine3-completion-function, cfengine3--current-function):
9368         Use `assq' for symbols.
9369         (cfengine3--current-function): Fix `cfengine3--current-word' call.
9371 2013-12-13  Glenn Morris  <rgm@gnu.org>
9373         * loadup.el (load-path): Warn if site-load or site-init changes it.
9374         No more need to reset it when bootstrapping.
9376 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
9378         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
9379         locations for cf-promises.
9380         (cfengine-mode-syntax-functions-regex): New caching variable.
9381         (cfengine3-fallback-syntax): Fallback syntax for cases where
9382         cf-promises doesn't run.
9383         (cfengine3--current-word): Reimplement using
9384         `cfengine-mode-syntax-functions-regex'.
9385         (cfengine3-completion-function, cfengine3--current-function):
9386         Use `cfengine3-make-syntax-cache' directly.
9387         (cfengine3-clear-syntax-cache): New function.
9388         (cfengine3-make-syntax-cache): Simplify and create
9389         `cfengine-mode-syntax-functions-regex' on demand.
9390         (cfengine3-format-function-docstring): Don't call
9391         `cfengine3-make-syntax-cache' explicitly.
9393 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
9395         Fix windmove-find-other-window broken after pixelwise resizing
9396         (Bug#16017).
9397         * windmove.el (windmove-other-window-loc): Revert change from
9398         2013-12-04.
9399         (windmove-find-other-window): Call window-in-direction.
9400         * window.el (window-in-direction): New arguments SIGN, WRAP and
9401         MINI to emulate original windmove-find-other-window behavior.
9403 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
9405         * simple.el (blink-matching--overlay): New variable.
9406         (blink-matching-open): Instead of moving point, highlight the
9407         matching paren with an overlay
9408         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
9410         * faces.el (paren-showing-faces, show-paren-match)
9411         (show-paren-mismatch): Move from paren.el.
9413 2013-12-13  Leo Liu  <sdl.web@gmail.com>
9415         * indent.el (indent-region): Disable progress reporter in
9416         minibuffer.  (Bug#16108)
9418         * bindings.el (visual-order-cursor-movement): Fix version.
9420 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9422         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
9423         Also match after beginning of line.
9424         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
9425         files.  Thanks to Russell Sim.  (Bug#15378)
9427 2013-12-13  Juri Linkov  <juri@jurta.org>
9429         * simple.el <Keypad support>: Remove key bindings duplicated
9430         with bindings.el.  (Bug#14397)
9432 2013-12-13  Juri Linkov  <juri@jurta.org>
9434         * comint.el (comint-mode-map): Replace `delete-char' with
9435         `delete-forward-char'.  (Bug#16109)
9437 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9439         * progmodes/python.el (python-indent-calculate-indentation):
9440         Fix de-denters cornercase.  (Bug#15731)
9442 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9444         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
9445         (advice--make): Pay attention to `depth'.
9446         (advice--make-1): Don't autoload commands eagerly.
9447         * emacs-lisp/elp.el (elp-instrument-function):
9448         * emacs-lisp/trace.el (trace-function-internal):
9449         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
9451         * iswitchb.el (iswitchb-mode): Don't belittle ido.
9453 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
9455         * term/w32-win.el (w32-handle-dropped-file):
9456         * startup.el (normal-top-level):
9457         * net/browse-url.el (browse-url-file-url):
9458         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
9459         decode file names using 'utf-8' rather than
9460         file-name-coding-system.
9462 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9464         * progmodes/python.el (python-indent-context)
9465         (python-indent-calculate-indentation): Fix auto-identation
9466         behavior for comment blocks.  (Bug#15916)
9468 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
9470         * progmodes/python.el (python-indent-calculate-indentation):
9471         When determining indentation, don't treat "return", "pass", etc., as
9472         operators when they are just string constituents.  (Bug#15812)
9474 2013-12-12  Juri Linkov  <juri@jurta.org>
9476         * uniquify.el (uniquify-buffer-name-style): Change default to
9477         `post-forward-angle-brackets'.
9479         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
9480         `uniquify'.  Change default to `post-forward-angle-brackets'.
9482 2013-12-11  Glenn Morris  <rgm@gnu.org>
9484         * emacs-lisp/package.el (finder-list-matches):
9485         Autoload rather than falsely declaring.
9487 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
9489         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
9490         (eww-mode-map): Use them.
9492 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
9494         * window.el (display-buffer-in-side-window): Fix doc-string
9495         (Bug#16115).
9497 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
9499         * vc/vc-git.el: Silence byte-compiler warnings.
9500         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
9501         (log-edit-set-header): Declare.
9503 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
9505         * Makefile.in (custom-deps, finder-data): Run output file names
9506         through unmsys--file-name.  (Bug#16099)
9508 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9510         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
9511         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
9513         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
9514         instead of deleting the selection "by hand" (bug#16098).
9515         Rely on insert-for-yank to yank rectangles.
9516         (cua-highlight-region-shift-only): Mark obsolete.
9517         (cua-mode): Don't enable/disable transient-mark-mode,
9518         shift-select-mode (cua-mode works both with and without them), and
9519         pc-selection-mode (obsolete).
9520         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
9521         (cua--deactivate-rectangle): Deactivate it.
9523         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
9524         (delete-selection-helper): Make sure yank starts at the top of the
9525         deleted region.
9526         (minibuffer-keyboard-quit): Use region-active-p.
9528         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
9530         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
9531         to `delete' (bug#16109).
9533 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9535         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
9536         info manual and show keybindings and set `:group' keyword.
9538 2013-12-11  Juri Linkov  <juri@jurta.org>
9540         * delsel.el (delete-active-region): Let-bind `this-command'
9541         to prevent `kill-region' from changing its original value.
9542         (delete-selection-helper): Handle `overwrite-mode' for the type
9543         `kill' exactly the same way as for the type `t'.
9544         (insert-char, quoted-insert, reindent-then-newline-and-indent):
9545         Support more commands.  (Bug#13312)
9547 2013-12-11  Juri Linkov  <juri@jurta.org>
9549         * bindings.el: Map kp keys to non-kp keys systematically
9550         with basic modifiers control, meta and shift.  (Bug#14397)
9552 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
9554         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
9555         "Close browser" menu items.  Fix wrong function of "List
9556         bookmarks".
9558 2013-12-11  Juri Linkov  <juri@jurta.org>
9560         * misearch.el (multi-isearch-buffers): Set the value of
9561         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
9562         arg of isearch-forward to t.
9563         (multi-isearch-buffers-regexp): Set the value of
9564         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
9565         arg of isearch-forward-regexp to t.
9566         (multi-isearch-files): Set the value of
9567         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
9568         arg of isearch-forward to t.
9569         (multi-isearch-files-regexp): Set the value of
9570         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
9571         arg of isearch-forward-regexp to t.  (Bug#16035)
9573         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
9574         arg of isearch-forward to t.
9575         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
9576         arg of isearch-forward-regexp to t.
9577         (dired-isearch-filter-filenames): Remove unnecessary check for
9578         `dired-isearch-filenames'.
9580         * comint.el (comint-history-isearch-backward):
9581         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
9582         (comint-history-isearch-backward-regexp):
9583         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
9585 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
9587         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
9588         unmsys--file-name.  (Bug#16099)
9590 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
9592         * emacs-lisp/package.el (package-keyword-button-action):
9593         Remove finder.el require dependency.
9595 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
9597         * emacs-lisp/package.el: Require finder.el.
9598         (describe-package-1): Add keyword buttons.
9599         (package-make-button): New convenience function.
9600         (package-keyword-button-action): Keyword button action using
9601         `finder-list-matches'.
9603 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
9605         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
9606         last commit.
9608 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
9610         * autorevert.el (auto-revert-notify-add-watch): Do not handle
9611         symlinked files.
9613 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
9615         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
9616         after the end of a percent literal.
9618 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
9620         * progmodes/ruby-mode.el (ruby-forward-string): Document.
9621         Handle caret-delimited strings (Bug#16079).
9623 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
9625         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
9626         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
9627         `ruby-parse-partial' (Bug#16078).
9629 2013-12-09  Leo Liu  <sdl.web@gmail.com>
9631         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
9633 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
9635         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
9636         (js-switch-indent-offset): New option.
9637         (js--proper-indentation): Use it.  And handle the case when
9638         "default" is actually a key in an object literal.
9639         (js--same-line): New function.
9640         (js--multi-line-declaration-indentation): Use it.
9641         (js--indent-in-array-comp, js--array-comp-indentation):
9642         New functions.
9643         (js--proper-indentation): Use them, to handle array comprehension
9644         continuations.
9646 2013-12-08  Leo Liu  <sdl.web@gmail.com>
9648         * progmodes/flymake.el (flymake-highlight-line): Re-write.
9649         (flymake-make-overlay): Remove arg MOUSE-FACE.
9650         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
9652 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9654         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
9655         New function.
9656         (redisplay-highlight-region-function): Use it.
9658         * emulation/cua-base.el (cua--explicit-region-start)
9659         (cua--last-region-shifted): Remove.
9660         (cua--deactivate): Use deactivate-mark.
9661         (cua--pre-command-handler-1): Don't handle shift-selection.
9662         (cua--post-command-handler-1): Don't change transient-mark-mode.
9663         (cua--select-keymaps): Use region-active-p rather than
9664         cua--explicit-region-start or cua--last-region-shifted.
9665         (cua-mode): Enable shift-select-mode.
9667 2013-12-08  Leo Liu  <sdl.web@gmail.com>
9669         * progmodes/flymake.el (flymake-popup-current-error-menu):
9670         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
9671         (flymake-posn-at-point-as-event, flymake-popup-menu)
9672         (flymake-make-emacs-menu): Remove.  (Bug#16077)
9674 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9676         * rect.el (rectangle-mark-mode): Activate mark even if
9677         transient-mark-mode is off (bug#16066).
9678         (rectangle--highlight-for-redisplay): Fix boundary condition when point
9679         is > mark and at bolp.
9681         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
9682         (region-extract-function): Use it.
9683         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
9684         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
9685         Delete functions.
9686         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
9687         kill-ring-save, kill-region, delete-char, delete-forward-char.
9688         Ignore self-insert-iso.
9690         * emulation/cua-gmrk.el (cua--init-global-mark):
9691         Ignore `self-insert-iso'.
9693         * emulation/cua-base.el (cua--prefix-copy-handler)
9694         (cua--prefix-cut-handler): Rely on region-extract-function rather than
9695         checking cua--rectangle.
9696         (cua-delete-region): Use region-extract-function.
9697         (cua-replace-region): Delete function.
9698         (cua-copy-region, cua-cut-region): Obey region-extract-function.
9699         (cua--pre-command-handler-1): Don't do the delete-selection thing.
9700         (cua--self-insert-char-p): Ignore `self-insert-iso'.
9701         (cua--init-keymaps): Don't remap delete-selection commands.
9702         (cua-mode): Use delete-selection-mode instead of rolling our own
9703         (bug#16085).
9705         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
9706         Obey region-extract-function.
9708         Make registers and delete-selection-mode work on rectangles.
9709         * register.el (describe-register-1): Don't modify the register's value.
9710         (copy-to-register): Obey region-extract-function.
9711         * delsel.el (delete-active-region): Obey region-extract-function.
9713 2013-12-08  Leo Liu  <sdl.web@gmail.com>
9715         * progmodes/flymake.el (flymake, flymake-error-bitmap)
9716         (flymake-warning-bitmap, flymake-fringe-indicator-position)
9717         (flymake-compilation-prevents-syntax-check)
9718         (flymake-start-syntax-check-on-newline)
9719         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
9720         (flymake-start-syntax-check-on-find-file, flymake-log-level)
9721         (flymake-xml-program, flymake-master-file-dirs)
9722         (flymake-master-file-count-limit)
9723         (flymake-allowed-file-name-masks): Relocate.
9724         (flymake-makehash, flymake-float-time)
9725         (flymake-replace-regexp-in-string, flymake-split-string)
9726         (flymake-get-temp-dir): Remove.
9727         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
9728         (flymake-current-row, flymake-selected-frame)
9729         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
9730         related functions.  (Bug#16077)
9732 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
9734         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
9736 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
9738         * help-fns.el (describe-function-1): Use new advice-* functions
9739         rather than old ad-* functions.  Fix function type description and
9740         source links for advised functions and subrs.
9742 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9744         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
9746 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
9748         * progmodes/compile.el (compilation-start):
9749         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
9751         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9752         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
9754 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
9756         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9757         Touch up the last change.
9759 2013-12-06  Leo Liu  <sdl.web@gmail.com>
9761         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
9762         (inferior-octave-startup): Always use "octave> " for prompt.
9763         (octave-goto-function-definition)
9764         (octave-sync-function-file-names)
9765         (octave-find-definition-default-filename): Remove redundant backquotes.
9767 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
9769         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
9770         syntax for `?'.
9771         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
9772         where appropriate already.
9773         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
9774         end of method names (Bug#15874).
9776 2013-12-06  Juri Linkov  <juri@jurta.org>
9778         * isearch.el (isearch--saved-overriding-local-map):
9779         New internal variable.
9780         (isearch-mode): Set it to the initial value of
9781         `overriding-terminal-local-map'.
9782         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
9783         with `isearch--saved-overriding-local-map'.  (Bug#16035)
9785 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
9787         * progmodes/octave.el (inferior-octave-completion-table):
9788         Turn back into function, use `completion-table-with-cache'
9789         (Bug#11906).  Update all references.
9791         * minibuffer.el (completion-table-with-cache): New function.
9793 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
9795         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
9797 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
9799         * net/eww.el (eww-current-source): New variable to store page
9800         source.
9801         (eww-display-html, eww-mode, eww-save-history)
9802         (eww-restore-history): Use it.
9803         (eww-view-source): New command to view page source.
9804         Opportunistically uses `html-mode' to highlight the buffer.
9805         (eww-mode-map): Install it.
9807 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
9809         * net/dbus.el (dbus-unregister-service)
9810         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
9811         Fix docstring.
9812         (dbus-unregister-service): Skip :serial entries in
9813         `dbus-registered-objects-table'.
9814         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
9816 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
9818         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
9819         around keywords with extra `split-string' argument.
9821 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
9823         * windmove.el (windmove-other-window-loc): Handle navigation
9824         between windows (excluding the minibuffer window - Bug#16017).
9826 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
9828         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
9829         in D-Bus type syntax.
9830         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
9831         preserve unibyte strings.  (Bug#16048)
9833 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9835         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
9836         Call force-mode-line-update is the proper buffer (bug#16042).
9838 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
9840         * vc/log-edit.el (log-edit-add-new-comment): Rename to
9841         `log-edit-remember-comment', make argument optional.  Adjust all
9842         callers.
9843         (log-edit-mode): Add `log-edit-remember-comment' to
9844         `kill-buffer-hook' locally.
9845         (log-edit-kill-buffer): Don't remember comment explicitly since
9846         the buffer is killed anyway.
9848 2013-12-04  Juri Linkov  <juri@jurta.org>
9850         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
9851         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
9853 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
9855         * notifications.el (notifications-close-notification): Call the
9856         D-Bus method with ID being a `:uint32'.  (Bug#16030)
9858 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
9860         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
9862 2013-12-03  Juri Linkov  <juri@jurta.org>
9864         * progmodes/compile.el (compilation-start): Rename window alist
9865         entry `no-display-ok' to `allow-no-window'.
9867         * simple.el (shell-command): Add window alist entry
9868         `allow-no-window' to `display-buffer'.
9869         (async-shell-command): Doc fix.
9871         * window.el (display-buffer-no-window): New action function.
9872         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
9874 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
9876         * vc/log-edit.el (log-edit-set-header): Extract from
9877         `log-edit-toggle-header'.
9878         (log-edit-extract-headers): Separate the summary, when extracted
9879         from header, from the rest of the message with an empty line.
9881         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
9882         line, if present, to the Summary header.
9884 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9886         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
9887         in current-buffer (bug#16029).
9889 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
9891         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
9892         (debugger-mode-map): Bind it.
9893         (debugger--backtrace-base): New function.
9894         (debugger-eval-expression): Use it.
9895         (debugger-frame-number): Skip local vars when present.
9896         (debugger--locals-visible-p, debugger--insert-locals)
9897         (debugger--show-locals, debugger--hide-locals): New functions.
9899 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
9901         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
9902         "LC_ALL".
9903         (tramp-get-remote-locale): New defun.
9904         (tramp-open-connection-setup-interactive-shell): Use it.
9906 2013-12-02  Leo Liu  <sdl.web@gmail.com>
9908         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
9910         * progmodes/sh-script.el (sh-shell-process):
9911         * progmodes/octave.el (inferior-octave-process-live-p):
9912         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
9913         (gdb-inferior-io-sentinel):
9914         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
9916 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
9918         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
9919         `save-selected-window' to `log-edit-hide-buf'.  This makes
9920         `log-edit-show-files' idempotent.
9921         (log-edit-show-files): Mark the new window as dedicated.
9923 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
9925         * vc/log-edit.el (log-edit-mode-map): Add binding for
9926         `log-edit-kill-biffer'.
9927         (log-edit-hide-buf): Add a FIXME comment.
9928         (log-edit-add-new-comment): New function, extracted from
9929         `log-edit-done'.
9930         (log-edit-done, log-edit-add-to-changelog): Use it.
9931         (log-edit-kill-buffer): New command.
9933 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9935         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
9936         instead of killing the buffer.
9938 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9940         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
9942 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9944         * net/eww.el (eww-form-checkbox-selected-symbol)
9945         (eww-form-checkbox-symbol): New customizable variable.
9946         (eww-form-checkbox, eww-toggle-checkbox):
9947         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
9949         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
9950         (shr--get-media-pref, shr--extract-best-source): New function.
9951         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
9952         no :src tag was specified.
9954         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
9955         (eww-render): Handle `eww-use-external-browser-for-content-type'.
9956         Use \\` to match beginning of string instead of ^.
9957         (eww-browse-with-external-browser): Provide optional URL parameter.
9958         (eww-render): Set `eww-current-title' back to "".
9960         * net/shr.el (shr-tag-video): Display content for video if no
9961         poster is available.
9962         (shr-tag-audio): Add support for <audio> tag.
9964         * net/eww.el (eww-text-input-types): New const.
9965         (eww-process-text-input): Treat input types in
9966         `eww-text-input-types' as text.
9968         * net/shr.el (shr-tag-table): Fix comment typo.
9970 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9972         * net/eww.el (eww-follow-link): New command to avoid reloading
9973         pages when we follow #target links (bug#15243).
9974         (eww-quit): Special mode buffers shouldn't query before exiting.
9976 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
9978         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
9979         forms.
9981 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9983         * net/eww.el (eww-restore-history): Update the window title after
9984         moving in the history.
9985         (eww-current-dom): New variable used to save the current DOM.
9987 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
9989         * vc/log-edit.el (log-edit-mode-map): Add binding for
9990         `log-edit-beginning-of-line'.
9991         (log-edit-setup-add-author): New user option.
9992         (log-edit-beginning-of-line): New command.
9993         (log-edit): Move major mode call above the contents setup so that
9994         the local variable values are already applied.
9995         (log-edit): Only insert "Author: " when
9996         `log-edit-setup-add-author' is non-nil.
9997         (log-edit): When SETUP is non-nil, position point after ": "
9998         instead of point-min.
10000 2013-12-01  Glenn Morris  <rgm@gnu.org>
10002         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
10004 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
10006         * startup.el (fancy-splash-frame): On MS-Windows, trigger
10007         redisplay to make sure the initial frame gets a chance to become
10008         visible.  (Bug#16014)
10010 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
10012         Support resizing frames and windows pixelwise.
10013         * cus-start.el (frame-resize-pixelwise)
10014         (window-resize-pixelwise): New entries.
10015         * emacs-lisp/debug.el (debug): Use window-total-height instead
10016         of window-total-size.
10017         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
10018         * help.el (describe-bindings-internal): Use help-buffer as
10019         argument for with-help-window.
10020         (temp-buffer-max-width): New option.
10021         (resize-temp-buffer-window, help-window-setup)
10022         (with-help-window): Rewrite.
10023         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
10024         dragging dividers.
10025         * window.el (frame-char-size, window-min-pixel-height)
10026         (window-safe-min-pixel-height, window-safe-min-pixel-width)
10027         (window-min-pixel-width, window-safe-min-pixel-size)
10028         (window-combination-p, window-safe-min-size)
10029         (window-resizable-p, window--size-to-pixel)
10030         (window--pixel-to-size, window--resize-apply-p): New functions.
10031         (window-safe-min-height): Fix doc-string.
10032         (window-size, window-min-size, window--min-size-1)
10033         (window-sizable, window-sizable-p, window--min-delta-1)
10034         (window-min-delta, window--max-delta-1, window-max-delta)
10035         (window--resizable, window--resizable-p, window-resizable)
10036         (window-full-height-p, window-full-width-p, window-at-side-p)
10037         (window--in-direction-2, window-in-direction)
10038         (window--resize-reset-1, window--resize-mini-window)
10039         (window-resize, window-resize-no-error)
10040         (window--resize-child-windows-normal)
10041         (window--resize-child-windows, window--resize-siblings)
10042         (window--resize-this-window, window--resize-root-window)
10043         (window--resize-root-window-vertically)
10044         (adjust-window-trailing-edge, enlarge-window, shrink-window)
10045         (maximize-window, minimize-window, delete-window)
10046         (quit-restore-window, window-split-min-size, split-window)
10047         (balance-windows-2, balance-windows)
10048         (balance-windows-area-adjust, balance-windows-area)
10049         (window--state-get-1, window-state-get, window--state-put-1)
10050         (window--state-put-2, window-state-put)
10051         (display-buffer-record-window, window--display-buffer):
10052         Make functions handle pixelwise sizing of windows.
10053         (display-buffer--action-function-custom-type)
10054         (display-buffer-fallback-action):
10055         Add display-buffer-in-previous-window.
10056         (display-buffer-use-some-window): Resize window to height it had
10057         before.
10058         (fit-window-to-buffer-horizontally): New option.
10059         (fit-frame-to-buffer): Describe new values.
10060         (fit-frame-to-buffer-bottom-margin): Replace with
10061         fit-frame-to-buffer-margins.
10062         (window--sanitize-margin): New function.
10063         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
10064         using window-text-pixel-size.
10066 2013-11-30  Glenn Morris  <rgm@gnu.org>
10068         * emacs-lisp/bytecomp.el (byte-compile-form):
10069         Make the `interactive-only' warning like the `obsolete' one.
10070         * comint.el (comint-run):
10071         * files.el (insert-file-literally, insert-file):
10072         * replace.el (replace-string, replace-regexp):
10073         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
10074         (goto-line, insert-buffer, next-line, previous-line):
10075         Tweak `interactive-only' spec.
10077         Stop keeping (most) generated cedet grammar files in the repository.
10078         * Makefile.in (semantic): New.
10079         (compile-main): Depend on semantic.
10081 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10083         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
10084         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
10086         * uniquify.el (uniquify-buffer-name-style): Change default.
10088         * loadup.el: Preload "uniquify".
10090         * time.el (display-time-update): Update all mode lines (bug#15999).
10092         * electric.el (electric-indent-mode): Enable by default.
10093         * loadup.el: Preload "electric".
10095 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
10097         * emacs-lisp/helpers.el (string-empty-p): New function.
10098         (string-blank-p): New function.
10100 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
10102         * imenu.el (imenu--index-alist): Add missing dot to the docstring
10103         (Bug#14029).
10105 2013-11-29  Andreas Politz  <politza@fh-trier.de>
10106         * imenu.el (imenu--subalist-p): Don't error on non-conses and
10107         allow non-lambda lists as functions.
10108         (imenu--in-alist): Don't recurse into non-subalists.
10109         (imenu): Don't pass function itself as an argument (Bug#14029).
10111 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10113         * progmodes/python.el (python-mode-map): Remove binding for ":".
10114         (python-indent-electric-colon): Remove command.
10115         (python-indent-post-self-insert-function): Integrate the previous code
10116         of python-indent-electric-colon.  Make it conditional on
10117         electric-indent-mode.
10118         (python-mode): Add ?: to electric-indent-chars.
10119         Move python-indent-post-self-insert-function to the end of
10120         post-self-insert-hook.
10122 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10124         * doc-view.el (doc-view-goto-page): Update mode-line.
10126         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
10128 2013-11-27  Glenn Morris  <rgm@gnu.org>
10130         * international/charprop.el, international/uni-bidi.el:
10131         * international/uni-category.el, international/uni-combining.el:
10132         * international/uni-comment.el, international/uni-decimal.el:
10133         * international/uni-decomposition.el, international/uni-digit.el:
10134         * international/uni-lowercase.el, international/uni-mirrored.el:
10135         * international/uni-name.el, international/uni-numeric.el:
10136         * international/uni-old-name.el, international/uni-titlecase.el:
10137         * international/uni-uppercase.el:
10138         Remove generated files from VCS repository.
10140 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
10142         * filenotify.el (file-notify-add-watch): Don't special-case
10143         w32notify when computing the directory to watch.
10145 2013-11-27  Glenn Morris  <rgm@gnu.org>
10147         Make bootstrap without generated uni-*.el files possible again.
10148         * loadup.el: Update command-line-args checking for unidata-gen.
10149         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
10150         * composite.el, international/characters.el:
10151         Handle unicode tables being undefined.
10153         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
10154         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
10155         (compile-main): Depend on leim rule.
10156         (leim): New rule.
10157         * loadup.el: Move leim-list.el to leim/ subdirectory.
10158         * startup.el (normal-top-level): No more leim directory.
10159         * international/ja-dic-cnv.el (skkdic-convert):
10160         Disable version-control and autoloads in output files.
10161         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
10162         Disable version-control and autoloads in output files.
10163         * leim/quail: Move here from ../leim.
10164         * leim/quail/hangul.el (hangul-input-method-activate):
10165         Add autoload cookie.
10166         (generated-autoload-load-name): Set file-local value.
10167         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
10168         (generated-autoload-load-name): Set file-local value.
10170 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
10172         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
10173         (eww-add-bookmark): Ask confirmation when add to bookmarks.
10174         (eww-quit): Ask confirmation before quitting eww.
10176 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
10178         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
10179         reading output from Diff on MS-Windows and MS-DOS.
10181 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
10183         * emacs-lisp/helpers.el (string-reverse): New function.
10185 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
10187         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
10188         names on MS Windows, like "/[::1]:".
10190         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
10191         SWITCHES.
10193 2013-11-26  Glenn Morris  <rgm@gnu.org>
10195         * progmodes/python.el (python-indent-guess-indent-offset):
10196         Avoid corner-case error.  (Bug#15975)
10198         Preload leim-list.el.  (Bug#4789)
10199         * loadup.el: Load leim-list.el when found.
10200         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
10202 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
10204         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
10206         * emacs-lisp/helpers.el (string-join): New function.
10208 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
10210         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10211         Mark as obsolete and replace it with a symbol property.
10212         (byte-compile-form): Use new 'interactive-only property.
10213         * comint.el, files.el, replace.el, simple.el:
10214         Apply new 'interactive-only properly.
10216 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
10218         * window.el (display-buffer-at-bottom): Make sure that
10219         split-window-sensibly creates the new window on bottom
10220         (Bug#15961).
10222 2013-11-23  David Kastrup  <dak@gnu.org>
10224         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
10225         on the conflict markers when available.
10226         (smerge--get-marker): New function.
10227         (smerge-end-re, smerge-base-re): Add subgroup.
10229 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10231         * frame.el (handle-focus-in, handle-focus-out): Add missing
10232         interactive spec.
10234 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
10236         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
10237         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
10239 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10241         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
10242         (gomoku--last-pos): New var.
10243         (gomoku--intangible-chars): New const.
10244         (gomoku--intangible): New function.
10245         (gomoku-mode): Use it.  Derive from special-mode.
10246         (gomoku-move-up): Adjust line count.
10247         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
10248         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
10249         Simplify accordingly.
10251         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
10252         Remove blink-cursor code.
10253         (blink-cursor-timer-function, blink-cursor-suspend):
10254         Don't special-case GUIs.
10255         (blink-cursor-mode): Use focus-in/out-hook.
10257 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
10259         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
10260         work when annotation is invisible (Bug#13886).
10262 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
10264         * json.el (json-alist-p): Only return non-nil if the alist has
10265         simple keys (Bug#13518).
10267 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
10269         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
10270         when control-statement is the first statement in a buffer (Bug#15956).
10272 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
10274         * imenu.el (imenu-generic-skip-comments-and-strings):
10275         New option (Bug#15560).
10276         (imenu--generic-function): Use it.
10278 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
10280         * minibuffer.el (completion--in-region-1): Scroll the correct window.
10281         (Bug#13898)
10283 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
10285         * emacs-lisp/helpers.el: Add some string helpers.
10286         (string-trim-left): Removes leading whitespace.
10287         (string-trim-right): Removes trailing whitespace.
10288         (string-trim): Removes leading and trailing whitespace.
10290         * subr.el (string-suffix-p): New function.
10292 2013-11-23  Glenn Morris  <rgm@gnu.org>
10294         * progmodes/python.el (python-shell-send-file):
10295         Add option to delete file when done.  (Bug#15647)
10296         (python-shell-send-string, python-shell-send-region): Use it.
10298 2013-11-23  Ivan Shmakov  <ivan@siamics.net>
10300         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
10301         to set buffer-read-only to t, never to nil.  (Bug#15938)
10303         * textmodes/tex-mode.el (latex-noindent-environments):
10304         Add safe-local-variable property.  (Bug#15936)
10306 2013-11-23  Glenn Morris  <rgm@gnu.org>
10308         * textmodes/enriched.el (enriched-mode): Doc fix.
10309         * emacs-lisp/authors.el (authors-renamed-files-alist):
10310         Add enriched.doc -> enriched.txt.
10312         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
10314 2013-11-22  Leo Liu  <sdl.web@gmail.com>
10316         * progmodes/octave.el (inferior-octave-startup): Spit out error
10317         message.
10319 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
10321         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
10322         Improve docstring.
10323         Add :version.
10324         (ruby-encoding-magic-comment-style): Add :version.
10326 2013-11-22  Leo Liu  <sdl.web@gmail.com>
10328         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
10329         (Bug#15076)
10330         (octave-help-mode): Adapt to change to help-mode-finish to use
10331         derived-mode-p on 2013-09-17.
10332         (inferior-octave-prompt): Also match octave-gui.
10333         (octave-kill-process): Don't ask twice.  (Bug#10564)
10335 2013-11-22  Leo Liu  <sdl.web@gmail.com>
10337         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
10338         (inferior-octave-startup, inferior-octave-check-process)
10339         (inferior-octave-track-window-width-change)
10340         (octave-completion-at-point, octave-eldoc-function): Use it.
10341         (octave-kill-process): Provide confirmation.  (Bug#10564)
10343 2013-11-21  Leo Liu  <sdl.web@gmail.com>
10345         * progmodes/octave.el (octave-mode, inferior-octave-mode):
10346         Fix obsolete variable comment-use-global-state.
10348 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10350         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
10351         Add `octave-source-file'.
10352         (octave-source-file): New function.  (Bug#15935)
10354 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
10356         * net/eww.el (eww-local-regex): New variable.
10357         (eww): Use it to detect localhost and similar.
10359 2013-11-21  Leo Liu  <sdl.web@gmail.com>
10361         Add completion for command `ag'.
10362         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
10363         (pcomplete/ag): New function.
10364         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
10366 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10368         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
10369         (bug#14646).
10370         (make-obsolete): Remove interactive spec.
10372 2013-11-21  Glenn Morris  <rgm@gnu.org>
10374         * startup.el (command-line-1): Use path-separator with -L.
10376 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
10378         * emacs-lisp/package.el (describe-package-1): Add package archive
10379         to shown fields.
10381 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
10383         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
10384         Change default to "# encoding: %s" to differentiate it from the
10385         default Ruby encoding comment template.
10387 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
10389         * ses.el (ses-mode): Doc fix.  (Bug#14748)
10391 2013-11-20  Leo Liu  <sdl.web@gmail.com>
10393         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
10395 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
10397         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
10398         when rebase or bisect are in progress.
10400 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
10402         * filenotify.el (file-notify-add-watch): Doc fix.
10404 2013-11-19  Leo Liu  <sdl.web@gmail.com>
10406         * obsolete/rcompile.el: Mark obsolete.
10408         * progmodes/compile.el (compilation-start)
10409         (compilation-goto-locus, compilation-find-file):
10410         Pass no-display-ok and handle nil value from display-buffer.
10411         (Bug#13594)
10413         * window.el (display-buffer-alist, display-buffer): Document the
10414         new parameter no-display-ok.  Return either a window or nil
10415         but never a non-window value.
10417 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10419         * electric.el (electric-indent-mode-map): Remove.
10420         (electric-indent-mode): Change the global-map instead (bug#15915).
10422         * textmodes/text-mode.el (paragraph-indent-minor-mode):
10423         Use add-function.
10425 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10427         * emacs-lisp/nadvice.el (remove-function): Align with
10428         add-function's behavior.
10430         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
10431         (gdb--string-regexp): New constant.
10432         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
10433         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
10434         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
10435         submatch 1.
10436         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
10437         Adjust use accordingly.
10438         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
10440 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
10442         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
10443         interpolation curlies (Bug#15914).
10445 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
10447         * calc/calc.el (calc-context-sensitive-enter): New variable.
10448         (calc-enter): Use `calc-context-sensitive-enter'.
10450 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
10452         * progmodes/cfengine.el: Version bump.
10453         (cfengine-cf-promises): New defcustom to locate cf-promises.
10454         (cfengine3-vartypes): Add new "data" type.
10455         (cfengine3--current-word): New function to get current name-like
10456         word or its bounds.
10457         (cfengine3--current-function): New function to look up a CFEngine
10458         function's definition.
10459         (cfengine3-format-function-docstring): New function.
10460         (cfengine3-make-syntax-cache): New function.
10461         (cfengine3-documentation-function): New function: ElDoc glue.
10462         (cfengine3-completion-function): New function: completion glue.
10463         (cfengine3-mode): Set `compile-command',
10464         `eldoc-documentation-function', and add to
10465         `completion-at-point-functions'.
10467 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
10469         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
10470         `tramp-current-connection'.
10472 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
10474         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
10475         nil/self/true/false with "end of symbol".
10477 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
10479         * subr.el (version-regexp-alist): Fix a typo.
10481 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
10483         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
10484         "en_US.utf8" and "LC_CTYPE" to "".
10485         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
10486         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
10488 2013-11-15  Leo Liu  <sdl.web@gmail.com>
10490         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
10492 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10494         * progmodes/gud.el (ctl-x-map):
10495         Remove C-x SPC binding.  (Bug#12342)
10496         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
10498 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
10500         * subr.el (version-regexp-alist):
10501         Recognize hg, svn and darcs versions as snapshot versions.
10503         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
10504         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
10505         (ruby--encoding-comment-required-p): Extract from
10506         `ruby-mode-set-encoding'.
10507         (ruby-mode-set-encoding): Add the ability to always insert an
10508         utf-8 encoding comment.  Fix and simplify coding comment update
10509         logic.
10511 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
10513         * net/tramp-gvfs.el (top): Run init code only when
10514         `tramp-gvfs-enabled' is not nil.
10515         (tramp-gvfs-enabled): Check also :system bus.
10517 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10519         Sync with upstream verilog-mode revision 78e66ba.
10520         * progmodes/verilog-mode.el (verilog-end-of-defun)
10521         (verilog-type-completion, verilog-get-list): Remove unused funcs.
10522         (verilog-get-end-of-defun): Remove unused argument.
10523         (verilog-comment-depth): Remove unused local `e'.
10524         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
10525         Don't pass arg to verilog-get-end-of-defun.
10527 2013-11-14  Glenn Morris  <rgm@gnu.org>
10529         * obsolete/assoc.el (aget): Prefix dynamic variable.
10531         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
10533 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10535         * widget.el, hfy-cmap.el: Remove bogus package version number.
10537 2013-11-13  Glenn Morris  <rgm@gnu.org>
10539         * replace.el (replace-eval-replacement):
10540         Try to give more helpful error message.  (Bug#15836)
10542         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10543         (archive-7z-update): Avoid custom type mismatches.
10545         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
10547 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
10549         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
10550         address can be empty.
10552         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
10553         Accept nil SWITCHES.
10554         (tramp-gvfs-handle-write-region): Implement APPEND.
10556 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
10558         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
10559         binary "|" operator and closing block args delimiter.
10560         Remove FIXME comment referring to Ruby 1.8-only syntax.
10561         (ruby-smie--implicit-semi-p): Not after "|" operator.
10562         (ruby-smie--closing-pipe-p): New function.
10563         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
10564         (ruby-smie-rules): Indent after "|".
10566 2013-11-12  Glenn Morris  <rgm@gnu.org>
10568         * ps-print.el (ps-face-attribute-list):
10569         Handle anonymous faces.  (Bug#15827)
10571 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
10573         * window.el (display-buffer-other-frame): Fix doc-string.
10574         (Bug#15868)
10576 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10578         * subr.el (force-mode-line-update): Delete, move to buffer.c.
10580 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
10582         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
10583         (tramp-sh-handle-file-local-copy): Don't write a message when
10584         saving temporary files.
10586         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
10587         both directories are remote.
10588         (tramp-smb-handle-directory-files): Do not return double entries.
10589         Do not expand full file names.
10590         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
10591         (tramp-smb-handle-write-region): Implement APPEND.
10592         (tramp-smb-get-stat-capability): Fix a stupid bug.
10594 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10596         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
10598 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
10600         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
10601         throwing error over malformed let/let* (bug#15814).
10603 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10605         * iswitchb.el (iswitchb-mode): Mark obsolete.
10607 2013-11-11  Glenn Morris  <rgm@gnu.org>
10609         * international/uni-bidi.el, international/uni-category.el:
10610         * international/uni-name.el, international/uni-numeric.el:
10611         Regenerate for Unicode 6.3.0.
10613 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
10615         * net/tramp.el (tramp-methods):
10616         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
10617         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
10619 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
10621         * progmodes/sh-script.el (sh-font-lock-keywords-var):
10622         Force highlighting text after Summary keyword in doc face for rpm.
10624 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
10626         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
10627         available and the word has no wildcards, append one to the grep pattern.
10628         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
10629         (ispell-complete-word): Call `ispell-lookup-words' with the value
10630         independent of `ispell-look-p'.
10632 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
10634         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
10635         Not after "||".
10636         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
10637         their parent.
10639 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10641         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
10642         (ruby-font-lock-keywords): Use backquote.
10644 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
10646         * progmodes/ruby-mode.el (ruby-smie--forward-token)
10647         (ruby-smie--backward-token): Only consider full-string matches.
10649 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
10651         * faces.el (describe-face): Add distant-foreground.
10653 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
10655         * progmodes/ruby-mode.el: Improve encoding comment handling.
10656         (ruby-encoding-magic-comment-style): New option.
10657         (ruby-custom-encoding-magic-comment-template): New option.
10658         (ruby--insert-coding-comment, ruby--detect-encoding):
10659         New functions extracted from `ruby-mode-set-encoding'.
10660         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
10661         to control the style of the auto-inserted encoding comment.
10663 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
10665         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
10666         Use `smie-backward-sexp' with token argument.
10668 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
10670         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
10671         Remove instrumentation code.
10673 2013-11-08  Glenn Morris  <rgm@gnu.org>
10675         * progmodes/autoconf.el (autoconf-mode):
10676         Tweak comment-start-skip.  (Bug#15822)
10678 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10680         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
10681         at bobp (bug#15826).
10682         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
10684 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
10686         * man.el (Man-start-calling): New macro, extracted from
10687         Man-getpage-in-background.
10688         (Man-getpage-in-background): Use it.
10689         (Man-update-manpage): New command.
10690         (Man-mode-map): Bind it.
10692 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
10694         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
10695         of "and", "or", "&&" and "||".
10696         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
10697         argument.  Prohibit opening curly brace because it could only be a
10698         block opener in that position.
10699         (ruby-smie--forward-token, ruby-smie--backward-token):
10700         Separate "|" from "&" or "*" going after it.  That can happen in block
10701         arguments.
10702         (ruby-smie--indent-to-stmt): New function, seeks the end of
10703         previous statement or beginning of buffer.
10704         (ruby-smie-rules): Use it.
10705         (ruby-smie-rules): Check if there's a ":" before a curly block
10706         opener candidate; if there is, it's a hash.
10708 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10710         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
10711         (cl--block-wrapper): Fix last accidental change.
10713 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
10715         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
10716         Instrument, in order to hunt failure on hydra.
10718 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
10720         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
10721         malformed bindings form (bug#15814).
10723 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
10725         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
10726         "." compared to " @ ".  This incidentally fixes some indentation
10727         examples with "do".
10728         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
10729         (ruby-smie-grammar): New tokens: "and" and "or".
10730         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
10731         Exclude "and" and "or".  Remove "do" in order to work around token
10732         priorities.
10733         (ruby-smie-rules): Add all infix tokens.  Handle the case of
10734         beginning-of-buffer.
10736 2013-11-06  Glenn Morris  <rgm@gnu.org>
10738         * Makefile.in (setwins_almost, setwins_for_subdirs):
10739         Avoid accidental matches.
10741 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10743         * menu-bar.el (popup-menu): Use key-binding.
10745 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
10747         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
10748         menus, support also the menus produced by minor modes.
10749         (Bug#15817)
10751 2013-11-06  Leo Liu  <sdl.web@gmail.com>
10753         * thingatpt.el (thing-at-point-looking-at): Add optional arg
10754         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
10756 2013-11-06  Glenn Morris  <rgm@gnu.org>
10758         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
10759         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
10760         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
10762 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10764         * electric.el (electric-indent-just-newline): New command.
10765         (electric-indent-mode-map): New keymap.
10766         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
10767         Re-add :group which weren't redundant.
10769         * electric.el (electric-indent-local-mode): New minor mode.
10770         (electric-indent-functions-without-reindent): New var.
10771         (electric-indent-post-self-insert-function): Use it.
10772         * emacs-lisp/gv.el (buffer-local-value): Add setter.
10774 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
10776         * international/quail.el (quail-help): Be more explicit about the
10777         meaning of the labels shown on the keys.  (Bug#15800)
10779         * startup.el (normal-top-level): Load the subdirs.el files before
10780         setting the locale environment.  (Bug#15805)
10782 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10784         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
10785         via arguments so as to get the right ones (bug#15418).
10787         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
10789 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
10791         Fix problems found while writing a test suite.
10793         * net/tramp-compat.el (tramp-compat-load): New defun.
10794         * net/tramp.el (tramp-handle-load): Use it.
10796         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
10797         "(numberp ok-if-already-exists)" correctly.
10799 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
10801         * international/characters.el (glyphless-char-display-control):
10802         Add usage note.
10804 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
10806         * progmodes/python.el (python-mode):
10807         * progmodes/scheme.el (scheme-mode):
10808         * progmodes/prolog.el (prolog-mode):
10809         * progmodes/ruby-mode.el (ruby-mode):
10810         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
10811         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
10813 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10815         * rect.el (rectangle--highlight-for-redisplay):
10816         * emacs-lisp/smie.el (smie--next-indent-change):
10817         Use buffer-chars-modified-tick.
10819         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
10821         * electric.el (electric-indent-post-self-insert-function):
10822         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
10824 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
10826         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
10828 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
10830         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
10831         (bug#15786).
10833 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10835         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
10837         * progmodes/python.el: Fix up last change.
10838         (python-shell--save-temp-file): New function.
10839         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
10840         `string' comes from the current buffer.
10841         (python-shell-send-string-no-output): Remove `msg' arg.
10842         (python--use-fake-loc): New var.
10843         (python-shell-buffer-substring): Obey it.  Try to compensate for the
10844         extra coding line added by python-shell--save-temp-file.
10845         (python-shell-send-region): Use python-shell--save-temp-file and
10846         python-shell-send-file directly.  Add `nomain' argument.
10847         (python-shell-send-buffer): Use python-shell-send-region.
10848         (python-electric-pair-string-delimiter): New function.
10849         (python-mode): Use it.
10851 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
10853         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
10854         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
10855         environment and decoding all of the default-directory's to here
10856         from command-line.
10857         (command-line): Decode also argv[0].
10859         * loadup.el: Error out if default-directory is a multibyte string
10860         when we are dumping.
10862         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
10864 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
10866         * emacs-lisp/package.el (package-menu-mode)
10867         (package-menu--print-info, package-menu--archive-predicate):
10868         Add Archive column to package list.
10870 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
10872         Fix problems found while writing a test suite.
10874         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
10875         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
10876         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
10877         to nil when running original file name handler.  Otherwise,
10878         there are problems with constructs like "$$FOO".
10880         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
10881         for `localname'.
10883 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
10885         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
10887         * subr.el (version<, version<=, version=):
10888         Update docstrings with information for snapshot versions.
10890         * helpers.el: New library for misc helper functions.
10891         (hash-table-keys): New function returning a list of hash keys.
10892         (hash-table-values): New function returning a list of hash values.
10894 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
10896         * progmodes/ruby-mode.el (ruby-smie--forward-token)
10897         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
10899 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
10901         * textmodes/fill.el (fill-single-char-nobreak-p): New function
10902         checking whether point is after a 1-letter word.
10904 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
10906         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
10907         Don't infloop when expanding region over `multiline' syntax-type that
10908         begins a line (bug#15778).
10910 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10912         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
10913         Make it into a proper minor mode.
10914         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
10915         (rectangle-mark-mode-map): New keymap.
10916         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
10918 2013-11-04  Glenn Morris  <rgm@gnu.org>
10920         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
10922 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10924         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
10925         (ruby-smie-rules): Use smie-rule-parent instead.
10927         * emacs-lisp/smie.el (smie-rule-parent): Always call
10928         smie-indent-virtual rather than only for hanging tokens.
10929         (smie--next-indent-change): New helper command.
10931 2013-11-03  Glenn Morris  <rgm@gnu.org>
10933         * Makefile.in (abs_srcdir): Remove.
10934         (emacs): Unset EMACSLOADPATH.
10936 2013-11-02  Glenn Morris  <rgm@gnu.org>
10938         * Makefile.in (EMACS): Use a relative filename.
10939         (abs_top_builddir): Remove.
10940         (custom-deps, finder-data, autoloads): Use --chdir.
10942         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
10944         Use relative filenames in TAGS files.
10945         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
10946         (lisptagsfiles4, TAGS): Use relative file names.
10947         (TAGS-LISP): Remove.
10948         (maintainer-clean): No more TAGS-LISP file.
10950         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
10951         (lisptagsfiles4): Use absolute filenames again.
10952         (TAGS, TAGS-LISP): Not everything needs to run in one line.
10953         Remove all *loaddefs files, not just the first.  Remove esh-groups.
10954         (maintainer-clean): Delete TAGS, TAGS-LISP.
10956 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
10958         * emacs-lisp/package.el (package-version-join):
10959         Recognize snapshot versions.
10961 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
10963         * subr.el (version-regexp-alist): Add support for snapshot versions.
10965 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
10967         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
10968         New function, replacement for `smie-rule-parent' for when we want to
10969         skip over our direct parent if it's an assignment token..
10970         (ruby-smie-rules): Use it.
10972 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
10974         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
10975         unconditionally.  Remove now unnecessary forward declarations.
10976         Remove XEmacs-specific setup.
10977         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
10978         (ruby-font-lock-syntactic-keywords)
10979         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
10980         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
10981         (ruby-here-doc-end-syntax): Remove.
10982         (ruby-mode): Don't check whether `syntax-propertize-rules' is
10983         defined as function.
10985 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
10987         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
10989 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
10991         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
10992         table and abbrev table, `define-derived-mode' does that for us
10993         anyway.
10995 2013-11-01  Glenn Morris  <rgm@gnu.org>
10997         * Makefile.in: Remove manual mh-e dependencies (writing .elc
10998         files is atomic for some time, so no parallel compilation issues).
11000 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
11002         * faces.el (face-x-resources): Add :distant-foreground.
11003         (region): Use :distant-foreground for gtk and ns.
11005 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
11007         Allow multiple bibliographies when BibLaTeX is used rather than
11008         BibTeX.
11009         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
11010         (reftex-locate-bibliography-files): Us it.
11012 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
11014         * image.el (image-type-header-regexps): Fix the 'pbm' part to
11015         allow comments in pbm files.
11017         * term/w32-win.el (dynamic-library-alist): Support newer versions
11018         of libjpeg starting with v7: look only for the DLL from the
11019         version against which Emacs was built.
11020         Support versions of libpng beyond 1.4.x.
11021         Support libtiff v4.x.
11023 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
11025         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
11026         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
11027         Add property :safe.
11028         (ruby-deep-arglist): Add property :type.
11030 2013-10-31  Glenn Morris  <rgm@gnu.org>
11032         * Makefile.in (custom-deps, finder-data): No need to setq the target
11033         variables, we are in the right directory and the defaults work fine.
11035 2013-10-30  Glenn Morris  <rgm@gnu.org>
11037         * Makefile.in (autoloads): Do not use abs_lisp.
11039         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11040         `newline' does not respect `standard-output', so use `princ'.
11042 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
11044         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
11045         * buff-menu.el (Buffer-menu--unmark): New function.
11046         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
11048 2013-10-30  Glenn Morris  <rgm@gnu.org>
11050         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
11052         * emacs-lisp/package.el (lm-homepage): Declare.
11054         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
11055         Fix doc typos.
11057         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
11059         * Makefile.in (finder-data, autoloads, update-subdirs)
11060         (compile-main, compile-clean, compile-always, bootstrap-clean):
11061         Check return value of cd.
11062         (compile-calc): Remove.
11064 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11066         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
11068         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
11069         (byte-compile-and-folded): New function.
11070         (=, <, >, <=, >=): Use it.
11072         * dos-w32.el (minibuffer-history-case-insensitive-variables)
11073         (path-separator, null-device, buffer-file-coding-system)
11074         (lpr-headers-switches): Check system-type before modifying them.
11075         (find-buffer-file-type-coding-system): Mark obsolete.
11076         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
11077         find-file-not-found-set-buffer-file-coding-system.
11078         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
11079         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
11080         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
11081         (w32-direct-print-region-helper, w32-direct-print-region-function)
11082         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
11083         * startup.el (normal-top-level-add-subdirs-to-load-path):
11084         * ps-print.el (ps-print-region-function):
11085         * lpr.el (print-region-function): Use new name.
11087         * subr.el (custom-declare-variable-early): Remove function.
11088         (custom-declare-variable-list): Remove var.
11089         (error, user-error): Remove `while' loop.
11090         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
11091         (user-emacs-directory-warning, locate-user-emacs-file):
11092         Move to files.el.
11093         * simple.el (read-quoted-char-radix, read-quoted-char):
11094         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
11095         Move from subr.el.
11096         * custom.el (custom-declare-variable-list): Don't process
11097         custom-declare-variable-list.
11099         * progmodes/python.el (python-shell-get-buffer): New function.
11100         (python-shell-get-process): Use it.
11101         (python-shell-send-string): Always use utf-8 and add a cookie to tell
11102         Python which encoding was used.  Don't split-string since we only care
11103         about the first line.  Return the temp-file, if applicable.
11104         (python-shell-send-region): Tell compile.el how to turn locations in
11105         the temp-file into locations in the source buffer.
11107 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11109         * subr.el (undefined): Add missing behavior from the C code for
11110         unbound keys.
11112         * rect.el: Use lexical-binding.  Add new rectangular region support.
11113         (rectangle-mark): New command.
11114         (rectangle--region): New var.
11115         (deactivate-mark-hook): Reset rectangle--region.
11116         (rectangle--extract-region, rectangle--insert-for-yank)
11117         (rectangle--highlight-for-redisplay)
11118         (rectangle--unhighlight-for-redisplay): New functions.
11119         (region-extract-function, redisplay-unhighlight-region-function)
11120         (redisplay-highlight-region-function): Use them to handle
11121         rectangular region.
11122         * simple.el (region-extract-function): New var.
11123         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
11124         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
11125         (kill-region): Replace obsolete `yank-handler' arg with `region'.
11126         (copy-region-as-kill, kill-ring-save): Add `region' argument.
11127         (redisplay-unhighlight-region-function)
11128         (redisplay-highlight-region-function): New vars.
11129         (redisplay--update-region-highlight): New function.
11130         (pre-redisplay-function): Use it.
11131         (exchange-point-and-mark): Don't deactivate the mark before
11132         reactivate-it anyway.
11133         * comint.el (comint-kill-region): Remove yank-handler argument.
11134         * delsel.el (delete-backward-char, backward-delete-char-untabify)
11135         (delete-char): Remove property, since it's now part of their
11136         default behavior.
11137         (self-insert-iso): Remove property since this command doesn't exist.
11139         * emacs-lisp/package.el (package--download-one-archive)
11140         (describe-package-1): Don't query the user about final newline.
11142 2013-10-29  Daniel Colascione  <dancol@dancol.org>
11144         * net/tramp.el (tramp-methods): Document new functionality.
11145         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
11146         tramp-hostname-checker if method provides one instead of scanning
11147         argument list for "%h" to decide hostname acceptability.
11149 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
11151         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11152         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11153         Handle COPY-CONTENTS.  (Bug#15737)
11155 2013-10-28  Daiki Ueno  <ueno@gnu.org>
11157         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
11158         Document that this option has no effect with GnuPG 2.0 (bug#15552).
11160 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
11162         * image.el (defimage, image-load-path): Doc fixes.
11164 2013-10-27  Alan Mackenzie  <acm@muc.de>
11166         Indent statements in macros following "##" correctly.
11167         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11168         Modify the "#" arm of a cond form to handle "#" and "##" operators.
11170 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
11172         * linum.el (linum-update-window): Fix boundary test (bug#13446).
11174 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
11176         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
11177         after `=' is probably a new expression.
11179 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11181         * man.el (man-imenu-title): New option.
11182         (Man-mode-map): Add menu.  (Bug#15722)
11183         (Man-mode): Add imenu to menu.
11185 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
11187         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
11188         specific in what the first arg can be: a non-keyword word,
11189         string/regexp/percent literal opener, opening paren, or unary
11190         operator followed directly by word.
11192 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11194         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
11195         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
11196         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
11197         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
11198         Remove vars, they do not apply any more.
11199         (prolog-mode-abbrev-table): Remove redundant declaration.
11200         (prolog-upper-case-string, prolog-lower-case-string): Remove.
11201         (prolog-use-smie): Remove.
11202         (prolog-smie-rules): Add indentation rule for the if-then-else layout
11203         supported by prolog-electric-if-then-else-flag.
11204         (prolog-mode-variables, prolog-menu): Use setq-local.
11205         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
11206         Remove binding to `Backspace' since this key doesn't exist anyway.
11207         Remove bindings for electric self-inserting keys.
11208         (prog-mode): Assume it's defined.
11209         (prolog-post-self-insert): New function.
11210         (prolog-mode): Use it.
11211         (prolog-indent-line, prolog-indent-level)
11212         (prolog-find-indent-of-matching-paren)
11213         (prolog-indentation-level-of-line, prolog-goto-comment-column)
11214         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
11215         (prolog-goto-next-paren, prolog-in-string-or-comment)
11216         (prolog-tokenize, prolog-inside-mline-comment)
11217         (prolog-find-start-of-mline-comment): Remove functions.
11218         (prolog-find-unmatched-paren, prolog-clause-end)
11219         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
11220         (prolog-electric--if-then-else): Rename from
11221         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
11222         (prolog-tokenize-searchkey): Remove const.
11223         (prolog-clause-info): Use forward-sexp.
11224         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
11225         (prolog-electric-if-then-else): Remove commands.
11226         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
11227         for use in post-self-insert-hook.
11228         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
11229         for use in post-self-insert-hook.
11230         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
11231         for use in post-self-insert-hook.
11232         (prolog-electric--underscore): Rename from prolog-electric--underscore;
11233         adapt it for use in post-self-insert-hook.
11235 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
11237         * emacs-lisp/ert.el (ert-run-tests-interactively):
11238         Use `completing-read'.  (Bug#9756)
11240 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
11242         * simple.el (line-move): Call line-move-1 instead of
11243         line-move-visual when the current window hscroll is zero, but
11244         temporary-goal-column indicates we will need to hscroll as result
11245         of the movement.  (Bug#15712)
11247 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
11249         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
11250         capitalization.  Use :visible instead of :active.
11251         Fix `ruby-indent-exp' reference.  Add menu items for the generic
11252         commands that are used with SMIE.
11253         (ruby-do-end-to-brace): Insert space after `{'.
11255 2013-10-25  John Anthony  <john@jo.hnanthony.com>
11257         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
11259         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
11261 2013-10-25  Glenn Morris  <rgm@gnu.org>
11263         * vc/vc.el (vc-print-log): Don't use a working revision unless
11264         one was explicitly specified.  (Bug#15322)
11266 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11268         * subr.el (add-to-list): Preserve return value in compiler-macro
11269         (bug#15692).
11271 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11273         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
11274         result.  Ask user to retry using '-all' flag.  (Bug#15701)
11276 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11278         * emacs-lisp/smie.el: New smie-config system.
11279         (smie-config): New defcustom.
11280         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
11281         (smie-config-guess, smie-config-save): New commands.
11282         (smie-config--mode-local, smie-config--buffer-local)
11283         (smie-config--trace, smie-config--modefuns): New vars.
11284         (smie-config--advice, smie-config--mode-hook)
11285         (smie-config--setter, smie-config-local, smie-config--get-trace)
11286         (smie-config--guess-value, smie-config--guess): New functions.
11287         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
11288         text properties.  Treat "string fence" syntax like string syntax.
11290         * progmodes/sh-script.el (sh-use-smie): Change default.
11291         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
11292         (sh-var-value): Simplify by CSE.
11293         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
11294         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
11295         is used.
11296         (sh-guess-basic-offset): Use cl-incf.
11297         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
11299 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
11301         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
11302         (bug#15699).
11304 2013-10-24  Glenn Morris  <rgm@gnu.org>
11306         * Makefile.in (abs_top_srcdir): Remove.
11307         (update-subdirs): Use relative path to update-subdirs.
11309 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
11311         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11312         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11313         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11314         Call unmsys--file-name before expand-file-name, not after it.
11316 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
11318         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
11319         (ert-test-skipped): New error.
11320         (ert-skip, ert-stats-skipped): New defuns.
11321         (ert--skip-unless): New macro.
11322         (ert-test-skipped): New struct.
11323         (ert--run-test-debugger, ert-test-result-type-p)
11324         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
11325         (ert--stats-set-test-and-result, ert-char-for-test-result)
11326         (ert-string-for-test-result, ert-run-tests-batch)
11327         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
11328         Handle skipped tests.  (Bug#9803)
11330 2013-10-24  Glenn Morris  <rgm@gnu.org>
11332         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
11334         * Makefile.in (abs_top_srcdir): New, set by configure.
11335         (update-subdirs): Correct build-aux location.
11337 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
11339         * vc/vc.el (vc-print-root-log): Always set `default-directory'
11340         value, whether we could auto-deduce `backend', or not.
11342         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
11343         with parameters" example.  Simplify the "is it block or is it
11344         hash" check, but also make it more thorough.
11346 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
11348         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
11350 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11352         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
11353         { if it is hanging.
11355         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
11356         :before ";".
11358 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
11360         * progmodes/compile.el (compilation-directory-matcher)
11361         (compilation-page-delimiter):
11362         Support GNU Make-4.0 directory quoting.  (Bug#15678)
11364 2013-10-23  Leo Liu  <sdl.web@gmail.com>
11366         * ido.el (ido-tidy): Handle read-only text.
11368 2013-10-23  Glenn Morris  <rgm@gnu.org>
11370         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
11371         (emacs, compile, compile-always):
11372         Quote entities that might contain whitespace.
11373         (custom-deps, finder-data, autoloads): Use abs_lisp.
11374         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11375         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11376         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
11378 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
11380         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
11381         Use `following-char'.
11383 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11385         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
11386         * progmodes/ruby-mode.el (ruby-smie-rules):
11387         Remove corresponding workaround.  Fix indentation rule of ";" so it
11388         also applies when ";" is the parent.
11390 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
11392         * frame.el (display-screens, display-pixel-height)
11393         (display-pixel-width, display-mm-width, display-backing-store)
11394         (display-save-under, display-planes, display-color-cells)
11395         (display-visual-class, display-monitor-attributes-list):
11396         Mention the optional ‘display’ argument in doc strings.
11398 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
11400         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
11401         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
11403 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
11405         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
11406         TODO.  Add "." after " @ ".
11407         (ruby-smie--at-dot-call): New function.  Checks if point at method
11408         call with explicit target.
11409         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
11410         to the method name tokens when it precedes them.
11411         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
11412         (ruby-smie-rules): Add rule for indentation before and after "."
11413         token.
11415 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11417         * textmodes/remember.el (remember-diary-extract-entries):
11418         Avoid add-to-list.
11420         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
11421         an instruction.
11423 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
11425         * progmodes/ruby-mode.el (ruby-smie-grammar):
11426         Add (almost) all infix operators.
11427         (ruby-smie--implicit-semi-p): Add new operator chars.
11429         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
11430         `smie-down-list'.
11431         (ruby-smie--args-separator-p): Check that there's no newline
11432         between method call and its arguments.
11434 2013-10-20  Alan Mackenzie  <acm@muc.de>
11436         Allow comma separated lists after Java "implements".
11438         * progmodes/cc-engine.el (c-backward-over-enum-header):
11439         Parse commas.
11440         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
11441         from a "disallowed" list in enum fontification.
11443 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
11445         * startup.el (default-frame-background-mode): Remove unused defvar.
11447         * progmodes/verilog-mode.el (verilog-mode): Don't set
11448         comment-indent-function globally.
11450 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
11452         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
11453         Move Info menu item creation to ns-win.el.
11455         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
11456         in menu bar.
11458         * menu-bar.el: Move GNUstep specific menus...
11460         * term/ns-win.el (ns-initialize-window-system): ... to here.
11462 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11464         * simple.el (newline): Only run post-self-insert-hook when
11465         called interactively.
11467 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
11469         * icomplete.el (icomplete-with-completion-tables): Add :version.
11471 2013-10-19  Alan Mackenzie  <acm@muc.de>
11473         Fix fontification bugs with constructors and const.
11475         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
11476         CASE 2) Remove the check for the absence of a suffix construct
11477         after a function declaration with only types (no identifiers) in
11478         the parentheses.  Also, accept a function declaration with just a
11479         type inside the parentheses, if this type can be positively
11480         recognised as such, or if a prefix keyword like "explicit" nails
11481         down the construct as a declaration.
11483 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
11485         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
11486         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
11487         the problem whereby selecting a menu item that leads to a
11488         minibuffer prompt moves the cursor out of the minibuffer window,
11489         making it hard to type at the prompt.  Suggested by Stefan Monnier
11490         <monnier@iro.umontreal.ca>.
11492 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
11494         * menu-bar.el: Don't make Services menu.
11496 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11498         * ffap.el: Handle "/usr/include/c++/<version>" directories.
11499         (ffap-alist): Use ffap-c++-mode for c++-mode.
11500         (ffap-c++-path): New variable.
11501         (ffap-c++-mode): New function.
11503 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
11505         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
11507 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
11509         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
11510         introduced on 2013-09-08, which results in an infinite loop
11511         requesting a password.
11513 2013-10-18  Glenn Morris  <rgm@gnu.org>
11515         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
11517 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
11519         Sync with upstream verilog-mode revision 1a6ecec7.
11520         * progmodes/verilog-mode.el (verilog-mode-version): Update.
11521         (verilog-mode-release-date): Remove.
11522         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
11523         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
11524         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
11525         (verilog-auto-tieoff-ignore-regexp)
11526         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
11527         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
11528         (verilog-signals-with, verilog-dir-cache-preserving)
11529         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
11530         Doc fixes.
11531         (verilog-case-fold): New option, to control case folding in
11532         regexp searches, bug597.
11533         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
11534         (verilog-string-match-fold, verilog-in-paren-count)
11535         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
11536         (verilog-at-close-struct-p): New functions.
11537         (verilog-beg-block-re-ordered, verilog-extended-case-re)
11538         (verilog-forward-sexp, verilog-set-auto-endcomments)
11539         (verilog-leap-to-case-head): Handle "unique0" case.
11540         (verilog-in-constraint-re): New constant.
11541         (verilog-keywords, verilog-type-font-keywords):
11542         Add some SystemVerilog 1800-2012 keywords.
11543         (verilog-label-be): Remove unimplemented argument, bug669.
11544         (verilog-batch-execute-func): When batch expanding clear
11545         create-lockfiles to prevent spurious user locks when a file ends
11546         up not changing.
11547         (verilog-calculate-indent, verilog-calc-1)
11548         (verilog-at-close-constraint-p, verilog-at-constraint-p)
11549         (verilog-do-indent): Fix indentation of nested constraints
11550         and structures.
11551         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
11552         (verilog-auto-inst-param): Use verilog-string-match-fold.
11553         (verilog-read-inst-module-matcher):
11554         Fix AUTOINST on gate primitives with #1.
11555         (verilog-read-decls): Fix double-declaring user-defined typed signals.
11556         Reads all user-defined typed variables.
11557         (verilog-read-defines): Fix reading definitions inside comments, bug647.
11558         (verilog-signals-matching-regexp)
11559         (verilog-signals-not-matching-regexp, verilog-auto):
11560         Respect verilog-case-fold.
11561         (verilog-diff-report): Fix line count.
11562         (verilog-auto-assign-modport): Remove unused local `modi'.
11563         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
11564         better handle multidimensional arrays.
11565         Fix packed array ports misadding bit index in AUTOINST, bug637.
11566         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
11567         to not double-declare existing outputs and inputs, respectively.
11568         (verilog-template-map): Bind U to verilog-sk-uvm-component.
11569         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
11570         (verilog-sk-uvm-component): New skeleton.
11571         (verilog-submit-bug-report): Add verilog-case-fold,
11572         remove verilog-mode-release-date.
11574 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
11576         * subr.el (sit-for): Call (input-pending-p t) so as to behave
11577         as before.
11579 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
11581         * textmodes/remember.el (remember): Set buffer-offer-save in
11582         remember buffers (bug#13566).
11584 2013-10-18  Daniel Colascione  <dancol@dancol.org>
11586         When evaluating forms in ielm, direct standard output to ielm
11587         buffer.  Add new ielm-return-for-effect command.  Remove trailing
11588         whitespace throughout.
11590         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
11591         (ielm-return-for-effect): New command.
11592         (ielm-send-input): Accept optional `for-effect' parameter.
11593         (ielm-eval-input): Accept optional `for-effect' parameter.
11594         Bind `standard-output' to stream we create using
11595         `ielm-standard-output-impl'.  Suppress printing result when
11596         `for-effect'.
11597         (ielm-standard-output-impl): New function.
11598         (inferior-emacs-lisp-mode): Explain new features in documentation.
11600 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
11602         Code cleanup.
11604         * net/tramp.el (tramp-debug-message): Do not check for connection
11605         buffer.
11606         (tramp-message): Use "vector" connection property.
11608         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
11609         (tramp-equal-remote, tramp-eshell-directory-change)
11610         * net/tramp-adb.el (tramp-adb-handle-copy-file)
11611         (tramp-adb-handle-rename-file)
11612         * net/tramp-cmds.el (tramp-list-remote-buffers)
11613         (tramp-cleanup-connection, tramp-cleanup-this-connection)
11614         * net/tramp-compat.el (tramp-compat-process-running-p)
11615         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
11616         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
11617         (tramp-gvfs-handle-rename-file)
11618         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11619         (tramp-set-file-uid-gid)
11620         * net/tramp-smb.el (tramp-smb-handle-copy-file)
11621         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
11622         of `file-remote-p'.
11624         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
11625         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
11626         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
11627         (tramp-gw-open-network-stream): Suppress unrelated traces.
11629         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
11630         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
11631         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11632         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
11633         connection property.
11635         * net/tramp-cache.el (top): Suppress traces when reading
11636         persistency file.
11638         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11639         Refactor common code.  Improve debug message.
11640         (tramp-maybe-open-connection)
11641         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
11642         connection buffer too early.
11644         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
11645         from `tramp-smb-actions-with-acl'.
11646         (tramp-smb-actions-set-acl): New defconst.
11647         (tramp-smb-handle-copy-directory)
11648         (tramp-smb-action-get-acl): New defun, renamed from
11649         `tramp-smb-action-with-acl'.
11650         (tramp-smb-action-set-acl): New defun.
11651         (tramp-smb-handle-set-file-acl): Rewrite.
11653 2013-10-17  Glenn Morris  <rgm@gnu.org>
11655         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
11657 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11659         * skeleton.el (skeleton-newline): Remove.
11660         (skeleton-internal-1): Use (insert "\n") instead.
11662         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
11663         let-bindings.
11665         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
11666         forward-sexp-function while we redo its job (bug#15613).
11668 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
11670         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
11671         represented by lists.
11673 2013-10-16  Glenn Morris  <rgm@gnu.org>
11675         * tmm.el (tmm--history): New dynamic variable.
11676         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
11678 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
11680         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
11681         (tramp-smb-errors): Add error messages.
11682         (tramp-smb-actions-with-acl): New defconst.
11683         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
11684         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
11685         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
11686         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
11687         (tramp-smb-get-stat-capability): Fix tests.
11689 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
11691         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
11692         (bug#15580).
11694 2013-10-16  Glenn Morris  <rgm@gnu.org>
11696         * ansi-color.el (ansi-color-drop-regexp):
11697         Add 1J, 1K, 2K.  (Bug#15617)
11699         * files.el (hack-local-variables--warned-lexical): New.
11700         (hack-local-variables):
11701         Warn about misplaced lexical-binding.  (Bug#15616)
11703         * net/eww.el (eww-render): Always set eww-current-url,
11704         and update header line.  (Bug#15622)
11705         (eww-display-html): ... Rather than just doing it here.
11707 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
11709         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
11710         menu navigations commands.
11712 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
11714         * progmodes/subword.el (subword-capitalize): Be careful when
11715         the search for [[:alpha:]] fails (bug#15580).
11717 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
11719         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
11720         to commands that scroll the menu.
11722 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
11724         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
11725         Handle methods ending with `?' and `!'.
11727 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
11729         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
11730         `japanese-cp932' to `cp932' to fix the problem where saving a
11731         source file written in Shift_JIS twice would end up having
11732         `coding: japanese-cp932' which Ruby could not recognize.
11733         (ruby-mode-set-encoding): Add support for encodings mapped to nil
11734         in `ruby-encoding-map'.
11735         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
11736         doesn't need to be explicitly declared in magic comment.
11737         (ruby-encoding-map): Add type declaration for better customize UI.
11739 2013-10-13  Glenn Morris  <rgm@gnu.org>
11741         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
11742         Occur buffers are read-only.  http://bugs.debian.org/720775
11744         * emacs-lisp/authors.el (authors-fixed-entries):
11745         Comment out old alpha stuff.
11747 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
11749         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
11750         to `after-save-hook' instead of `before-save-hook'.
11751         (ruby-mode-set-encoding): Use the value of coding system used to
11752         write the file.  Call `basic-save-buffer-1' after modifying the
11753         buffer.
11755 2013-10-13  Alan Mackenzie  <acm@muc.de>
11757         Fix indentation/fontification of Java enum with
11758         "implements"/generic.
11760         * progmodes/cc-engine.el (c-backward-over-enum-header):
11761         Extracted from the three other places and enhanced to handle generics.
11762         (c-inside-bracelist-p): Uses new function above.
11763         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
11764         function above.
11765         (c-font-lock-enum-tail): Uses new function above.
11767 2013-10-13  Kenichi Handa  <handa@gnu.org>
11769         * international/mule-cmds.el (select-safe-coding-system): Remove a
11770         superfluous condition in chekcing whether a coding system is safe
11771         or not.
11773 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
11775         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
11777 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
11779         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
11781 2013-10-13  Glenn Morris  <rgm@gnu.org>
11783         * menu-bar.el (menu-bar-update-buffers):
11784         Unify Buffers menu prompt string.  (Bug#15576)
11786         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
11788         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
11789         Add some entries.
11790         (authors-fixed-entries): Use accented form of name.
11792 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11794         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
11795         method calls (bug#15594).
11796         (ruby-smie--args-separator-p): New function.
11797         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
11798         recognize paren-free method calls.
11800         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
11801         internals of universal-argument.
11803 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
11805         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
11806         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
11807         dropped menu on second mouse click on the menu bar.
11809 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11811         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
11812         (explicit-shell-file-name): Declare.
11813         (sh--vars-before-point, sh--cmd-completion-table): New functions.
11814         (sh-completion-at-point-function): New function.
11815         (sh-mode): Use it.
11816         (sh-smie--keyword-p): Remove unused argument.
11817         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
11818         vars.
11819         (sh-set-shell): Always setup SMIE, even if we use the
11820         old indentation code.
11822 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
11824         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
11825         cases of ? and =.
11826         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
11827         predicate would return nil are almost non-existent.
11828         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
11830         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
11831         cache also after commands that modify the buffer but don't move
11832         point.
11834 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11836         * env.el (substitute-env-in-file-name): New function.
11837         (substitute-env-vars): Extend the meaning of the optional arg.
11839 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
11841         * term/w32-win.el (dynamic-library-alist): Define separate lists
11842         of GIF DLLs for versions before and after 5.0.0 of giflib.
11843         (Bug#15531)
11845 2013-10-10  João Távora  <joaotavora@gmail.com>
11847         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
11848         not locked, use last revision and current source as
11849         defaults.  (Bug#15569)
11851 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
11853         * menu-bar.el (menu-bar-open): Don't use popup-menu if
11854         menu-bar is hidden.
11856 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
11858         * window.el (pop-to-buffer-same-window): Fix doc-string.
11859         (Bug#15492)
11861 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11863         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
11865 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
11867         * calendar/icalendar.el (icalendar-import-file):
11868         Fix interactive spec.  (Bug#15482)
11870 2013-10-10  Glenn Morris  <rgm@gnu.org>
11872         * desktop.el (desktop-save): Default to saving in .emacs.d,
11873         since PWD is no longer in desktop-path by default.  (Bug#15319)
11875         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
11876         now that text mode has a menu with the same entry.
11877         (menu-bar-text-mode-auto-fill): Remove now unused func.
11878         * textmodes/text-mode.el (text-mode-map):
11879         Use auto-fill help text from menu-bar.el.
11881 2013-10-10  John Anthony  <john@jo.hnanthony.com>
11883         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
11885 2013-10-09  Juri Linkov  <juri@jurta.org>
11887         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
11888         instead of this-command-keys.  Add universal-argument-more and
11889         universal-argument-minus to the list of prefix commands.  (Bug#15568)
11891 2013-10-09  Glenn Morris  <rgm@gnu.org>
11893         * vc/vc-svn.el (vc-svn-create-repo):
11894         Expand paths in file://... url.  (Bug#15446)
11896         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
11897         Add some entries.
11898         (authors): Remove unused local variables.
11900 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11902         * profiler.el: Create a more coherent calltree from partial backtraces.
11903         (profiler-format): Hide the tail with `invisible' so that C-s can still
11904         find the hidden elements.
11905         (profiler-calltree-depth): Don't recurse so enthusiastically.
11906         (profiler-function-equal): New hash-table-test.
11907         (profiler-calltree-build-unified): New function.
11908         (profiler-calltree-build): Use it.
11909         (profiler-report-make-name-part): Indent the calltree less.
11910         (profiler-report-mode): Add visibility specs for profiler-format.
11911         (profiler-report-expand-entry, profiler-report-toggle-entry):
11912         Expand the whole subtree when provided with a prefix arg.
11914 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
11916         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
11917         iuwu-mod token.
11918         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
11919         hanging iuwu-mod token.
11920         (ruby-smie--forward-token): Do not include a dot after a token in
11921         that token.
11922         (ruby-smie--backward-token): Likewise.
11924 2013-10-08  Juri Linkov  <juri@jurta.org>
11926         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
11927         to isearch-other-control-char.
11928         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
11929         and isearch-post-command-hook to post-command-hook.
11930         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
11931         and isearch-post-command-hook from post-command-hook.
11932         (isearch-unread-key-sequence)
11933         (isearch-reread-key-sequence-naturally)
11934         (isearch-lookup-scroll-key, isearch-other-control-char)
11935         (isearch-other-meta-char): Remove functions.
11936         (isearch-pre-command-hook, isearch-post-command-hook):
11937         New functions based on isearch-other-meta-char rewritten
11938         relying on the new behavior of overriding-terminal-local-map
11939         that does not replace the local keymaps any more.  (Bug#15200)
11941 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
11943         Support menus on text-mode terminals.
11944         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
11945         functionality.
11947         * tooltip.el (tooltip-mode): Don't error out on TTYs.
11949         * menu-bar.el (popup-menu, popup-menu-normalize-position):
11950         Move here from mouse.el.
11951         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
11952         and arrow keys.
11953         (tty-menu-navigation-map): New map for TTY menu navigation.
11955         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
11957         * frame.el (display-mouse-p): Report text-mode mouse as available
11958         on w32.
11959         (display-popup-menus-p): Report availability if mouse is
11960         available; don't condition on window-system.
11962         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
11963         (tty-menu-selected-face): New faces.
11965 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11967         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
11968         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
11969         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
11970         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
11971         New constants.
11972         (lisp-mode-variables): New `elisp' argument.
11973         (emacs-lisp-mode): Use it.
11974         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
11975         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
11977         * indent.el: Use lexical-binding.
11978         (indent-region): Add progress reporter.
11979         (tab-stop-list): Make it implicitly extend to infinity by repeating the
11980         last step.
11981         (indent--next-tab-stop): New function to implement this behavior.
11982         (tab-to-tab-stop, move-to-tab-stop): Use it.
11984 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
11986         * indent.el (indent-rigidly--current-indentation): New function.
11987         (indent-rigidly-map): New var.
11988         (indent-rigidly): Use it to provide interactive mode (bug#8196).
11990 2013-10-08  Bastien Guerry  <bzg@gnu.org>
11992         * register.el (insert-register): Fix 2013-10-07 change.
11994 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11996         * progmodes/perl-mode.el: Use lexical-binding.
11997         Remove redundant :group args.
11998         (perl-nochange): Change default to be closer to other major modes's
11999         standard behavior.
12000         (perl-indent-line): Don't consider text on current line as a
12001         valid beginning of function from which to indent.
12003         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
12004         with more than one argument (bug#15538).
12006         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
12008         * vc/pcvs.el: Use lexical-binding.
12009         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
12010         environment of `eval'.
12011         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
12012         than a list of expressions.  Adjust callers.
12013         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
12015 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
12017         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
12018         case of the dot in a chained method call being on the following line.
12020 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12022         * electric.el (electric-indent-inhibit): New var.
12023         (electric-indent-post-self-insert-function): Use it.
12024         * progmodes/python.el (python-mode): Set it.
12026         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
12027         open braces.
12029         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
12031         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
12032         (css-mode): Use electric-indent-chars.
12034         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
12035         (font-lock-beg, font-lock-end): Move before first use.
12036         (nxml-mode): Use syntax-propertize-function.
12037         (nxml-after-change, nxml-after-change1): Adjust accordingly.
12038         (nxml-extend-after-change-region): Remove.
12039         * nxml/xmltok.el: Use lexical-binding.
12040         (xmltok-save): Use `declare'.
12041         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
12042         * nxml/nxml-util.el: Use lexical-binding.
12043         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
12044         Use `declare'.
12045         * nxml/nxml-ns.el: Use lexical-binding.
12046         (nxml-ns-save): Use `declare'.
12047         (nxml-ns-prefixes-for): Avoid add-to-list.
12048         * nxml/rng-match.el: Use lexical-binding.
12049         (rng--ipattern): Use cl-defstruct.
12050         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
12051         (rng-cons-group-after, rng-subst-group-after)
12052         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
12053         Use closures instead of `(lambda...).
12055 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
12057         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
12058         of BEG and END.
12060         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12061         Use `tramp-handle-insert-file-contents'.
12062         (tramp-gvfs-handle-insert-file-contents): Remove function.
12064         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12065         Use `save-restriction' in order to keep markers.
12067         * net/trampver.el: Update release number.
12069 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12071         * progmodes/compile.el (compilation-parse-errors):
12072         Use compilation--put-prop.
12073         (compilation--ensure-parse): Check compilation-multiline.
12075         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
12077         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
12078         lexical-binding.
12080         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
12082         * progmodes/ruby-mode.el: Fix recently added tests.
12083         (ruby-smie-grammar): Add - and +.
12084         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
12085         (ruby-smie--backward-id): New functions.
12086         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
12087         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
12088         any more.
12090 2013-10-07  Leo Liu  <sdl.web@gmail.com>
12092         * register.el (register-preview-delay)
12093         (register-preview-functions): New variables.
12094         (register-read-with-preview, register-preview)
12095         (register-describe-oneline): New functions.
12096         (point-to-register, window-configuration-to-register)
12097         (frame-configuration-to-register, jump-to-register)
12098         (number-to-register, view-register, insert-register)
12099         (copy-to-register, append-to-register, prepend-to-register)
12100         (copy-rectangle-to-register): Use register-read-with-preview to
12101         read register.  (Bug#15525)
12103 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
12105         * net/network-stream.el (network-stream-open-starttls): Don't add
12106         --insecure if it's already present, because that gnutls-cli
12107         rejects getting that parameter twice.
12109 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
12111         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
12112         keyword, too.
12114 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
12116         * newcomment.el (comment-use-global-state): Change default value
12117         to t, mark obsolete (Bug#15251).
12118         (comment-beginning): In addition to `comment-to-syntax', check the
12119         value of `comment-use-global-state'.
12121 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12123         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
12124         (ruby-comment-column): Follow the global default, by default.
12125         (ruby-smie-grammar): Add assignment syntax.
12126         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
12127         open-paren, a comma, or a \.
12128         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
12129         and line continuations.
12130         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
12131         followed by implicit semi-colons.  Add rule for string concatenation
12132         and for indentation at BOB.
12133         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
12135         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
12136         calling next-sexp, since next-token may have skipped chars which
12137         next-sexp doesn't know should be skipped!
12139 2013-10-05  Leo Liu  <sdl.web@gmail.com>
12141         * progmodes/octave.el (octave-send-region):
12142         Call compilation-forget-errors.
12144 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
12146         * vc/vc-svn.el (vc-svn-find-admin-dir):
12147         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
12148         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
12149         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
12150         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
12152 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12154         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
12156 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12158         * subr.el (read-passwd): Hide chars even when called within a context
12159         where after-change-functions is disabled (bug#15501).
12160         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
12161         until we removed ourself from overriding-terminal-local-map.
12163 2013-10-04  Leo Liu  <sdl.web@gmail.com>
12165         * progmodes/octave.el (inferior-octave-mode):
12166         Call compilation-forget-errors.
12168 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
12170         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
12172 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
12174         * net/secrets.el (secrets-create-collection): Add optional
12175         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
12176         dbus-call-method argument.  (Bug#15516)
12178 2013-10-04  Leo Liu  <sdl.web@gmail.com>
12180         * progmodes/octave.el (inferior-octave-error-regexp-alist)
12181         (inferior-octave-compilation-font-lock-keywords): New variables.
12182         (compilation-error-regexp-alist)
12183         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
12184         (inferior-octave-mode): Use compilation-shell-minor-mode.
12186 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
12188         * minibuffer.el (completion--replace): Be careful that `end' might be
12189         a marker.
12191 2013-10-03  Daiki Ueno  <ueno@gnu.org>
12193         Add support for package signature checking.
12194         * emacs-lisp/package.el (url-http-file-exists-p)
12195         (epg-make-context, epg-context-set-home-directory)
12196         (epg-verify-string, epg-context-result-for)
12197         (epg-signature-status, epg-signature-to-string)
12198         (epg-check-configuration, epg-configuration)
12199         (epg-import-keys-from-file): Declare.
12200         (package-check-signature): New user option.
12201         (package-unsigned-archives): New user option.
12202         (package-desc): Add `signed' field.
12203         (package-load-descriptor): Set `signed' field if .signed file exists.
12204         (package--archive-file-exists-p): New function.
12205         (package--check-signature): New function.
12206         (package-install-from-archive): Check package signature.
12207         (package--download-one-archive): Check archive signature.
12208         (package-delete): Remove .signed file.
12209         (package-import-keyring): New command.
12210         (package-refresh-contents): Import default keyring.
12211         (package-desc-status): Add "unsigned" status.
12212         (describe-package-1, package-menu--print-info)
12213         (package-menu-mark-delete, package-menu--find-upgrades)
12214         (package-menu--status-predicate): Support "unsigned" status.
12216 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12218         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
12219         the new compilation scheme using the new byte-codes.
12221         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
12222         (byte-pophandler): New byte codes.
12223         (byte-goto-ops): Adjust accordingly.
12224         (byte-compile--use-old-handlers): New var.
12225         (byte-compile-catch): Use new byte codes depending on
12226         byte-compile--use-old-handlers.
12227         (byte-compile-condition-case--old): Rename from
12228         byte-compile-condition-case.
12229         (byte-compile-condition-case--new): New function.
12230         (byte-compile-condition-case): New function that dispatches depending
12231         on byte-compile--use-old-handlers.
12232         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
12233         when we can.
12235         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
12236         Optimize under `condition-case' and `catch' if
12237         byte-compile--use-old-handlers is nil.
12238         (disassemble-offset): Handle new bytecodes.
12240 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12242         * subr.el (error): Use `declare'.
12243         (decode-char, encode-char): Use advertised-calling-convention instead
12244         of the docstring to discourage use of the `restriction' arg.
12246 2013-10-03  Daiki Ueno  <ueno@gnu.org>
12248         * epg.el (epg-verify-file): Add a comment saying that it does not
12249         notify verification error as a return value nor a signal.
12250         (epg-verify-string): Ditto.
12252 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
12254         * progmodes/compile.el (compilation-start): Try globbing the arg to
12255         `cd' (bug#15417).
12257 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
12259         Sync with Tramp 2.2.8.
12261         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
12262         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
12263         * net/trampver.el: Update release number.
12265 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
12267         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
12268         and default-process-coding-system for darwin only.
12270 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12272         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
12274 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
12276         * vc/vc-git.el (vc-git-grep): Disable pager.
12278 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
12280         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
12281         Use :url instead of :homepage, as per
12282         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
12284         * newcomment.el (comment-beginning): When `comment-use-syntax' is
12285         non-nil, use `syntax-ppss' (Bug#15251).
12287 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12289         * progmodes/octave.el (inferior-octave-startup-file):
12290         Prefer ~/.emacs.d/init_octave.m.
12292 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
12294         * emacs-lisp/package.el (package-desc-from-define):
12295         Accept additional arguments as plist, convert them to an alist and store
12296         them in the `extras' slot.
12297         (package-generate-description-file): Convert extras alist back to
12298         plist and append to the `define-package' form arguments.
12299         (package--alist-to-plist): New function.
12300         (package--ac-desc): Add `extras' slot.
12301         (package--add-to-archive-contents): Check if the archive-contents
12302         vector is long enough, and if it is, pass its `extras' slot value
12303         to `package-desc-create'.
12304         (package-buffer-info): Call `lm-homepage', pass the returned value
12305         to `package-desc-from-define'.
12306         (describe-package-1): Render the homepage button (Bug#13291).
12308         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12309         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
12311 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
12313         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
12314         and default-process-coding-system to utf-8-unix (Bug#15402).
12316 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
12318         * subr.el (looking-back): Do not recommend using looking-back.
12320 2013-09-28  Alan Mackenzie  <acm@muc.de>
12322         Fix indentation/fontification of Java enum with "implements".
12324         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
12325         regexp which matches "implements", etc., in Java.
12326         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
12327         specifier clauses coming after "enum".
12328         * progmodes/cc-fonts.el (c-font-lock-declarations)
12329         (c-font-lock-enum-tail): Check for extra specifier clauses coming
12330         after "enum".
12332 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
12334         * faces.el (region): Change ns_selection_color to
12335         ns_selection_fg_color, add ns_selection_bg_color.
12337 2013-09-28  Leo Liu  <sdl.web@gmail.com>
12339         * progmodes/octave.el (inferior-octave-completion-table)
12340         (inferior-octave-completion-at-point): Minor tweaks.
12342         * textmodes/ispell.el (ispell-lookup-words): Rename from
12343         lookup-words.  (Bug#15460)
12344         (lookup-words): Obsolete.
12345         (ispell-complete-word, ispell-command-loop): All uses changed.
12347 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12349         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
12350         (octave-mode-menu): Add octave-send-buffer.
12351         (octave-send-buffer): New function.
12353 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12355         * progmodes/octave.el (octave-mode-map): Add key binding for
12356         octave-lookfor.
12357         (octave-mode-menu): Add octave-lookfor.
12358         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
12359         octave-lookfor.
12360         (octave-lookfor): New function.
12362 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12364         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
12365         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
12366         its convention.
12367         (cl--loop-set-iterator-function): New function.
12368         (cl-loop): Adjust accordingly, so as not to use cl-subst.
12369         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
12370         Bind `it' with `let' instead of substituting it with `cl-subst'.
12371         (cl--unused-var-p): New function.
12372         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
12373         Eliminate some unused variable warnings (bug#15326).
12375 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
12377         * doc-view.el (doc-view-scale-reset): Rename from
12378         `doc-view-reset-zoom-level'.
12379         (doc-view-scale-adjust): New command.
12380         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
12381         `doc-view-scale-adjust'.
12383 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
12385         * doc-view.el (doc-view-reset-zoom-level): New command.
12386         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
12387         zoom commands (bug#15466).
12389 2013-09-26  Kenichi Handa  <handa@gnu.org>
12391         * international/quail.el (quail-help): Make it not a command.
12393 2013-09-26  Leo Liu  <sdl.web@gmail.com>
12395         * minibuffer.el (completion-all-sorted-completions): Make args
12396         optional as they are.
12398 2013-09-25  Daniel Colascione  <dancol@dancol.org>
12400         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
12401         specs are and that they're not evaluated.
12403 2013-09-24  Sam Steingold  <sds@gnu.org>
12405         * midnight.el (clean-buffer-list-kill-regexps)
12406         (clean-buffer-list-kill-buffer-names): Update for the new Man
12407         buffer naming which includes the object name.
12409 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12411         * eshell/esh-cmd.el (eshell--sep-terms): New var.
12412         (eshell-parse-command, eshell-parse-pipeline): Use it since
12413         eshell-separate-commands requires a dynamic scoped var.
12414         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
12416 2013-09-23  Leo Liu  <sdl.web@gmail.com>
12418         * autoinsert.el (auto-insert-alist): Make the value of
12419         lexical-binding match its file setting.
12421 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
12423         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
12425         * autoarg.el (autoarg-kp-digit-argument):
12426         * electric.el (Electric-command-loop):
12427         * kmacro.el (kmacro-step-edit-insert):
12428         Do not set universal-argument-num-events.
12430 2013-09-22  Leo Liu  <sdl.web@gmail.com>
12432         * files.el (interpreter-mode-alist): Add octave.
12434 2013-09-21  Alan Mackenzie  <acm@muc.de>
12436         C++: fontify identifier in declaration following "public:" correctly.
12437         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
12438         to match "public", etc.
12439         (c-decl-prefix-re): Add ":" into the C++ value.
12440         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
12441         bit.  Add a check for a ":" preceded by "public", etc.
12443 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
12445         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
12446         recognized by GDB 7.5 and later.
12448 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
12450         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
12452 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12454         * subr.el (internal--call-interactively): New const.
12455         (called-interactively-p): Use it (bug#3984).
12457 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
12459         * vc/pcvs.el (cvs-mode-ignore):
12460         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
12461         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
12463 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12465         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
12466         (eshell-ls-orig-insert-directory): Remove.
12467         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
12468         (eshell-ls-use-in-dired): Use advice-add/remove.
12469         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
12470         Add `orig-fun' arg for use in :around advice.
12471         Make it check (redundantly) eshell-ls-use-in-dired.
12473 2013-09-19  Glenn Morris  <rgm@gnu.org>
12475         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
12477         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
12479         * emacs-lisp/eieio.el (class-parent): Undo previous change.
12481 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
12483         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
12484         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
12485         (tramp-get-remote-python): New defuns.
12486         (tramp-get-remote-uid-with-perl)
12487         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
12488         contributed by yary <not.com@gmail.com> (tiny change).
12489         (tramp-get-remote-uid-with-python)
12490         (tramp-get-remote-gid-with-python): New defuns.  Python code
12491         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
12492         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
12494 2013-09-19  Glenn Morris  <rgm@gnu.org>
12496         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
12498         * eshell/em-unix.el (eshell-remove-entries):
12499         Rename argument to avoid name-clash with global `top-level'.
12501         * eshell/esh-proc.el (eshell-kill-process-function):
12502         Remove eshell-reset-after-proc from eshell-kill-hook if present.
12503         (eshell-reset-after-proc): Remove unused arg `proc'.
12505         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
12506         (directory-files-and-attributes): Mark unused arg.
12508         * eshell/em-unix.el (eshell-remove-entries):
12509         Remove unused arg `path'.  Update callers.
12511         * eshell/em-hist.el (eshell-hist-parse-arguments):
12512         Remove unused arg `silent'.  Update callers.
12514         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
12515         Fix (f)boundp mix-up.
12517         * eshell/em-smart.el (eshell-smart-scroll-window)
12518         (eshell-disable-after-change):
12519         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
12521 2013-09-18  Alan Mackenzie  <acm@muc.de>
12523         Fix fontification of type when followed by "const".
12524         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
12525         "known" types from fontification.
12527 2013-09-18  Glenn Morris  <rgm@gnu.org>
12529         * emacs-lisp/chart.el (x-display-color-cells): Declare.
12530         (chart-face-list): Drop Emacsen without display-color-p.
12532         * net/eww.el (libxml-parse-html-region): Declare.
12533         (eww-display-html): Explicit error if no libxml2 support.
12535         * doc-view.el (doc-view-mode): Silence --without-x compilation.
12537         * image.el (image-type-from-buffer, image-multi-frame-p):
12538         Remove --without-x warning/error.
12540         * mouse.el (mouse-yank-primary):
12541         * term.el (term-mouse-paste):
12542         Reorder to silence --without-x compilation.
12544         * mpc.el (doc-view-mode): Silence --without-x compilation.
12546         * mail/rmailmm.el (rmail-mime-set-bulk-data):
12547         Silence --without-x compilation.
12549         * progmodes/gud.el (gud-find-file, gud-mode):
12550         Silence --without-x compilation.
12551         (tooltip-mode): Declare.
12553         * wdired.el (dired-backup-overwrite): Remove declaration.
12554         (wdired-mode-map): Add doc string.
12556         * custom.el (x-get-resource): Declare.
12558         * eshell/em-glob.el (ange-cache):
12559         * eshell/em-unix.el (ange-cache): Declare.
12561         * faces.el (x-display-list, x-open-connection, x-get-resource):
12562         Declare.
12564         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
12565         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
12566         Declare.
12568         * frame.el (x-display-grayscale-p, x-display-name): Declare.
12570         * net/gnutls.el (gnutls-log-level): Declare.
12572         * net/shr.el (image-size, image-animate): Declare.
12574         * simple.el (font-info): Declare.
12576         * subr.el (x-popup-dialog): Declare.
12578         * term/common-win.el (x-select-enable-primary)
12579         (x-last-selected-text-primary, x-last-selected-text-clipboard):
12580         Declare.
12582         * term/ns-win.el (x-handle-args): Declare.
12584         * term/x-win.el (x-select-enable-clipboard): Declare.
12586         * term/w32-win.el (create-default-fontset): Declare.
12588         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
12589         Declare.
12591         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
12592         (fit-frame-to-buffer): Explicit error if --without-x.
12593         (mouse-autoselect-window-select): Silence compiler.
12595         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12597         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
12598         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
12599         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
12600         * eshell/esh-util.el (eshell-sublist):
12601         Remove unused local variables.
12603         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
12605         * textmodes/two-column.el: Make 2C-split work for --without-x.
12606         (scroll-bar-columns): Autoload.
12607         (top-level): Require fringe when compiling.
12609 2013-09-18  Leo Liu  <sdl.web@gmail.com>
12611         * subr.el (add-hook): Robustify to handle closure as well.
12613 2013-09-17  Glenn Morris  <rgm@gnu.org>
12615         * simple.el (messages-buffer-mode-map): Unbind "g".
12617 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12619         * help-mode.el (help-mode-finish): Use derived-mode-p.
12620         Remove obsolete highlighting.
12622         * play/life.el (life-mode): Use define-derived-mode.  Derive from
12623         special-mode.
12624         (life): Let-bind inhibit-read-only.
12625         (life-setup): Avoid `setq'.  Use `life-mode'.
12627         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
12628         which should not be needed any more.
12629         (package-menu-refresh, package-menu-describe-package): Use user-error.
12631         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
12632         (eshell-post-rewrite-command-hook): Make obsolete.
12633         (eshell-parse-command): Simplify.
12634         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
12635         (eshell--cmd): Declare.
12636         (eshell-parse-pipeline): Remove unused var `final-p'.
12637         Pass a dynvar to eshell-post-rewrite-command-hook.
12638         Implement the new eshell-post-rewrite-command-function.
12639         (eshell-invoke-directly): Remove unused arg `input'.
12640         * eshell/esh-io.el (eshell-io-initialize):
12641         Use eshell-post-rewrite-command-function (bug#15399).
12642         (eshell--apply-redirections): Rename from eshell-apply-redirections;
12643         adjust to new calling convention.
12644         (eshell-create-handles): Rename args to avoid clashing with dynvar
12645         `standard-output'.
12647 2013-09-17  Glenn Morris  <rgm@gnu.org>
12649         * simple.el (messages-buffer-mode): New major mode.
12650         (messages-buffer): New function.
12651         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
12652         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
12653         (ert-run-test): Use `messages-buffer' function.
12654         (ert--force-message-log-buffer-truncation): Ignore read-only.
12655         * help.el (view-echo-area-messages): Use `messages-buffer' function.
12656         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
12658 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12660         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
12662         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
12664 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12666         * icomplete.el (icomplete-in-buffer): New var.
12667         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
12668         vars and replace them with functions.
12669         (icomplete-minibuffer-setup): Adjust accordingly.
12670         (icomplete--completion-table, icomplete--completion-predicate)
12671         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
12672         New functions.
12673         (icomplete-forward-completions, icomplete-backward-completions)
12674         (icomplete-simple-completing-p, icomplete-exhibit)
12675         (icomplete-completions): Use them.
12676         (icomplete--in-region-buffer): New var.
12677         (icomplete--in-region-setup): New function.
12678         (icomplete-mode): Use it.
12680         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
12681         (bug#15379).
12682         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
12683         return args and options.
12684         (eshell-eval-using-options): Use the new return value of
12685         eshell--do-opts to set the options's vars in their scope.
12686         (eshell--set-option): Rename from eshell-set-option.
12687         Add arg `opt-vals'.
12688         (eshell--process-option): Rename from eshell-process-option.
12689         Add arg `opt-vals'.
12690         (eshell--process-args): Use an `opt-vals' alist to store the options's
12691         values during their processing and return them additionally to the
12692         remaining args.
12694 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
12696         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
12697         continuation character an operator, as far as indentation is
12698         concerned (Bug#15369).
12700 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
12702         * window.el (window--state-put-2): Don't process buffer state
12703         when buffer doesn't exist any more (Bug#15382).
12705 2013-09-15  Glenn Morris  <rgm@gnu.org>
12707         * eshell/em-unix.el (eshell/rm):
12708         Make -f ignore missing files.  (Bug#15373)
12710         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
12711         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
12712         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
12714 2013-09-14  Glenn Morris  <rgm@gnu.org>
12716         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
12718 2013-09-13  Glenn Morris  <rgm@gnu.org>
12720         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
12721         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
12723 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
12725         * frame.el (x-focus-frame): Mark as declared in frame.c.
12727 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12729         * ls-lisp.el: Use advice-add.
12730         (original-insert-directory): Remove.
12731         (ls-lisp--insert-directory): Rename from insert-directory; add
12732         `orig-fun' argument.
12733         (insert-directory): Advise.
12735 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
12737         * term.el (term-emulate-terminal): Decode the command string
12738         before passing it to term-command-hook.  (Bug#15337)
12740 2013-09-13  Glenn Morris  <rgm@gnu.org>
12742         * eshell/esh-util.el (ange-cache): Move declaration earlier.
12744         * eshell/esh-ext.el (eshell-search-path): Declare.
12746         * eshell/em-prompt.el (eshell/pwd): Autoload it.
12747         Otherwise an error occurs if eshell-dirs module not loaded.
12749         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
12751 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
12753         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
12754         `tramp-check-proper-host'.  Check for a valid method name.
12756         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
12757         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12758         * net/tramp-sh.el (tramp-maybe-open-connection):
12759         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
12761         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
12762         also for hash values.
12764 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12766         * term/ns-win.el (parameters): Don't declare as dynamic.
12767         (before-make-frame-hook): Don't add ineffective function.
12769         * eshell/*.el: Use lexical-binding (bug#15231).
12771 2013-09-12  Kenichi Handa  <handa@gnu.org>
12773         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
12775 2013-09-12  Glenn Morris  <rgm@gnu.org>
12777         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
12778         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
12780         * subr.el (do-after-load-evaluation): Also give compiler warnings
12781         when obsolete files are used (except by obsolete files).
12783         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
12784         in the status output, assume `filename' is the first.  (Bug#15322)
12786         * vc/vc.el (vc-deduce-fileset): Doc fix.
12788         * calc/calc-help.el (Info-goto-node):
12789         * progmodes/cperl-mode.el (Info-find-node):
12790         * vc/ediff.el (Info-goto-node): Update declarations.
12792         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
12794         * vc/vc-bzr.el (vc-compilation-mode): Declare.
12795         (vc-bzr-pull): Require vc-dispatcher.
12796         * vc/vc-git.el (vc-compilation-mode): Declare.
12797         (vc-git-pull): Require vc-dispatcher.
12799         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
12801         * progmodes/octave.el (help-button-action): Declare.
12803         * shell.el (shell-directory-tracker): Output error as a message
12804         rather than just returning it as a string.
12805         (shell-process-pushd): Remove useless use of message.
12807         * dframe.el (dframe-timer-fn):
12808         * files.el (dir-locals-read-from-file):
12809         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
12810         (mpc-format):
12811         * reveal.el (reveal-post-command):
12812         * saveplace.el (load-save-place-alist-from-file):
12813         * shell.el (shell-resync-dirs):
12814         * w32-common-fns.el (x-get-selection-value):
12815         * emacs-lisp/copyright.el (copyright-find-copyright):
12816         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
12817         * emulation/tpu-edt.el (tpu-copy-keyfile):
12818         * play/bubbles.el (bubbles--mark-neighbourhood):
12819         * progmodes/executable.el
12820         (executable-make-buffer-file-executable-if-script-p):
12821         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
12823 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12825         Cleanup Eshell to rely less on dynamic scoping.
12826         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
12827         last-value, and ext-command here.  Bind `args' closer to `body'.
12828         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
12829         (eshell--args): Declare new dynamic var.
12830         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
12831         last-value, and ext-command.  Pass `args' to `body'.
12832         (eshell-process-args): Bind eshell--args.
12833         (eshell-set-option): Use eshell--args.
12834         * eshell/eshell.el (eshell): Use derived-mode-p.
12835         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
12836         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
12837         (eshell-glob-function): Declare.
12838         * eshell/esh-util.el: Require cl-lib.
12839         (eshell-read-hosts-file): Avoid add-to-list.
12840         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
12841         `err'.
12842         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
12843         Declare.
12844         (eshell/diff): Remove unused var `err'.
12845         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
12846         `killflag'.
12847         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
12848         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
12849         first use.
12850         * eshell/em-glob.el (eshell-glob-matches, message-shown):
12851         Move declaration before first use.
12852         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
12853         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
12854         rely on cl-return.
12856 2013-09-12  Glenn Morris  <rgm@gnu.org>
12858         * term/ns-win.el (global-map): Remove binding for ispell-next,
12859         deleted 1999-05-29.  (Bug#15357)
12861 2013-09-11  Glenn Morris  <rgm@gnu.org>
12863         * echistory.el (electric-command-history): Remove call to deleted func.
12865         * play/landmark.el (landmark-mode): Fix typos.
12867         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
12868         Check cvs-sort-ignore-file is bound.
12870         * savehist.el: No need for cl when compiling on Emacs.
12872 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12874         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
12875         (bug#15338).
12876         (eshell-self-insert-command, eshell-send-invisible):
12877         Remove unused argument.
12878         (eshell-handle-control-codes): Remove unused var `orig'.
12879         Avoid delete-backward-char.
12881         * files.el (set-auto-mode): Simplify a bit further.
12883 2013-09-11  Glenn Morris  <rgm@gnu.org>
12885         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
12886         (set-auto-mode): Don't regexp-quote elements.
12887         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
12888         * progmodes/cc-mode.el (interpreter-mode-alist):
12889         * progmodes/ruby-mode.el (interpreter-mode-alist):
12890         Revert previous change.
12892 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12894         * play/snake.el (snake-mode):
12895         * play/mpuz.el (mpuz-mode):
12896         * play/landmark.el (lm-mode):
12897         * play/blackbox.el (blackbox-mode):
12898         * play/5x5.el (5x5-mode):
12899         * obsolete/options.el (Edit-options-mode):
12900         * net/quickurl.el (quickurl-list-mode):
12901         * net/newst-treeview.el (newsticker-treeview-mode):
12902         * mail/rmailsum.el (rmail-summary-mode):
12903         * mail/mspools.el (mspools-mode):
12904         * locate.el (locate-mode):
12905         * ibuffer.el (ibuffer-mode):
12906         * emulation/ws-mode.el (wordstar-mode):
12907         * emacs-lisp/debug.el (debugger-mode):
12908         * array.el (array-mode):
12909         * net/eudc.el (eudc-mode): Use define-derived-mode.
12910         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
12911         Move initialization into declaration.
12912         (mairix-searches-mode): Use define-derived-mode.
12913         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
12914         (eudc-edit-hotlist): Use dolist.
12915         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
12916         (Man-mode): Use define-derived-mode.
12917         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
12918         (Info-edit-mode): Use define-derived-mode.
12919         (Info-cease-edit): Use Info-mode.
12920         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
12921         into declaration.
12922         (eshell-mode): Use define-derived-mode.
12923         * chistory.el (command-history-mode-map): Rename from
12924         command-history-map.
12925         (command-history-mode): Use define-derived-mode.
12926         (Command-history-setup): Remove function.
12927         * calc/calc.el (calc-trail-mode-map): New var.
12928         (calc-trail-mode): Use define-derived-mode.
12929         (calc-trail-buffer): Set calc-main-buffer manually.
12930         * bookmark.el (bookmark-insert-annotation): New function.
12931         (bookmark-edit-annotation): Use it.
12932         (bookmark-edit-annotation-mode): Make it a proper major mode.
12933         (bookmark-send-edited-annotation): Use derived-mode-p.
12934         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
12935         closer to its ideal place.  Use \' to match EOS.
12937         * profiler.el (profiler-calltree-find): Use function-equal.
12939 2013-09-10  Glenn Morris  <rgm@gnu.org>
12941         * files.el (interpreter-mode-alist): Convert to regexps.
12942         (set-auto-mode): Adapt for this.  (Bug#15306)
12943         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
12944         Comment out unused variable.
12945         * progmodes/cc-mode.el (interpreter-mode-alist):
12946         * progmodes/python.el (interpreter-mode-alist):
12947         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
12948         * progmodes/sh-script.el (sh-set-shell):
12949         No longer use interpreter-mode-alist to get list of shells.
12951         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
12953 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12955         * simple.el: Use set-temporary-overlay-map for universal-argument.
12956         (universal-argument-map): Don't use default-bindings (bug#15317).
12957         Bind switch-frame explicitly.  Replace universal-argument-minus with
12958         a conditional binding.
12959         (universal-argument-num-events, saved-overriding-map): Remove.
12960         (restore-overriding-map): Remove.
12961         (universal-argument--mode): Rename from save&set-overriding-map,
12962         and rewrite.
12963         (universal-argument, universal-argument-more, negative-argument)
12964         (digit-argument): Adjust accordingly.
12965         (universal-argument-minus): Remove.
12966         (universal-argument-other-key): Remove.
12968         * subr.el (with-demoted-errors): Add `format' argument.
12970 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
12972         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
12973         `tramp-cleanup-connection'.
12975         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
12976         parameters KEEP-DEBUG and KEEP-PASSWORD.
12978         * net/tramp.el (tramp-file-name-handler):
12979         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
12980         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12981         (tramp-maybe-open-connection):
12982         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
12983         Use `tramp-cleanup-connection'.
12985         * net/tramp-sh.el (tramp-maybe-open-connection):
12986         Catch 'uname-changed inside the progress reporter.
12988 2013-09-10  Glenn Morris  <rgm@gnu.org>
12990         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
12992         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
12993         returns "alternate access method" in mode (eg "-rw-r--r--.").
12995 2013-09-08  Glenn Morris  <rgm@gnu.org>
12997         * saveplace.el (load-save-place-alist-from-file):
12998         Demote errors.  (Bug#15305)
13000 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
13002         Improve compatibility with older Emacsen, and XEmacs.
13004         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
13005         only if it is bound.  It isn't for XEmacs.
13006         (with-tramp-progress-reporter): Do not let-bind `result'.
13007         This yields to scoping errors in XEmacs.
13008         (tramp-handle-make-auto-save-file-name): New function, moved from
13009         tramp-sh.el.
13011         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
13012         for `make-auto-save-file-name'.
13013         (tramp-adb--gnu-switches-to-ash):
13014         Use `tramp-compat-replace-regexp-in-string'.
13016         * net/tramp-cache.el (tramp-cache-print): Call
13017         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
13019         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
13020         bound.  It isn't for XEmacs.
13022         * net/tramp-compat.el (tramp-compat-copy-file):
13023         Catch `wrong-number-of-arguments' error.
13024         (tramp-compat-replace-regexp-in-string): New defun.
13026         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
13027         for `make-auto-save-file-name'.
13028         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
13029         `copy-file'.
13030         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
13031         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
13032         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
13034         * net/tramp-gw.el (tramp-gw-open-network-stream):
13035         Use `tramp-compat-replace-regexp-in-string'.
13037         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13038         Call `tramp-handle-make-auto-save-file-name'.
13039         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
13040         (tramp-sh-file-gvfs-monitor-dir-process-filter)
13041         (tramp-sh-file-inotifywait-process-filter):
13042         Use `tramp-compat-replace-regexp-in-string'.
13043         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
13045         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
13046         for `make-auto-save-file-name'.
13047         (tramp-smb-handle-copy-directory):
13048         Call `tramp-compat-replace-regexp-in-string'.
13049         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
13050         (tramp-smb-handle-copy-file): Improve error message.
13051         (tramp-smb-handle-rename-file): Rename directly only in case
13052         `newname' does not exist yet.  This is a restriction of smbclient.
13053         (tramp-smb-maybe-open-connection): Rerun the function only when
13054         `auth-sources' is non-nil.
13056 2013-09-08  Kenichi Handa  <handa@gnu.org>
13058         * international/characters.el: Set category "^" (Combining) for
13059         more characters.
13061 2013-09-07  Alan Mackenzie  <acm@muc.de>
13063         Correctly fontify Java class constructors.
13064         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
13065         in Java Mode.
13066         (c-recognize-typeless-decls): Set the Java value to t.
13067         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13068         While handling a "(", add a check for, effectively, Java, and handle a
13069         "typeless" declaration there.
13071 2013-09-07  Roland Winkler  <winkler@gnu.org>
13073         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
13074         field subtitle for entry type book.
13076 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13078         * minibuffer.el: Make minibuffer-complete call completion-in-region
13079         rather than other way around.
13080         (completion--some, completion-pcm--find-all-completions):
13081         Don't delay signals when debugging.
13082         (minibuffer-completion-contents): Beware fields within the
13083         minibuffer contents.
13084         (completion-all-sorted-completions): Use defvar-local.
13085         (completion--do-completion, completion--cache-all-sorted-completions)
13086         (completion-all-sorted-completions, minibuffer-force-complete):
13087         Add args `beg' and `end'.
13088         (completion--in-region-1): New fun, extracted from minibuffer-complete.
13089         (minibuffer-complete): Use completion-in-region.
13090         (completion-complete-and-exit): New fun, extracted from
13091         minibuffer-complete-and-exit.
13092         (minibuffer-complete-and-exit): Use it.
13093         (completion--complete-and-exit): Rename from
13094         minibuffer--complete-and-exit.
13095         (completion-in-region--single-word): New function, extracted from
13096         minibuffer-complete-word.
13097         (minibuffer-complete-word): Use it.
13098         (display-completion-list): Make `common-substring' argument obsolete.
13099         (completion--in-region): Call completion--in-region-1 instead of
13100         minibuffer-complete.
13101         (completion-help-at-point): Pass boundaries to
13102         minibuffer-completion-help as args rather than via an overlay.
13103         (completion-pcm--string->pattern): Use `any-delim'.
13104         (completion-pcm--optimize-pattern): New function.
13105         (completion-pcm--pattern->regex): Handle `any-delim'.
13106         * icomplete.el (icomplete-forward-completions)
13107         (icomplete-backward-completions, icomplete-completions):
13108         Adjust calls to completion-all-sorted-completions and
13109         completion--cache-all-sorted-completions.
13110         (icomplete-with-completion-tables): Default to t.
13111         * emacs-lisp/crm.el (crm--current-element): Rename from
13112         crm--select-current-element.  Don't put an overlay but return the
13113         boundaries instead.
13114         (crm--completion-command): Take two new args to bind to the boundaries.
13115         (crm-completion-help): Adjust accordingly.
13116         (crm-complete): Use completion-in-region.
13117         (crm-complete-word): Use completion-in-region--single-word.
13118         (crm-complete-and-exit): Use completion-complete-and-exit.
13120 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13122         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
13123         than dynamically.
13125 2013-09-06  Juri Linkov  <juri@jurta.org>
13127         * info.el (Info-display-images-node): When image file doesn't exist
13128         display text version of the image if it's provided in the Info file.
13129         Otherwise, display the location of missing image from SRC attribute.
13130         Add help-echo text property from ALT attribute.  (Bug#15279)
13132 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13134         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
13135         (edit-abbrevs-mode): Use define-derived-mode.
13137         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
13138         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
13139         that it's defined.
13140         (epa-key-list-mode, epa-key-mode, epa-info-mode):
13141         Use define-derived-mode.
13143         * epg.el (epg-start-encrypt): Minor CSE simplification.
13145 2013-09-06  William Xu  <william.xwl@gmail.com>
13147         * arc-mode.el: Add support for 7za (bug#15264).
13148         (archive-7z-program): New var.
13149         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
13150         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
13151         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
13153 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
13155         Remove URL syntax.
13157         * net/tramp.el (tramp-syntax, tramp-prefix-format)
13158         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
13159         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
13160         (tramp-postfix-host-format, tramp-file-name-regexp)
13161         (tramp-completion-file-name-regexp)
13162         (tramp-completion-dissect-file-name)
13163         (tramp-handle-substitute-in-file-name): Remove 'url case.
13164         (tramp-file-name-regexp-url)
13165         (tramp-completion-file-name-regexp-url): Remove constants.
13167 2013-09-06  Glenn Morris  <rgm@gnu.org>
13169         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
13171 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
13173         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
13174         keywords" below "here-doc beginnings" (Bug#15270).
13176 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13178         * subr.el (pop): Use `car-safe'.
13179         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
13180         to detect unused `pop' return value.
13182         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
13183         var `block-regexp'.
13184         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
13185         (python-fill-string): Remove unused var `marker'.
13186         (python-skeleton-add-menu-items): Remove unused var `items'.
13188         * international/mule-cmds.el: Require CL.
13189         (find-coding-systems-for-charsets): Avoid add-to-list.
13190         (sanitize-coding-system-list): New function, extracted from
13191         select-safe-coding-system-interactively.
13192         (select-safe-coding-system-interactively): Use it.
13193         (read-input-method-name): Accept symbols for `default'.
13195         * emacs-lisp/advice.el (defadvice): Add indent rule.
13197 2013-09-05  Daniel Hackney  <dan@haxney.org>
13199         * dired-x.el:
13200         * net/ange-ftp.el:
13201         * net/browse-url.el:
13202         * net/dbus.el:
13203         * net/eudc.el:
13204         * net/eudcb-ldap.el:
13205         * net/eww.el:
13206         * net/imap.el:
13207         * printing.el:
13208         * vc/ediff-diff.el:
13209         * vc/ediff-init.el:
13210         * vc/ediff-merg.el:
13211         * vc/ediff-mult.el:
13212         * vc/ediff-util.el:
13213         * vc/ediff-wind.el:
13214         * vc/ediff.el:
13215         * vc/emerge.el:
13216         * vc/pcvs.el:
13217         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
13218         byte compiler.  Remove some unused let-bound variables.
13220 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13222         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
13223         a "ref-cell", since it gets better optimized (bug#14883).
13225 2013-09-05  Glenn Morris  <rgm@gnu.org>
13227         * progmodes/cc-awk.el (c-forward-sws): Declare.
13229 2013-09-04  Glenn Morris  <rgm@gnu.org>
13231         * generic-x.el [rul-generic-mode]: Require cc-mode.
13232         (c++-mode-syntax-table): Declare.
13233         (rul-generic-mode-syntax-table): Init in the defvar.
13235 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13237         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
13238         (vc-do-command, vc-set-async-update):
13239         * vc/vc-mtn.el (vc-mtn-dir-status):
13240         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
13241         (vc-hg-pull, vc-hg-merge-branch):
13242         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
13243         (vc-git-merge-branch):
13244         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
13245         (vc-cvs-dir-status-files):
13246         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
13247         (vc-bzr-dir-status-files):
13248         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
13249         * vc/vc-annotate.el: Use lexical-binding.
13250         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
13251         (vc-sentinel-movepoint): Declare.
13252         (vc-annotate): Don't use `goto-line'.
13253         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
13254         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
13255         (vc-sentinel-movepoint): Declare.
13256         * vc/vc-svn.el: Use lexical-binding.
13257         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
13258         * vc/vc-sccs.el:
13259         * vc/vc-rcs.el: Use lexical-binding.
13261         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
13262         `deleted'.  Don't drop errors silently.
13264         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
13266 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
13268         * vc/vc.el (vc-ignore): Rewrite.
13269         (vc-default-ignore): New function.
13270         (vc-default-ignore-completion-table): Use find-ignore-file.
13272         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
13273         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
13274         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
13275         Remove.  Most code moved to vc.el.
13277 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13279         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
13280         * net/tramp-smb.el (tramp-smb-get-file-entries):
13281         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
13282         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
13284         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
13285         Update call to it.
13286         (eww-change-select): Remove unused var `properties'.
13287         (eww-make-unique-file-name): Remove unused var `base'.
13289         * finder.el (finder-compile-keywords): Don't mess with windows.
13291         * calculator.el (calculator-funcall): Fix typo in last change.
13293         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
13295         * emacs-lisp/package.el (package-activate-1): Don't let a missing
13296         <pkg>-autoloads.el file stop us.
13298         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
13299         warnings, and factor out common code.
13301 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
13303         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
13304         two-character operators and whether the character preceding them
13305         changes their meaning (Bug#15208).
13307 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13309         Format code sent to Python shell for robustness.
13310         * progmodes/python.el (python-shell-buffer-substring):
13311         New function.
13312         (python-shell-send-region, python-shell-send-buffer): Use it.
13314 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
13316         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
13317         * net/tramp.el (tramp-user-error): ... here.
13318         (tramp-find-method, tramp-check-proper-host)
13319         (tramp-dissect-file-name, tramp-debug-message)
13320         (tramp-handle-shell-command):
13321         * net/tramp-adb.el (tramp-adb-handle-shell-command):
13322         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
13324         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
13326 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
13328         * avoid.el (mouse-avoidance-point-position)
13329         (mouse-avoidance-too-close-p): Handle case where posn-at-point
13330         returns nil.
13332 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13334         * progmodes/python.el (python-shell-completion-get-completions):
13335         Drop use of deleted `comint-last-prompt-overlay'.
13336         (python-nav-if-name-main): New command.
13338 2013-09-01  Glenn Morris  <rgm@gnu.org>
13340         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13341         Avoid leading space in $wins.  Otherwise the sed command used by
13342         eg compile-main ends up containing "/*.el".  (Bug#15170)
13344         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
13346 2013-08-30  Glenn Morris  <rgm@gnu.org>
13348         * emacs-lisp/bytecomp.el (byte-recompile-directory):
13349         Fix is-this-a-directory logic.  (Bug#15220)
13351 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13353         * textmodes/css-mode.el: Use SMIE.
13354         (css-smie-grammar): New var.
13355         (css-smie--forward-token, css-smie--backward-token)
13356         (css-smie-rules): New functions.
13357         (css-mode): Use them.
13358         (css-navigation-syntax-table): Remove var.
13359         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
13360         (css-indent-calculate, css-indent-line): Remove functions.
13362         Misc changes to reduce use of `(lambda...); and other cleanups.
13363         * cus-edit.el: Use lexical-binding.
13364         (customize-push-and-save, customize-apropos)
13365         (custom-buffer-create-internal): Use closures.
13366         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
13367         * progmodes/ada-xref.el: Use setq.
13368         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
13369         * dframe.el: Use lexical-binding.
13370         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
13371         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
13372         * descr-text.el: Use lexical-binding.
13373         (describe-text-widget, describe-text-sexp, describe-property-list):
13374         Use closures.
13375         * comint.el (comint-history-isearch-push-state): Use a closure.
13376         * calculator.el: Use lexical-binding.
13377         (calculator-number-to-string): Make it work with lexical-binding.
13378         (calculator-funcall): Same and use cl-letf.
13380         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
13381         (lisp--company-doc-string, lisp--company-location): New functions.
13382         (lisp-completion-at-point): Use them to improve Company support.
13384         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
13385         params of lambda expressions.
13386         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
13387         (ruby-smie--opening-pipe-p): New function.
13388         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
13389         symbols and matched |...| for formal params.
13390         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
13391         from being treated as hanging.  Handle "rescue".
13393 2013-08-29  Glenn Morris  <rgm@gnu.org>
13395         * progmodes/cc-engine.el (c-pull-open-brace):
13396         Move definition before use.
13398 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13400         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
13401         are immutable.  Don't use `unsafe' any more.
13402         (cl--defsubst-expand): Don't substitute at the same time as keeping
13403         a residual unused let-binding.  Don't use `unsafe' any more.
13405 2013-08-29  Glenn Morris  <rgm@gnu.org>
13407         * calendar/cal-china.el (calendar-chinese-year-cache):
13408         Recenter on 2015.
13410         * nxml/nxml-util.el (nxml-debug-clear-inside):
13411         Use cl-loop rather than loop.
13413         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
13415         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
13417 2013-08-28  Glenn Morris  <rgm@gnu.org>
13419         * progmodes/antlr-mode.el: No need to require cc-mode twice.
13421         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
13423         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
13425 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13427         * simple.el (repeat-complex-command--called-interactively-skip):
13428         New function.
13429         (repeat-complex-command): Use it (bug#14136).
13431         * progmodes/cc-mode.el: Minor cleanup of var declarations.
13432         (c-define-abbrev-table): Add `doc' argument.
13433         (c-mode-abbrev-table, c++-mode-abbrev-table)
13434         (objc-mode-abbrev-table, java-mode-abbrev-table)
13435         (idl-mode-abbrev-table, pike-mode-abbrev-table)
13436         (awk-mode-abbrev-table): Use it.
13437         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
13438         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
13439         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
13440         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
13441         Move initialization into the declaration; and remove any
13442         autoload cookie.
13444         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
13445         and dynamic let binding.
13447         * vc/smerge-mode.el: Remove redundant :group args.
13449         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
13450         to load-path.
13452 2013-08-28  Juri Linkov  <juri@jurta.org>
13454         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
13455         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
13456         (isearch-other-meta-char): Handle an undefined shifted printing
13457         character by downshifting it.  (Bug#15200)
13459 2013-08-28  Juri Linkov  <juri@jurta.org>
13461         * isearch.el (isearch-search): Change regexp error message for
13462         non-regexp searches.  (Bug#15166)
13464 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
13466         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
13467         for portability to hosts where /bin/sh has problems.
13469 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13471         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
13473 2013-08-27  Juri Linkov  <juri@jurta.org>
13475         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
13476         in the keyboard macro.  (Bug#15126)
13478 2013-08-27  Juri Linkov  <juri@jurta.org>
13480         * isearch.el (isearch-quote-char): Comment out converting unibyte
13481         to multibyte, thus syncing with its `quoted-insert' counterpart.
13482         (Bug#15166)
13484 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
13486         * window.el (display-buffer-use-some-window): Add missing
13487         argument in call of get-largest-window (Bug#15185).
13488         Reported by Stephen Leake.
13490 2013-08-27  Glenn Morris  <rgm@gnu.org>
13492         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
13494 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13496         * progmodes/python.el (python-font-lock-keywords): Don't return nil
13497         from a matcher-function unless there's no more matches (bug#15161).
13499 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
13501         * minibuffer.el: Revert change from 2013-08-20.
13503         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
13504         with text property `tramp-default', if appropriate.
13505         (tramp-check-proper-host): New defun.
13506         (tramp-dissect-file-name): Do not check hostname.  Revert change
13507         of 2013-03-18.
13508         (tramp-backtrace): Make VEC-OR-PROC optional.
13510         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
13511         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13512         * net/tramp-sh.el (tramp-maybe-open-connection):
13513         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
13514         Apply `tramp-check-proper-host'.
13516 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
13518         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
13519         lambda expression in order to have `describe-variable' display it.
13521 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
13523         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
13524         BUF can be optional.  (Bug#15186)
13526 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
13528         * progmodes/flymake.el (flymake-get-real-file-name-function):
13529         Fix broken customization.  (Bug#15184)
13531 2013-08-25  Alan Mackenzie  <acm@muc.de>
13533         Improve indentation of bracelists defined by macros (without "=").
13535         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
13536         expansion begins with "{", regard it as bracelist when it doesn't
13537         contain a ";".
13539         Parse C++ inher-intro when there's a template split over 2 lines.
13541         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
13542         rigorously the search for "class" etc. followed by ":".
13544         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
13545         random languages a regexp which never matches rather than nil.
13547         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
13549         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
13550         (c-awk-regexp-one-line-possibly-open-char-list-re)
13551         (c-awk-one-line-possibly-open-regexp-re)
13552         (c-awk-one-line-non-syn-ws*-re): Remove.
13553         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
13554         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
13555         (c-awk-space*-unclosed-regexp-/-re): New constants.
13556         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
13557         aren't regexp delimiters.
13559         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
13560         handling for a rare situation in AWK Mode involving unterminated
13561         strings/regexps.
13563 2013-08-23  Glenn Morris  <rgm@gnu.org>
13565         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
13567         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
13569         * files.el (create-file-buffer): If the result would begin with
13570         spaces, prepend a "|" instead of removing them.  (Bug#15162)
13572 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13574         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
13575         text-properties (bug#15155).
13577         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
13578         exist any more.
13579         (calc-keypad-redraw): Remove unused var `pad'.
13580         (calc-keypad-press): Remove unused var `menu'.
13582 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
13584         * window.el (display-buffer-pop-up-frame):
13585         Call pop-up-frame-function with BUFFER current so `make-frame' will
13586         use it as the new frame's buffer (Bug#15133).
13588 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13590         * calendar/timeclock.el: Minor cleanups.
13591         (timeclock-ask-before-exiting, timeclock-use-display-time):
13592         Use `symbol'.
13593         (timeclock-modeline-display): Define as alias before the
13594         actual definition.
13595         (timeclock-mode-line-display): Use define-minor-mode.
13596         (timeclock-day-list-template): Make it a function, add an argument.
13597         (timeclock-day-list-required, timeclock-day-list-length)
13598         (timeclock-day-list-debt, timeclock-day-list-span)
13599         (timeclock-day-list-break): Adjust calls accordingly.
13601 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13603         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
13604         Use read--expression so that completion works again.
13606 2013-08-21  Sam Steingold  <sds@gnu.org>
13608         Add rudimentary inferior shell interaction
13609         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
13610         (sh-set-shell): Reset it.
13611         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
13612         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
13614 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13616         * align.el: Use lexical-binding.
13617         (align-region): Simplify accordingly.
13619 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
13621         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
13623         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
13624         `non-essential' up.
13626 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
13628         * net/tramp.el:
13629         * net/tramp-adb.el:
13630         * net/tramp-cmds.el:
13631         * net/tramp-ftp.el:
13632         * net/tramp-gvfs.el:
13633         * net/tramp-gw.el:
13634         * net/tramp-sh.el: Don't wrap external variable declarations by
13635         `eval-when-compile'.
13637 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13639         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
13640         now that Emacs supports ImageMagick animations.
13642 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
13644         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
13645         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
13647 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
13649         * window.el (mouse-autoselect-window-select): Do autoselect when
13650         mouse pointer is on margin.
13652 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
13654         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
13656 2013-08-16  Glenn Morris  <rgm@gnu.org>
13658         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
13659         Handle "Remote Directory" response of some clients.  (Bug#15058)
13661         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
13662         Tweak warning.  (Bug#14926)
13664         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
13665         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
13667         * image-mode.el (image-mode-map): Add menu items to reverse,
13668         increase, decrease, reset animation speed.
13669         (image--set-speed, image-increase-speed, image-decrease-speed)
13670         (image-reverse-speed, image-reset-speed): New functions.
13671         (image-mode-map): Add bindings for speed commands.
13673         * image.el (image-animate-get-speed, image-animate-set-speed):
13674         New functions.
13675         (image-animate-timeout): Respect image :speed property.
13677 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13679         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
13680         previous line (bug#15101).
13681         (debugger-eval-expression, debugger-record-expression):
13682         Use read--expression (bug#15102).
13684 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
13686         Remove byte compiler warnings, visible when compiling with
13687         `byte-compile-force-lexical-warnings' set to t.
13689         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
13690         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
13691         (tramp-handle-unhandled-file-name-directory)
13692         (tramp-handle-file-notify-add-watch, tramp-action-login)
13693         (tramp-action-succeed, tramp-action-permission-denied)
13694         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
13695         arguments with "_".
13697         * net/tramp-adb.el (tramp-adb-parse-device-names)
13698         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
13699         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
13700         (tramp-adb-handle-file-truename): Remove unused arguments.
13702         * net/tramp-cache.el (tramp-flush-directory-property)
13703         (tramp-flush-connection-property, tramp-list-connections)
13704         (tramp-parse-connection-properties): Prefix unused arguments with "_".
13706         * net/tramp-compat.el (tramp-compat-make-temp-file):
13707         Rename FILENAME to F.
13709         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
13710         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
13711         (tramp-zeroconf-parse-workstation-device-names)
13712         (tramp-zeroconf-parse-webdav-device-names)
13713         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
13715         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
13716         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
13718         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
13719         arguments.
13720         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
13721         (tramp-sh-handle-insert-file-contents-literally)
13722         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
13723         with "_".
13724         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
13725         Remove unused variables.
13727         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13728         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
13729         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
13731         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
13732         Make them a defconst.
13733         (tramp-uuencode-region): Remove unused variable.
13735 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
13737         * frameset.el (frameset--prop-setter): New function.
13738         (frameset-prop): Add gv-setter declaration.
13739         (frameset-filter-minibuffer): Deal with the case that the minibuffer
13740         parameter was already set in FILTERED.  Doc fix.
13741         (frameset--record-minibuffer-relationships): Allow saving a
13742         minibufferless frame without its corresponding minibuffer frame.
13743         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
13744         frame, if the frame id matches.
13745         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
13746         frames before orphaned ones.
13747         (frameset-restore): Warn about orphaned windows, instead of error out.
13749 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
13751         * window.el (window-make-atom): Don't overwrite parameter
13752         already present.
13753         (display-buffer-in-atom-window): Handle special case where we
13754         split an already atomic window.
13755         (window--major-non-side-window, display-buffer-in-side-window)
13756         (window--side-check): Ignore minibuffer window when walking
13757         window tree.
13758         (window-deletable-p): Return 'frame only if no other frame uses
13759         our minibuffer window.
13760         (record-window-buffer): Run buffer-list-update-hook.
13761         (split-window): Make sure window--check-frame won't destroy an
13762         existing atomic window in case the new window gets nested
13763         inside.
13764         (display-buffer-at-bottom): Ignore minibuffer window when
13765         walking window tree.  Don't split a side window.
13766         (pop-to-buffer): Don't set-buffer here, the select-window call
13767         should do that.
13768         (mouse-autoselect-window-select): Autoselect only if we are in the
13769         text portion of the window.
13771 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13773         * net/shr.el (shr-parse-image-data): New function to grab both the
13774         data itself and the Content-Type.
13775         (shr-put-image): Use it.
13777         * net/eww.el (eww-display-image): Ditto.
13779         * image.el (image-content-type-suffixes): New variable.
13781 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13783         * progmodes/python.el (python-imenu--build-tree)
13784         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
13786 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
13788         * simple.el (backward-word): Mention the optional argument.
13790 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13792         * frameset.el (frameset--make): Rename constructor from make-frameset.
13793         (frameset-p, frameset-valid-p): Don't autoload.
13794         (frameset-valid-p): Use normal accessors.
13796 2013-08-13  Glenn Morris  <rgm@gnu.org>
13798         * progmodes/compile.el (compile-command): Tweak example in doc.
13799         * obsolete/scribe.el (scribe-mode):
13800         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
13802         * mail/feedmail.el (feedmail-confirm-outgoing)
13803         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
13805         * cus-start.el (truncate-partial-width-windows): Fix type.
13807         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
13809         * net/shr.el (shr-table-horizontal-line): Fix custom type.
13811 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13813         * emacs-lisp/timer.el (timer--time-setter): New function.
13814         (timer--time): Use it as gv-setter.
13816         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
13817         setter is not a symbol.
13819 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
13821         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
13822         if sending fails.  This makes debugging easier.
13824 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
13826         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
13827         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
13828         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
13830 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
13832         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
13834 2013-08-12  Glenn Morris  <rgm@gnu.org>
13836         * format.el (format-annotate-function):
13837         Handle read-only text properties in the source.  (Bug#14887)
13839 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13841         * net/eww.el (eww-display-html): Ignore coding system errors.
13842         One web site uses "utf-8lias" as the coding system.
13844 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
13846         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
13848 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
13850         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
13851         (tutorial--detailed-help): Remove unused local variables.
13852         (tutorial--save-tutorial-to): Use ignore-errors.
13853         (help-with-tutorial): Use looking-at-p.
13855         * view.el (view-buffer-other-window, view-buffer-other-frame):
13856         Mark unused arguments.
13858         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
13859         (woman-select-symbol-fonts, woman, woman-find-file)
13860         (woman-insert-file-contents, woman-non-underline-faces):
13861         Use string-match-p.
13862         (woman1-unquote): Move declaration.
13864         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
13865         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
13866         argument.  Remove unused local variable.
13867         (xml-parse-elem-type): Use string-match-p.
13868         (xml-substitute-numeric-entities): Use ignore-errors.
13870         * calculator.el (calculator): Mark unused argument.
13871         (calculator-paste, calculator-quit, calculator-integer-p):
13872         Use ignore-errors.
13873         (calculator-string-to-number, calculator-decimal, calculator-exp)
13874         (calculator-op-or-exp): Use string-match-p.
13876         * dired.el (dired-buffer-more-recently-used-p): Declare.
13877         (dired-insert-set-properties, dired-insert-old-subdirs):
13878         Use ignore-errors.
13880         * dired-aux.el (dired-compress): Use ignore-errors.
13881         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
13882         (dired-do-async-shell-command, dired-do-shell-command)
13883         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
13884         (dired-insert-subdir-validate): Use string-match-p.
13885         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
13886         (dired-add-entry): Use string-match-p, looking-at-p.
13887         (dired-insert-subdir-newpos): Remove unused local variable.
13889         * filenotify.el (file-notify-callback): Remove unused local variable.
13891         * filesets.el (filesets-error): Mark unused argument.
13892         (filesets-which-command-p, filesets-filter-dir-names)
13893         (filesets-directory-files, filesets-get-external-viewer)
13894         (filesets-ingroup-get-data): Use string-match-p.
13896         * find-file.el (ff-other-file-name, ff-other-file-name)
13897         (ff-find-the-other-file, ff-cc-hh-converter):
13898         Remove unused local variables.
13899         (ff-get-file-name): Use string-match-p.
13900         (ff-all-dirs-under): Use ignore-errors.
13902         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
13903         (follow-select-if-visible): Remove unused local variable.
13905         * forms.el (read-file-filter): Move declaration.
13906         (forms--make-format, forms--make-parser, forms-insert-record):
13907         Quote function with #'.
13908         (forms--update): Use string-match-p.  Quote function with #'.
13910         * help-mode.el (help-dir-local-var-def): Mark unused argument.
13911         (help-make-xrefs): Use looking-at-p.
13912         (help-xref-on-pp): Use looking-at-p, ignore-errors.
13914         * ibuffer.el (ibuffer-ext-visible-p): Declare.
13915         (ibuffer-confirm-operation-on): Use string-match-p.
13917         * msb.el (msb-item-handler, msb-dired-item-handler):
13918         Mark unused arguments.
13920         * ses.el (ses-decode-cell-symbol)
13921         (ses-kill-override): Remove unused local variable.
13922         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
13923         (ses-load): Use ignore-errors, looking-at-p.
13924         (ses-jump-safe): Use ignore-errors.
13925         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
13927         * tabify.el (untabify, tabify): Mark unused arguments.
13929         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
13930         Mark unused argument.
13931         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
13932         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
13934         * emacs-lisp/timer.el (timer--time): Define setter with
13935         gv-define-setter to avoid deprecation warning.
13937         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
13938         (*record-cmpl-statistics-p*): Remove (was commented out).
13939         (cmpl-statistics-block): Remove (body was commented out).
13940         All callers changed.
13941         (add-completions-from-buffer, load-completions-from-file):
13942         Remove unused variables.
13944 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
13946         * filecache.el (file-cache-delete-file-list):
13947         Print message only when told so.
13948         (file-cache-files-matching): Use #' in mapconcat argument.
13950         * ffap.el (ffap-url-at-point): Fix reference to variable
13951         thing-at-point-default-mail-uri-scheme.
13953 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13955         * subr.el (define-error): New function.
13956         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
13957         error-file-not-found and define with define-error.
13958         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
13959         and define with define-error.
13960         * userlock.el (file-locked, file-supersession):
13961         * simple.el (mark-inactive):
13962         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
13963         * progmodes/ada-mode.el (ada-mode-errors):
13964         * play/life.el (life-extinct):
13965         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
13966         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
13967         * nxml/rng-util.el (rng-error):
13968         * nxml/rng-uri.el (rng-uri-error):
13969         * nxml/rng-match.el (rng-compile-error):
13970         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
13971         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
13972         * nxml/nxml-rap.el (nxml-scan-error):
13973         * nxml/nxml-outln.el (nxml-outline-error):
13974         * net/soap-client.el (soap-error):
13975         * net/gnutls.el (gnutls-error):
13976         * net/ange-ftp.el (ftp-error):
13977         * mpc.el (mpc-proc-error):
13978         * json.el (json-error, json-readtable-error, json-unknown-keyword)
13979         (json-number-format, json-string-escape, json-string-format)
13980         (json-key-format, json-object-format):
13981         * jka-compr.el (compression-error):
13982         * international/quail.el (quail-error):
13983         * international/kkc.el (kkc-error):
13984         * emacs-lisp/ert.el (ert-test-failed):
13985         * calc/calc.el (calc-error, inexact-result, math-overflow)
13986         (math-underflow):
13987         * bookmark.el (bookmark-error-no-filename):
13988         * epg.el (epg-error): Define with define-error.
13990         * time.el (display-time-event-handler)
13991         (display-time-next-load-average): Don't call sit-for since it seems
13992         unnecessary (bug#15045).
13994         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
13995         Use #' instead of ' to quote functions.
13996         (checkdoc-output-mode): Use setq-local.
13997         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
13998         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
13999         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
14000         (checkdoc-ispell, checkdoc-ispell-current-buffer)
14001         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
14002         (checkdoc-ispell-message-text, checkdoc-ispell-start)
14003         (checkdoc-ispell-continue, checkdoc-ispell-comments)
14004         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
14006         * ido.el (ido-completion-help): Fix up compiler warning.
14008 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
14010         * frameset.el (frameset-p): Add autoload cookie.
14011         (frameset--jump-to-register): New function, based on code moved from
14012         register.el.
14013         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
14015         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
14016         (frameset-restore, frameset-save, frameset-session-filter-alist):
14017         Remove declarations.
14018         (register-alist): Doc fix.
14019         (frameset-to-register): Move to frameset.el.
14020         (jump-to-register, describe-register-1): Remove frameset-specific code.
14022 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
14024         * allout-widgets.el (allout-widgets-pre-command-business)
14025         (allout-widgets-post-command-business)
14026         (allout-widgets-after-change-handler)
14027         (allout-decorate-item-and-context, allout-set-boundary-marker)
14028         (allout-body-modification-handler)
14029         (allout-graphics-modification-handler): Mark ignored arguments.
14030         (allout-widgets-post-command-business)
14031         (allout-widgets-exposure-change-processor)
14032         (allout-widgets-exposure-undo-processor)
14033         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
14034         (allout-parse-item-at-point, allout-decorate-item-guides)
14035         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
14036         * allout.el (epa-passphrase-callback-function): Declare.
14037         (allout-overlay-insert-in-front-handler)
14038         (allout-overlay-interior-modification-handler)
14039         (allout-isearch-end-handler, allout-chart-siblings)
14040         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
14041         (allout-yank-processing, allout-process-exposed)
14042         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
14043         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
14044         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
14045         (lisp-indent-defform): Mark ignored arguments.
14046         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
14047         (calculate-lisp-indent): Remove unused variables.
14048         * international/characters.el (indian-2-column, arabic-2-column)
14049         (tibetan): Mark ignored arguments.
14050         (use-cjk-char-width-table): Mark ignored arguments.
14051         Remove unused variables.
14052         * international/fontset.el (build-default-fontset-data)
14053         (x-compose-font-name, create-fontset-from-fontset-spec):
14054         Mark ignored arguments.
14055         (fontset-plain-name): Remove unused variables.
14056         * international/mule.el (charset-id, charset-bytes, generic-char-p)
14057         (keyboard-coding-system): Mark ignored arguments.
14058         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
14059         * help.el (resize-temp-buffer-window):
14060         * window.el (display-buffer-in-major-side-window)
14061         (display-buffer-in-side-window, display-buffer-in-previous-window):
14062         Remove unused variables.
14063         * isearch.el (isearch-forward-symbol):
14064         * version.el (emacs-bzr-version-bzr):
14065         * international/mule-cmds.el (current-language-environment):
14066         * term/common-win.el (x-handle-iconic, x-handle-geometry)
14067         (x-handle-display):
14068         * term/pc-win.el (x-list-fonts, x-display-planes)
14069         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
14070         (x-server-version, x-display-screens, x-display-mm-height)
14071         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
14072         (x-selection-owner-p, x-own-selection-internal)
14073         (x-disown-selection-internal, x-get-selection-internal)
14074         (msdos-initialize-window-system):
14075         * term/tty-colors.el (tty-color-alist, tty-color-clear):
14076         * term/x-win.el (x-handle-no-bitmap-icon):
14077         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
14078         (vc-default-find-file-hook, vc-default-extra-menu):
14079         Mark ignored arguments.
14081 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14083         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
14084         break-condition in the context of the debugged code (bug#12685).
14086 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
14088         * comint.el:
14089         Do not use an overlay to highlight the last prompt.  (Bug#14744)
14090         (comint-mode): Make comint-last-prompt buffer local.
14091         (comint-last-prompt): New variable.
14092         (comint-last-prompt-overlay): Remove.  Superseded by
14093         comint-last-prompt.
14094         (comint-snapshot-last-prompt, comint-output-filter):
14095         Use comint-last-prompt.
14097 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
14099         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
14100         (frameset-save): Check validity of the resulting frameset.
14102 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
14104         * ido.el (ido-record-command): Add doc string.
14106 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
14108         * frameset.el (frameset): Do not disable creation of the default
14109         frameset-p predicate.  Doc fix.
14110         (frameset-valid-p): New function, copied from the old predicate-p.
14111         Add additional checks.
14112         (frameset-restore): Check with frameset-valid-p.
14113         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
14114         (frameset-name, frameset-description, frameset-properties)
14115         (frameset-states): Add docstring.
14116         (frameset-session-filter-alist, frameset-persistent-filter-alist)
14117         (frameset-filter-alist): Doc fixes.
14119 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
14121         * frameset.el (frameset-p, frameset-prop): Doc fixes.
14123 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14125         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
14126         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
14127         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
14128         (byte-compile-normal-call): Remove obsolescence check.
14130 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
14132         * frameset.el (frameset-restore): Doc fix.
14134         * register.el (frameset-frame-id, frameset-frame-with-id)
14135         (frameset-p, frameset-restore, frameset-save): Declare.
14136         (register-alist): Document framesets.
14137         (frameset-session-filter-alist): Declare.
14138         (frameset-to-register): New function.
14139         (jump-to-register): Implement jumping to framesets.  Doc fix.
14140         (describe-register-1): Describe framesets.
14142         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
14144 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
14146         * desktop.el (desktop-save-frameset): Use new frameset-save args.
14147         Use lexical-binding.
14149         * frameset.el (frameset): Use type vector, not list (incompatible
14150         change).  Do not declare a new constructor, use the default one.
14151         Upgrade suggested properties `app', `name' and `desc' to slots `app',
14152         `name' and `description', respectively, and add read-only slot
14153         `timestamp'.  Doc fixes.
14154         (frameset-copy, frameset-persistent-filter-alist)
14155         (frameset-filter-alist, frameset-switch-to-gui-p)
14156         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
14157         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
14158         (frameset-filter-iconified, frameset-keep-original-display-p):
14159         Doc fixes.
14160         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
14161         Rename from frameset-filter-(save|restore)-param.  All callers changed.
14162         Doc fix.
14163         (frameset-p): Adapt to change to vector and be more thorough.
14164         Change arg name to OBJECT.  Doc fix.
14165         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
14166         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
14167         All callers changed.
14168         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
14169         All callers changed.
14170         (frameset--record-minibuffer-relationships): Rename from
14171         frameset--process-minibuffer-frames.  All callers changed.
14172         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
14173         Use new default constructor (again).  Doc fix.
14174         (frameset--find-frame-if): Rename from `frameset--find-frame'.
14175         All callers changed.
14176         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
14177         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
14178         Doc fix.
14179         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
14180         PARAMETERS and WINDOW-STATE, respectively.
14181         (frameset-restore): Add new keyword argument PREDICATE.
14182         Reset frameset--target-display to nil.  Doc fix.
14184 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14186         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
14187         (bat-mode): Use it.
14188         (bat-mode-syntax-table): Mark \n as end-of-comment.
14189         (bat-font-lock-keywords): Remove comment rule.
14191         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
14192         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
14194         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
14195         (byte-compile-callargs-warn): Use `push'.
14196         (byte-compile-arglist-warn): Ignore higher-order "calls".
14197         (byte-compile-file-form-autoload): Use `pcase'.
14198         (byte-compile-function-form): If quoting a symbol, check that it exists.
14200 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
14202         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
14203         and add a few popular commands found in batch files.
14204         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
14205         (dos-mode): Doc fixes.
14207 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14209         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
14210         (dos-mode): Use setq-local.  Add space after "rem".
14211         (dos-mode-syntax-table): Don't use "w" for symbol chars.
14212         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
14214 2013-08-07  Arni Magnusson  <arnima@hafro.is>
14216         * progmodes/dos.el: New file.
14217         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
14218         dos-mode.
14220 2013-08-06  Glenn Morris  <rgm@gnu.org>
14222         * calendar/calendar.el: Add new faces, and day-header-array.
14223         (calendar-weekday-header, calendar-weekend-header)
14224         (calendar-month-header): New faces.
14225         (calendar-day-header-construct): New function.
14226         (calendar-day-header-width): Also :set calendar-day-header-array.
14227         (calendar-american-month-header, calendar-european-month-header)
14228         (calendar-iso-month-header): Use calendar- faces.
14229         (calendar-generate-month):
14230         Use calendar-day-header-array for day headers; apply faces to them.
14231         (calendar-mode): Check calendar-font-lock-keywords non-nil.
14232         (calendar-abbrev-construct): Add optional maxlen argument.
14233         (calendar-day-name-array): Doc fix.
14234         (calendar-day-name-array, calendar-abbrev-length)
14235         (calendar-day-abbrev-array):
14236         Also :set calendar-day-header-array, and maybe redraw.
14237         (calendar-day-header-array): New option.  (Bug#15007)
14238         (calendar-font-lock-keywords): Set to nil and make obsolete.
14239         (calendar-day-name): Add option to use header array.
14241 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14243         * net/shr.el (shr-render-td): Remove debugging.
14244         (shr-render-td): Make width computation consistent by defaulting
14245         all zero-width columns to 10 characters.  This may not be optimal,
14246         but it's at least consistent.
14247         (shr-make-table-1): Redo last change to fix the real problem in
14248         colspan handling.
14250 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
14252         * files.el (cache-long-line-scans):
14253         Make obsolete alias to `cache-long-scans'.
14255 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
14257         * frameset.el (frameset, frameset-filter-alist)
14258         (frameset-filter-params, frameset-save, frameset--reuse-frame)
14259         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
14260         (frameset-compute-pos): Rename from frameset--compute-pos,
14261         and add docstring.
14262         (frameset-move-onscreen): Use frameset-compute-pos.
14263         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
14265         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
14266         Fix typos in docstrings.
14268 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
14270         * frame.el (get-other-frame): Tiny cleanup.
14272 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
14274         * vc/vc.el (vc-default-ignore-completion-table):
14275         Silence byte-compiler warning.
14277         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
14278         slot, which can indeed be nil.
14279         (frameset-live-filter-alist, frameset-persistent-filter-alist):
14280         Move entry for `left' from persistent to live filter alist.
14281         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
14282         Doc fixes.
14283         (frameset-filter-params): When restoring a frame, copy items added to
14284         `filtered', to avoid unwittingly modifying the original parameters.
14285         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
14286         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
14288         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
14289         to use looking-at-p instead of looking-at.  (Bug#15028)
14291 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14293         Revert introduction of isearch-filter-predicates (bug#14714).
14294         Rely on add-function instead.
14295         * isearch.el (isearch-filter-predicates): Rename it back to
14296         isearch-filter-predicate.
14297         (isearch-message-prefix): Use advice-function-mapc and advice
14298         properties to get the isearch-message-prefix.
14299         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
14300         instead of run-hook-with-args-until-failure.
14301         (isearch-filter-visible): Not obsolete any more.
14302         * loadup.el: Preload nadvice.
14303         * replace.el (perform-replace): Revert to funcall
14304         instead of run-hook-with-args-until-failure.
14305         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
14306         * dired-aux.el (dired-isearch-filenames-mode): Rename from
14307         dired-isearch-filenames-toggle; make it into a proper minor mode.
14308         Use add/remove-function.
14309         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
14310         Call the minor-mode rather than add/remove-hook.
14311         (dired-isearch-filter-filenames):
14312         Remove isearch-message-prefix property.
14313         * info.el (Info--search-loop): New function, extracted from Info-search.
14314         Funcall isearch-filter-predicate instead of
14315         run-hook-with-args-until-failure isearch-filter-predicates.
14316         (Info-search): Use it.
14317         (Info-mode): Use isearch-filter-predicate instead of
14318         isearch-filter-predicates.
14320 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
14322         Do not call to `selected-window' where it is assumed by default.
14323         Affected functions are `window-minibuffer-p', `window-dedicated-p',
14324         `window-hscroll', `window-width', `window-height', `window-buffer',
14325         `window-frame', `window-start', `window-point', `next-window'
14326         and `window-display-table'.
14327         * abbrev.el (abbrev--default-expand):
14328         * bs.el (bs--show-with-configuration):
14329         * buff-menu.el (Buffer-menu-mouse-select):
14330         * calc/calc.el (calc):
14331         * calendar/calendar.el (calendar-generate-window):
14332         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
14333         (diary-make-entry):
14334         * comint.el (send-invisible, comint-dynamic-complete-filename)
14335         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
14336         * completion.el (complete):
14337         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
14338         * disp-table.el (describe-current-display-table):
14339         * doc-view.el (doc-view-insert-image):
14340         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
14341         * ehelp.el (with-electric-help):
14342         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14343         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
14344         * emacs-lisp/helper.el (Helper-help-scroller):
14345         * emulation/cua-base.el (cua--post-command-handler-1):
14346         * eshell/esh-mode.el (eshell-output-filter):
14347         * ffap.el (ffap-gnus-wrapper):
14348         * help-macro.el (make-help-screen):
14349         * hilit-chg.el (highlight-compare-buffers):
14350         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
14351         * hl-line.el (global-hl-line-highlight):
14352         * icomplete.el (icomplete-simple-completing-p):
14353         * isearch.el (isearch-done):
14354         * jit-lock.el (jit-lock-stealth-fontify):
14355         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
14356         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
14357         * mpc.el (mpc-tagbrowser, mpc):
14358         * net/rcirc.el (rcirc-any-buffer):
14359         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
14360         * play/landmark.el (landmark-max-width, landmark-max-height):
14361         * play/zone.el (zone):
14362         * progmodes/compile.el (compilation-goto-locus):
14363         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
14364         * progmodes/etags.el (find-tag-other-window):
14365         * progmodes/fortran.el (fortran-column-ruler):
14366         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14367         * progmodes/verilog-mode.el (verilog-point-text):
14368         * reposition.el (reposition-window):
14369         * rot13.el (toggle-rot13-mode):
14370         * server.el (server-switch-buffer):
14371         * shell.el (shell-dynamic-complete-command)
14372         (shell-dynamic-complete-environment-variable):
14373         * simple.el (insert-buffer, set-selective-display)
14374         (delete-completion-window):
14375         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
14376         (speedbar-recenter):
14377         * startup.el (fancy-splash-head):
14378         * textmodes/ispell.el (ispell-command-loop):
14379         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
14380         * tutorial.el (help-with-tutorial):
14381         * vc/add-log.el (add-change-log-entry):
14382         * vc/compare-w.el (compare-windows):
14383         * vc/ediff-help.el (ediff-indent-help-message):
14384         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
14385         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
14386         (ediff-setup-control-frame):
14387         * vc/emerge.el (emerge-position-region):
14388         * vc/pcvs-util.el (cvs-bury-buffer):
14389         * window.el (walk-windows, mouse-autoselect-window-select):
14390         * winner.el (winner-set-conf, winner-undo): Related users changed.
14392 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
14394         * frameset.el (frameset--set-id): Doc fix.
14395         (frameset-frame-id, frameset-frame-id-equal-p)
14396         (frameset-locate-frame-id): New functions.
14397         (frameset--process-minibuffer-frames, frameset--reuse-frame)
14398         (frameset-restore): Use them.
14400 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
14402         Do not call to `selected-frame' where it is assumed by default.
14403         Affected functions are `raise-frame', `redraw-frame',
14404         `frame-first-window', `frame-terminal' and `delete-frame'.
14405         * calendar/appt.el (appt-disp-window):
14406         * epg.el (epg-wait-for-completion):
14407         * follow.el (follow-delete-other-windows-and-split)
14408         (follow-avoid-tail-recenter):
14409         * international/mule.el (set-terminal-coding-system):
14410         * mail/rmail.el (rmail-mail-return):
14411         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14412         * progmodes/f90.el (f90-add-imenu-menu):
14413         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
14414         * server.el (server-switch-buffer):
14415         * simple.el (delete-completion-window):
14416         * talk.el (talk):
14417         * term/xterm.el (terminal-init-xterm-modify-other-keys)
14418         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
14419         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
14420         * vc/ediff.el (ediff-documentation): Related users changed.
14421         * frame.el (selected-terminal): Remove the leftover.
14423 2013-08-05  Glenn Morris  <rgm@gnu.org>
14425         * calendar/calendar.el (calendar-generate-month):
14426         Fix for calendar-column-width != 1 + calendar-day-digit-width.
14427         (calendar-generate-month, calendar-font-lock-keywords):
14428         Fix for calendar-day-header-width > length of any day name.
14430 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
14432         * desktop.el (desktop-clear): Use new name of sort predicate.
14434         * frameset.el (frameset): Add docstring.  Move :version property to its
14435         own `version' slot.
14436         (frameset-copy): Rename from copy-frameset.
14437         (frameset-p): Check more thoroughly.
14438         (frameset-prop): Do not check for :version, which is no longer a prop.
14439         (frameset-live-filter-alist, frameset-persistent-filter-alist):
14440         Use new :never value instead of t.
14441         (frameset-filter-alist): Expand and clarify docstring.
14442         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
14443         (frameset-filter-minibuffer, frameset-filter-save-param)
14444         (frameset-filter-restore-param, frameset-filter-iconified):
14445         Add pointer to docstring of frameset-filter-alist.
14446         (frameset-filter-params): Rename filter values to be more meaningful:
14447         :never instead of t, and reverse the meanings of :save and :restore.
14448         (frameset--process-minibuffer-frames): Clarify error message.
14449         (frameset-save): Avoid unnecessary and confusing call to framep.
14450         Use new BOA constructor for framesets.
14451         (frameset--reuse-list): Doc fix.
14452         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
14453         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
14454         (frameset-minibufferless-first-p): Doc fix.
14455         Rename from frameset-sort-frames-for-deletion.
14456         (frameset-restore): Doc fixes.  Use new function names.
14457         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
14459 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
14461         * desktop.el (desktop-restore-forces-onscreen)
14462         (desktop-restore-reuses-frames): Document :keyword constant values.
14463         (desktop-filter-parameters-alist): Remove, now identical to
14464         frameset-filter-alist.
14465         (desktop--filter-tty*): Remove, moved to frameset.el.
14466         (desktop-save-frameset, desktop-restore-frameset):
14467         Do not pass :filters argument.
14469         * frameset.el (frameset-live-filter-alist)
14470         (frameset-persistent-filter-alist): New variables.
14471         (frameset-filter-alist): Use them.  Add autoload cookie.
14472         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
14473         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
14474         `frameset--id' (it's supposed to be internal to frameset.el).
14475         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
14476         (frameset--initial-params): New function.
14477         (frameset--get-frame): Use it.  Doc fix.
14478         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
14479         Accept :all, not 'all.
14480         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
14481         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
14482         with fbound symbols.  Fix frame id matching, and remove matching ids if
14483         the frame being restored is deleted.  Obey :delete.
14485 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14487         * subr.el (macrop): New function.
14488         (text-clone--maintaining): New var.
14489         (text-clone--maintain): Rename from text-clone-maintain.  Use it
14490         instead of inhibit-modification-hooks.
14492         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
14493         a proxy, so as handle autoloads and redefinitions of the target.
14494         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
14496         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
14497         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
14498         (pcase--mutually-exclusive-p): New function.
14499         (pcase--split-consp): Use it.
14500         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
14501         mutually exclusive with the current predicate.
14503         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
14504         (edebug-macrop): Remove.  Use `macrop' instead.
14505         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
14506         (ad-macro-p):
14507         * eshell/esh-cmd.el (eshell-macrop):
14508         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
14510 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14512         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
14513         (advice-mapc): New function, using it.
14514         (advice-function-member-p): New function.
14515         (advice--normalize): Store the cdr in advice--saved-rewrite since
14516         that's the part that will be changed.
14517         (advice--symbol-function): New function.
14518         (advice-remove): Handle removal before the function is defined.
14519         Adjust to new advice--saved-rewrite.
14520         (advice-member-p): Use advice-function-member-p and
14521         advice--symbol-function.
14523 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
14525         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
14526         (frameset-filter-minibuffer): Doc fix.
14527         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
14528         (frameset--set-id, frameset--process-minibuffer-frames)
14529         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
14530         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
14532         * desktop.el (desktop-clear): Only delete frames when called
14533         interactively and desktop-restore-frames is non-nil.  Doc fix.
14534         (desktop-read): Set desktop-saved-frameset to nil.
14536 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
14538         * vc/vc.el (vc-ignore): Rewrite.
14539         (vc-default-ignore-completion-table, vc--read-lines)
14540         (vc--add-line, vc--remove-regexp): New functions.
14542         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
14543         (vc-svn-ignore-completion-table): New function.
14545         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
14546         (vc-hg-ignore-completion-table)
14547         (vc-hg-find-ignore-file): New functions.
14549         * vc/vc-git.el (vc-git-ignore): Rewrite.
14550         (vc-git-ignore-completion-table)
14551         (vc-git-find-ignore-file): New functions.
14553         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
14555         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
14556         (vc-bzr-ignore-completion-table)
14557         (vc-bzr-find-ignore-file): New functions.
14559 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
14561         * frameset.el (frameset-prop): New function and setter.
14562         (frameset-save): Do not modify frame list passed by the caller.
14564 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14566         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
14568 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14570         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
14571         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
14573         * custom.el (custom-initialize-default, custom-initialize-set)
14574         (custom-initialize-reset, custom-initialize-changed): Affect the
14575         toplevel-default-value (bug#6275, bug#14586).
14576         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
14577         for bug#6275.
14579 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
14581         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
14582         Add cl-def* expressions.
14584         * frameset.el (frameset-filter-params): Fix order of arguments.
14586 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
14588         Move code related to saving frames to frameset.el.
14589         * desktop.el: Require frameset.
14590         (desktop-restore-frames): Doc fix.
14591         (desktop-restore-reuses-frames): Rename from
14592         desktop-restoring-reuses-frames.
14593         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
14594         (desktop-clear): Clear frames too.
14595         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
14596         (desktop--filter-tty*, desktop-save, desktop-read):
14597         Use frameset functions.
14598         (desktop-before-saving-frames-functions, desktop--filter-*-color)
14599         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
14600         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
14601         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
14602         (desktop--process-minibuffer-frames, desktop-save-frames)
14603         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
14604         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
14605         (desktop--sort-states, desktop-restoring-frames-p)
14606         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
14607         (desktop-restoring-frameset-p, desktop-restore-frameset)
14608         (desktop--check-dont-save, desktop-save-frameset): New functions.
14609         (desktop--app-id): New constant.
14610         (desktop-first-buffer, desktop-buffer-ok-count)
14611         (desktop-buffer-fail-count): Move before first use.
14612         * frameset.el: New file.
14614 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14616         * files.el: Use lexical-binding.
14617         (dir-locals-read-from-file): Remove unused `err' variable.
14618         (hack-dir-local-variables--warned-coding): New var.
14619         (hack-dir-local-variables): Use it to avoid repeated warnings.
14620         (make-backup-file-name--default-function): New function.
14621         (make-backup-file-name-function): Use it as default.
14622         (buffer-stale--default-function): New function.
14623         (buffer-stale-function): Use it as default.
14624         (revert-buffer-insert-file-contents--default-function): New function.
14625         (revert-buffer-insert-file-contents-function): Use it as default.
14626         (insert-directory): Avoid add-to-list.
14628         * autorevert.el (auto-revert-handler): Simplify.
14629         Use buffer-stale--default-function.
14631 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
14633         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
14635         * whitespace.el (whitespace-ensure-local-variables): New function.
14636         (whitespace-cleanup-region): Call it.
14637         (whitespace-turn-on): Call it.
14639 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
14641         Complete file name handlers.
14643         * net/tramp.el (tramp-handle-set-visited-file-modtime)
14644         (tramp-handle-verify-visited-file-modtime)
14645         (tramp-handle-file-notify-rm-watch): New functions.
14646         (tramp-call-process): Do not bind `default-directory'.
14648         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
14649         Order alphabetically.
14650         <access-file, add-name-to-file, dired-call-process>:
14651         <dired-compress-file, file-acl, file-notify-rm-watch>:
14652         <file-ownership-preserved-p, file-selinux-context>:
14653         <make-directory-internal, make-symbolic-link, set-file-acl>:
14654         <set-file-selinux-context, set-visited-file-modtime>:
14655         <verify-visited-file-modtime>: Add handler.
14656         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
14658         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
14659         <file-notify-add-watch, file-notify-rm-watch>:
14660         <set-file-times, set-visited-file-modtime>:
14661         <verify-visited-file-modtime>: Add handler.
14662         (with-tramp-gvfs-error-message)
14663         (tramp-gvfs-handle-set-visited-file-modtime)
14664         (tramp-gvfs-fuse-file-name): Remove.
14665         (tramp-gvfs-handle-file-notify-add-watch)
14666         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
14667         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
14669         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
14670         Order alphabetically.
14671         <file-notify-rm-watch>: Use default Tramp handler.
14672         <executable-find>: Remove private handler.
14673         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
14674         `default-directory'.
14675         (tramp-sh-handle-executable-find)
14676         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
14677         (tramp-sh-file-gvfs-monitor-dir-process-filter)
14678         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
14679         Do not use `format' in `tramp-message'.
14681         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
14682         <file-notify-rm-watch, set-visited-file-modtime>:
14683         <verify-visited-file-modtime>: Add handler.
14684         (tramp-smb-call-winexe): Do not bind `default-directory'.
14686 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
14688         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
14690 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
14692         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
14693         use it.
14694         (log-view-diff-changeset): Same.
14695         (log-view-diff-common): Call backend command `previous-revision'
14696         to find out the previous revision, in both cases.  Swap the
14697         variables `to' and `fr', so that `fr' usually refers to the
14698         earlier revision (Bug#14989).
14700 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
14702         * ibuf-ext.el (ibuffer-filter-by-filename):
14703         Make it work with dired buffers too.
14705 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
14707         * emacs-lisp/re-builder.el (reb-color-display-p):
14708         * files.el (save-buffers-kill-terminal):
14709         * net/browse-url.el (browse-url):
14710         * server.el (server-save-buffers-kill-terminal):
14711         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
14712         Prefer nil to selected-frame for the first arg of frame-parameter.
14714 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
14716         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
14718 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
14720         * minibuffer.el (completion--twq-all): Try and preserve each
14721         completion's case choice (bug#14907).
14723 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14725         * net/network-stream.el (open-network-stream): Mention the new
14726         :nogreeting parameter.
14727         (network-stream-open-starttls): Use the :nogreeting parameter
14728         (bug#14938).
14730         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
14732         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
14733         more natural than popping.
14735         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
14736         (shr-urlify): Highlight under mouse.
14738 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
14740         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
14742         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
14744         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
14745         buffer for output.
14747         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
14748         point-min==1.  Fix search string.  Fix parentheses missing.
14750         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
14751         assume point-min==1.  Fix search string.  Fix parentheses missing.
14753         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
14755         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
14756         buffer for output.
14758 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
14760         * frame.el (frame-notice-user-settings): Avoid inflooping when the
14761         initial frame is minibuffer-less.  (Bug#14841)
14763 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
14765         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
14766         option.
14768         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14769         (tramp-maybe-open-connection): Use it.
14771 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
14773         * desktop.el (desktop--make-frame): Include `minibuffer' in the
14774         minimal set of parameters passed when creating a frame, because
14775         the minibuffer status of a frame cannot be changed later.
14777 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
14779         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
14780         replace-regexp-in-string and inadvertent omissions in previous change.
14781         (todo-filter-items): Ensure only file names are comma-separated in
14782         name of filtered items buffer.
14784 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
14786         * desktop.el: Optionally force offscreen frames back onscreen.
14787         (desktop-restoring-reuses-frames): New option.
14788         (desktop--compute-pos, desktop--move-onscreen): New functions.
14789         (desktop--make-frame): Use desktop--move-onscreen.
14791 2013-07-27  Alan Mackenzie  <acm@muc.de>
14793         Fontify a Java generic method as a function.
14794         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
14795         value to t.
14797 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
14799         * calendar/todo-mode.el: Add command to rename todo files.
14800         (todo-rename-file): New command.
14801         (todo-key-bindings-t): Add key binding for it.  Change the
14802         bindings of todo-filter-regexp-items(-multifile) to use `x'
14803         instead of `r', since the latter is better suited to the new
14804         renaming command.
14806 2013-07-27  Alan Mackenzie  <acm@muc.de>
14808         Make Java try-with-resources statement parse properly.
14809         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
14810         (c-block-stmt-1-2-key): New language constants/variables.
14811         * progmodes/cc-engine.el (c-beginning-of-statement-1)
14812         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
14813         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
14814         with c-block-stmt-1-2-key.
14816 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
14818         * desktop.el (desktop--make-frame): Apply most frame parameters after
14819         creating the frame to force (partially or totally) offscreen frames to
14820         be restored as such.
14822 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
14824         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
14825         (Bug#14948)
14827 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14829         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
14830         `base' arg of backtrace-frame.
14832 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
14834         * simple.el (list-processes): Doc fix.
14836 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
14838         * desktop.el (desktop--select-frame):
14839         Try harder to reuse existing frames.
14841 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14843         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
14844         (edebug-eval): Use backtrace-eval.
14845         (edebug--display, edebug--recursive-edit): Don't let-bind the
14846         edebug-outer-* vars that keep track of variables we locally let-bind.
14847         (edebug-outside-excursion): Don't restore outside values of locally
14848         let-bound vars.
14849         (edebug--display): Use user-error.
14850         (cl-lexical-debug, cl-debug-env): Remove.
14852 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
14854         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
14855         are restored to be sure that they are visible before deleting any
14856         remaining ones.
14858 2013-07-26  Matthias Meulien  <orontee@gmail.com>
14860         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
14861         vc-print-root-log.  (Bug#14948)
14863 2013-07-26  Richard Stallman  <rms@gnu.org>
14865         Add aliases for encrypting mail.
14866         * epa.el (epa-mail-aliases): New option.
14867         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
14868         Bind inhibit-read-only so read-only text doesn't ruin everything.
14869         (epa-mail-default-recipients): New subroutine broken out.
14870         Handle epa-mail-aliases.
14872 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14874         Add support for lexical variables to the debugger's `e' command.
14875         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
14876         vars, except for debugger-outer-match-data.
14877         (debugger-frame-number): Move check for "on a function call" from
14878         callers into it.  Add `skip-base' argument.
14879         (debugger-frame, debugger-frame-clear): Simplify accordingly.
14880         (debugger-env-macro): Only reset the state stored in non-variables,
14881         i.e. current-buffer and match-data.
14882         (debugger-eval-expression): Rewrite using backtrace-eval.
14883         * subr.el (internal--called-interactively-p--get-frame): Remove.
14884         (called-interactively-p):
14885         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
14886         `base' arg of backtrace-frame instead.
14888 2013-07-26  Glenn Morris  <rgm@gnu.org>
14890         * align.el (align-regexp): Doc fix.  (Bug#14857)
14891         (align-region): Explicit error if subexpression missing/does not match.
14893         * simple.el (global-visual-line-mode):
14894         Do not duplicate the mode lighter.  (Bug#14858)
14896 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
14898         * window.el (display-buffer): In display-buffer bind
14899         split-window-keep-point to t, bug#14829.
14901 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
14903         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
14904         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
14905         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
14906         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
14907         Change accordingly.
14908         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
14909         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
14911 2013-07-25  Glenn Morris  <rgm@gnu.org>
14913         * dired-x.el (dired-mark-extension): Convert comment to doc string.
14915 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
14917         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
14918         parameter to modify-frame-parameters if the value has not changed;
14919         this is a workaround for bug#14949.
14920         (desktop--make-frame): On cl-delete-if call, check parameter name,
14921         not full parameter.
14923 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
14925         * vc/vc.el (vc-ignore): New function.
14927         * vc/vc-svn.el (vc-svn-ignore): New function.
14929         * vc/vc-hg.el (vc-hg-ignore): New function.
14931         * vc/vc-git.el (vc-git-ignore): New function.
14933         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
14934         (vc-dir-ignore): New function.
14936         * vc/vc-cvs.el (vc-cvs-ignore): New function.
14937         (cvs-append-to-ignore): Move here from pcvs.el.
14939         * vc/vc-bzr.el (vc-bzr-ignore): New function.
14941         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
14943 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
14945         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
14946         (desktop-restore-frames): Warn when deleting an existing frame failed.
14948 2013-07-24  Glenn Morris  <rgm@gnu.org>
14950         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
14952 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
14954         * filenotify.el (file-notify-supported-p):
14955         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
14956         Remove functions.
14958         * autorevert.el (auto-revert-use-notify)
14959         (auto-revert-notify-add-watch):
14960         * net/tramp.el (tramp-file-name-for-operation):
14961         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
14962         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
14963         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
14964         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
14965         Remove `file-notify-supported-p' entry.
14967 2013-07-24  Glenn Morris  <rgm@gnu.org>
14969         * printing.el: Replace all uses of deleted ps-windows-system,
14970         ps-lp-system, ps-flatten-list with lpr- versions.
14972 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14974         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
14975         checked with memq (bug#14935).
14977         * files.el (revert-buffer-function): Use a non-nil default.
14978         (revert-buffer-preserve-modes): Declare var to
14979         provide access to the `preserve-modes' argument.
14980         (revert-buffer): Let-bind it.
14981         (revert-buffer--default): New function, extracted from revert-buffer.
14983 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14985         * lpr.el: Signal print errors more prominently.
14986         (print-region-function): Don't default to nil.
14987         (lpr-print-region): New function, extracted from print-region-1.
14988         Check lpr's return value and signal an error in case of problem.
14989         (print-region-1): Use it.
14990         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
14991         versions instead.
14992         (ps-printer-name): Default to nil.
14993         (ps-printer-name-option): Default to lpr-printer-switch.
14994         (ps-print-region-function): Don't default to nil.
14995         (ps-postscript-code-directory): Simplify default.
14996         (ps-do-despool): Use lpr-print-region to properly check the outcome.
14997         (ps-string-list, ps-eval-switch, ps-flatten-list)
14998         (ps-flatten-list-1): Remove.
14999         (ps-multibyte-buffer): Avoid setq.
15000         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
15001         (print-region-function, ps-print-region-function): Don't set them here.
15003 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
15005         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
15006         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
15007         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
15008         (ido-decorations): Doc fix.
15010         * ansi-color.el: Fix old URL.
15012 2013-07-23  Michael R. Mauger  <michael@mauger.com>
15014         * progmodes/sql.el: Version 3.3
15015         (sql-product-alist): Improve oracle :prompt-cont-regexp.
15016         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
15017         (sql-interactive-remove-continuation-prompt): Rewrite, use
15018         functions above.  Fix continuation prompt and complete output line
15019         handling.
15020         (sql-redirect-one, sql-execute): Use `read-only-mode' on
15021         redirected output buffer.
15022         (sql-mode): Restore deleted code (Bug#13591).
15024 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
15026         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
15028 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
15030         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
15032         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15033         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15034         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
15036 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
15038         * desktop.el (desktop-clear): Simplify; remove useless checks
15039         against invalid buffer names.
15040         (desktop-list*): Use cl-list*.
15041         (desktop-buffer-info, desktop-create-buffer): Simplify.
15043 2013-07-23  Leo Liu  <sdl.web@gmail.com>
15045         * bookmark.el (bookmark-make-record): Restore NAME as a default
15046         value.  (Bug#14933)
15048 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15050         * emacs-lisp/autoload.el (autoload--setup-output): New function,
15051         extracted from autoload--insert-text.
15052         (autoload--insert-text): Remove.
15053         (autoload--print-cookie-text): New function, extracted from
15054         autoload--insert-cookie-text.
15055         (autoload--insert-cookie-text): Remove.
15056         (autoload-generate-file-autoloads): Adjust calls accordingly.
15058         * winner.el (winner-hook-installed-p): Remove.
15059         (winner-mode): Simplify accordingly.
15061         * subr.el (add-to-list): Fix compiler-macro when `append' is
15062         not constant.  Don't use `cl-member' for the base case.
15064         * progmodes/subword.el: Fix boundary case (bug#13758).
15065         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
15066         own group.
15067         (subword-backward-regexp): Make it a constant.
15068         (subword-forward-internal): Don't treat a trailing capital as the
15069         beginning of a word.
15071 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
15073         * emacs-lisp/package.el (package-menu-mode): Don't modify the
15074         global value of tabulated-list-revert-hook (bug#14930).
15076 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
15078         * desktop.el: Require 'cl-lib.
15079         (desktop-before-saving-frames-functions): New hook.
15080         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
15081         for frames being saved.  Rename from desktop--save-minibuffer-frames.
15082         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
15083         Do not save frames with non-nil `desktop-dont-save' parameter.
15084         Filter out deleted frames.
15085         (desktop--find-frame): Use cl-find-if.
15086         (desktop--select-frame): Use cl-(first|second|third) to access values
15087         of desktop-mini.
15088         (desktop--make-frame): Use cl-delete-if.
15089         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
15090         (desktop-restore-frames): Use cl-(first|second|third) to access values
15091         of desktop-mini.  Look for visible frame at the end, not while
15092         restoring frames.
15094         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
15095         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
15096         Use string-match-p, looking-at-p (bug#14927).
15098 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
15100         * desktop.el (desktop-saved-frame-states):
15101         Rename from desktop--saved-states; all users changed.
15102         (desktop-save-frames): Rename from desktop--save-frames.
15103         Do not save state to desktop file.
15104         (desktop-save): Save desktop-saved-frame-states to desktop file
15105         and reset to nil.
15106         (desktop-restoring-frames-p): New function.
15107         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
15108         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
15109         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
15111         * desktop.el: Correctly restore iconified frames.
15112         (desktop--filter-iconified-position): New function.
15113         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
15115 2013-07-20  Glenn Morris  <rgm@gnu.org>
15117         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
15118         Let `message' do the formatting.
15119         (def-gdb-preempt-display-buffer): Add explicit format.
15121         * image-dired.el (image-dired-track-original-file):
15122         Use with-current-buffer.
15123         (image-dired-track-thumbnail): Use with-current-buffer.
15124         Avoid changing point of wrong window.
15126         * image-dired.el (image-dired-track-original-file):
15127         Avoid changing point of wrong window.  (Bug#14909)
15129 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
15131         * progmodes/gdb-mi.el (gdb-done-or-error):
15132         Guard against "%" in gdb output.  (Bug#14127)
15134 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
15136         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
15137         (Bug#14826)
15139         * international/mule.el (coding-system-iso-2022-flags): Fix last
15140         change.
15142 2013-07-20  Kenichi Handa  <handa@gnu.org>
15144         * international/mule.el (coding-system-iso-2022-flags):
15145         Add `8-bit-level-4'.  (Bug#8522)
15147 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15149         * net/shr.el (shr-mouse-browse-url): New command and keystroke
15150         (bug#14815).
15152         * net/eww.el (eww-process-text-input): Allow inputting when the
15153         point is at the start of the line, as the properties aren't
15154         front-sticky.
15156         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
15157         degenerate widths.
15159 2013-07-19  Richard Stallman  <rms@gnu.org>
15161         * epa.el (epa-popup-info-window): Doc fix.
15163         * subr.el (split-string): New arg TRIM.
15165 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
15167         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
15168         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
15170 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
15172         * filenotify.el (file-notify--library): Rename from
15173         `file-notify-support'.  Do not autoload.  Adapt all uses.
15174         (file-notify-supported-p): New defun.
15176         * autorevert.el (auto-revert-use-notify):
15177         Use `file-notify-supported-p' instead of `file-notify-support'.
15178         Adapt docstring.
15179         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
15181         * net/tramp.el (tramp-file-name-for-operation):
15182         Add `file-notify-supported-p'.
15184         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
15185         New defun.
15186         (tramp-sh-file-name-handler-alist): Add it as handler for
15187         `file-notify-supported-p '.
15189         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15190         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15191         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
15192         Add `ignore' as handler for `file-notify-*' functions.
15194 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
15196         * simple.el (line-move-partial, line-move): Don't start vscroll or
15197         scroll-up if the current line is not taller than the window.
15198         (Bug#14881)
15200 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
15202         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
15203         highlight question marks in the method names as strings.
15204         (ruby-block-beg-keywords): Inline.
15205         (ruby-font-lock-keyword-beg-re): Extract from
15206         `ruby-font-lock-keywords'.
15208 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
15210         * frame.el (blink-cursor-blinks): New defcustom.
15211         (blink-cursor-blinks-done): New defvar.
15212         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
15213         (blink-cursor-timer-function): Check if number of blinks has been
15214         done on X and NS.
15215         (blink-cursor-suspend, blink-cursor-check): New defuns.
15217 2013-07-15  Glenn Morris  <rgm@gnu.org>
15219         * edmacro.el (edmacro-format-keys): Fix previous change.
15221 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
15223         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
15224         The hack didn't work outside English locales anyway.
15226 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
15228         * simple.el (define-alternatives): Rename from alternatives-define,
15229         per RMS' suggestion.
15231 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
15233         * desktop.el (desktop-restore-frames): Change default to t.
15234         (desktop-restore-in-current-display): Now offer more options.
15235         (desktop-restoring-reuses-frames): New customization option.
15236         (desktop--saved-states): Doc fix.
15237         (desktop-filter-parameters-alist): New variable, renamed and expanded
15238         from desktop--excluded-frame-parameters.
15239         (desktop--target-display): New variable.
15240         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
15241         (desktop--filter-tty*, desktop--filter-*-color)
15242         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
15243         (desktop--filter-save-desktop-parm)
15244         (desktop-restore-in-original-display-p): New functions.
15245         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
15246         (desktop--save-minibuffer-frames): New function, inspired by a similar
15247         function from Martin Rudalics.
15248         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
15249         (desktop--restore-in-this-display-p): Remove.
15250         (desktop--find-frame): Rename from desktop--find-frame-in-display
15251         and add predicate argument.
15252         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
15253         (desktop--reuse-list): New variable.
15254         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
15255         New functions.
15256         (desktop--restore-frames): Add support for "minibuffer-special" frames.
15258 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
15260         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
15262 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
15264         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
15265         Highlight conversion methods on Kernel.
15267 2013-07-13  Alan Mackenzie  <acm@muc.de>
15269         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
15270         and comment it out.  This out-commenting enables certain C++
15271         declarations to be parsed correctly.
15273 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
15275         * international/mule.el (define-coding-system): Doc fix.
15277         * simple.el (default-font-height): Don't call font-info if the
15278         frame's default font didn't change since the frame was created.
15279         (Bug#14838)
15281 2013-07-13  Leo Liu  <sdl.web@gmail.com>
15283         * ido.el (ido-read-file-name): Guard against non-symbol value.
15285 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15287         * progmodes/python.el (python-imenu--build-tree): Fix corner case
15288         in nested defuns.
15290 2013-07-13  Leo Liu  <sdl.web@gmail.com>
15292         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
15293         ido-set-matches call.  (Bug#6852)
15295 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
15297         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
15298         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
15299         Ruby 2.0.
15300         (ruby-font-lock-keywords): Distinguish calls to functions with
15301         module-like names from module references.  Highlight character
15302         literals.
15304 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
15306         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
15307         (gdb-send): Handle continued commands.  (Bug#14847)
15309 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
15311         * desktop.el (desktop--v2s): Remove unused local variable.
15312         (desktop-save-buffer): Make defvar-local; adjust docstring.
15313         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
15314         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
15316 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
15318         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
15320 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
15322         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
15323         (Bug#14842)
15325 2013-07-12  Glenn Morris  <rgm@gnu.org>
15327         * doc-view.el: Require cl-lib at runtime too.
15328         (doc-view-remove-if): Remove.
15329         (doc-view-search-next-match, doc-view-search-previous-match):
15330         Use cl-remove-if.
15332         * edmacro.el: Require cl-lib at runtime too.
15333         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
15334         (edmacro-mismatch, edmacro-subseq): Remove.
15336         * shadowfile.el: Require cl-lib.
15337         (shadow-remove-if): Remove.
15338         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
15339         Use cl-remove-if.
15341         * wid-edit.el: Require cl-lib.
15342         (widget-choose): Use cl-remove-if.
15343         (widget-remove-if): Remove.
15345         * progmodes/ebrowse.el: Require cl-lib at runtime too.
15346         (ebrowse-delete-if-not): Remove.
15347         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
15348         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
15349         Use cl-delete-if-not.
15351 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
15353         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
15354         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
15356 2013-07-12  Leo Liu  <sdl.web@gmail.com>
15358         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
15360 2013-07-11  Glenn Morris  <rgm@gnu.org>
15362         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
15363         (edebug-gensym-index, edebug-gensym):
15364         Remove reimplementation of cl-gensym.
15365         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
15367         * thumbs.el: Require cl-lib at run-time too.
15368         (thumbs-gensym-counter, thumbs-gensym):
15369         Remove reimplementation of cl-gensym.
15370         (thumbs-temp-file): Use cl-gensym.
15372         * emacs-lisp/ert.el: Require cl-lib at runtime too.
15373         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
15374         (ert--intersection, ert--set-difference, ert--set-difference-eq)
15375         (ert--union, ert--gensym-counter, ert--gensym-counter)
15376         (ert--coerce-to-vector, ert--remove*, ert--string-position)
15377         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
15378         (ert-make-test-unbound, ert--expand-should-1)
15379         (ert--expand-should, ert--should-error-handle-error)
15380         (should-error, ert--explain-equal-rec)
15381         (ert--plist-difference-explanation, ert-select-tests)
15382         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
15383         Use cl-lib functions rather than reimplementations.
15385 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
15387         * net/tramp.el (tramp-methods): Extend docstring.
15388         (tramp-connection-timeout): New defcustom.
15389         (tramp-error-with-buffer): Reset timestamp only when appropriate.
15390         (with-tramp-progress-reporter): Simplify.
15391         (tramp-process-actions): Improve messages.
15393         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
15394         * net/tramp-sh.el (tramp-maybe-open-connection):
15395         Use `tramp-connection-timeout'.
15396         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
15397         (Bug#14808)
15399 2013-07-11  Leo Liu  <sdl.web@gmail.com>
15401         * ido.el (ido-read-file-name): Conform to the requirements of
15402         read-file-name.  (Bug#11861)
15403         (ido-read-directory-name): Conform to the requirements of
15404         read-directory-name.
15406 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
15408         * subr.el (delay-warning): New function.
15410 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
15412         * simple.el (default-line-height): New function.
15413         (line-move-partial, line-move): Use it instead of computing the
15414         line height inline.
15415         (line-move-partial): Always compute ROWH.  If the last line is
15416         partially-visible, but its text is completely visible, allow
15417         cursor to enter such a partially-visible line.
15419 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
15421         Improve error messages.  (Bug#14808)
15423         * net/tramp.el (tramp-current-connection): New defvar, moved from
15424         tramp-sh.el.
15425         (tramp-message-show-progress-reporter-message): Remove, not
15426         needed anymore.
15427         (tramp-error-with-buffer): Show message in minibuffer.
15428         Discard input before waiting.  Reset connection timestamp.
15429         (with-tramp-progress-reporter): Improve messages.
15430         (tramp-process-actions): Use progress reporter.  Delete process in
15431         case of error.  Improve messages.
15433         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
15434         Call `tramp-error-with-buffer' with vector and buffer.
15435         (tramp-current-connection): Remove.
15436         (tramp-maybe-open-connection): The car of
15437         `tramp-current-connection' are the first 3 slots of the vector.
15439 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
15441         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
15442         inside continued strings.
15444 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
15446         Timestamp fixes for undo (Bug#14824).
15447         * files.el (clear-visited-file-modtime): Move here from fileio.c.
15449 2013-07-10  Leo Liu  <sdl.web@gmail.com>
15451         * files.el (require-final-newline): Allow safe local value.
15452         (Bug#14834)
15454 2013-07-09  Leo Liu  <sdl.web@gmail.com>
15456         * ido.el (ido-read-directory-name): Handle fallback.
15457         (ido-read-file-name): Update DIR to ido-current-directory.
15458         (Bug#1516)
15459         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
15461 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
15463         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
15464         "autoload".  Remove "warn lower camel case" section, previously
15465         commented out.  Highlight negation char.  Do not highlight the
15466         target in singleton method definitions.
15468 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15470         * faces.el (tty-setup-hook): Declare the hook.
15472         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
15473         and detect when a guard/pred depends on local vars (bug#14773).
15474         (pcase--u1): Adjust caller.
15476 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
15478         * simple.el (line-move-partial, line-move): Account for
15479         line-spacing.
15480         (line-move-partial): Avoid setting vscroll when the last
15481         partially-visible line in window is of default height.
15483 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15485         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
15486         been used a while.
15488 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
15490         * subr.el (read-quoted-char): Remove unused local variable `char'.
15492 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
15494         * vc/ediff.el (ediff-version): Version update.
15495         (ediff-files-command, ediff3-files-command, ediff-merge-command)
15496         (ediff-merge-with-ancestor-command, ediff-directories-command)
15497         (ediff-directories3-command, ediff-merge-directories-command)
15498         (ediff-merge-directories-with-ancestor-command): New functions.
15499         All are command-line interfaces to ediff: to facilitate calling
15500         Emacs with the appropriate ediff functions invoked.
15502         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
15503         New function.
15504         (viper-save-kill-buffer): Check if buffer is modified.
15506         * emulation/viper.el (viper-version): Version update.
15507         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
15509 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15511         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
15512         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
15513         (viper-intercept-ESC-key): Simplify.
15514         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
15515         don't use kbd.
15516         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
15517         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
15518         (viper-setup-ESC-to-escape): New functions.
15519         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
15520         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
15522 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
15524         * simple.el (default-font-height, window-screen-lines):
15525         New functions.
15526         (line-move, line-move-partial): Use them instead of
15527         frame-char-height and window-text-height.  This makes scrolling
15528         text smoother when the buffer's default face uses a font that is
15529         different from the frame's default font.
15531 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
15533         * files.el (write-file): Do not display confirm dialog for NS,
15534         it does its own dialog, which can't be canceled (Bug#14578).
15536 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
15538         * simple.el (line-move-partial): Adjust the row returned by
15539         posn-at-point for the current window-vscroll.  (Bug#14567)
15541 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
15543         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
15544         (tramp-sh-file-inotifywait-process-filter): Handle file names with
15545         spaces.
15547 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
15549         * window.el (window-state-put-stale-windows): New variable.
15550         (window--state-put-2): Save list of windows without matching buffer.
15551         (window-state-put): Remove "bufferless" windows if possible.
15553 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
15555         * simple.el (alternatives-define): Remove leftover :group keyword.
15556         Tweak docstring.
15558 2013-07-06  Leo Liu  <sdl.web@gmail.com>
15560         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
15561         (ido-enable-virtual-buffers): New variable.
15562         (ido-buffer-internal, ido-toggle-virtual-buffers)
15563         (ido-make-buffer-list): Use it.
15564         (ido-exhibit): Support turning on and off virtual buffers
15565         automatically.
15567 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
15569         * simple.el (alternatives-define): New macro.
15571 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15573         * subr.el (read-quoted-char): Use read-key.
15574         (sit-for): Let read-event decode tty input (bug#14782).
15576 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
15578         * calendar/todo-mode.el: Add handling of file deletion, both by
15579         mode command and externally.  Fix various related bugs.
15580         Clarify Commentary and improve some documentation strings and code.
15581         (todo-delete-file): New command.
15582         (todo-check-file): New function.
15583         (todo-show): Handle external deletion of the file we're trying to
15584         show (bug#14688).  Replace called-interactively-p by an optional
15585         prefix argument to avoid problematic interaction with catch form
15586         when byte compiled (bug#14702).
15587         (todo-quit): Handle external deletion of the archive's todo file.
15588         Make sure the buffer that was visiting the archive file is still
15589         live before trying to bury it.
15590         (todo-category-completions): Handle external deletion of any
15591         category completion files.
15592         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
15593         of todo files, in case of external deletion.
15594         (todo-add-file): Replace unnecessary setq by let-binding.
15595         (todo-find-archive): Check whether there are any archives.
15596         Replace unnecessary setq by let-binding.
15597         (todo-archive-done-item): Use find-file-noselect to get the
15598         archive buffer whether or not the archive already exists.
15599         Remove superfluous code.  Use file size instead of buffer-file-name to
15600         check if the archive is new; if it is, update list of archives.
15601         (todo-default-todo-file): Allow nil to be a valid value for when
15602         there are no todo files.
15603         (todo-reevaluate-default-file-defcustom): Use corrected definition
15604         of todo-default-todo-file.
15605         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
15606         (todo-delete-category, todo-show-categories-table)
15607         (todo-category-number): Clarify comment.
15608         (todo-filter-items): Clarify documentation string.
15609         (todo-show-current-file, todo-display-as-todo-file)
15610         (todo-reset-and-enable-done-separator): Tweak documentation string.
15611         (todo-done-separator): Make separator length window-width, since
15612         bug#2749 is now fixed.
15614 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
15616         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
15617         Support both "gvfs-monitor-dir" and "inotifywait".
15618         (tramp-sh-file-inotifywait-process-filter): Rename from
15619         `tramp-sh-file-notify-process-filter'.
15620         (tramp-sh-file-gvfs-monitor-dir-process-filter)
15621         (tramp-get-remote-gvfs-monitor-dir): New defuns.
15623 2013-07-05  Leo Liu  <sdl.web@gmail.com>
15625         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
15627 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15629         * frame.el (display-pixel-height, display-pixel-width)
15630         (display-mm-height, display-mm-width): Mention behavior on
15631         multi-monitor setups in docstrings.
15632         (w32-display-monitor-attributes-list): Declare function.
15633         (display-monitor-attributes-list): Use it.
15635 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
15637         * filenotify.el: New package.
15639         * autorevert.el (top): Require filenotify.el.
15640         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
15641         instead.
15642         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
15643         (auto-revert-notify-handler): Use `file-notify-*' functions.
15645         * subr.el (file-notify-handle-event): Move function to filenotify.el.
15647         * net/tramp.el (tramp-file-name-for-operation):
15648         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
15650         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
15651         for `file-notify-add-watch' and `file-notify-rm-watch'.
15652         (tramp-process-sentinel): Improve trace.
15653         (tramp-sh-handle-file-notify-add-watch)
15654         (tramp-sh-file-notify-process-filter)
15655         (tramp-sh-handle-file-notify-rm-watch)
15656         (tramp-get-remote-inotifywait): New defuns.
15658 2013-07-03  Juri Linkov  <juri@jurta.org>
15660         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
15661         call of `occur-read-primary-args' to interactive spec.
15663         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
15664         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
15666 2013-07-03  Matthias Meulien  <orontee@gmail.com>
15668         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
15669         `Buffer-menu-multi-occur'.  Add it to the menu.
15670         (Buffer-menu-mode): Document it in docstring.
15671         (Buffer-menu-multi-occur): New command.  (Bug#14673)
15673 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
15675         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
15676         keywords and built-ins.
15678 2013-07-03  Glenn Morris  <rgm@gnu.org>
15680         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
15682         Make info-xref checks case-sensitive by default
15683         * info.el (Info-find-node, Info-find-in-tag-table)
15684         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
15685         Add option for exact case matching of nodes.
15686         * info-xref.el (info-xref): New custom group.
15687         (info-xref-case-fold): New option.
15688         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
15690 2013-07-03  Leo Liu  <sdl.web@gmail.com>
15692         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
15694 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
15696         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
15697         middle of block statement initially, lower the depth.  Remove
15698         FIXME comment, not longer valid.  Remove middle of block statement
15699         detection, no need to do that anymore since we've been using
15700         `ruby-parse-region' here.
15702 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
15704         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
15706 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
15708         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
15710 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
15712         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
15713         (desktop-restore-in-current-display): New customization option.
15714         (desktop--excluded-frame-parameters): Add `font'.
15715         (desktop--save-frames): Rename from desktop--save-windows.
15716         (desktop--restore-in-this-display-p): New function.
15717         (desktop--make-full-frame): Remove unwanted width/height from
15718         full(width|height) frames.
15719         (desktop--restore-frames): Rename from desktop--restore-windows.
15720         Obey desktop-restore-current-display.  Do not delete old frames or
15721         select a new frame unless we were able to restore at least one frame.
15723 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
15725         * files.el (find-file-noselect): Simplify conditional expression.
15727         * textmodes/remember.el (remember-append-to-file):
15728         Don't mix `find-buffer-visiting' and `get-file-buffer'.
15730         Add `remember-notes' function to store random notes across Emacs
15731         restarts.
15732         * textmodes/remember.el (remember-data-file): Add :set callback to
15733         affect notes buffer (if any).
15734         (remember-notes): New command.
15735         (remember-notes-buffer-name, bury-remember-notes-on-kill):
15736         New defcustoms for the `remember-notes' function.
15737         (remember-notes-save-and-bury-buffer): New command.
15738         (remember-notes-mode-map): New variable.
15739         (remember-mode): New minor mode.
15740         (remember-notes--kill-buffer-query): New function.
15741         * startup.el (initial-buffer-choice): Add notes to custom type.
15743 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
15745         * bindings.el (right-char, left-char): Don't call sit-for, this is
15746         no longer needed.  Use arithmetic comparison only for numerical
15747         arguments.
15749         * international/mule-cmds.el (select-safe-coding-system):
15750         Handle the case of FROM being a string correctly.  (Bug#14755)
15752 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15754         * net/shr.el (shr-make-table-1): Add a sanity check that allows
15755         progression on degenerate tables.
15756         (shr-rescale-image): ImageMagick animated images currently don't work.
15758 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
15760         Some fixes and improvements for desktop frame restoration.
15761         It is still experimental and disabled by default.
15762         * desktop.el (desktop--save-windows): Put the selected frame at
15763         the head of the list.
15764         (desktop--make-full-frame): New function.
15765         (desktop--restore-windows): Try to re-select the frame that was
15766         selected upon saving.  Do not abort if some frames fail to restore,
15767         just show an error message and continue.  Set up maximized frames
15768         so they have default non-maximized dimensions.
15770 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
15772         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
15773         Don't start heredoc inside a string or comment.
15775 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
15777         * bindings.el (visual-order-cursor-movement): New defcustom.
15778         (right-char, left-char): Provide visual-order cursor motion by
15779         calling move-point-visually.  Update the doc strings.
15781 2013-06-28  Kenichi Handa  <handa@gnu.org>
15783         * international/mule.el (define-coding-system): New coding system
15784         properties :inhibit-null-byte-detection,
15785         :inhibit-iso-escape-detection, and :prefer-utf-8.
15786         (set-buffer-file-coding-system): If :charset-list property of
15787         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
15788         appropriate for setting.
15790         * international/mule-cmds.el (select-safe-coding-system):
15791         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
15792         multibyte characters, return utf-8 (or one of its siblings).
15794         * international/mule-conf.el (prefer-utf-8): New coding system.
15795         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
15796         files.
15798 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
15800         * net/shr.el (shr-render-region): New function.
15802         * net/eww.el: Autoload `eww-browse-url'.
15804 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
15806         * emacs-lisp/package-x.el (package-upload-buffer-internal):
15807         Adapt to `package-desc-version' being a list.
15808         Use `package--ac-desc-version' to retrieve version from a package
15809         archive element.
15811 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
15813         New experimental feature to save&restore window and frame setup.
15814         * desktop.el (desktop-save-windows): New defcustom.
15815         (desktop--saved-states): New var.
15816         (desktop--excluded-frame-parameters): New defconst.
15817         (desktop--filter-frame-parms, desktop--find-frame-in-display)
15818         (desktop--restore-windows, desktop--save-windows): New functions.
15819         (desktop-save): Call `desktop--save-windows'.
15820         (desktop-read): Call `desktop--restore-windows'.
15822 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15824         * net/shr.el (add-face-text-property): Remove compat definition.
15826 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
15828         * info.el (Info-try-follow-nearest-node): Move search for footnote
15829         above search for node name to prevent missing a footnote (bug#14717).
15831 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
15833         * obsolete/otodo-mode.el: Add obsolescence info to file header.
15835 2013-06-27  Leo Liu  <sdl.web@gmail.com>
15837         * net/eww.el (eww-read-bookmarks): Check file size.
15839 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15841         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
15842         advice--pending if newdef is nil or an autoload (bug#13820).
15843         (advice-mapc): New function.
15845 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15847         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
15848         probably.
15849         (eww-mode-map): Add a menu bar.
15850         (eww-add-bookmark): New command.
15851         (eww-bookmark-mode): New mode and commands.
15852         (eww-add-bookmark): Remove newlines from the title.
15853         (eww-bookmark-browse): Don't bug out if it's the only window.
15855 2013-06-26  Glenn Morris  <rgm@gnu.org>
15857         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
15858         (hfy-size): Handle ttys.  (Bug#14668)
15860         * info-xref.el: Update for Texinfo 5 change in *note format.
15861         (info-xref-node-re, info-xref-note-re): New constants.
15862         (info-xref-check-buffer): Use info-xref-note-re.
15864 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15866         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
15868         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
15869         nil terminate the loop (bug#14718).
15871 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15873         * net/eww.el: Rework history traversal.  When going forward/back,
15874         put these actions into the history, too, so that they can be
15875         replayed.
15876         (eww-render): Move the history reset to the correct buffer.
15878 2013-06-25  Juri Linkov  <juri@jurta.org>
15880         * files-x.el (modify-dir-local-variable): Change the header comment
15881         in the file with directory local variables.  (Bug#14692)
15883         * files-x.el (read-file-local-variable-value): Add `default'.
15884         (Bug#14710)
15886 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15888         * net/eww.el (eww-make-unique-file-name): Create a unique file
15889         name before saving to entering `y' accidentally asynchronously.
15891 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
15893         * net/eww.el (eww-download): New command and keystroke.
15895 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15897         * net/eww.el (eww-copy-page-url): Change name of command.
15899         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
15900         be more consistent with Info and dired.
15902         * net/eww.el (eww-mode-map): Ditto.
15904 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15906         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
15907         packages from archives.
15908         (package-archive-contents): Change format; include obsolete packages.
15909         (package-desc): Use `dir' to mark builtin packages.
15910         (package--from-builtin): Set the `dir' field to `builtin'.
15911         (generated-autoload-file, version-control): Declare.
15912         (package-compute-transaction): Change first arg and return value to be
15913         lists of package-descs.  Adjust to new package-archive-contents format.
15914         (package--add-to-archive-contents): Adjust to new
15915         package-archive-contents format.
15916         (package-download-transaction): Arg is now a list of package-descs.
15917         (package-install): If `pkg' is a package name, pass it as
15918         a requirement, so it is subject to the usual (e.g. disabled) checks.
15919         (describe-package): Accept package-desc as well.
15920         (describe-package-1): Describe a specific package-desc.  Add links to
15921         other package-descs for the same package name.
15922         (package-menu-describe-package): Pass the actual package-desc.
15923         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
15924         works correctly.
15925         (package-desc-status): New function.
15926         (package-menu--refresh): New function, extracted
15927         from package-menu--generate.
15928         (package-menu--generate): Use it.
15929         (package-delete): Update package-alist.
15930         (package-menu-execute): Don't call package-initialize.
15932         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
15933         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
15934         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
15935         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
15936         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
15937         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
15939 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
15941         * window.el (window--state-get-1): Workaround for bug#14527.
15942         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
15944 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15946         * net/eww.el (eww-back-url): Implement the history by stashing all
15947         the data into a list.
15948         (eww-forward-url): Allow going forward in the history, too.
15950 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15952         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
15953         for values and use read--expression for expressions (bug#14710).
15954         (read-file-local-variable): Avoid setq.
15955         (read-file-local-variable-mode): Use minor-mode-list.
15957 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15959         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
15960         for DOI URLs.
15962 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15964         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
15965         Update imenu-support when dialect changes.
15967 2013-06-25  Leo Liu  <sdl.web@gmail.com>
15969         * ido.el (ido-read-internal): Allow forward slash on windows.
15971 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15973         * net/eww.el (eww): Start of strings is \\`, not ^.
15975 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
15977         * net/shr.el (shr-browse-url): Fix interactive spec.
15979         * net/eww.el (eww): Add a trailing slash to domain names.
15981 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
15983         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
15985 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15987         * net/shr.el (shr-browse-url): Use an external browser if given a
15988         prefix.
15990         * net/eww.el (eww-external-browser): Move to shr.
15992 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
15994         * net/eww.el (eww): Work more correctly for file: URLs.
15995         (eww-detect-charset): Allow quoted charsets.
15996         (eww-yank-page-url): New command and keystroke.
15998 2013-06-24  Daiki Ueno  <ueno@gnu.org>
16000         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
16001         file name of gpg executable.
16002         (epg-context-program): New function.
16003         (epg-context-home-directory): New function.
16004         (epg-context-set-program): New function.
16005         (epg-context-set-home-directory): New function.
16006         (epg--start): Use `epg-context-program' instead of
16007         'epg-gpg-program'.
16008         (epg--list-keys-1): Likewise.
16010 2013-06-24  Leo Liu  <sdl.web@gmail.com>
16012         * ido.el (ido-read-internal): Fix bug#14620.
16014 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
16016         * faces.el (face-documentation): Simplify.
16017         (read-face-attribute, tty-find-type, x-resolve-font-name):
16018         Use `string-match-p'.
16019         (list-faces-display): Use `string-match-p'.  Simplify.
16020         (face-spec-recalc): Check face to avoid face alias loops.
16021         (read-color): Use `string-match-p' and non-capturing parenthesis.
16023 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16025         * net/shr.el (shr-rescale-image): Use the new
16026         :max-width/:max-height functionality.
16028 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
16030         * net/eww.el (eww-search-prefix): New variable.
16031         (eww): Use it.
16032         (eww-external-browser): New variable.
16033         (eww-mode-map): New keystroke.
16034         (eww-browse-with-external-browser): New command.
16036         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
16038 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
16040         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
16041         Don't skip aligning the next header field when padding is 0;
16042         otherwise, field width is not respected unless the title is as
16043         wide as the field.
16045 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16047         * emacs-lisp/package.el (package-el-version): Remove.
16048         (package-process-define-package): Fix inf-loop.
16049         (package-install): Allow symbols as arguments again.
16051 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
16053         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
16054         add some more keyword-like methods.
16055         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
16057 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
16059         * bs.el (bs-buffer-show-mark): Make defvar-local.
16060         (bs-mode): Use setq-local.
16062         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
16063         (emacs-lock--try-unlocking): Make defvar-local.
16065 2013-06-22  Glenn Morris  <rgm@gnu.org>
16067         * play/cookie1.el (cookie-apropos): Minor simplification.
16069         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
16071 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
16073         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
16074         `regexp-opt', it breaks the build during dumping.
16076 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
16078         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
16079         Highlight keyword-like methods on Kernel and Module with
16080         font-lock-builtin-face.
16081         (auto-mode-alist): Consolidate different entries into one regexp
16082         and add more *file-s.
16084 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
16086         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
16088         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
16089         (diary-entry): Use it in the action of this button type instead of
16090         diary-goto-entry.
16092         * calendar/todo-mode.el: New version.
16093         (todo-add-category): Append new category to end of file and give
16094         it the highest number, instead of putting it at the beginning and
16095         giving it 0.  Incorporate noninteractive functionality.
16096         (todo-forward-category): Adapt to 1-based category numbering.
16097         Allow skipping over archived categories.
16098         (todo-backward-category): Derive from todo-forward-category.
16099         (todo-backward-item, todo-forward-item): Make noninteractive and
16100         delegate interactive part to new commands.  Make sensitive to done items.
16101         (todo-categories): Make value an alist of category names and
16102         vectors of item counts.
16103         (todo-category-beg): Make a defconst.
16104         (todo-category-number): Use 1 instead of 0 as initial value.
16105         (todo-category-select): Make sensitive to overlays, optional item
16106         highlighting and done items.
16107         (todo-delete-item): Make sensitive to overlays and marked and done items.
16108         (todo-edit-item): Make sensitive to overlays and editing of
16109         date/time header optional.  Add format checks.
16110         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
16111         no-op if point is not on an item.  Advertise using todo-edit-quit.
16112         (todo-edit-mode): Make sensitive to new format, font-locking, and
16113         multiple todo files.
16114         (todo-insert-item, todo-insert-item-here): Derive from
16115         todo-basic-insert-item and extend functionality.
16116         (todo-item-end, todo-item-start): Make sensitive to done items.
16117         (todo-item-string): Don't return text properties.  Restore point.
16118         (todo-jump-to-category): Make sensitive to multiple todo files and
16119         todo archives.  Use extended category completion.
16120         (todo-lower-item, todo-raise-item): Rename to *-priority and
16121         derive from todo-set-item-priority.
16122         (todo-mode): Derive from special-mode.  Make sensitive to new
16123         format, font-locking and multiple todo files.  Make read-only.
16124         (todo-mode-map): Don't suppress digit keys, so they can supply
16125         prefix arguments.  Add many new key bindings.
16126         (todo-prefix): Insert as an overlay instead of file text.
16127         Change semantics from diary date expression to purely visual mark.
16128         (todo-print): Rename to todo-print-buffer.  Make buffer display
16129         features printable.  Remove option to restrict number of items
16130         printed.  Add option to print to file.
16131         (todo-print-function): Rename to todo-print-buffer-function.
16132         (todo-quit): Extend to handle exiting new todo modes.
16133         (todo-remove-item): Make sensitive to overlays.
16134         (todo-save): Extend to buffers of filtered items.
16135         (todo-show): Make sensitive to done items, multiple todo files and
16136         new todo modes.  Offer to convert legacy todo file before creating
16137         first new todo file.
16138         (todo-show-priorities): Rename to todo-top-priorities.
16139         Change semantics of value 0.
16140         (todo-top-priorities): Rename to todo-filter-top-priorities,
16141         derive from todo-filter-items and extend functionality.
16142         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
16143         and extend functionality to other types of filtered items.
16144         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
16145         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
16146         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
16147         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
16148         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
16149         (todo-edit-mode-hook, todo-entry-prefix-function)
16150         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
16151         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
16152         (todo-initials, todo-insert-threshold, todo-item-string-start)
16153         (todo-line-string, todo-menu, todo-mode-hook)
16154         (todo-more-important-p, todo-previous-answer, todo-previous-line)
16155         (todo-print-priorities, todo-remove-separator)
16156         (todo-save-top-priorities-too, todo-string-count-lines)
16157         (todo-string-multiline-p, todo-time-string-format)
16158         (todo-tmp-buffer-name): Remove.
16159         (todo-add-file, todo-archive-done-item, todo-choose-archive)
16160         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
16161         (todo-edit-category-diary-inclusion)
16162         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
16163         (todo-edit-file, todo-edit-item-date-day)
16164         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
16165         (todo-edit-item-date-month, todo-edit-item-date-to-today)
16166         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
16167         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
16168         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
16169         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
16170         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
16171         (todo-filter-top-priorities-multifile, todo-find-archive)
16172         (todo-find-filtered-items-file, todo-go-to-source-item)
16173         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
16174         (todo-jump-to-archive-category, todo-lower-category)
16175         (todo-mark-category, todo-marked-item-p, todo-merge-category)
16176         (todo-move-category, todo-move-item, todo-next-button)
16177         (todo-next-item, todo-padded-string, todo-powerset)
16178         (todo-previous-button, todo-previous-item)
16179         (todo-print-buffer-to-file, todo-raise-category)
16180         (todo-rename-category, todo-repair-categories-sexp, todo-search)
16181         (todo-set-category-number, todo-set-item-priority)
16182         (todo-set-top-priorities-in-category)
16183         (todo-set-top-priorities-in-file, todo-show-categories-table)
16184         (todo-sort-categories-alphabetically-or-numerically)
16185         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
16186         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
16187         (todo-toggle-item-header, todo-toggle-item-highlighting)
16188         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
16189         (todo-toggle-view-done-items, todo-toggle-view-done-only)
16190         (todo-unarchive-items, todo-unmark-category): New commands.
16191         (todo-absolute-file-name, todo-add-to-buffer-list)
16192         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
16193         (todo-basic-insert-item, todo-category-completions)
16194         (todo-category-number, todo-category-string-matcher-1)
16195         (todo-category-string-matcher-2, todo-check-filtered-items-file)
16196         (todo-check-format, todo-clear-matches)
16197         (todo-comment-string-matcher, todo-convert-legacy-date-time)
16198         (todo-current-category, todo-date-string-matcher)
16199         (todo-define-insertion-command, todo-diary-expired-matcher)
16200         (todo-diary-goto-entry, todo-diary-item-p)
16201         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
16202         (todo-display-categories, todo-display-sorted, todo-done-item-p)
16203         (todo-done-item-section-p, todo-done-separator)
16204         (todo-done-string-matcher, todo-files, todo-filter-items)
16205         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
16206         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
16207         (todo-insert-category-line, todo-insert-item-from-calendar)
16208         (todo-insert-sort-button, todo-insert-with-overlays)
16209         (todo-insertion-command-name, todo-insertion-key-bindings)
16210         (todo-label-to-key, todo-longest-category-name-length)
16211         (todo-make-categories-list, todo-mode-external-set)
16212         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
16213         (todo-modes-set-3, todo-multiple-filter-files)
16214         (todo-nondiary-marker-matcher, todo-prefix-overlays)
16215         (todo-read-category, todo-read-date, todo-read-dayname)
16216         (todo-read-file-name, todo-read-time)
16217         (todo-reevaluate-category-completions-files-defcustom)
16218         (todo-reevaluate-default-file-defcustom)
16219         (todo-reevaluate-filelist-defcustoms)
16220         (todo-reevaluate-filter-files-defcustom)
16221         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
16222         (todo-reset-done-separator, todo-reset-done-separator-string)
16223         (todo-reset-done-string, todo-reset-global-current-todo-file)
16224         (todo-reset-highlight-item, todo-reset-nondiary-marker)
16225         (todo-reset-prefix, todo-set-categories)
16226         (todo-set-date-from-calendar, todo-set-show-current-file)
16227         (todo-set-top-priorities, todo-short-file-name)
16228         (todo-show-current-file, todo-sort, todo-time-string-matcher)
16229         (todo-total-item-counts, todo-update-buffer-list)
16230         (todo-update-categories-display, todo-update-categories-sexp)
16231         (todo-update-count, todo-validate-name, todo-y-or-n-p):
16232         New functions.
16233         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
16234         New major modes.
16235         (todo-categories, todo-display, todo-edit, todo-faces)
16236         (todo-filtered): New defgroups.
16237         (todo-archived-only, todo-button, todo-category-string, todo-date)
16238         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
16239         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
16240         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
16241         (todo-add-item-if-new-category, todo-always-add-time-string)
16242         (todo-categories-align, todo-categories-archived-label)
16243         (todo-categories-category-label, todo-categories-diary-label)
16244         (todo-categories-done-label, todo-categories-number-separator)
16245         (todo-categories-todo-label, todo-categories-totals-label)
16246         (todo-category-completions-files, todo-completion-ignore-case)
16247         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
16248         (todo-done-separator-string, todo-done-string)
16249         (todo-files-function, todo-filter-done-items, todo-filter-files)
16250         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
16251         (todo-initial-category, todo-initial-file, todo-item-mark)
16252         (todo-legacy-date-time-regexp, todo-mode-line-function)
16253         (todo-nondiary-marker, todo-number-prefix)
16254         (todo-print-buffer-function, todo-show-current-file)
16255         (todo-show-done-only, todo-show-first, todo-show-with-done)
16256         (todo-skip-archived-categories, todo-top-priorities-overrides)
16257         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
16258         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
16259         New defcustoms.
16260         (todo-category-done, todo-date-pattern, todo-date-string-start)
16261         (todo-diary-items-buffer, todo-done-string-start)
16262         (todo-filtered-items-buffer, todo-item-start)
16263         (todo-month-abbrev-array, todo-month-name-array)
16264         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
16265         (todo-top-priorities-buffer): New defconsts.
16266         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
16267         (todo-categories-with-marks, todo-category-string-face)
16268         (todo-comment-face, todo-comment-string, todo-current-todo-file)
16269         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
16270         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
16271         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
16272         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
16273         (todo-font-lock-keywords, todo-global-current-todo-file)
16274         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
16275         (todo-insertion-commands-args)
16276         (todo-insertion-commands-args-genlist)
16277         (todo-insertion-commands-names, todo-insertion-map)
16278         (todo-key-bindings-t, todo-key-bindings-t+a)
16279         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
16280         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
16281         (todo-nondiary-face, todo-print-buffer, todo-time-face)
16282         (todo-visited): New variables.
16284 2013-06-21  Glenn Morris  <rgm@gnu.org>
16286         * play/cookie1.el (cookie-apropos): Add optional display argument.
16287         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
16288         (psychoanalyze-pinhead): Use cookie-doctor.
16290 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
16292         * emacs-lisp/package.el (tar-get-file-descriptor)
16293         (tar--extract): Declare.
16295 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
16297         Extend flymake's warning predicate to be a function (bug#14217).
16298         * progmodes/flymake.el (flymake-warning-predicate): New.
16299         (flymake-parse-line): Use it.
16300         (flymake-warning-re): Make obsolete alias to
16301         `flymake-warning-predicate'.
16303 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16305         * emacs-lisp/package.el (package-alist): Include obsolete packages.
16306         (package-obsolete-list): Remove.
16307         (package-activate): Remove min-version argument.  Add `force' argument.
16308         Adjust to new package-alist format.
16309         (package-mark-obsolete): Remove.
16310         (package-unpack): Force reload of the package's autoloads.
16311         (package-installed-p): Check builtins if the installed package is not
16312         recent enough.
16313         (package-initialize): Don't reset package-obsolete-list.
16314         Don't specify which package version to activate.
16315         (package-process-define-package, describe-package-1)
16316         (package-menu--generate): Adjust to new package-alist format.
16318 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
16320         * allout-widgets.el (allout-widgets-mode-off)
16321         (allout-widgets-mode-on, allout-widgets-pre-command-business)
16322         (allout-widgets-post-command-business)
16323         (allout-widgets-after-copy-or-kill-function)
16324         (allout-widgets-after-undo-function, allout-test-range-overlaps)
16325         (allout-decorate-item-and-context)
16326         (allout-graphics-modification-handler): Fix typos in docstrings.
16327         (allout-get-or-create-parent-widget): Use `looking-at-p'.
16329         * cmuscheme.el (scheme-start-file): Doc fix.
16330         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
16331         (scheme-input-filter): Use `string-match-p'.
16333         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
16335         * dired-x.el: Use Dired consistently in docstrings.
16337         * dired.el: Use Dired consistently in docstrings.
16338         (dired-readin, dired-mode): Use `setq-local'.
16339         (dired-switches-alist): Make defvar-local.
16340         (dired-buffers-for-dir): Use `zerop'.
16341         (dired-safe-switches-p, dired-switches-escape-p)
16342         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
16343         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
16344         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
16345         (dired-goto-next-nontrivial-file): Use `string-match-p'.
16346         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
16347         (dired-toggle-marks, dired-mark-files-containing-regexp)
16348         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
16349         (dired-flag-auto-save-files, dired-flag-backup-files):
16350         Use `looking-at-p'.
16351         (dired-mark-files-regexp, dired-build-subdir-alist):
16352         Use `string-match-p', `looking-at-p'.
16354         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
16355         (direct-print-region-helper): Use `string-match-p'.
16357 2013-06-21  Leo Liu  <sdl.web@gmail.com>
16359         * comint.el (comint-redirect-results-list-from-process):
16360         Fix infinite loop.
16362 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16364         * net/eww.el (eww-update-header-line-format): Quote % characters.
16366 2013-06-21  Glenn Morris  <rgm@gnu.org>
16368         * play/cookie1.el (cookie): New custom group.
16369         (cookie-file): New option.
16370         (cookie-check-file): New function.
16371         (cookie): Make it interactive.  Make start and end messages optional.
16372         Interactively, display the result.  Default to cookie-file.
16373         (cookie-insert): Default to cookie-file.
16374         (cookie-snarf): Make start and end messages optional.
16375         Default to cookie-file.  Use with-temp-buffer.
16376         (cookie-read): Rename from read-cookie.
16377         Make start and end messages optional.  Default to cookie-file.
16378         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
16379         Do not autoload it.
16380         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
16381         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
16383 2013-06-21  Leo Liu  <sdl.web@gmail.com>
16385         * progmodes/octave.el (octave-mode): Backward compatibility fix.
16387 2013-06-21  Glenn Morris  <rgm@gnu.org>
16389         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
16391 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16392             Daniel Hackney  <dan@haxney.org>
16394         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
16395         Consolidate the single-file vs tarball code.
16396         (package-desc-suffix): New function.
16397         (package-desc-full-name): Don't bother inlining it.
16398         (package-load-descriptor): Return the new package-desc.
16399         (package-mark-obsolete): Remove unused arg `package'.
16400         (package-unpack): Make it work for single files as well.
16401         Make it update package-alist.
16402         (package--make-autoloads-and-stuff): Rename from
16403         package--make-autoloads-and-compile.  Don't compile any more.
16404         (package--compile): New function.
16405         (package-generate-description-file): New function, extracted from
16406         package-unpack-single.
16407         (package-unpack-single): Remove.
16408         (package--with-work-buffer): Add indentation and debugging info.
16409         (package-download-single): Remove.
16410         (package-install-from-archive): Rename from package-download-tar, make
16411         it take a pkg-desc, and make it work for single files as well.
16412         (package-download-transaction): Simplify.
16413         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
16414         external tar program.
16415         (package-install-from-buffer): Remove `pkg-desc' argument.
16416         Use package-tar-file-info for tar-mode buffers.
16417         (package-install-file): Simplify accordingly.
16418         (package-archive-base): Change to take a pkg-desc.
16419         * tar-mode.el (tar--check-descriptor): New function, extracted from
16420         tar-get-descriptor.
16421         (tar-get-descriptor): Use it.
16422         (tar-get-file-descriptor): New function.
16423         (tar--extract): New function, extracted from tar-extract.
16424         (tar--extract): Use it.
16425         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
16426         case the summary uses non-ascii.  Adjust to new calling convention of
16427         package-tar-file-info.
16429 2013-06-21  Leo Liu  <sdl.web@gmail.com>
16431         * comint.el (comint-redirect-results-list-from-process):
16432         Fix random delay.  (Bug#14681)
16434 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
16436         * profiler.el (profiler-format-number): Use log, not log10.
16438 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
16440         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
16442 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16444         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
16445         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
16446         yet available.
16447         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
16448         (AUTOGENEL): ... here.
16449         * emacs-lisp/cl-macs.el (cl--sublis): New function.
16450         (cl--defsubst-expand): Use it.
16452 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
16454         * subr.el (log10): Move here from C code, and declare as obsolete.
16455         All uses of (log10 X) replaced with (log X 10).
16457 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
16459         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
16460         Declare with `defvar-local'.
16461         (tabulated-list-use-header-line, tabulated-list-entries)
16462         (tabulated-list-padding, tabulated-list-printer)
16463         (tabulated-list-sort-key): Declare with `defvar-local'.
16464         (tabulated-list-init-header, tabulated-list-print-fake-header):
16465         Use `setq-local'.
16467 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
16469         * arc-mode.el (archive-mode): Add `archive-write-file' to
16470         `write-contents-functions' also for remote files.  (Bug#14652)
16472 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
16474         * cus-edit.el (custom-commands): Fix typos.
16475         (custom-display): Fix tooltip text.
16476         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
16477         Fix typos in docstrings.
16478         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
16479         (custom-unlispify-menu-entry, custom-magic-value-create)
16480         (custom-add-see-also, custom-group-value-create): Use ?\s.
16481         (custom-guess-type, customize-apropos, editable-field)
16482         (custom-face-value-create): Use `string-match-p'.
16483         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
16485         * custom.el (custom-load-symbol): Use `string-match-p'.
16487         * ansi-color.el: Convert to lexical binding.
16488         (ansi-colors): Fix URL.
16489         (ansi-color-context, ansi-color-context-region): Use defvar-local.
16490         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
16491         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
16493 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16495         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
16497         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
16499 2013-06-19  Tom Tromey  <tromey@redhat.com>
16501         * net/eww.el (eww-top-url): Remove.
16502         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
16503         (eww-render): Set new variables.  Don't set eww-top-url.
16504         (eww-handle-link): Handle "prev", "home", and "contents".
16505         Downcase the rel text.
16506         (eww-top-url): Choose best top URL.
16508 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16510         * net/eww.el: Rewrite to implement form elements "by hand" instead of
16511         relying in widget.el.  Using widget.el leads to too many
16512         user interface inconsistencies.
16513         (eww-self-insert): Implement entering commands in text fields.
16514         (eww-process-text-input): New function to make text input field editing
16515         work.
16516         (eww-submit): Rewrite to use the new-style form methods.
16517         (eww-select-display): Display the correct selected item.
16518         (eww-change-select): Implement changing the select value.
16519         (eww-toggle-checkbox): Implement radio/checkboxes.
16520         (eww-update-field): Fix compilation error.
16521         (eww-tag-textarea): Implement <textarea>.
16523         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
16524         we don't shadow mode-specific bindings.
16526         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
16527         nothing to push.
16529         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
16531 2013-06-19  Glenn Morris  <rgm@gnu.org>
16533         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
16535 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
16537         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
16538         not needed.
16540         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
16542 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16544         * net/browse-url.el (browse-url-browser-function):
16545         `eww-browse-url' has the right calling signature, `eww' does not.
16547 2013-06-19  Glenn Morris  <rgm@gnu.org>
16549         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
16550         Only eval autoloaded macros.
16551         (byte-compile-autoload): Only give the macro warning for macros.
16553         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
16554         (ps-underlined-faces): Declare.
16556         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
16557         (speedbar-add-supported-extension): Declare.
16559         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
16560         Don't include a date stamp in the header of the generated file;
16561         it leads to needless differences between output files.
16563 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
16565         * net/secrets.el (secrets-struct-secret-content-type):
16566         Replace check of introspection data by a test call of "CreateItem".
16567         Some servers do not offer introspection.
16569 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16571         * electric.el (electric-pair-mode): Improve interaction with
16572         electric-layout-mode.
16573         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
16574         (electric-pair-syntax): Use text-mode-syntax-table in comments
16575         and strings.
16576         (electric-pair--insert): New function.
16577         (electric-pair-post-self-insert-function): Use it and
16578         electric--after-char-pos.
16580 2013-06-19  Leo Liu  <sdl.web@gmail.com>
16582         * progmodes/octave.el (octave-help): Fix regexp.
16584 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16586         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
16587         (shr-table-horizontal-line): Allow nil as a value, and change the
16588         default.
16589         (shr-insert-table-ruler): Respect the nil value.
16591 2013-06-18  Tom Tromey  <tromey@barimba>
16593         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
16594         New defvars.
16595         (eww-open-file): New defun.
16596         (eww-render): Initialize new variables.
16597         (eww-display-html): Handle "link" and "a".
16598         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
16599         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
16600         (eww-back-url): Rename from eww-previous-url.
16601         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
16602         New defuns.
16604 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
16606         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
16607         Distinguish ternary operator tokens from slash symbol and slash
16608         char literal.
16610 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
16612         Convert symbol prettification into minor mode and global minor mode.
16614         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
16615         `prog-prettify-symbols', and make a local defvar instead of defcustom.
16616         (prettify-symbols--keywords): Rename from
16617         `prog-prettify-symbols-alist' and make a local defvar.
16618         (prettify-symbols--compose-symbol): Rename from
16619         `prog--prettify-font-lock-compose-symbol'.
16620         (prettify-symbols--make-keywords): Rename from
16621         `prog-prettify-font-lock-symbols-keywords' and simplify.
16622         (prog-prettify-install): Remove.
16623         (prettify-symbols-mode): New minor mode, based on
16624         `prog-prettify-install'.
16625         (turn-on-prettify-symbols-mode): New function.
16626         (global-prettify-symbols-mode): New globalized minor mode.
16628         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
16629         * progmodes/cfengine.el (cfengine3-mode):
16630         * progmodes/perl-mode.el (perl-mode): Don't call
16631         `prog-prettify-install'; set `prettify-symbols-alist' instead.
16633 2013-06-18  Juri Linkov  <juri@jurta.org>
16635         * files-x.el (modify-file-local-variable-message): New function.
16636         (modify-file-local-variable)
16637         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
16638         and call `modify-file-local-variable-message' when it's non-nil.
16639         (add-file-local-variable, delete-file-local-variable)
16640         (add-file-local-variable-prop-line)
16641         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
16642         and use it.  (Bug#9820)
16644 2013-06-18  Juri Linkov  <juri@jurta.org>
16646         * emulation/vi.el (vi-shell-op):
16647         * emulation/vip.el (vip-execute-com, ex-command):
16648         * emulation/viper-cmd.el (viper-exec-bang):
16649         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
16650         the call of `shell-command-on-region'.  (Bug#14637)
16652         * simple.el (shell-command-on-region): Doc fix.
16654 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16656         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
16657         (bug#14633).
16659 2013-06-18  Glenn Morris  <rgm@gnu.org>
16661         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
16663         * newcomment.el (comment-search-forward, comment-search-backward):
16664         Doc fix.  (Bug#14376)
16666 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
16668         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
16669         (buffer-face-mode-invoke): Doc fix.
16671 2013-06-18  Matthias Meulien  <orontee@gmail.com>
16673         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
16674         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
16676 2013-06-18  Glenn Morris  <rgm@gnu.org>
16678         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
16679         Replace obsolete function generic-make-keywords with its expansion.
16681         * progmodes/python.el (ffap-alist): Declare.
16683         * textmodes/reftex.el (bibtex-mode-map): Declare.
16685 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16687         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
16688         (package-unpack, package-unpack-single): Return the pkg-dir.
16689         (package-download-transaction): Use it to update package-alist.
16691 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16693         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
16694         possible choice.
16696 2013-06-17  Juri Linkov  <juri@jurta.org>
16698         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
16700 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
16702         * emacs-lisp/package.el (package-load-descriptor):
16703         Remove `with-syntax-table' call, `read' doesn't need it.
16704         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
16706 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
16708         * startup.el (command-line): Expand package name returned by
16709         `package--description-file' (bug#14639).
16711 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
16713         * emacs-lisp/package.el (package-load-descriptor): Do not call
16714         `emacs-lisp-mode', just use its syntax table.
16716 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
16718         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
16719         `font-lock-extra-managed-props' if any prettifying keyword is added.
16720         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
16721         (prog-mode): Use `setq-local'.
16723 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16725         * international/characters.el (standard-case-table): Set syntax of ?»
16726         and ?« to punctuation.
16728 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
16730         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
16731         Save relevant match data before calling `syntax-ppss' (bug#14595).
16733 2013-06-15  Juri Linkov  <juri@jurta.org>
16735         * files-x.el (modify-file-local-variable-prop-line): Add local
16736         variables to the end of the existing comment on the first line.
16737         Use `file-auto-mode-skip' to skip interpreter magic line,
16738         and also skip XML declaration.
16740 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16742         * startup.el (package--builtin-versions): New var.
16743         (package-subdirectory-regexp): Remove.
16744         (package--description-file): Hard code its value instead.
16746         * emacs-lisp/package.el: Don't activate packages older than builtin.
16747         (package-obsolete-list): Rename from package-obsolete-alist, and make
16748         it into a simple list of package-desc.
16749         (package-strip-version): Remove.
16750         (package-built-in-p): Use package--builtin-versions.
16751         (package-mark-obsolete): Simplify.
16752         (package-process-define-package): Mark it obsolete if older than the
16753         builtin version.
16754         (package-handle-response): Use line-end-position.
16755         (package-read-archive-contents, package--download-one-archive):
16756         Simplify.
16757         (package--add-to-archive-contents): Skip if older than the builtin or
16758         installed version.
16759         (package-menu-describe-package): Fix last change.
16760         (package-list-unversioned): New var.
16761         (package-menu--generate): Use it.
16763         * emacs-lisp/autoload.el: Manage package--builtin-versions.
16764         (autoload--insert-text, autoload--insert-cookie-text): New functions.
16765         (autoload-builtin-package-versions): New variable.
16766         (autoload-generate-file-autoloads): Use them.
16767         Remove the list of autoloaded functions/macros from the
16768         (autoload...) comments.
16770         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
16772 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
16774         * simple.el (line-move-partial): Don't jump to the next screen
16775         line as soon as it becomes visible.  Instead, continue enlarging
16776         the vscroll until the portion of a tall screen line that's left on
16777         display is about the height of the frame's default font.
16778         (Bug#14567)
16780 2013-06-15  Glenn Morris  <rgm@gnu.org>
16782         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
16783         compilation-error-regexp-alist void, or local while let-bound.
16785         * progmodes/make-mode.el (makefile-mode-syntax-table):
16786         Treat "=" as punctuation.  (Bug#14614)
16788 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
16790         * help-fns.el (describe-variable):
16791         Add extra line for permanent-local variables.
16793 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
16795         * progmodes/scheme.el (scheme-font-lock-keywords-2):
16796         Add export, import, library.  (Bug#9164)
16797         (library): Set indent function.
16799 2013-06-14  Glenn Morris  <rgm@gnu.org>
16801         * term/xterm.el (xterm--query):
16802         Stop after first matching handler.  (Bug#14615)
16804 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
16806         Add support for dired in saveplace.
16807         * dired.el (dired-initial-position-hook): New variable.
16808         (dired-initial-position): Call hook to place cursor position.
16809         * saveplace.el (save-place-to-alist): Add dired position.
16810         (save-place-dired-hook): New function.
16812 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16814         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
16815         through a symbol rather than letrec.
16817         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
16818         (package-desc): Add `dir' field.
16819         (package-desc-full-name): New function.
16820         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
16821         (package-maybe-load-descriptor): Remove.
16822         (package-load-all-descriptors): Just call package-load-descriptor.
16823         (package--disabled-p): New function.
16824         (package-desc-vers, package-desc-doc): Remove aliases.
16825         (package--dir): Remove function.
16826         (package-activate): Check if a package is disabled.
16827         (package-process-define-package): New function, extracted from
16828         define-package.
16829         (define-package): Turn into a place holder.
16830         (package-unpack-single, package-tar-file-info):
16831         Use package--description-file.
16832         (package-compute-transaction): Use package--disabled-p.
16833         (package-download-transaction): Don't call
16834         package-maybe-load-descriptor since they're all loaded anyway.
16835         (package-install): Change argument to be a pkg-desc.
16836         (package-delete): Use a single pkg-desc argument.
16837         (describe-package-1): Use package-desc-dir instead of package--dir.
16838         Use package-desc property instead of package-symbol.
16839         (package-install-button-action): Adjust accordingly.
16840         (package--push): Rewrite.
16841         (package-menu--print-info): Adjust accordingly.  Change the ID format
16842         to be a pkg-desc.
16843         (package-menu-describe-package, package-menu-get-status)
16844         (package-menu--find-upgrades, package-menu-mark-upgrades)
16845         (package-menu-execute, package-menu--name-predicate):
16846         Adjust accordingly.
16847         * startup.el (package--description-file): New function.
16848         (command-line): Use it.
16849         * emacs-lisp/package-x.el (package-upload-buffer-internal):
16850         Use package-desc-version.
16852         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
16853         (byte-compile-preprocess): Use it.
16854         (byte-compile-file-form-defalias): Try a bit harder to use macros we
16855         can't quite recognize.
16856         (byte-compile-add-to-list): Remove.
16857         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
16858         (cconv-closure-convert): Add assertion.
16860         * emacs-lisp/map-ynp.el: Use lexical-binding.
16861         (map-y-or-n-p): Remove unused vars `tail' and `object'.
16862         Factor out some repeated code.
16864 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16866         * subr.el (with-eval-after-load): New macro.
16867         (eval-after-load): Allow form to be a function.
16868         take advantage of lexical-binding.
16869         (do-after-load-evaluation): Use dolist and adjust to new format.
16870         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
16872 2013-06-13  Juri Linkov  <juri@jurta.org>
16874         * replace.el (perform-replace): Display "symbol " and other search
16875         modes from `isearch-message-prefix' in the *Help* buffer.
16877         * isearch.el (isearch-query-replace): Add " symbol" and other
16878         possible search modes from `isearch-message-prefix' to the prompt.
16879         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
16880         when reading a regexp to collect.
16882 2013-06-13  Juri Linkov  <juri@jurta.org>
16884         * isearch.el (word-search-regexp): Match whitespace if the search
16885         string begins or ends in whitespace.  The LAX arg is applied to
16886         both ends of the search string.  Use `regexp-quote' and explicit
16887         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
16888         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
16889         boundaries are replaced with symbol boundaries, and characters
16890         between symbols match non-word non-symbol syntax.  (Bug#14602)
16892 2013-06-13  Juri Linkov  <juri@jurta.org>
16894         * isearch.el (isearch-del-char): Don't exceed the length of
16895         `isearch-string' by the prefix arg.  (Bug#14563)
16897 2013-06-13  Juri Linkov  <juri@jurta.org>
16899         * isearch.el (isearch-yank-word, isearch-yank-line)
16900         (isearch-char-by-name, isearch-quote-char)
16901         (isearch-printing-char, isearch-process-search-char):
16902         Add optional count prefix arg.  (Bug#14563)
16904         * international/isearch-x.el
16905         (isearch-process-search-multibyte-characters):
16906         Add optional count prefix arg.
16908 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16910         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
16911         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
16912         lexical-binding.
16914 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
16916         * subr.el (set-temporary-overlay-map): Add on-exit argument.
16918 2013-06-13  Glenn Morris  <rgm@gnu.org>
16920         * startup.el (tty-handle-args):
16921         Don't just discard "--" and anything after.  (Bug#14608)
16923         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
16925 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
16927         Implement changes in Secret Service API.  Make it backward compatible.
16928         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
16929         (secrets-create-item): Use it.  Prefix properties with interface.
16931 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
16933         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
16934         (term-emulate-terminal): Respect term-suppress-hard-newline.
16936 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
16938         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
16939         Only remove a `thumb-file' overlay.  (Bug#14548)
16941 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
16943         * mail/reporter.el (reporter-submit-bug-report):
16944         Handle missing package-name.  (Bug#14600)
16946 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16948         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
16949         (reftex-citation-prompt, reftex-default-bibliography)
16950         (reftex-bib-or-thebib, reftex-get-bibfile-list)
16951         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
16952         (reftex-bib-sort-author, reftex-bib-sort-year)
16953         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
16954         (reftex-extract-bib-entries-from-thebibliography)
16955         (reftex-get-bibkey-default, reftex-get-bib-names)
16956         (reftex-parse-bibtex-entry, reftex-get-bib-field)
16957         (reftex-format-bib-entry, reftex-parse-bibitem)
16958         (reftex-format-bibitem, reftex-do-citation)
16959         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
16960         (reftex-restrict-bib-matches, reftex-extract-bib-file)
16961         (reftex-insert-bib-matches, reftex-format-citation)
16962         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
16963         (reftex-create-bibtex-file): Add docstrings, mostly by converting
16964         existing comments into docstrings.
16966 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
16968         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
16970 2013-06-12  Andreas Schwab  <schwab@suse.de>
16972         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
16973         for auto-save files.
16975 2013-06-12  Glenn Morris  <rgm@gnu.org>
16977         * ido.el (ido-delete-ignored-files): Remove.
16978         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
16979         Go back to calling ido-ignore-item-p directly.
16981 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
16983         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
16985         * ido.el (ido-delete-ignored-files): New function,
16986         split from ido-make-file-list-1.
16987         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
16988         (ido-make-file-list-1): Use ido-delete-ignored-files.
16990 2013-06-12  Leo Liu  <sdl.web@gmail.com>
16992         * progmodes/octave.el (inferior-octave-startup)
16993         (inferior-octave-completion-table)
16994         (inferior-octave-track-window-width-change)
16995         (octave-eldoc-function-signatures, octave-help)
16996         (octave-find-definition): Use single quoted strings.
16997         (inferior-octave-startup-args): Change default value.
16998         (inferior-octave-startup): Do not hard code "-i" and
16999         "--no-line-editing".
17000         (inferior-octave-resync-dirs): Add optional arg NOERROR.
17001         (inferior-octave-directory-tracker): Use it.
17002         (octave-goto-function-definition): Robustify.
17003         (octave-help): Support highlighting operators in 'See also'.
17004         (octave-find-definition): Find subfunctions only in Octave mode.
17006 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17008         * help-fns.el (help-fns--compiler-macro): If the handler function is
17009         named, then put a link to it.
17010         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
17011         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
17012         (cl-typep): Use it.
17013         (cl-eval-when): Simplify debug spec.
17014         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
17015         compiler-macro function instead of setting `compiler-macro-file'.
17017 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
17019         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
17020         * vc/vc-hooks.el (vc-stay-local): Doc fix.
17022 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17023             Daniel Hackney  <dan@haxney.org>
17025         First part of Daniel Hackney's patch to package.el.
17026         * emacs-lisp/package.el: Use defstruct.
17027         (package-desc): New, main struct.
17028         (package--bi-desc, package--ac-desc): New structs, used to describe the
17029         format in external files.
17030         (package-desc-vers): Replace with package-desc-version accessor.
17031         (package-desc-doc): Replace with package-desc-summary accessor.
17032         (package-activate-1): Remove `package' arg since the pkg-vec now
17033         includes the name.
17034         (define-package): Use package-desc-from-define.
17035         (package-unpack-single): Change file-name arg to be a symbol.
17036         (package--add-to-archive-contents): Use package-desc-create and new
17037         accessor functions to package--ac-desc.
17038         (package-buffer-info, package-tar-file-info): Return a package-desc.
17039         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
17040         arg to be a package-desc.
17041         (package-install-file): Adjust accordingly.  Use \' to match EOS.
17042         (package--from-builtin): New function.
17043         (describe-package-1, package-menu--generate): Use it.
17044         (package--make-autoloads-and-compile): Change name arg to be a symbol.
17045         (package-generate-autoloads): Idem and return the name of the file.
17046         * emacs-lisp/package-x.el (package-upload-buffer-internal):
17047         Change pkg-info arg to be a package-desc.
17048         Use package-make-ac-desc.
17049         (package-upload-file): Use \' to match EOS.
17050         * finder.el (finder-compile-keywords): Use package-make-builtin.
17052 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17054         * vc/vc.el (vc-deduce-fileset): Change error message.
17055         (vc-read-backend): New function.
17056         (vc-next-action): Use it.
17058         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
17060         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
17061         (prolog-font-lock-keywords): Use regexp-opt instead.
17062         Don't manually highlight strings.
17063         (prolog-mode-variables): Simplify comment-start-skip.
17064         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
17066         * emacs-lisp/generic.el (generic--normalise-comments)
17067         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
17068         (generic-mode-set-comments): Use them.
17069         (generic-bracket-support): Use setq-local.
17070         (generic-make-keywords-list): Declare obsolete.
17072 2013-06-11  Glenn Morris  <rgm@gnu.org>
17074         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
17075         Prettify after setting font-lock-defaults.  (Bug#14574)
17077 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
17079         * replace.el (query-replace, occur-read-regexp-defaults-function)
17080         (replace-search):
17081         * subr.el (declare-function, number-sequence, local-set-key)
17082         (substitute-key-definition, locate-user-emacs-file)
17083         (with-silent-modifications, split-string, eval-after-load):
17084         Fix typos, remove unneeded backslashes and reflow some docstrings.
17086 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17088         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
17089         default for Elisp files.
17091 2013-06-11  Glenn Morris  <rgm@gnu.org>
17093         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
17094         although define-derived-mode was doing this anyway.  (Bug#14583)
17096 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
17098         * allout.el (allout-encryption-plaintext-sanitization-regexps):
17099         Fix make-variable-buffer-local call to refer to the correct variable.
17101 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
17103         * eshell/em-term.el (eshell-visual-commands)
17104         (eshell-visual-subcommands, eshell-visual-options):
17105         Add summary line to docstrings.  Add cross-references.
17107 2013-06-10  Glenn Morris  <rgm@gnu.org>
17109         * epa.el (epa-read-file-name): New function.  (Bug#14510)
17110         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
17112 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
17114         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
17115         output redirection to be ignored with visual commands.
17117 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
17119         * eshell/em-term.el (eshell-visual-command-p): New function.
17120         (eshell-term-initialize): Move long lambda to separate function
17121         eshell-visual-command-p.
17122         * eshell/em-dirs.el (eshell-dirs-initialize):
17123         * eshell/em-script.el (eshell-script-initialize):
17124         Add missing #' to lambda.
17126 2013-06-08  Leo Liu  <sdl.web@gmail.com>
17128         * progmodes/octave.el (octave-add-log-current-defun): New function.
17129         (octave-mode): Set add-log-current-defun-function.
17130         (octave-goto-function-definition): Do not move point if not found.
17131         (octave-find-definition): Enhance to try subfunctions first.
17133 2013-06-08  Glenn Morris  <rgm@gnu.org>
17135         * emacs-lisp/bytecomp.el (byte-compile-char-before)
17136         (byte-compile-backward-char, byte-compile-backward-word):
17137         Improve previous change, to handle non-explicit nil.
17139 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17141         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
17142         (smie--opener/closer-at-point): New function.
17143         (smie--matching-block-data): Use it.  Don't match from right after an
17144         opener or right before a closer.  Obey smie-blink-matching-inners.
17145         Don't signal a mismatch for repeated inners like "switch..case..case".
17147 2013-06-07  Leo Liu  <sdl.web@gmail.com>
17149         * progmodes/octave.el (octave-mode): Set comment-use-global-state
17150         to t.  (Bug#14303)
17151         (octave-function-header-regexp): Fix.  (Bug#14570)
17152         (octave-help-mode-finish-hook, octave-help-mode-finish):
17153         Remove.  Just use temp-buffer-show-hook.
17155         * newcomment.el (comment-search-backward): Revert last change.
17156         (Bug#14434)
17158         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
17160 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
17162         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
17163         through xargs, to avoid failure due to MS-Windows limitations on
17164         command-line length.
17166 2013-06-06  Glenn Morris  <rgm@gnu.org>
17168         * font-lock.el (lisp-font-lock-keywords-2):
17169         Treat user-error like error.
17171         * emacs-lisp/bytecomp.el (byte-compile-char-before)
17172         (byte-compile-backward-char, byte-compile-backward-word):
17173         Handle explicit nil arguments.  (Bug#14565)
17175 2013-06-05  Alan Mackenzie  <acm@muc.de>
17177         * isearch.el (isearch-allow-prefix): New user option.
17178         (isearch-other-meta-char): Don't exit isearch when a prefix
17179         argument is typed whilst `isearch-allow-prefix' is non-nil.
17180         (Bug#9706)
17182 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17184         * autorevert.el (auto-revert-notify-handler): Use memq.
17185         Hide assertion failure.
17187         * skeleton.el: Use cl-lib.
17188         (skeleton-further-elements): Use defvar-local.
17189         (skeleton-insert): Use cl-progv.
17191 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
17193         * progmodes/prog-mode.el (prog-prettify-symbols)
17194         (prog-prettify-install): Update docstrings.
17196 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17198         * simple.el: Move all the prog-mode code to prog-mode.el.
17199         * progmodes/prog-mode.el: New file.
17200         * loadup.el: Add prog-mode.el.
17202 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
17204         * simple.el (prog-prettify-symbols): Add version.
17205         (prog-prettify-install): Add convenience function to prettify symbols.
17207         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
17208         (perl--augmented-font-lock-keywords-1)
17209         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
17210         variables and use it.
17212         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
17213         (cfengine3-mode): Remove unneeded variable and use it.
17215         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
17216         (lisp--augmented-font-lock-keywords-1)
17217         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
17218         Remove unneeded variables and use it.
17220 2013-06-05  João Távora  <joaotavora@gmail.com>
17222         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
17223         to point when opening the connection.  (Bug#14380)
17225 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17227         * subr.el (load-history-regexp, load-history-filename-element)
17228         (eval-after-load, after-load-functions, do-after-load-evaluation)
17229         (eval-next-after-load, display-delayed-warnings)
17230         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
17231         definition of save-match-data.
17232         (overriding-local-map): Remove accidental obsolescence declaration.
17234         * emacs-lisp/edebug.el (edebug-result): Move before first use.
17236 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
17238         Generalize symbol prettify support to prog-mode and implement it
17239         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
17240         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
17241         (prog--prettify-font-lock-compose-symbol)
17242         (prog-prettify-font-lock-symbols-keywords): New variables and
17243         functions to support symbol prettification.
17244         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
17245         (lisp--augmented-font-lock-keywords-1)
17246         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
17247         (lisp--prettify-symbols-alist): Implement prettify of lambda.
17248         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
17249         (cfengine3--prettify-symbols-alist, cfengine3-mode):
17250         Implement prettify of -> => :: strings.
17251         * progmodes/perl-mode.el (perl-prettify-symbols)
17252         (perl--font-lock-compose-symbol)
17253         (perl--font-lock-symbols-keywords): Move to prog-mode.
17254         (perl--prettify-symbols-alist): Prettify -> => :: strings.
17255         (perl-font-lock-keywords-1)
17256         (perl-font-lock-keywords-2): Remove explicit prettify support.
17257         (perl--augmented-font-lock-keywords)
17258         (perl--augmented-font-lock-keywords-1)
17259         (perl--augmented-font-lock-keywords-2, perl-mode):
17260         Implement prettify support.
17262 2013-06-05  Leo Liu  <sdl.web@gmail.com>
17264         Re-implement SMIE matching block highlight using
17265         show-paren-data-function.  (Bug#14395)
17266         * emacs-lisp/smie.el (smie-matching-block-highlight)
17267         (smie--highlight-matching-block-overlay)
17268         (smie--highlight-matching-block-lastpos)
17269         (smie-highlight-matching-block)
17270         (smie-highlight-matching-block-mode): Remove.
17271         (smie--matching-block-data-cache): New variable.
17272         (smie--matching-block-data): New function.
17273         (smie-setup): Use smie--matching-block-data for
17274         show-paren-data-function.
17276         * progmodes/octave.el (octave-mode-menu): Fix.
17277         (octave-find-definition): Skip garbage lines.
17279 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17281         Fix compilation error with simultaneous dynamic+lexical scoping.
17282         Add warning when a defvar appears after the first let-binding.
17283         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
17284         (byte-compile-close-variables): Initialize it.
17285         (byte-compile--declare-var): New function.
17286         (byte-compile-file-form-defvar)
17287         (byte-compile-file-form-define-abbrev-table)
17288         (byte-compile-file-form-custom-declare-variable): Use it.
17289         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
17290         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
17291         (byte-compile-bind): Handle dynamic bindings that shadow
17292         lexical bindings.
17293         (byte-compile-unbind): Make arg non-optional.
17294         (byte-compile-let): Simplify.
17295         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
17296         (cconv--analyse-function, cconv-analyse-form): Populate it.
17297         Protect byte-compile-bound-variables to limit the scope of defvars.
17298         (cconv-analyse-form): Add missing rule for (defvar <foo>).
17299         Remove unneeded rule for `declare'.
17301         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
17302         so as to avoid depending on cl-adjoin at run-time.
17303         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
17305         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
17306         (macroexp--warn-and-return): Use it.
17308 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17310         * subr.el: Convert to lexical binding.
17311         (overriding-local-map): Make obsolete.
17312         (add-to-list): Doc fix.  Add compiler macro.
17313         (read-key): Swap values of local maps.
17315 2013-06-05  Leo Liu  <sdl.web@gmail.com>
17317         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
17319 2013-06-04  Leo Liu  <sdl.web@gmail.com>
17321         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
17322         (compilation-auto-jump): Suppress the "Mark set" message to give
17323         way to exit message.
17325 2013-06-04  Alan Mackenzie  <acm@muc.de>
17327         Remove faulty optimization from indentation calculation.
17328         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
17329         search limit based on 2000 characters back from indent-point.
17331 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
17333         * eshell/em-term.el (cl-lib): Require `cl-lib'.
17335 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17337         * emacs-lisp/lisp.el: Use lexical-binding.
17338         (lisp--local-variables-1, lisp--local-variables): New functions.
17339         (lisp--local-variables-completion-table): New var.
17340         (lisp-completion-at-point): Use it complete let-bound vars.
17342         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
17343         eagerly (bug#14422).
17345 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
17347         * autorevert.el (auto-revert-notify-enabled)
17348         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
17349         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
17350         (auto-revert-notify-handler): Handle also gfilenotify.
17352         * subr.el (file-notify-handle-event): New defun.  Replacing ...
17353         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
17354         Remove.
17356 2013-06-03  Juri Linkov  <juri@jurta.org>
17358         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
17359         `M-s h .'.  (Bug#14427)
17361         * hi-lock.el (highlight-symbol-at-point): New alias for the new
17362         command `hi-lock-face-symbol-at-point'.
17363         (hi-lock-face-symbol-at-point): New command.
17364         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
17365         (hi-lock-menu): Add `highlight-symbol-at-point'.
17366         (hi-lock-mode): Doc fix.
17368         * isearch.el (isearch-forward-symbol-at-point): New command.
17369         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
17370         (isearch-highlight-regexp): Add a regexp which matches
17371         words/symbols for word/symbol mode.
17373         * subr.el (find-tag-default-bounds): New function with the body
17374         mostly moved from `find-tag-default'.
17375         (find-tag-default): Move most code to `find-tag-default-bounds',
17376         call it and apply `buffer-substring-no-properties' afterwards.
17378 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
17380         * eshell/em-term.el (eshell-term-initialize):
17381         Use `cl-intersection' rather than `intersection'.
17383 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
17385         * vc/log-view.el: Doc fix.
17386         (log-view-mode-map): Copy keymap from `special-mode-map'.
17388 2013-06-02  Eric Ludlam  <zappo@gnu.org>
17390         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
17391         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
17392         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
17393         (eieio-unbound, eieio-default-superclass)
17394         (eieio--define-field-accessors, method-static, method-before)
17395         (method-primary, method-after, method-num-lists)
17396         (method-generic-before, method-generic-primary)
17397         (method-generic-after, method-num-slots)
17398         (eieio-specialized-key-to-generic-key)
17399         (eieio--check-type, class-v, class-p)
17400         (eieio-class-name, define-obsolete-function-alias)
17401         (eieio-class-parents-fast, eieio-class-children-fast)
17402         (same-class-fast-p, class-constructor, generic-p)
17403         (generic-primary-only-p, generic-primary-only-one-p)
17404         (class-option-assoc, class-option, eieio-object-p)
17405         (class-abstract-p, class-method-invocation-order)
17406         (eieio-defclass-autoload-map, eieio-defclass-autoload)
17407         (eieio-class-un-autoload, eieio-defclass)
17408         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
17409         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
17410         (eieio--defgeneric-init-form, eieio-defgeneric-form)
17411         (eieio-defgeneric-reset-generic-form)
17412         (eieio-defgeneric-form-primary-only)
17413         (eieio-defgeneric-reset-generic-form-primary-only)
17414         (eieio-defgeneric-form-primary-only-one)
17415         (eieio-defgeneric-reset-generic-form-primary-only-one)
17416         (eieio-unbind-method-implementations)
17417         (eieio--defmethod, eieio--typep)
17418         (eieio-perform-slot-validation, eieio-validate-slot-value)
17419         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
17420         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
17421         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
17422         (eieio-slot-name-index, eieio-class-slot-name-index)
17423         (eieio-set-defaults, eieio-initarg-to-attribute)
17424         (eieio-attribute-to-initarg, eieio-c3-candidate)
17425         (eieio-c3-merge-lists, eieio-class-precedence-c3)
17426         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
17427         (eieio-class-precedence-list, eieio-generic-call-methodname)
17428         (eieio-generic-call-arglst, eieio-generic-call-key)
17429         (eieio-generic-call-next-method-list)
17430         (eieio-pre-method-execution-functions, eieio-generic-call)
17431         (eieio-generic-call-primary-only, eieiomt-method-list)
17432         (eieiomt-optimizing-obarray, eieiomt-install)
17433         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
17434         (eieio-generic-form, eieio-defmethod, make-obsolete)
17435         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
17436         (defclass): Remove `eval-and-compile' from macro.
17437         (call-next-method, shared-initialize): Instead of using
17438         `scoped-class' variable, use new eieio--scoped-class, and
17439         eieio--with-scoped-class.
17440         (initialize-instance): Rename local variable 'scoped-class' to
17441         'this-class' to remove ambiguitity from old global.
17443         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
17444         eieio.el.
17445         (eieio--scoped-class-stack): New variable.
17446         (eieio--scoped-class): New fcn.
17447         (eieio--with-scoped-class): New scoping macro.
17448         (eieio-defclass): Use pushnew instead of add-to-list.
17449         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
17450         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
17451         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
17452         `scoped-class' variable, use new eieio--scoped-class, and
17453         eieio--with-scoped-class.
17455         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
17457 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
17459         * eshell/esh-ext.el (eshell-external-command): Pass args to
17460         `eshell-find-interpreter'.
17461         (eshell-find-interpreter): Add new second parameter ARGS.
17463         * eshell/em-script.el (eshell-script-initialize): Add second arg
17464         to the function added as MATCH to `eshell-interpreter-alist'.
17466         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
17467         the function added as MATCH to `eshell-interpreter-alist'.
17469         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
17470         (eshell-visual-options): New defcustom.
17471         (eshell-escape-control-x): Adapt docstring.
17472         (eshell-term-initialize): Test `eshell-visual-subcommands' and
17473         `eshell-visual-options' in addition to `eshell-visual-commands'.
17474         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
17476 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17478         * progmodes/python.el (python-indent-block-enders): Add break,
17479         continue and raise keywords.
17481 2013-06-01  Glenn Morris  <rgm@gnu.org>
17483         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
17485         Plain (f)boundp silences compilation warnings since Emacs 22.1.
17486         * progmodes/cc-cmds.el (delete-forward-p):
17487         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
17488         * progmodes/cc-engine.el (buffer-syntactic-context):
17489         * progmodes/cc-fonts.el (face-property-instance):
17490         * progmodes/cc-mode.el (set-keymap-parents):
17491         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
17492         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
17493         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
17494         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
17495         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
17497         * progmodes/cc-vars.el (other): Emacs has this widget since
17498         at least 21.1, so don't (re)define it.
17500         * eshell/em-cmpl.el (eshell-cmpl-initialize):
17501         Replace the obsolete alias pcomplete-arg-quote-list.
17503 2013-06-01  Leo Liu  <sdl.web@gmail.com>
17505         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
17506         punctuation syntax.
17507         (inferior-octave-minimal-columns)
17508         (inferior-octave-last-column-width): New variables.
17509         (inferior-octave-track-window-width-change): New function.
17510         (inferior-octave-mode): Adjust column width so that Octave output,
17511         for example from 'ls', can fit into the window nicely.
17513 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
17515         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
17516         Highlight expansions inside regexp literals.
17518 2013-05-31  Glenn Morris  <rgm@gnu.org>
17520         * obsolete/sym-comp.el (symbol-complete):
17521         Replace obsolete completion-annotate-function.
17523         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
17525 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
17527         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
17528         New function, checks if point is inside a literal that allows
17529         expression expansion.
17530         (ruby-syntax-propertize-expansion): Use it.
17531         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
17532         around the body.
17534 2013-05-30  Juri Linkov  <juri@jurta.org>
17536         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
17537         to "\M-si".
17538         (isearch-invisible): New variable.
17539         (isearch-forward): Doc fix.
17540         (isearch-mode): Set `isearch-invisible'
17541         to the value of `search-invisible'.
17542         (isearch-toggle-case-fold): Doc fix.
17543         (isearch-toggle-invisible): New command.
17544         (isearch-query-replace): Let-bind `search-invisible'
17545         to the value of `isearch-invisible'.
17546         (isearch-search): Use `isearch-invisible' instead of
17547         `search-invisible'.  Let-bind `search-invisible'
17548         to the value of `isearch-invisible'.  (Bug#11378)
17550 2013-05-30  Juri Linkov  <juri@jurta.org>
17552         * replace.el (perform-replace): Avoid `isearch-range-invisible'
17553         call when `query-flag' is nil and `search-invisible' is non-nil.
17554         (Bug#11746)
17556 2013-05-30  Glenn Morris  <rgm@gnu.org>
17558         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
17560         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
17561         (cc-require): Suppress spurious "noruntime" warnings.
17562         (cc-require-when-compile): Use fboundp, for sake of compiler.
17564         * progmodes/cc-mode.el: Move load of cc-vars before that of
17565         cc-langs (which in turn loads cc-vars), to quieten compiler.
17567 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17569         * paren.el: Simplify the code.
17570         (show-paren-mode): Always start the timer.
17571         (show-paren--idle-timer): Rename from show-paren-idle-timer.
17572         (show-paren--overlay, show-paren--overlay-1): Rename from
17573         show-paren-overlay and show-paren-overlay-1, and initialize to an
17574         overlay rather than to nil.
17575         (show-paren-function): Misc cleanup and simplifications.
17577 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17579         * paren.el (show-paren-data-function): New hook.
17580         (show-paren--default): New function, extracted from show-paren-function.
17581         (show-paren-function): Use show-paren-data-function.
17583 2013-05-30  Glenn Morris  <rgm@gnu.org>
17585         * ielm.el (ielm-map, ielm-complete-symbol):
17586         Use completion-at-point rather than obsolete functions.
17587         (inferior-emacs-lisp-mode): Doc fix.
17588         Set completion-at-point-functions, rather than
17589         comint-dynamic-complete-functions.
17591         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
17592         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
17593         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
17595         * image.el (image-animated-p): Tweak definition.
17597         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
17598         (rlogin-process-connection-type): Tweak default.  Add set-after.
17599         (rlogin-host): Doc fix.
17600         (rlogin): Tweak prompt.
17601         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
17603         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
17604         * progmodes/tcl.el (inferior-tcl-mode-map):
17605         Use completion-at-point rather than obsolete alias.
17607         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
17609         * minibuffer.el (read-file-name-completion-ignore-case):
17610         Move before completion--in-region, for eager macro expansion.
17612 2013-05-29  Juri Linkov  <juri@jurta.org>
17614         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
17615         for total count of matching lines.  Add `global-matches' for total
17616         count of matches.  Rename `matches' to `lines' for count of
17617         matching lines.  Add `matches' for count of matches.
17618         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
17619         to `prev-line' for line number of prev match endpt.
17620         Increment `matches' for every match.  Print the number of
17621         matching lines in the header.
17622         (occur-context-lines): Rename `lines' to `curr-line'.
17623         Rename `prev-lines' to `prev-line'.  (Bug#14017)
17625 2013-05-29  Juri Linkov  <juri@jurta.org>
17627         * replace.el (perform-replace): Add `skip-read-only-count',
17628         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
17629         Increment them for corresponding conditions and report the number
17630         of skipped occurrences in the final message.  (Bug#11746)
17631         (query-replace, query-replace-regexp, query-replace-regexp-eval)
17632         (replace-string, replace-regexp): Doc fix.
17634 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17636         * emacs-lisp/trace.el (trace--read-args): Provide a default.
17638         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
17639         prog-mode-map (bug#14504).
17641 2013-05-29  Leo Liu  <sdl.web@gmail.com>
17643         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
17644         (octave-help): Small simplification.
17646         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
17647         off the highlight first.
17649 2013-05-29  Glenn Morris  <rgm@gnu.org>
17651         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
17652         Handle idlwave-last-system-routine-info-cons-cell being nil.
17654         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17655         (idlwave-write-paths): Simplify via with-temp-buffer.
17657         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
17658         * emulation/cua-rect.el: Also load cua-base at run time.
17660         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
17661         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
17662         (cperl-imenu-on-info): Require imenu.
17664 2013-05-28  Alan Mackenzie  <acm@muc.de>
17666         Handle "capitalised keywords" correctly.
17667         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
17669 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
17671         * eshell/em-unix.el: Add -r option to cp.
17673 2013-05-28  Glenn Morris  <rgm@gnu.org>
17675         * vc/vc-arch.el (vc-exec-after): Declare.
17676         (vc-switches): Autoload.
17677         * vc/vc-bzr.el: No need to require vc when compiling.
17678         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
17679         (vc-resynch-buffer, vc-dir-refresh): Declare.
17680         (vc-setup-buffer, vc-switches): Autoload.
17681         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
17682         (vc-resynch-buffer): Declare.
17683         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
17684         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
17685         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
17686         (grep-read-regexp, grep-read-files, grep-expand-template)
17687         (vc-dir-refresh): Declare.
17688         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
17689         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
17690         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
17691         * vc/vc-mtn.el (vc-exec-after): Declare.
17692         (vc-switches): Autoload.
17693         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
17694         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
17695         (vc-file-tree-walk): Declare.
17696         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
17697         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
17698         (vc-tag-precondition, vc-rename-master): Autoload.
17699         * vc/vc-svn.el (vc-exec-after): Declare.
17700         (vc-switches, vc-setup-buffer): Autoload.
17701         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
17702         Autoload.
17703         (vc-resynch-buffer): Declare.
17705         * obsolete/fast-lock.el (byte-compile-warnings):
17706         Don't warn about obsolete features in this obsolete file.
17708         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
17709         Move definition before use.
17711         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
17712         (dun-unix-verbs): Remove dun-zippy.
17713         (dun-zippy): Remove function.
17715         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
17717 2013-05-27  Juri Linkov  <juri@jurta.org>
17719         * replace.el (replace-search): New function with code moved out
17720         from `perform-replace'.
17721         (replace-highlight, replace-dehighlight): Move function definitions
17722         up closer to `replace-search'.  (Bug#11746)
17724 2013-05-27  Juri Linkov  <juri@jurta.org>
17726         * replace.el (perform-replace): Ignore invisible matches.
17727         In addition to checking `query-replace-skip-read-only', also
17728         filter out matches by calling `run-hook-with-args-until-failure'
17729         on `isearch-filter-predicates', and also check `search-invisible'
17730         for t or call `isearch-range-invisible'.
17731         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
17733 2013-05-27  Juri Linkov  <juri@jurta.org>
17735         * isearch.el (isearch-filter-predicates): Rename from
17736         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
17737         (isearch-message-prefix): Display text from the property
17738         `isearch-message-prefix' of the currently active filters.
17739         (isearch-search): Don't compare `isearch-filter-predicate' with
17740         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
17741         on `isearch-filter-predicates'.  Also check `search-invisible' for t
17742         or call `isearch-range-invisible'.
17743         (isearch-filter-visible): Make obsolete.
17744         (isearch-lazy-highlight-search):
17745         Call `run-hook-with-args-until-failure' on
17746         `isearch-filter-predicates' and use `isearch-range-invisible'.
17748         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
17749         `isearch-filter-predicates' instead of `funcall'ing
17750         `isearch-filter-predicate'.
17751         (Info-mode): Set `Info-isearch-filter' to
17752         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
17754         * dired-aux.el (dired-isearch-filter-predicate-orig):
17755         Remove variable.
17756         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
17757         (dired-isearch-filenames-end): Add and remove
17758         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
17759         instead of changing the value of `isearch-filter-predicate'.
17760         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
17761         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
17762         Put property `isearch-message-prefix' to "filename " on
17763         `dired-isearch-filter-filenames'.
17765         * wdired.el (wdired-change-to-wdired-mode):
17766         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
17767         locally instead of changing `isearch-filter-predicate'.
17768         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
17770 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
17772         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
17773         return the commit hash (Bug#14459).  Also set the
17774         `vc-git-detached' property.
17775         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
17776         (vc-git-mode-line-string): Use the same help-echo format whether
17777         in detached mode or not, because we know the actual revision now.
17778         When in detached mode, shorten the revision to 7 chars.
17780 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17782         * emacs-lisp/easy-mmode.el (define-minor-mode):
17783         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
17784         mode hook and provide a docstring.
17786 2013-05-27  Alan Mackenzie  <acm@muc.de>
17788         Remove spurious syntax-table text properties inserted by C-y.
17789         * progmodes/cc-mode.el (c-after-change): Also clear hard
17790         syntax-table property with value nil.
17792 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
17794         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
17795         when reading the events; the buffer layout shall not be changed.
17797 2013-05-27  Leo Liu  <sdl.web@gmail.com>
17799         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
17800         New variable.
17801         (inferior-octave-directory-tracker): Automatically re-sync
17802         default-directory.
17803         (octave-help): Improve handling of 'See also'.
17805 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17807         * doc-view.el: Minor naming convention tweaks.
17808         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
17810         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
17811         even if there's no `display' property yet (bug#14435).
17813 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
17815         * subr.el (unmsys--file-name): Rename from reveal-filename.
17817         * Makefile.in (custom-deps, finder-data, autoloads)
17818         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
17819         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
17820         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
17822 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17824         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
17825         error-completion on the first 2 args of condition-case (bug#14446).
17826         Don't burp at EOB.
17828 2013-05-25  Leo Liu  <sdl.web@gmail.com>
17830         * comint.el (comint-previous-matching-input): Do not flood the
17831         *Messages* buffer with trivial messages.
17833 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17835         * progmodes/flymake.el (flymake-nop): Don't return a string.
17836         (flymake-set-at): Fix typo.
17838         * simple.el (read--expression): New function, extracted from
17839         eval-expression.  Set completion-at-point-functions (bug#14465).
17840         (eval-expression, eval-minibuffer): Use it.
17842 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
17844         * progmodes/flymake.el (flymake-save-buffer-in-file)
17845         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
17846         (flymake-selected-frame, flymake-log, flymake-ins-after)
17847         (flymake-set-at, flymake-get-buildfile-from-cache)
17848         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
17849         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
17850         Refine the doc string.
17851         (flymake-get-file-name-mode-and-masks): Reformat.
17852         (flymake-get-real-file-name-function): Fix a minor bug.
17854 2013-05-24  Juri Linkov  <juri@jurta.org>
17856         * progmodes/grep.el (grep-mode-font-lock-keywords):
17857         Support =linenumber= format used by git-grep for lines with
17858         function names.  (Bug#13549)
17860 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17862         * progmodes/octave.el (octave-smie-rules): Return nil rather than
17863         0 after a semi-colon; it works better for smie-auto-fill.
17864         (octave--indent-new-comment-line): New function.
17865         (octave-indent-new-comment-line): Use it (indirectly).
17866         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
17867         modify comment-line-break-function.
17869         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
17870         (smie-setup): Use add-function to set it.
17872 2013-05-24  Sam Steingold  <sds@gnu.org>
17874         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
17875         argument (before the `interactive' argument).
17877 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17879         * image-mode.el (image-mode-winprops): Add winprops to
17880         image-mode-winprops-alist before running
17881         image-mode-new-window-functions.
17882         * doc-view.el (doc-view-new-window-function): Don't delay
17883         doc-view-goto-page via timers (bug#14435).
17885 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
17887         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
17888         (doc-view-desktop-save-buffer): New function.
17889         (doc-view-restore-desktop-buffer): New function.
17890         (desktop-buffer-mode-handlers):
17891         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
17892         handler.
17893         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
17894         `desktop-save-buffer' function.
17896 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
17898         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
17899         (tramp-gvfs-file-name-handler): Raise a user error when
17900         `tramp-gvfs-enabled' is nil.
17901         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
17902         Do not raise a user error when loading package.  (Bug#14447)
17904         * net/xesam.el: Move to obsolete/.
17906 2013-05-24  Glenn Morris  <rgm@gnu.org>
17908         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
17910         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
17912         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
17913         (Info-find-node, Man-getpage-in-background): Declare.
17915         * mail/unrmail.el (unrmail):
17916         Replace obsolete detect-coding-with-priority.
17918         * net/socks.el (socks-split-string): Use this rather than split-string.
17919         (socks-nslookup-host): Update for above change.
17920         (dynamic-choice, s5-dynamic-choice-match)
17921         (s5-dynamic-choice-match-inline, s5-widget-value-create):
17922         Comment out unused code.
17924         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
17925         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
17926         (gud-tooltip-echo-area): Make obsolete.
17927         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
17929         * progmodes/js.el (js--optimize-arglist): Declare.
17931         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
17933         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
17934         (ediff-window-C): Declare.
17936         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
17937         Tweak requires to silence compiler.
17939         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
17940         (he-search-string, he-tried-table, he-expand-list)
17941         (he-init-string, he-string-member, he-substitute-string)
17942         (he-reset-string): Declare.
17944         * obsolete/options.el (list-options): Use custom-variable-p,
17945         rather than obsolete alias.
17947 2013-05-23  Sam Steingold  <sds@gnu.org>
17949         * simple.el (shell-command-on-region): Pass the `replace' argument
17950         down to `call-process-region' to comply with the doc as reported on
17951         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
17953 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17955         * emacs-lisp/smie.el (smie-indent-forward-token)
17956         (smie-indent-backward-token): Handle string tokens (bug#14381).
17958 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17960         * ielm.el (ielm-menu): New menu.
17961         (inferior-emacs-lisp-mode): Set comment-start.
17963 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17965         * textmodes/reftex.el (reftex-ref-style-toggle):
17966         Fix deactivate action.
17968         * textmodes/reftex-vars.el (reftex-ref-style-alist):
17969         Add cleveref macros.
17971         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
17972         Accept options for bibliography commands.
17973         * textmodes/reftex-vars.el (reftex-bibliography-commands):
17974         Add addbibresource.  Basic Biblatex support.
17976 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
17978         * net/tramp-gvfs.el (top):
17979         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
17980         when loading package.  (Bug#14447)
17982 2013-05-23  Glenn Morris  <rgm@gnu.org>
17984         * progmodes/js.el: No need to load comint when compiling.
17985         (ring-insert, comint-send-string, comint-send-input)
17986         (comint-last-input-end, ido-chop): Declare.
17988         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
17989         * vc/ediff-mult.el: Adjust requires.
17990         (ediff-directories-internal, ediff-directory-revisions-internal)
17991         (ediff-patch-file-internal): Declare.
17992         * vc/ediff-ptch.el: Adjust requires.
17993         (ediff-use-last-dir, ediff-buffers-internal): Declare.
17994         (ediff-find-file): Autoload.
17995         * vc/ediff-util.el: No need to load ediff when compiling.
17996         (ediff-regions-internal): Declare.
17997         * vc/ediff-wind.el: Adjust requires.
17998         (ediff-compute-toolbar-width): Define when compiling.
17999         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
18000         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
18001         (dired-get-filename, dired-get-marked-files)
18002         (ediff-last-dir-patch, ediff-patch-default-directory)
18003         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
18004         (ediff-patch-buffer-internal): Declare.
18006         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
18007         (ispell-process, ispell-buffer-local-words, lm-summary)
18008         (lm-section-start, lm-section-end): Declare.
18009         (checkdoc-ispell-init): Simplify.
18011         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
18012         (he-string-member, he-reset-string, he-substitute-string): Declare.
18014         * eshell/em-ls.el: Adjust requires.
18015         (eshell-glob-regexp): Declare.
18016         * eshell/em-tramp.el: Adjust requires.
18017         (eshell-parse-command): Autoload.
18018         * eshell/em-xtra.el: Adjust requires.
18019         (eshell-parse-command): Autoload.
18020         * eshell/esh-ext.el: Adjust requires.
18021         (eshell-parse-command, eshell-close-handles): Autoload.
18022         * eshell/esh-io.el: Adjust requires.
18023         (eshell-output-filter): Autoload.
18024         * eshell/esh-util.el: No need to load tramp when compiling.
18025         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
18026         Declare.
18027         (eshell-parse-ange-ls): Require ange-ftp and tramp.
18028         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
18029         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
18030         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
18031         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
18032         * eshell/esh-opt.el, eshell/esh-proc.el:
18033         * eshell/esh-var.el: Adjust requires.
18034         * eshell/eshell.el: Do not require esh-util twice.
18035         (eshell-add-input-to-history): Declare.
18036         (eshell-command): Check history module is active before using it.
18038         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
18040 2013-05-22  Leo Liu  <sdl.web@gmail.com>
18042         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
18044 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
18046         * autorevert.el (auto-revert-notify-add-watch)
18047         (auto-revert-notify-handler): Add `attrib' for the inotify case,
18048         it indicates changes in file modification time.
18050 2013-05-22  Glenn Morris  <rgm@gnu.org>
18052         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
18053         Always delete the autoloaded function from the noruntime and
18054         unresolved functions lists.
18056         * allout.el: No need to load epa, epg, overlay when compiling.
18057         (epg-context-set-passphrase-callback, epg-list-keys)
18058         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
18059         (epg-key-user-id-list): Declare.
18061         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18062         (viper-set-parsing-style-toggling-macro)
18063         (viper-set-emacs-state-searchstyle-macros):
18064         Use called-interactively-p on Emacs.
18065         (viper-looking-back): Make it an obsolete alias.  Update callers.
18066         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
18067         Use looking-back rather than viper-looking-back.
18068         (viper-tmp-insert-at-eob, viper-enlarge-region)
18069         (viper-read-string-with-history, viper-register-to-point)
18070         (viper-append-to-register, viper-change-state-to-vi)
18071         (viper-backward-char-carefully, viper-forward-char-carefully)
18072         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
18073         (viper-change-state-to-emacs): Declare.
18074         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
18075         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
18076         * emulation/viper-mous.el: Do not load viper-cmd.
18077         (viper-backward-char-carefully, viper-forward-char-carefully)
18078         (viper-forward-word, viper-adjust-window): Declare.
18080         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
18082         * progmodes/idlw-help.el (idlwave-help-fontify):
18083         Use called-interactively-p.
18085         * term/w32console.el (w32-get-console-codepage)
18086         (w32-get-console-output-codepage): Declare.
18088         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
18089         Remove unnecessary declarations.
18090         (dframe-message): Doc fix.
18092         * info.el (dframe-select-attached-frame, dframe-current-frame):
18093         Declare.
18095         * speedbar.el (speedbar-message): Make it an obsolete alias.
18096         Update all callers.
18097         (speedbar-with-attached-buffer)
18098         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
18099         (speedbar-with-writable): Use backquote.
18100         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
18101         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
18102         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
18103         rather than speedbar- aliases.
18104         * mail/rmail.el: Load dframe rather than speedbar when compiling.
18105         (speedbar-make-specialized-keymap, speedbar-insert-button)
18106         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
18107         (speedbar-do-function-pointer): Declare.
18108         (rmail-speedbar-button, rmail-speedbar-find-file)
18109         (rmail-speedbar-move-message):
18110         Use dframe-with-attached-buffer rather than speedbar- alias.
18111         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
18112         (dframe-message, speedbar-make-specialized-keymap)
18113         (speedbar-add-expansion-list, speedbar-mode-functions-list)
18114         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
18115         (speedbar-insert-button, dframe-select-attached-frame)
18116         (dframe-maybee-jump-to-attached-frame)
18117         (speedbar-change-initial-expansion-list)
18118         (speedbar-previously-used-expansion-list-name): Declare.
18119         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
18120         Use dframe-message, dframe-with-attached-buffer rather than
18121         speedbar- aliases.
18122         (gud-sentinel): Silence compiler.
18123         * progmodes/vhdl-mode.el (speedbar-refresh)
18124         (speedbar-do-function-pointer, speedbar-add-supported-extension)
18125         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
18126         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
18127         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
18128         (speedbar-file-lists, speedbar-make-tag-line)
18129         (speedbar-line-directory, speedbar-goto-this-file)
18130         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
18131         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
18132         (speedbar-make-button, speedbar-reset-scanners)
18133         (speedbar-files-item-info, speedbar-line-text)
18134         (speedbar-find-file-in-frame, speedbar-set-timer)
18135         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
18136         (speedbar-with-writable): Do not (re)define it.
18137         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
18138         rather than speedbar- alias.
18140 2013-05-21  Leo Liu  <sdl.web@gmail.com>
18142         * progmodes/octave.el (octave-mode-menu): Update and re-organize
18143         menu items.
18144         (octave-mode): Tweak fill-nobreak-predicate.
18145         (inferior-octave-startup): Check process to avoid infinite loop.
18146         (inferior-octave): Pop to buffer first to show abornmal process
18147         exit information.
18149 2013-05-21  Glenn Morris  <rgm@gnu.org>
18151         * printing.el (pr-menu-bar): Define when compiling.
18153 2013-05-21  Leo Liu  <sdl.web@gmail.com>
18155         * progmodes/octave.el (octave-auto-fill): Remove.
18156         (octave-indent-new-comment-line): Improve.
18157         (octave-mode): Use auto fill mode through
18158         comment-line-break-function and fill-nobreak-predicate.
18159         (octave-goto-function-definition): Support DEFUN_DLD.
18160         (octave-beginning-of-defun): Small tweak.
18161         (octave-help): Show parent directory.
18163 2013-05-21  Glenn Morris  <rgm@gnu.org>
18165         * files.el (dired-unmark):
18166         * progmodes/gud.el (gdb-input): Update declarations.
18168         * calculator.el (electric, ehelp): No need to load when compiling.
18169         (Electric-command-loop, electric-describe-mode): Declare.
18171         * doc-view.el (doc-view-current-converter-processes): Move before use.
18173         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18174         Move MODE-set-explicitly definition before use.
18176         * international/mule-diag.el (mule-diag):
18177         Don't use obsolete window-system-version.
18179         * mail/feedmail.el (smtpmail): No need to load when compiling.
18180         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
18182         * mail/mail-utils.el (rfc822): No need to load when compiling.
18183         (rfc822-addresses): Autoload it.
18184         (mail-strip-quoted-names): Trivial simplification.
18186         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
18187         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
18189         * net/snmp-mode.el (tempo): Don't duplicate requires.
18191         * progmodes/prolog.el (info): No need to load when compiling.
18192         (comint): Require before shell requires it.
18193         (Info-goto-node): Autoload it.
18194         (Info-follow-nearest-node): Declare.
18195         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
18197         * textmodes/artist.el (picture-mode-exit): Declare.
18199         * textmodes/reftex-parse.el (reftex-parse-from-file):
18200         Trivial rewrite so the compiler can parse it better.
18202 2013-05-20  Leo Liu  <sdl.web@gmail.com>
18204         * progmodes/octave.el (octave-help-mode-map)
18205         (octave-help-mode-finish-hook): New variables.
18206         (octave-help-mode, octave-help-mode-finish): New functions.
18207         (octave-help): Use octave-help-mode.
18209 2013-05-20  Glenn Morris  <rgm@gnu.org>
18211         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
18213 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
18215         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
18216         start at point, so that expansion starting right after opening
18217         slash in a regexp is recognized.
18218         (ruby-syntax-before-regexp-re): New defvar, extracted from
18219         ruby-syntax-propertize-function.  Since the value of this regexp
18220         is looked up at runtime now, we should be able to turn
18221         `ruby-syntax-methods-before-regexp' into a defcustom later.
18222         (ruby-syntax-propertize-function): Split regexp matching into two
18223         parts, for opening and closing slashes.  That allows us to skip
18224         over string interpolations and support multiline regexps.
18225         Don't call `ruby-syntax-propertize-expansions', instead use another rule
18226         for them, which calls `ruby-syntax-propertize-expansion'.
18227         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
18228         call to `ruby-syntax-propertize-function'.
18229         (ruby-syntax-propertize-expansion): Extracted from
18230         `ruby-syntax-propertize-expansions'.  Handles one expansion.
18231         (ruby-syntax-propertize-percent-literal): Leave point right after
18232         the percent symbol, so that the expression expansion rule can
18233         propertize the contents.
18234         (ruby-syntax-propertize-heredoc): Leave point at bol following the
18235         heredoc openers.
18236         (ruby-syntax-propertize-expansions): Remove.
18238 2013-05-18  Juri Linkov  <juri@jurta.org>
18240         * man.el (Man-default-man-entry): Remove `-' from the end
18241         of the default value.  (Bug#14400)
18243 2013-05-18  Glenn Morris  <rgm@gnu.org>
18245         * comint.el (comint-password-prompt-regexp):
18246         Allow "password for XXX" where XXX contains colons (eg https://...).
18248 2013-05-18  Leo Liu  <sdl.web@gmail.com>
18250         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
18251         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
18252         (octave-source-directories): Don't check process.
18253         (octave-source-directories, octave-find-definition): Doc fix.
18255 2013-05-18  Glenn Morris  <rgm@gnu.org>
18257         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
18258         Remove backspace/delete bindings.  (Bug#14392)
18260         * cus-dep.el (custom-make-dependencies): Sort the output.
18261         (custom-versions-load-alist): Convert comment to doc.
18263 2013-05-17  Leo Liu  <sdl.web@gmail.com>
18265         * newcomment.el (comment-search-backward): Stricter in finding
18266         comment start.  (Bug#14303)
18268         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
18269         (octave-comment-start-skip): Properly anchored.
18271 2013-05-17  Leo Liu  <sdl.web@gmail.com>
18273         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
18274         Clean up when turned off.  (Bug#14395)
18275         (smie--highlight-matching-block-overlay): No longer buffer-local.
18276         (smie-highlight-matching-block): Adjust.
18278 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
18280         Doc string fix for "nanoseconds" (Bug#14406).
18281         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
18282         Fix doc string typo that had "nanoseconds" instead of "microseconds".
18284 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
18286         * calc/calc-units.el (math-extract-units): Preserve powers
18287         of units.
18289 2013-05-17  Leo Liu  <sdl.web@gmail.com>
18291         * subr.el (delete-consecutive-dups): New function.
18292         * ido.el (ido-set-matches-1): Use it.
18293         * progmodes/octave.el (inferior-octave-completion-table): Use it.
18294         * ido.el (ido-remove-consecutive-dups): Remove.
18296 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18298         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18299         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
18300         regexp-opt's `words'.
18302 2013-05-16  Leo Liu  <sdl.web@gmail.com>
18304         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
18305         (smie--highlight-matching-block-overlay)
18306         (smie--highlight-matching-block-lastpos)
18307         (smie--highlight-matching-block-timer): New variables.
18308         (smie-highlight-matching-block): New function.
18309         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
18310         (smie-setup): Conditionally enable smie-blink-matching-open.
18312 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
18314         Sync with upstream verilog-mode r840.
18315         * progmodes/verilog-mode.el (verilog-mode-version)
18316         (verilog-mode-release-date): Update.
18317         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
18318         (verilog-sig-tieoff): Fix string error on
18319         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
18320         (verilog-read-decls): Fix parameters confusing
18321         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
18323 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
18325         * subr.el (reveal-filename): New function.
18327         * loadup.el: Compute Emacs executable versions on MS-Windows,
18328         where executables have the .exe extension.  Add a hard link
18329         emacs-XX.YY.ZZ.exe on MS-Windows.
18331         * Makefile.in (XARGS_LIMIT): New variable.
18332         (custom-deps, finder-data, autoloads)
18333         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
18334         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
18335         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
18336         (compile-main): Limit xargs according to $(XARGS_LIMIT).
18338 2013-05-16  Leo Liu  <sdl.web@gmail.com>
18340         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
18341         (octave-mode-menu, octave-mode-map): Remove its uses.
18343 2013-05-16  Reto Zimmermann  <reto@gnu.org>
18345         Sync with upstream vhdl mode v3.34.2.
18346         * progmodes/vhdl-mode.el: Use `push' throughout.
18347         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
18348         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
18349         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
18350         (vhdl-actual-generic-name): New option to derive actual generic name.
18351         (vhdl-port-paste-signals): Replace formal by actual generics.
18352         (vhdl-beautify): New name for old group vhdl-align.  Update users.
18353         (vhdl-beautify-options): New option.
18354         (vhdl-last-input-event): New compat alias.  Use throughout.
18355         (vhdl-goto-line): Replace user level function `goto-line'.
18356         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
18357         vhdl-fix-statement-buffer.
18358         (vhdl-create-mode-menu): Add some entries.
18359         (vhdl-align-region-groups): Respect vhdl-beautify-options.
18360         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
18361         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
18362         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
18363         to force statements on one line.
18364         (vhdl-remove-trailing-spaces-region):
18365         New, split from vhdl-remove-trailing-spaces.
18366         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
18367         Respect vhdl-beautify-options.
18368         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
18369         (vhdl-update-sensitivity-list): Not add with index if exists without.
18370         Not include array index with signal.  Ignore keywords in comments.
18371         (vhdl-get-visible-signals): Regexp tweaks.
18372         (vhdl-template-component-inst): Handle empty library.
18373         (vhdl-template-type): Add template for 'enum' type.
18374         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
18375         Use vhdl-replace-string.
18376         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
18377         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
18378         (vhdl-speedbar-initialize): Update for above name change.
18379         (vhdl-compose-wire-components): Fix in handling of constants.
18380         (vhdl-error-regexp-emacs-alist): New variable.
18381         (vhdl-error-regexp-add-emacs): New function;
18382         adds support for new compile.el (Emacs 22+)
18383         (vhdl-generate-makefile-1): Change target order for single lib. units.
18384         Allow use of absolute file names.
18386 2013-05-16  Leo Liu  <sdl.web@gmail.com>
18388         * simple.el (prog-indent-sexp): Indent enclosing defun.
18390 2013-05-15  Glenn Morris  <rgm@gnu.org>
18392         * cus-start.el (show-trailing-whitespace): Move to editing basics.
18393         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
18394         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
18395         (whitespace-highlight): Move to whitespace group.
18397         * comint.el (comint-source):
18398         * pcmpl-linux.el (pcmpl-linux):
18399         * shell.el (shell-faces):
18400         * eshell/esh-opt.el (eshell-opt):
18401         * international/ccl.el (ccl): Remove empty custom groups.
18403         * completion.el (dynamic-completion-mode):
18404         * jit-lock.el (jit-lock-debug-mode):
18405         * minibuffer.el (completion-in-region-mode):
18406         * type-break.el (type-break-mode-line-message-mode)
18407         (type-break-query-mode):
18408         * emulation/tpu-edt.el (tpu-edt-mode):
18409         * progmodes/subword.el (global-subword-mode, global-superword-mode):
18410         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18411         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
18413         * term/xterm.el (xterm): Change parent group to terminals.
18415         * master.el (master): Remove empty custom group.
18416         (master-mode): Remove unused :group argument.
18417         * textmodes/refill.el (refill): Remove empty custom group.
18418         (refill-mode): Remove unused :group argument.
18420         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
18422         * cus-dep.el: Provide a feature.
18423         (custom-make-dependencies): Ignore dotfiles (dir-locals).
18424         Don't mistakenly ignore files whose basenames match a basename
18425         from preloaded-file-list (eg cedet/ede/simple.el).
18426         Add a fallback method for getting :group.
18428 2013-05-15  Juri Linkov  <juri@jurta.org>
18430         * isearch.el (isearch-char-by-name): Rename from
18431         `isearch-insert-char-by-name'.  Doc fix.
18432         (isearch-forward): Mention `isearch-char-by-name' in
18433         the docstring.  (Bug#13348)
18435         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
18436         `exit-minibuffer' instead of
18437         `isearch-nonincremental-exit-minibuffer'.
18438         (isearch-edit-string): Remove mention of
18439         `isearch-nonincremental-exit-minibuffer' from docstring.
18440         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
18441         (isearch-forward-exit-minibuffer)
18442         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
18444 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18446         * loadup.el: Just use unversioned DOC.
18448         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
18449         literals as extending to EOB.
18450         (nxml-last-fontify-end): Remove unused variable.
18451         (nxml-after-change1): Use with-silent-modifications.
18452         (nxml-extend-after-change-region): Simplify.
18453         (nxml-extend-after-change-region1): Remove function.
18454         (nxml-after-change1): Don't adjust for dependent regions.
18455         (nxml-fontify-matcher): Simplify.
18456         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
18457         (xmltok-add-dependent): Remove function.
18458         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
18459         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
18460         (xmltok-scan-prolog-after-processing-instruction-open): Treat
18461         unclosed <[[, <?, comment, and other literals as extending to EOB.
18462         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
18463         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
18464         Remove functions.
18465         (rng-do-some-validation-1): Don't mark dependent regions.
18466         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
18467         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
18468         (nxml-clear-dependent-regions): Remove functions.
18469         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
18470         (nxml-ensure-scan-up-to-date):
18471         Don't clear&mark dependent regions.
18473 2013-05-15  Leo Liu  <sdl.web@gmail.com>
18475         * progmodes/octave.el (octave-goto-function-definition):
18476         Improve and fix callers.
18478 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18480         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
18481         the setter (bug#14387).
18483         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
18484         surrounding group (bug#14402).
18486 2013-05-14  Juri Linkov  <juri@jurta.org>
18488         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
18489         (Bug#14390)
18491 2013-05-14  Glenn Morris  <rgm@gnu.org>
18493         * progmodes/f90.el (f90-imenu-generic-expression):
18494         Fix typo in 2013-05-08 change.  (Bug#14402)
18496 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
18498         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
18499         Remove signals for which replies are never received.
18501 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
18503         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
18504         (gdb-handler-alist, gdb-handler-number): Remove variables.
18505         (gdb-handler-list): New variable.
18506         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
18507         (gdb-pending-handler-p, gdb-handle-reply)
18508         (gdb-remove-all-pending-triggers): New functions.
18509         (gdb-discard-unordered-replies): New defcustom.
18510         (gdb-handler): New defstruct.
18511         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
18512         instead of gdb-pending-triggers.  Update docstring.
18513         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
18514         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
18515         (gdb-var-update-handler, def-gdb-auto-update-trigger)
18516         (def-gdb-auto-update-handler, gdb-get-changed-registers)
18517         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
18518         (gdb-frame-handler): Pending triggers are now automatically managed.
18519         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
18520         Remove argument.
18521         (gdb-input): Automatically handles pending triggers.  Update docstring.
18522         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
18523         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
18524         Update comments.
18525         (gdb-done-or-error): Now use gdb-handle-reply.
18527 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
18529         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
18530         gdb-debug-log.
18532 2013-05-14  Glenn Morris  <rgm@gnu.org>
18534         * subr.el (user-emacs-directory-warning): New option.
18535         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
18537 2013-05-14  Leo Liu  <sdl.web@gmail.com>
18539         * progmodes/octave.el (octave-font-lock-keywords): Fix error
18540         during redisplay.
18541         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
18542         (octave-font-lock-texinfo-comment): Fix invalid search bound
18543         error: wrong side of point.
18545 2013-05-14  Glenn Morris  <rgm@gnu.org>
18547         * progmodes/flymake.el (flymake-xml-program): New option.
18548         (flymake-xml-init): Use it.
18550         * term/xterm.el: Provide a feature.
18552         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
18554 2013-05-13  Glenn Morris  <rgm@gnu.org>
18556         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
18557         Add compat aliases as a hack workaround.  (Bug#14384)
18559 2013-05-13  Leo Liu  <sdl.web@gmail.com>
18561         * progmodes/octave.el (octave-indent-comment): Fix indentation for
18562         ###, and %!.
18563         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
18564         C-M-q.
18565         (octave-comment-start-skip): Include %!.
18566         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
18568 2013-05-12  Leo Liu  <sdl.web@gmail.com>
18570         * progmodes/octave.el (inferior-octave-startup): Store the value
18571         of __octave_srcdir__ for octave-source-directories.
18572         (inferior-octave-check-process): New function refactored out of
18573         inferior-octave-send-list-and-digest.
18574         (octave-source-directories)
18575         (octave-find-definition-filename-function): New variables.
18576         (octave-source-directories)
18577         (octave-find-definition-default-filename): New functions.
18578         (octave-find-definition): Improve to find functions implemented in C++.
18580 2013-05-12  Glenn Morris  <rgm@gnu.org>
18582         * calendar/diary-lib.el (diary-outlook-format-1):
18583         Don't include dayname in the output.  (Bug#14349)
18585 2013-05-11  Glenn Morris  <rgm@gnu.org>
18587         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
18589         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
18590         Treat cc-provide like provide.
18592 2013-05-11  Kevin Ryde  <user42@zip.com.au>
18594         * cus-dep.el (custom-make-dependencies):
18595         Use generated-autoload-load-name for the sake of files such
18596         such cedet/semantic/bovine/c.el, where the base file name
18597         is not in load-path.  (Bug#5277)
18599 2013-05-11  Glenn Morris  <rgm@gnu.org>
18601         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
18602         Provide features.
18604 2013-05-11  Leo Liu  <sdl.web@gmail.com>
18606         * progmodes/octave.el (octave-indent-comment): Improve.
18607         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
18608         (octave-eldoc-function-signatures, octave-eldoc-function):
18609         New functions.
18610         (octave-mode, inferior-octave-mode): Add eldoc support.
18612 2013-05-11  Richard Stallman  <rms@gnu.org>
18614         * epa.el (epa-decrypt-file): Take output file name as argument
18615         and read it using `interactive'.
18617 2013-05-11  Leo Liu  <sdl.web@gmail.com>
18619         * progmodes/octave.el (octave-beginning-of-line)
18620         (octave-end-of-line): Check before using up-list because it jumps
18621         out of more syntactic contructs since moving to smie.
18622         (octave-indent-comment): New function.
18623         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
18624         (octave-begin-keywords, octave-end-keywords)
18625         (octave-reserved-words, octave-smie-bnf-table)
18626         (octave-smie-rules): Add new keywords from Octave 3.6.4.
18628 2013-05-11  Glenn Morris  <rgm@gnu.org>
18630         * faces.el (internal-face-x-get-resource):
18631         * frame.el (ns-display-monitor-attributes-list):
18632         * calc/calc-aent.el (math-to-radians-2):
18633         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
18634         Fix declarations.
18636         * calc/calc-menu.el: Make it loadable in isolation.
18638         * net/eudcb-bbdb.el: Make it loadable without bbdb.
18639         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
18640         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
18641         (eudc-bbdb-query-internal): Require 'bbdb.
18643         * lpr.el (lpr-headers-switches):
18644         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
18646         * progmodes/sql.el (sql-login-params): Fix and improve :type.
18648         * emulation/edt-mapper.el: In batch mode, error rather than hang.
18650         * term.el (term-set-escape-char): Make it idempotent.
18652 2013-05-10  Leo Liu  <sdl.web@gmail.com>
18654         * progmodes/octave.el (inferior-octave-completion-table):
18655         No longer a function and all uses changed.  Use cache to speed up
18656         completion due to bug#11906.
18657         (octave-beginning-of-defun): Re-write to be more general.
18659 2013-05-10  Glenn Morris  <rgm@gnu.org>
18661         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
18663 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
18665         * comint.el (comint-redirect-send-command-to-process): Use :around
18666         rather than :override for comint-redirect-filter.
18667         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
18668         Call it instead of comint-redirect-original-filter-function (which
18669         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
18671 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
18673         * frame.el (display-monitor-attributes-list): Add NS case.
18674         (ns-display-monitor-attributes-list): Declare.
18676 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
18678         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
18680 2013-05-09  Glenn Morris  <rgm@gnu.org>
18682         * international/fontset.el (vertical-centering-font-regexp):
18683         Set standard-value.
18685         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
18687         * bookmark.el (bookmark-search-delay):
18688         * cus-start.el (vertical-centering-font-regexp):
18689         * ps-mule.el (ps-mule-font-info-database-default):
18690         * ps-print.el (ps-default-fg, ps-default-bg):
18691         * type-break.el (type-break-good-break-interval):
18692         * whitespace.el (whitespace-indentation-regexp)
18693         (whitespace-space-after-tab-regexp):
18694         * emacs-lisp/testcover.el (testcover-1value-functions)
18695         (testcover-noreturn-functions, testcover-progn-functions)
18696         (testcover-prog1-functions):
18697         * emulation/viper-init.el (viper-emacs-state-cursor-color):
18698         * eshell/em-glob.el (eshell-glob-translate-alist):
18699         * play/tetris.el (tetris-tty-colors):
18700         * progmodes/cpp.el (cpp-face-default-list):
18701         * progmodes/flymake.el (flymake-allowed-file-name-masks):
18702         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
18703         (idlwave-help-browser-generic-args):
18704         * progmodes/make-mode.el (makefile-special-targets-list):
18705         * progmodes/python.el (python-shell-virtualenv-path):
18706         * progmodes/verilog-mode.el (verilog-active-low-regexp)
18707         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
18708         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
18709         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
18710         * textmodes/reftex-vars.el (reftex-format-label-function):
18711         * textmodes/remember.el (remember-diary-file): Fix custom types.
18713         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
18714         Add :version.
18716 2013-05-09  Leo Liu  <sdl.web@gmail.com>
18718         * progmodes/octave.el (inferior-octave-completion-at-point):
18719         Restore file completion.  (Bug#14300)
18720         (inferior-octave-startup): Fix incorrect highlighting for the
18721         first prompt.
18723 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18725         * progmodes/ruby-mode.el: First cut at SMIE support.
18726         (ruby-use-smie): New var.
18727         (ruby-smie-grammar): New constant.
18728         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
18729         (ruby-smie--forward-token, ruby-smie--backward-token)
18730         (ruby-smie-rules): New functions.
18731         (ruby-mode-variables): Setup SMIE if applicable.
18733 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
18735         * simple.el (line-move-visual): Signal beginning/end of buffer
18736         only if vertical-motion moved less than it was requested.  Avoids
18737         silly incorrect error messages when there are display strings with
18738         multiple newlines at EOL.
18740 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18742         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
18743         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
18744         (prolog-char-quote-workaround):
18745         * progmodes/cperl-mode.el (cperl-under-as-char):
18746         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
18747         Mark as obsolete.
18748         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
18749         their declaration.
18750         (vhdl-mode-syntax-table-init): Remove.
18752         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
18753         last change.
18755         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
18756         syntax for "_".
18757         (ld-script-font-lock-keywords):
18758         Change regexps to use things like \_< and \_>.
18760         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
18761         Change all regexps to use things like \_< and \_>.
18763         * progmodes/autoconf.el (autoconf-definition-regexp)
18764         (autoconf-font-lock-keywords, autoconf-current-defun-function):
18765         Handle a _ with symbol syntax.
18766         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
18768         * progmodes/ada-mode.el (ada-mode-abbrev-table):
18769         Consolidate declaration.
18770         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
18771         the declaration.
18772         (ada-create-syntax-table): Remove.
18773         (ada-capitalize-word): Don't mess with the syntax of "_" since it
18774         already has the right syntax nowadays.
18775         (ada-goto-next-word): Don't change the syntax of "_".
18777         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
18778         with-wrapper-hook.
18780 2013-05-08  Sam Steingold  <sds@gnu.org>
18782         * thingatpt.el (thing-at-point): Accept optional second argument
18783         NO-PROPERTIES to strip the text properties from the return value.
18784         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
18785         to `thing-at-point' instead of stripping the properties ourselves.
18786         Also, when `thing-at-point' fails to find a url, prepend "http://"
18787         to the filename at point on the assumption that the user is
18788         pointing at something like gnu.org/gnu.
18790 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
18792         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
18793         * faces.el (crm-separator):
18794         Silence byte-compiler.
18796         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
18797         (tool-bar-map): Remove unneeded defvars.
18799 2013-05-08  Leo Liu  <sdl.web@gmail.com>
18801         Re-work a fix for bug#10994 based on Le Wang's patch.
18802         * ido.el (ido-remove-consecutive-dups): New helper.
18803         (ido-completing-read): Use it.
18804         (ido-chop): Revert fix for bug#10994.
18806 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
18808         * cus-edit.el (custom-save-variables):
18809         Pretty-print long values.  (Bug#14187)
18811 2013-05-08  Glenn Morris  <rgm@gnu.org>
18813         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
18814         (m4-mode-syntax-table): Init in the defvar.
18815         (m4-mode-abbrev-table): Let define-derived-mode define it.
18817 2013-05-08  Tom Tromey  <tromey@redhat.com>
18819         * progmodes/m4-mode.el (m4-mode-syntax-table):
18820         Do not treat "_" as word constituent.  (Bug#14167)
18822 2013-05-07  Glenn Morris  <rgm@gnu.org>
18824         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
18825         Remove explicit eshell-isearch-cancel-map.
18827         * progmodes/f90.el (f90-smart-end-names): New option.
18828         (f90-smart-end): Doc fix.
18829         (f90-end-block-optional-name): New constant.
18830         (f90-block-match): Respect f90-smart-end-names.
18832 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18834         * progmodes/octave.el (octave-smie-forward-token): Be more careful
18835         about implicit semi-colons (bug#14218).
18837 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
18839         * frame.el (display-monitor-attributes-list)
18840         (frame-monitor-attributes): New functions.
18842 2013-05-06  Leo Liu  <sdl.web@gmail.com>
18844         * progmodes/octave.el (octave-syntax-propertize-function): Change
18845         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
18846         (octave-font-lock-keywords): Use octave-operator-regexp.
18847         (octave-completion-at-point): Rename from
18848         octave-completion-at-point-function.
18849         (inferior-octave-directory-tracker): Robustify.
18850         (octave-text-functions): Remove and fix its uses.  No such things
18851         any more.
18853 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18855         * emacs-lisp/trace.el (trace--display-buffer): New function.
18856         (trace-make-advice): Use it.
18858 2013-05-06  Juri Linkov  <juri@jurta.org>
18860         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
18861         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
18862         Doc fix.
18863         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
18864         in the help string.  (Bug#12985)
18866 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
18868         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
18870 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18872         * progmodes/perl-mode.el: Add support for here documents.
18873         (perl-syntax-propertize-function): Match here-doc markers.
18874         (perl-syntax-propertize-special-constructs): Find their end.
18875         (perl-imenu-generic-expression): Use [:alnum:].
18877         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
18878         (advice--add-function): Refresh the advice if already present
18879         (bug#14317).
18881 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
18883         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
18885 2013-05-06  Glenn Morris  <rgm@gnu.org>
18887         * w32-fns.el (w32-charset-info-alist): Declare.
18889         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
18890         of its defcustom properties.
18891         (eshell-cmpl-initialize): No need to load pcomplete.
18893         * generic-x.el: No need to require comint when compiling.
18895         * net/eudc-export.el: Make it loadable without bbdb.
18896         (top-level): Use require rather than load-library.
18897         (eudc-create-bbdb-record, eudc-bbdbify-phone)
18898         (eudc-batch-export-records-to-bbdb)
18899         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
18900         Require bbdb.
18902 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18904         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
18905         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
18906         some tweaks, instead.
18908 2013-05-05  Leo Liu  <sdl.web@gmail.com>
18910         * progmodes/octave.el (octave-font-lock-keywords)
18911         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
18912         (inferior-octave-send-list-and-digest): Improve error message.
18913         (octave-mode, inferior-octave-mode): Use setq-local.
18914         (octave-help): Set info-lookup-mode.
18916 2013-05-05  Richard Stallman  <rms@gnu.org>
18918         * vc/compare-w.el (compare-windows-whitespace):
18919         Treat no-break space as whitespace.
18921         * mail/rmailsum.el (rmail-summary-rmail-update):
18922         Detect empty summary and don't change selected message.
18923         (rmail-summary-goto-msg): Likewise.
18925         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
18926         Doc fixes, rename args.
18928 2013-05-05  Alan Mackenzie  <acm@muc.de>
18930         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
18932 2013-05-05  Juri Linkov  <juri@jurta.org>
18934         * info.el (Info-read-subfile): Use (point-min) instead of (point)
18935         to not add the length of the summary segment to the return value.
18936         (Bug#14125)
18938 2013-05-05  Leo Liu  <sdl.web@gmail.com>
18940         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
18941         (inferior-octave-output-filter): Remove.
18942         (octave-send-region, inferior-octave-startup): Fix callers.
18943         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
18944         (octave-binary-file-extensions): New user variable.
18945         (octave-find-definition): Confirm if opening binary files.
18946         (octave-help-file): Use octave-find-definition to get the binary
18947         confirmation.
18948         (octave-help): Adjust for octave-help-file change.
18950 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18952         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
18953         Merge the two entries that handle function definitions.
18954         (pascal--syntax-propertize): New const.
18955         (pascal-mode): Use it.  Use setq-local.
18957 2013-05-04  Glenn Morris  <rgm@gnu.org>
18959         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
18960         (diary-from-outlook): Respect diary-from-outlook-function.
18962 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18964         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
18965         Move the declaration from C.
18966         (read-minibuffer, eval-minibuffer): Move from C.
18967         (completion-setup-function): Avoid minibuffer-completion-contents.
18969 2013-05-03  Leo Liu  <sdl.web@gmail.com>
18971         * progmodes/octave.el (octave-font-lock-keywords): Do not
18972         dehighlight 'end' in comments or strings.
18973         (octave-completing-read, octave-goto-function-definition):
18974         New helpers.
18975         (octave-help-buffer): New user variable.
18976         (octave-help-file, octave-help-function): New button types.
18977         (octave-help): New command and bind it to C-h ;.
18978         (octave-find-definition): New command and bind it to M-.
18979         (user-error): Alias to error if not defined.
18981 2013-05-02  Leo Liu  <sdl.web@gmail.com>
18983         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
18984         for \.  (bug#14332)
18985         (octave-font-lock-keywords): Include [ and {.
18987 2013-05-02  Leo Liu  <sdl.web@gmail.com>
18989         * progmodes/octave.el (inferior-octave-startup-file): Change default.
18990         (inferior-octave): Remove calling comint-mode and return the buffer.
18991         (inferior-octave-startup): Cosmetic changes.
18993 2013-05-02  Leo Liu  <sdl.web@gmail.com>
18995         * progmodes/octave.el (octave-syntax-propertize-function):
18996         Include the case when ' is at line beginning.  (Bug#14336)
18998 2013-05-02  Glenn Morris  <rgm@gnu.org>
19000         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
19001         * desktop.el (vc-dir-mode): Just autoload it here.
19003 2013-05-02  Alan Mackenzie  <acm@muc.de>
19005         Eliminate variable c-standard-font-lock-fontify-region-function.
19006         * progmodes/cc-mode.el
19007         (c-standard-font-lock-fontify-region-function): Remove.
19008         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
19010 2013-05-01  Leo Liu  <sdl.web@gmail.com>
19012         * progmodes/octave.el: Compatible with older emacs-24 releases.
19013         (inferior-octave-has-built-in-variables): Remove.  Built-in
19014         variables were removed from Octave in 2007.
19015         (inferior-octave-startup): Fix uses.
19016         (comint-line-beginning-position): Remove compatibility code for
19017         emacs 21.
19019 2013-05-01  Juri Linkov  <juri@jurta.org>
19021         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
19023 2013-05-01  Juri Linkov  <juri@jurta.org>
19025         * comint.el (comint-previous-matching-input): Don't print message
19026         "History item: %d" when `isearch-mode' is active.
19027         (comint-history-isearch-message): Print message "History item: %d"
19028         when `comint-input-ring-index' is not empty and this function is
19029         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
19031 2013-05-01  Leo Liu  <sdl.web@gmail.com>
19033         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
19034         definitions.  Use completion-at-point to insert keywords.
19035         (octave-abbrev-start): Remove.
19036         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
19038 2013-04-30  Leo Liu  <sdl.web@gmail.com>
19040         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
19041         change.
19043 2013-04-30  Alan Mackenzie  <acm@muc.de>
19045         Handle arbitrarily long C++ member initialisation lists.
19046         * progmodes/cc-engine.el (c-back-over-member-initializers):
19047         new function.
19048         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
19049         (most) member init lists.
19051 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
19053         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
19054         variable.
19056 2013-04-30  Leo Liu  <sdl.web@gmail.com>
19058         * progmodes/octave.el (octave-variables): Remove.  No builtin
19059         variables any more.  All converted to functions.
19060         (octave-font-lock-keywords, octave-completion-at-point-function):
19061         Fix uses.
19062         (octave-font-lock-texinfo-comment): New user variable.
19063         (octave-texinfo-font-lock-keywords): New variable for texinfo
19064         comment block.
19065         (octave-function-comment-block): New face.
19066         (octave-font-lock-texinfo-comment): New function.
19067         (octave-mode): Font lock texinfo comment block.
19069 2013-04-29  Leo Liu  <sdl.web@gmail.com>
19071         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
19072         indexing expression.
19073         (octave-continuation-string): Do not use \.
19074         (inferior-octave-complete-impossible): Remove.
19075         (inferior-octave-completion-table)
19076         (inferior-octave-completion-at-point): Remove its uses.
19077         (inferior-octave-startup): completion_matches was introduced to
19078         Octave in 1996 so safe to assume it.
19079         (octave-function-file-comment): Improve to follow how Octave does it.
19080         (octave-update-function-file-comment): Tweak.
19082 2013-04-29  Leo Liu  <sdl.web@gmail.com>
19084         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
19085         (inferior-octave-startup): Remove inferior-octave-startup-hook.
19086         (octave-function-file-comment): Fix typo.
19087         (octave-sync-function-file-names): Use read-char-choice.
19089 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
19091         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
19092         to t for the less important warnings.
19094 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
19096         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
19098 2013-04-27  Glenn Morris  <rgm@gnu.org>
19100         * vc/log-view.el (log-view-current-entry):
19101         Treat "---" separator lines as part of the following rev.  (Bug#14169)
19103 2013-04-27  Juri Linkov  <juri@jurta.org>
19105         * subr.el (read-number): Doc fix about using it by interactive
19106         code letter `n'.  (Bug#14254)
19108 2013-04-27  Juri Linkov  <juri@jurta.org>
19110         * desktop.el (desktop-auto-save-timeout): New option.
19111         (desktop-file-checksum): New variable.
19112         (desktop-save): Add optional arg `auto-save' and don't auto-save
19113         if nothing changed.
19114         (desktop-auto-save-timer): New variable.
19115         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
19116         (after-init-hook): Call `desktop-auto-save-set-timer'.
19117         Suggested by Reuben Thomas <rrt@sc3d.org> in
19118         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
19120 2013-04-27  Leo Liu  <sdl.web@gmail.com>
19122         * progmodes/octave.el (octave-function-file-p)
19123         (octave-skip-comment-forward, octave-function-file-comment)
19124         (octave-update-function-file-comment): New functions.
19125         (octave-mode-map): Bind C-c ; to
19126         octave-update-function-file-comment.
19127         (octave-mode-menu): Add octave-update-function-file-comment.
19128         (octave-mode, inferior-octave-mode): Fix doc-string.
19129         (octave-insert-defun): Conform to Octave's coding convention.
19130         (Bug#14285)
19132         * files.el (basic-save-buffer): Don't let errors in
19133         before-save-hook prevent saving buffer.
19135 2013-04-20  Roland Winkler  <winkler@gnu.org>
19137         * faces.el (read-face-name): Use completing-read if arg multiple
19138         is nil.
19140 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
19142         * ls-lisp.el (ls-lisp-insert-directory): If no files are
19143         displayed, move point to after the totals line.
19144         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
19145         for the details.
19147 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19149         * emacs-lisp/package.el (package-autoload-ensure-default-file):
19150         Add current dir to the load-path.
19151         (package-generate-autoloads): Don't rely on
19152         autoload-ensure-default-file.
19154 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
19156         * textmodes/remember.el (remember-store-in-files): Document that
19157         the file name format is passed to `format-time-string'.
19159 2013-04-26  Leo Liu  <sdl.web@gmail.com>
19161         * progmodes/octave.el (octave-sync-function-file-names): New function.
19162         (octave-mode): Use it in before-save-hook.
19164 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19166         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
19167         (bug#14274).
19169         * progmodes/octave.el (octave-smie-forward-token): Properly skip
19170         \n and comment, even if it's not an implicit ; (bug#14218).
19172 2013-04-26  Glenn Morris  <rgm@gnu.org>
19174         * subr.el (read-number): Once more use `read' rather than
19175         `string-to-number', to trap non-numeric input.  (Bug#14254)
19177 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
19179         * emacs-lisp/syntax.el (syntax-propertize-multiline):
19180         Use `syntax-multiline' text property consistently instead of
19181         `font-lock-multiline'.  (Bug#14237)
19183 2013-04-26  Glenn Morris  <rgm@gnu.org>
19185         * emacs-lisp/shadow.el (list-load-path-shadows):
19186         No longer necessary to check for duplicate simple.el, since
19187         2012-07-07 change to init_lread to not include installation lisp
19188         directories in load-path when running uninstalled.  (Bug#14270)
19190 2013-04-26  Leo Liu  <sdl.web@gmail.com>
19192         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
19193         (octave-mode, inferior-octave-mode): Use setq-local.
19194         (octave-not-in-string-or-comment-p): Rename to
19195         octave-in-string-or-comment-p.
19196         (octave-in-comment-p, octave-in-string-p)
19197         (octave-in-string-or-comment-p): Replace defsubst with defun.
19199 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
19201         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
19203 2013-04-25  Bastien Guerry  <bzg@gnu.org>
19205         * textmodes/remember.el (remember-data-directory)
19206         (remember-directory-file-name-format): Fix custom types.
19208 2013-04-25  Leo Liu  <sdl.web@gmail.com>
19210         * progmodes/octave.el (octave-completion-at-point-function):
19211         Make use of inferior octave process.
19212         (octave-initialize-completions): Remove.
19213         (inferior-octave-completion-table): New function.
19214         (inferior-octave-completion-at-point): Use it.
19215         (octave-completion-alist): Remove.
19217 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19219         * progmodes/opascal.el: Use font-lock and syntax-propertize.
19220         (opascal-mode-syntax-table): New var.
19221         (opascal-literal-kind, opascal-is-literal-end)
19222         (opascal-literal-token-at): Rewrite.
19223         (opascal--literal-start-re, opascal-font-lock-keywords)
19224         (opascal--syntax-propertize): New constants.
19225         (opascal-font-lock-defaults): Adjust.
19226         (opascal-mode): Use them.  Set comment-<foo> variables as well.
19227         (delphi-comment-face, opascal-comment-face, delphi-string-face)
19228         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
19229         (delphi-other-face, opascal-other-face): Remove face variables.
19230         (opascal-save-state): Remove macro.
19231         (opascal-fontifying-progress-step): Remove constant.
19232         (opascal--ignore-changes): Remove var.
19233         (opascal-set-token-property, opascal-parse-next-literal)
19234         (opascal-is-stable-literal, opascal-complete-literal)
19235         (opascal-is-literal-start, opascal-face-of)
19236         (opascal-parse-region, opascal-parse-region-until-stable)
19237         (opascal-fontify-region, opascal-after-change)
19238         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
19239         (opascal-debug-parse-region, opascal-debug-parse-window)
19240         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
19241         (opascal-debug-fontify-buffer): Remove.
19242         (opascal-debug-mode-map): Adjust accordingly.
19244 2013-04-25  Leo Liu  <sdl.web@gmail.com>
19246         Merge octave-mod.el and octave-inf.el into octave.el with some
19247         cleanups.
19248         * progmodes/octave.el: New file renamed from octave-mod.el.
19249         * progmodes/octave-inf.el: Merged into octave.el.
19250         * progmodes/octave-mod.el: Renamed to octave.el.
19252 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
19254         * textmodes/reftex-vars.el
19255         (reftex-label-ignored-macros-and-environments): New defcustom.
19257         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
19259 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19261         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
19262         (smie-indent-keyword): Improve the check to ensure that the next
19263         comment is really on the same line.
19264         (smie-indent-comment): Don't align with a subsequent closer (or eob).
19266         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
19267         semi-colons if the line is not otherwise empty (bug#14218).
19269 2013-04-25  Glenn Morris  <rgm@gnu.org>
19271         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
19273 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19275         * progmodes/opascal.el (opascal-set-token-property): Rename from
19276         opascal-set-text-properties and only set `token' (bug#14134).
19277         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
19278         (opascal-literal-text-properties): Remove.
19279         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
19280         Adjust callers.
19282 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
19284         * textmodes/remember.el (remember-handler-functions): Add an
19285         option for a new handler `remember-store-in-files'.
19286         (remember-data-directory, remember-directory-file-name-format):
19287         New options.
19288         (remember-store-in-files): New function to store remember notes
19289         as separate files within a directory.
19291 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
19293         * progmodes/compile.el (compilation-next-error-function):
19294         Pass "formats" to compilation-find-file (bug#11777).
19296 2013-04-24  Glenn Morris  <rgm@gnu.org>
19298         * vc/vc-bzr.el (vc-bzr-print-log):
19299         * vc/vc-hg.el (vc-hg-print-log):
19300         * vc/vc-svn.el (vc-svn-print-log):
19301         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
19303         * vc/vc-bzr.el (vc-bzr-print-log):
19304         * vc/vc-cvs.el (vc-cvs-print-log):
19305         * vc/vc-git.el (vc-git-print-log):
19306         * vc/vc-hg.el (vc-hg-print-log):
19307         * vc/vc-mtn.el (vc-mtn-print-log):
19308         * vc/vc-rcs.el (vc-rcs-print-log):
19309         * vc/vc-sccs.el (vc-sccs-print-log):
19310         * vc/vc-svn.el (vc-svn-print-log):
19311         * vc/vc.el (vc-print-log-internal): Doc fixes.
19313 2013-04-23  Glenn Morris  <rgm@gnu.org>
19315         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
19316         Remove venerable code attempting to avoid substitute-command-keys.
19318 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
19320         * textmodes/reftex-vars.el (reftex-label-regexps):
19321         Call `reftex-compile-variables' after changes to this variable.
19323 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19325         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
19326         Use lexical-binding.
19327         (jit-lock-force-redisplay): Use markers, check buffer's continued
19328         existence and beware narrowed buffers.
19329         (jit-lock-fontify-now): Adjust call accordingly.
19331 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19333         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
19334         to avoid misleading the user.
19336 2013-04-22  Leo Liu  <sdl.web@gmail.com>
19338         * info-look.el: Prefer latex2e.info.  (Bug#14240)
19340 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
19342         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
19344         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
19345         * net/tramp.el (tramp-call-process): ... here.
19346         (tramp-set-completion-function, tramp-parse-putty):
19347         * net/tramp-adb.el (tramp-adb-execute-adb-command):
19348         * net/tramp-gvfs.el (tramp-gvfs-send-command):
19349         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
19350         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
19351         (tramp-call-local-coding-command): Use `tramp-call-process'
19352         instead of `tramp-compat-call-process'.
19354         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
19355         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
19356         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
19357         (tramp-find-inline-compress): Improve traces.
19358         (tramp-maybe-send-script): Check for Perl binary.
19359         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
19361 2013-04-22  Daiki Ueno  <ueno@gnu.org>
19363         * epg.el (epg-context-pinentry-mode): New function.
19364         (epg-context-set-pinentry-mode): New function.
19365         (epg--start): Pass --pinentry-mode option to gpg command.
19367 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
19369         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
19370         `comint-dynamic-complete' is obsolete since 24.1, replaced by
19371         `completion-at-point'.  (Bug#13774)
19373         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
19374         default key binding for `describe-distribution' has been moved to
19375         `C-h C-o'.  (Bug#13970)
19377 2013-04-21  Glenn Morris  <rgm@gnu.org>
19379         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
19380         Add doc strings.
19381         (vc-print-log): Clarify interactive prompt.
19383 2013-04-20  Glenn Morris  <rgm@gnu.org>
19385         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
19386         No longer include timestamp etc information.
19388 2013-04-20  Roland Winkler  <winkler@gnu.org>
19390         * faces.el (read-face-name): Bug fix, return just one face if arg
19391         multiple is nil.  (Bug#14209)
19393 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19395         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
19396         (remove-function): Autoload.
19398         * comint.el (comint-redirect-original-filter-function): Remove.
19399         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
19400         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
19401         (vc-cvs-annotate-command):
19402         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
19403         * progmodes/prolog.el (prolog-consult-compile):
19404         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
19405         Use add/remove-function instead.
19406         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
19407         (gud-tooltip-process-output, gud-tooltip-tips):
19408         Use add/remove-function instead.
19409         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
19410         (scheme-interaction-mode, exit-scheme-interaction-mode):
19411         Use add/remove-function instead.
19413         * vc/vc-dispatcher.el: Use lexical-binding.
19414         (vc--process-sentinel): Rename from vc-process-sentinel.
19415         Change last arg to be the code to run.  Don't use vc-previous-sentinel
19416         and vc-sentinel-commands any more.
19417         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
19418         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
19420 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
19422         * progmodes/sh-script.el (sh-imenu-generic-expression):
19423         Handle function names with a single character.  (Bug#14111)
19425 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
19427         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
19428         for subroutines defined in an eval (bug#14182).
19430 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
19432         * bookmark.el (bookmark-completing-read): Improve handling of empty
19433         string (bug#14176).
19435 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19437         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
19439 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
19441         New faster Imenu implementation (bug#14058).
19442         * progmodes/python.el (python-imenu-prev-index-position)
19443         (python-imenu-format-item-label-function)
19444         (python-imenu-format-parent-item-label-function)
19445         (python-imenu-format-parent-item-jump-label-function):
19446         New vars.
19447         (python-imenu-format-item-label)
19448         (python-imenu-format-parent-item-label)
19449         (python-imenu-format-parent-item-jump-label)
19450         (python-imenu--put-parent, python-imenu--build-tree)
19451         (python-imenu-create-index, python-imenu-create-flat-index)
19452         (python-util-popn): New functions.
19453         (python-mode): Set imenu-create-index-function to
19454         python-imenu-create-index.
19456 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19458         * winner.el (winner-active-region): Use region-active-p, activate-mark
19459         and deactivate-mark (bug#14225).
19461         * simple.el (deactivate-mark): Don't inline it.
19463 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
19465         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
19467 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
19469         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
19470         file extensions from the archive-mode entry in order to prefer
19471         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
19473 2013-04-18  Leo Liu  <sdl.web@gmail.com>
19475         * bindings.el (help-event-list): Add ?\?.
19477 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19479         * subr.el (with-wrapper-hook): Declare obsolete.
19480         * simple.el (filter-buffer-substring-function): New hook.
19481         (filter-buffer-substring): Use it.
19482         (filter-buffer-substring-functions): Mark obsolete.
19483         * minibuffer.el (completion-in-region-function): New hook.
19484         (completion-in-region): Use it.
19485         (completion-in-region-functions): Mark obsolete.
19486         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
19487         * abbrev.el (abbrev-expand-function): New hook.
19488         (expand-abbrev): Use it.
19489         (abbrev-expand-functions): Mark obsolete.
19490         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
19491         and :filter-return.
19493 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
19495         * progmodes/python.el (python-nav--syntactically): Fix cornercases
19496         and do not care about match data.
19498 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19500         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
19501         completion tables when completing error conditions and
19502         `declare' arguments.
19503         (lisp-complete-symbol, field-complete): Mark as obsolete.
19504         (check-parens): Unmatched parens are user errors.
19505         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
19507 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
19509         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
19510         command changed buffer (ie. `flyspell-pre-buffer' is not current
19511         buffer), which prevents making decisions based on invalid value of
19512         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
19513         cause an error when `flyspell-pre-point' was nil after switching
19514         buffers.
19515         (flyspell-post-command-hook): No longer needs to change buffers when
19516         checking pre-word.  While at it remove unnecessary progn.
19518 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
19520         * textmodes/ispell.el (ispell-add-per-file-word-list):
19521         Fix `flyspell-correct-word-before-point' error when accepting
19522         words and `coment-padding' is an integer by using
19523         `comment-normalize-vars' (Bug #14214).
19525 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
19527         New defun movement commands.
19528         * progmodes/python.el (python-nav--syntactically)
19529         (python-nav--forward-defun, python-nav-backward-defun)
19530         (python-nav-forward-defun): New functions.
19532 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
19534         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
19535         (python-syntax-context): Use named compiler-macro for backwards
19536         compatibility with Emacs 24.x.
19538 2013-04-17  Leo Liu  <sdl.web@gmail.com>
19540         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
19541         octave-hide-process-buffer.
19543 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19545         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
19546         (bug#14216).
19548 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
19550         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
19551         Fix adjustment of offset when receiving incomplete responses from GDB
19552         (bug#14129).
19554 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19556         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
19557         python-mode-abbrev-table.
19558         (python-skeleton-define): Adjust accordingly.
19559         (python-mode-abbrev-table): New table that inherits from it so that
19560         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
19562         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
19563         (abbrev-symbol): Use it.
19564         (abbrev--before-point): Use it since we already handle inheritance.
19566 2013-04-16  Leo Liu  <sdl.web@gmail.com>
19568         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
19569         binding to info-lookup-symbol.
19571 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
19573         * minibuffer.el (completion--twq-all):
19574         * term/ns-win.el (ns-initialize-window-system):
19575         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
19577 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19579         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
19580         global bindings.
19582         * doc-view.el (doc-view-start-process): Handle url-handler directories.
19584 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
19586         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
19587         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
19588         to nil.
19589         (ruby-end-of-defun): Remove the unused arg, change the docstring
19590         to reflect that this function is only used as the value of
19591         `end-of-defun-function'.
19592         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
19593         to reflect an earlier change that beginning/end-of-defun functions
19594         jump between methods in a class definition, as well as top-level
19595         functions.
19597 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19599         * minibuffer.el (minibuffer-complete): Don't just scroll
19600         a *Completions* that's been iconified.
19601         (minibuffer-force-complete): Make sure repetitions do cycle when going
19602         through completion-in-region -> minibuffer-complete.
19604 2013-04-15  Alan Mackenzie  <acm@muc.de>
19606         Correct the placement of c-cpp-delimiters when there're #s not at
19607         col 0.
19609         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
19610         place a submatch around the #.
19611         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
19612         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
19613         on the #, not BOL.
19615 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19617         * emacs-lisp/nadvice.el: Properly test names when adding advice.
19618         (advice--member-p): New arg `name'.
19619         (advice--add-function, advice-member-p): Use it (bug#14202).
19621 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
19623         Reformulate java imenu-generic-expression.
19624         The old expression contained ill formed regexps.
19626         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
19627         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
19628         (cc-imenu-java-method-arg-regexp): New defconsts.
19629         (cc-imenu-java-build-type-args-regex): New defun.
19630         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
19631         handling of spaces in the regexp.
19633 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
19635         * textmodes/ispell.el (ispell-command-loop): Remove
19636         flyspell highlight of a word when ispell accepts it (bug #14178).
19638 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
19640         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
19641         uses code from the previous `ange-ftp-run-real-handler'.
19642         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
19643         only in case that function exist.  This is needed for proper
19644         unloading of Tramp.
19646 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
19648         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
19650         * textmodes/reftex.el (reftex-compile-variables): Use it.
19652 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19654         * files.el (normal-mode): Only use default major-mode if no other mode
19655         was specified.
19657         * emacs-lisp/trace.el (trace-values): New function.
19659         * files.el: Allow : in local variables (bug#14089).
19660         (hack-local-variable-regexp): New var.
19661         (hack-local-variables-prop-line, hack-local-variables): Use it.
19663 2013-04-13  Roland Winkler  <winkler@gnu.org>
19665         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
19666         data before it gets modified by bibtex-beginning-of-entry.
19668 2013-04-13  Roland Winkler  <winkler@gnu.org>
19670         * textmodes/bibtex.el (bibtex-url): Doc fix.
19672 2013-04-13  Roland Winkler  <winkler@gnu.org>
19674         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
19675         does not visit a BibTeX file, exclude it from the list of buffers
19676         returned by bibtex-initialize.
19678 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
19680         * window.el (split-window): Remove interactive form, since as a
19681         command this function is a special case of split-window-below.
19682         Correct doc string.
19684 2013-04-12  Roland Winkler  <winkler@gnu.org>
19686         * faces.el (read-face-name): Do not override value of arg default.
19687         Allow single faces and strings as default values.  Remove those
19688         elements from return value that are not faces.
19689         (describe-face): Simplify.
19690         (face-at-point): New optional args thing and multiple so that this
19691         function can provide the same functionality previously provided by
19692         read-face-name.
19693         (make-face-bold, make-face-unbold, make-face-italic)
19694         (make-face-unitalic, make-face-bold-italic, invert-face)
19695         (modify-face, read-face-and-attribute): Use face-at-point.
19697         * cus-edit.el (customize-face, customize-face-other-window)
19698         * cus-theme.el (custom-theme-add-face)
19699         * face-remap.el (buffer-face-set)
19700         * facemenu.el (facemenu-set-face): Use face-at-point.
19702 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
19704         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
19706 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
19708         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
19709         off leading { and trailing } from field values.
19711 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19713         * emacs-lisp/timer.el (timer--check): New function.
19714         (timer--time, timer-set-function, timer-event-handler): Use it.
19715         (timer-set-idle-time): Simplify.
19716         (timer--activate): CSE.
19717         (timer-event-handler): Give more info in error message.
19718         (internal-timer-start-idle): New function, moved from C.
19720         * mpc.el (mpc-proc): Add `restart' argument.
19721         (mpc-proc-cmd): Use it.
19722         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
19723         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
19724         less often.
19726 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
19728         * progmodes/sh-script.el: Implement `sh-mode' own
19729         `add-log-current-defun-function' (bug#14112).
19730         (sh-current-defun-name): New function.
19731         (sh-mode): Use the function.
19733 2013-04-09  Bastien Guerry  <bzg@gnu.org>
19735         * simple.el (choose-completion-string): Fix docstring (bug#14163).
19737 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19739         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
19741         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
19742         timer (bug#14156).
19744 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
19746         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
19747         declaration.
19749 2013-04-07  Leo Liu  <sdl.web@gmail.com>
19751         * pcmpl-x.el: New file.
19753 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
19755         Do not set x-display-name until X connection is established.
19756         This is needed to prevent from weird situation described at
19757         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
19758         * frame.el (make-frame): Set x-display-name after call to
19759         window system initialization function, not before.
19760         * term/x-win.el (x-initialize-window-system): Add optional
19761         display argument and use it.
19762         * term/w32-win.el (w32-initialize-window-system):
19763         * term/ns-win.el (ns-initialize-window-system):
19764         * term/pc-win.el (msdos-initialize-window-system):
19765         Add compatible optional display argument.
19767 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
19769         * files.el (normal-backup-enable-predicate): On MS-Windows and
19770         MS-DOS compare truenames of temporary-file-directory and of the
19771         file, so that 8+3 aliases (usually found in $TEMP on Windows)
19772         don't fail comparison by compare-strings.  Also, compare file
19773         names case-insensitively on MS-Windows and MS-DOS.
19775 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19777         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
19778         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
19780 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
19782         * whitespace.el (whitespace-color-on, whitespace-color-off):
19783         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
19785 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
19787         * ispell.el (ispell-set-spellchecker-params):
19788         Really set `ispell-args' for all equivs.
19790 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19792         * ido.el (ido-completions): Use extra elements of ido-decorations
19793         (bug#14143).
19794         (ido-decorations): Update docstring.
19796 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
19798         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19799         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
19800         nil during initialization, in order not to miss changes since the
19801         file was opened.  (Bug#14140)
19803 2013-04-05  Leo Liu  <sdl.web@gmail.com>
19805         * kmacro.el (kmacro-call-macro): Fix bug#14135.
19807 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
19809         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
19811 2013-04-04  Glenn Morris  <rgm@gnu.org>
19813         * electric.el (electric-pair-inhibit-predicate): Add :version.
19815 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19817         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
19818         when a package is required several times (bug#14082).
19820 2013-04-04  Roland Winkler  <winkler@gnu.org>
19822         * faces.el (read-face-name): Behave as promised by the docstring.
19823         Assume that arg default is a list of faces.
19824         (describe-face): Call read-face-name with list of default faces.
19826 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
19828         * bookmark.el: Fix deletion of bookmarks (bug#13972).
19829         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
19830         (bookmark-bmenu-execute-deletions): Only skip first line if it's
19831         the header.
19832         (bookmark-exit-hook-internal): Save even if list is empty.
19834 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
19836         * emacs-lisp/package.el (package-pinned-packages): New var.
19837         (package--add-to-archive-contents): Obey it (bug#14118).
19839 2013-04-03  Alan Mackenzie  <acm@muc.de>
19841         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
19842         Also adapt to the new values of element 7 of a parse state.
19844         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
19845         parameter `not-in-delimiter'.  Handle being inside comment opener.
19846         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
19847         character in case we're typing a '*' after a '/'.
19848         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
19849         instead by passing the parameter to c-state-pp-to-literal.
19851         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
19852         for elt. 7 of a parse state.
19854 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
19856         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
19857         * international/latin1-disp.el, international/mule-util.el:
19858         * language/cyril-util.el, language/european.el, language/ind-util.el:
19859         * language/lao-util.el, language/thai.el, language/tibet-util.el:
19860         * language/tibetan.el, language/viet-util.el:
19861         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
19863 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19865         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
19866         (electric-pair-post-self-insert-function): Use it.
19867         (electric-pair-default-inhibit): New function, extracted from
19868         electric-pair-post-self-insert-function.
19870 2013-03-31  Roland Winkler  <winkler@gnu.org>
19872         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
19874 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19876         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
19878 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
19880         Un-indent after "pass" and "return" statements (Bug#13888)
19881         * progmodes/python.el (python-indent-block-enders): New var.
19882         (python-indent-calculate-indentation): Use it.
19884 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
19886         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
19887         defun.  Defining it as defalias could introduce too eager
19888         byte-compiler optimization.  (Bug#14030)
19890 2013-03-30  Chong Yidong  <cyd@gnu.org>
19892         * iswitchb.el (iswitchb-read-buffer): Fix typo.
19894 2013-03-30  Leo Liu  <sdl.web@gmail.com>
19896         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
19897         (kmacro-execute-from-register): Pass the keyboard macro to
19898         kmacro-call-macro or repeating won't work correctly.
19900 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
19902         * progmodes/subword.el: Back to using `forward-symbol'.
19904         * subr.el (forward-whitespace, forward-symbol)
19905         (forward-same-syntax): Move from thingatpt.el.
19907 2013-03-29  Leo Liu  <sdl.web@gmail.com>
19909         * kmacro.el (kmacro-to-register): New command.
19910         (kmacro-execute-from-register): New function.
19911         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
19913 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19915         * mpc.el: Use defvar-local and setq-local.
19916         (mpc--proc-connect): Connection failures are not bugs.
19917         (mpc-mode-map): `follow-link' only applies to the buffer's content.
19918         (mpc-volume-map): Bind to the up-events.
19920 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
19922         * progmodes/subword.el (superword-mode): Use `forward-sexp'
19923         instead of `forward-symbol'.
19925 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19927         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
19928         (edebug--recursive-edit): Use it.
19929         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
19930         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
19932 2013-03-28  Leo Liu  <sdl.web@gmail.com>
19934         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
19936 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
19938         * facemenu.el (list-colors-callback): New defvar.
19939         (list-colors-redisplay): New function.
19940         (list-colors-display): Install list-colors-redisplay as the
19941         revert-buffer-function.  (Bug#14063)
19943 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19945         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
19946         and suffixes don't overlap (bug#14061).
19948         * case-table.el: Use lexical-binding.
19949         (case-table-get-table): New function.
19950         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
19952 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
19954         * progmodes/subword.el: Add `superword-mode' to do word motion
19955         over symbol_words (parallels and leverages `subword-mode' which
19956         does word motion inside MixedCaseWords).
19958 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
19960         * eshell/em-unix.el: Move su and sudo to...
19961         * eshell/em-tramp.el: ...Eshell tramp module.
19963 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19965         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
19966         Change return value to be a sexp.  Delay `get-buffer' to after
19967         restoring the desktop (bug#13951).
19969 2013-03-26  Leo Liu  <sdl.web@gmail.com>
19971         * register.el: Move semantic tag handling back to
19972         cedet/semantic/senator.el.  (Bug#14052)
19974 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19976         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
19977         into the prompt either (bug#13963).
19979 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19981         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
19982         part of "(error-foo)".
19984 2013-03-24  Juri Linkov  <juri@jurta.org>
19986         * replace.el (list-matching-lines-prefix-face): New defcustom.
19987         (occur-1): Pass `list-matching-lines-prefix-face' to the function
19988         `occur-engine' if `face-differs-from-default-p' returns t.
19989         (occur-engine): Add `,' inside backquote construct to evaluate
19990         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
19991         Pass `prefix-face' to the functions `occur-context-lines' and
19992         `occur-engine-add-prefix'.
19993         (occur-engine-add-prefix, occur-context-lines): Add optional arg
19994         `prefix-face' and propertize the prefix with `prefix-face'.
19995         (Bug#14017)
19997 2013-03-24  Leo Liu  <sdl.web@gmail.com>
19999         * nxml/rng-valid.el (rng-validate-while-idle)
20000         (rng-validate-quick-while-idle): Guard against deleted buffer.
20001         (Bug#13999)
20003         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
20004         is the last entry in kill-buffer-hook.
20006         * files.el (kill-buffer-hook): Doc fix.
20008 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
20010         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
20011         Make it safe-local.
20013         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
20015 2013-03-23  Leo Liu  <sdl.web@gmail.com>
20017         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
20018         Remove.
20020         * nxml/rng-valid.el (rng-validate-mode)
20021         (rng-after-change-function, rng-do-some-validation):
20022         * nxml/rng-maint.el (rng-validate-buffer):
20023         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
20024         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
20025         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
20026         (nxml-extend-after-change-region): Use with-silent-modifications.
20028         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
20029         timer-idle-list.
20031         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
20032         (rng-next-error-1, rng-previous-error-1): Do not let-bind
20033         timer-idle-list.  (Bug#13999)
20035 2013-03-23  Juri Linkov  <juri@jurta.org>
20037         * info.el (info-index-match): New face.
20038         (Info-index, Info-apropos-matches): Add a nested subgroup to the
20039         main pattern and add text properties with the new face to matches
20040         in index entries relative to the beginning of the index entry.
20041         (Bug#14015)
20043 2013-03-21  Eric Ludlam  <zappo@gnu.org>
20045         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
20046         Inhibit read only while inserting objects.
20048 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
20050         * progmodes/cfengine.el: Update docs to mention
20051         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
20052         symbol motion.  Remove "_" from the word syntax.
20054 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
20056         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
20057         syntax for both `cfengine2-mode' and `cfengine3-mode'.
20059 2013-03-20  Juri Linkov  <juri@jurta.org>
20061         * info.el (Info-next-reference-or-link)
20062         (Info-prev-reference-or-link): New functions.
20063         (Info-next-reference, Info-prev-reference): Use them.
20064         (Info-try-follow-nearest-node): Handle footnote navigation.
20065         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
20067 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20069         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
20070         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
20072 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
20074         Suppress unnecessary non-ASCII chatter during build process.
20075         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
20076         (batch-skkdic-convert): Suppress most of the chatter.
20077         It's not needed so much now that machines are faster,
20078         and its non-ASCII component was confusing; see Dmitry Gutov in
20079         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
20081 2013-03-20  Leo Liu  <sdl.web@gmail.com>
20083         * ido.el (ido-chop): Fix bug#10994.
20085 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
20087         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
20088         Remove vars.
20089         (whitespace-color-on, whitespace-color-off):
20090         Use `font-lock-fontify-buffer' (Bug#13817).
20092 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20094         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
20095         remapping in mode-line.
20096         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
20098 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
20100         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
20101         value for `whitespace-line' face (Bug#13875).
20102         (whitespace-font-lock-keywords): Change description.
20103         (whitespace-color-on): Don't save `font-lock-keywords' value, save
20104         the constructed keywords instead.
20105         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
20107 2013-03-19  Leo Liu  <sdl.web@gmail.com>
20109         * progmodes/compile.el (compilation-display-error): New command.
20110         (compilation-mode-map, compilation-minor-mode-map): Bind it to
20111         C-o.  (Bug#13992)
20113 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
20115         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
20117 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
20119         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
20121 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
20123         * net/tramp-compat.el (tramp-compat-user-error): New defun.
20125         * net/tramp-adb.el (tramp-adb-handle-shell-command):
20126         * net/tramp-gvfs.el (top):
20127         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
20128         (tramp-handle-shell-command): Use it.
20129         (tramp-dissect-file-name): Raise an error when hostname is a
20130         method name, and neither method nor user is specified.
20132         * net/trampver.el: Update release number.
20134 2013-03-18  Leo Liu  <sdl.web@gmail.com>
20136         Make sure eldoc can be turned off properly.
20137         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
20138         eldoc-mode.
20139         (eldoc-display-message-p): Revert last change.
20140         (eldoc-display-message-no-interference-p)
20141         (eldoc-print-current-symbol-info): Tweak.
20143 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
20145         * doc-view.el (doc-view-new-window-function): Check the new window
20146         overlay's display property instead the char property of the
20147         buffer's first char.  Use `with-selected-window' instead of
20148         `save-window-excursion' with `select-window'.
20149         (doc-view-document->bitmap): Check the current doc-view overlay's
20150         display property instead the char property of the buffer's first char.
20152 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
20154         Automate the build of ja-dic.el (Bug#13984).
20155         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
20156         from the input, rather than assume that it's been done for us by the
20157         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
20158         the current date into a ja-dic.el comment, as that complicates
20159         regression testing.
20161 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20163         * whitespace.el: Fix double evaluation.
20164         (whitespace-space, whitespace-hspace, whitespace-tab)
20165         (whitespace-newline, whitespace-trailing, whitespace-line)
20166         (whitespace-space-before-tab, whitespace-indentation)
20167         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
20168         obsolete defvars.
20169         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
20170         (whitespace-color-on): Use a single font-lock-add-keywords call.
20171         Fix double-evaluation of face variables.
20173 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
20175         * net/tramp-adb.el (tramp-adb-parse-device-names):
20176         Use `start-process' instead of `call-process'.  Otherwise, the
20177         function might be blocked under MS Windows.  (Bug#13299)
20179 2013-03-17  Leo Liu  <sdl.web@gmail.com>
20181         Extend eldoc to display info in the mode-line.  (Bug#13978)
20182         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
20183         (eldoc-mode-line-string): New variable.
20184         (eldoc-minibuffer-message): New function.
20185         (eldoc-message-function): New variable.
20186         (eldoc-message): Use it.
20187         (eldoc-display-message-p)
20188         (eldoc-display-message-no-interference-p):
20189         Support eldoc-post-insert-mode.
20191         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
20192         (eval-expression): Run it.
20194 2013-03-17  Roland Winkler  <winkler@gnu.org>
20196         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
20197         strings in the list of return values.
20199 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
20201         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
20202         radix before checking for HMS forms.
20204 2013-03-16  Leo Liu  <sdl.web@gmail.com>
20206         * progmodes/scheme.el: Add indentation and font-locking for λ.
20207         (Bug#13975)
20209 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20211         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
20212         token before point (bug#13942).
20214 2013-03-16  Leo Liu  <sdl.web@gmail.com>
20216         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
20218 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
20220         * startup.el (command-line-normalize-file-name): Fix handling of
20221         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
20222         <xfq.free@gmail.com> in
20223         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
20225 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
20227         Sync with Tramp 2.2.7.
20229         * net/trampver.el: Update release number.
20231 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
20233         * doc-view.el: Fix bug#13887.
20234         (doc-view-insert-image): Don't modify overlay associated to
20235         non-live windows, and implement horizontal centering of image in
20236         case it's smaller than the window.
20237         (doc-view-new-window-function): Force redisplay of new windows on
20238         doc-view buffers.
20240 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
20242         * saveplace.el (save-place-alist-to-file): Don't sort
20243         `save-place-alist', just pretty-print it (bug#13882).
20245 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
20247         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
20248         Check whether `default-file-name-coding-system' is bound.
20249         It isn't in XEmacs.
20251 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20253         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
20254         backquotes for `obsolete' (bug#13929).
20256         * international/mule.el (find-auto-coding): Include file name in
20257         obsolescence warning (bug#13922).
20259 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
20261         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
20262         for CFEngine 3-specific indentation.
20263         (cfengine3-indent-line): Use it.  Fix up category regex.
20264         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
20266 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20268         * type-break.el (type-break-file-name):
20269         * textmodes/remember.el (remember-data-file):
20270         * strokes.el (strokes-file):
20271         * shadowfile.el (shadow-initialize):
20272         * saveplace.el (save-place-file):
20273         * ps-bdf.el (bdf-cache-file):
20274         * progmodes/idlwave.el (idlwave-config-directory):
20275         * net/quickurl.el (quickurl-url-file):
20276         * international/kkc.el (kkc-init-file-name):
20277         * ido.el (ido-save-directory-list-file):
20278         * emulation/viper.el (viper-custom-file-name):
20279         * emulation/vip.el (vip-startup-file):
20280         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
20281         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
20283 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
20285         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
20286         * language/thai-word.el: Switch to UTF-8.
20288 See ChangeLog.16 for earlier changes.
20290 ;; Local Variables:
20291 ;; coding: utf-8
20292 ;; End:
20294   Copyright (C) 2011-2014 Free Software Foundation, Inc.
20296   This file is part of GNU Emacs.
20298   GNU Emacs is free software: you can redistribute it and/or modify
20299   it under the terms of the GNU General Public License as published by
20300   the Free Software Foundation, either version 3 of the License, or
20301   (at your option) any later version.
20303   GNU Emacs is distributed in the hope that it will be useful,
20304   but WITHOUT ANY WARRANTY; without even the implied warranty of
20305   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20306   GNU General Public License for more details.
20308   You should have received a copy of the GNU General Public License
20309   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.