Fix daemon crashes when linum-mode is turned on early on
[emacs.git] / ChangeLog.2
blobd1c9477f1461a9e9ac9a643e96ca30f592a27779
1 2015-05-09  Eli Zaretskii  <eliz@gnu.org>
3         Avoid infloop in ERC
4         * lisp/simple.el (line-move-to-column): Ignore field boundaries
5         while computing line beginning position.  (Bug#20498)
7 2015-05-08  Glenn Morris  <rgm@gnu.org>
9         * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
10         * build-aux/gitlog-to-emacslog: Check called from right directory.
11         (srcprefix): Remove.
13         * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
14         * Makefile.in (ChangeLog): No longer pass "distprefix".
15         * make-dist: Update "make ChangeLog" syntax for the above change.
17         * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
18         * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
20         * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
22         Add command-line option-parsing to gitlog-to-emacslog.
23         * build-aux/gitlog-to-emacslog: Add command-line options.
24         By default, refuse to remove an existing output file.
25         * Makefile.in (CHANGELOG): Update default.
26         (ChangeLog): Do not test for existing file.
27         (change-history-nocommit): Ensure temp file does not exist.
29         Quieten --without-x compilation.
30         * lisp/term/common-win.el: Provide a feature.
31         * lisp/term/x-win.el (term/common-win): Require it.
33         * lisp/dired-aux.el (dired-do-print): Require lpr.
35         Quieten compilation, eg in --without-x builds.
36         * lisp/dired-aux.el (lpr-printer-switch):
37         * lisp/frame.el (tool-bar-height):
38         * lisp/linum.el (font-info):
39         * lisp/window.el (font-info, overflow-newline-into-fringe)
40         (tool-bar-height):
41         * lisp/emacs-lisp/package-x.el (tar-data-buffer):
42         * lisp/gnus/gnus-util.el (iswitchb-mode):
43         * lisp/mail/rmailmm.el (libxml-parse-html-region):
44         * lisp/net/nsm.el (gnutls-peer-status)
45         (gnutls-peer-status-warning-describe):
46         * lisp/net/shr.el (libxml-parse-xml-region):
47         * lisp/url/url-http.el (gnutls-peer-status): Declare.
49 2015-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
51         CEDET (srecode-pop, srecode-peek): Don't use `subclass'
52         * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
53         `subclass' since they're never called with a class.
54         (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
55         srecode-dictionary-child-p.
57 2015-05-08  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
59         help--binding-locus: Document argument POSITION.
60         * lisp/help.el (help--binding-locus): Document argument POSITION. (bug#20530)
62 2015-05-08  Paul Eggert  <eggert@cs.ucla.edu>
64         Merge from gnulib.
65         * doc/misc/texinfo.tex: Get latest version.
67 2015-05-08  Oleh Krehel  <ohwoeowho@gmail.com>
69         ffap.el (ffap-read-file-or-url): Fix completing-read call
70         * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
71           `completing-read' should be a symbol.
73 2015-05-08  Eli Zaretskii  <eliz@gnu.org>
75         Verify file modifications by other programs
76         * src/filelock.c (lock_file): Check whether the file was modified
77         since it was visited even if 'create-lockfiles' is nil.  (Bug#18828)
79         Fix keyboard macros that include function keys
80         * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
81         keys in the macro before returning.  (Bug#20454)
83 2015-05-08  Glenn Morris  <rgm@gnu.org>
85         * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
86         "Copyright-paperwork-exempt".  (Bug#20324)
88         * lisp/vc/log-edit.el: Handle "(tiny change)".  (Bug#20324)
89         (log-edit-rewrite-tiny-change): New variable.
90         (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
91         (log-edit-changelog-ours-p): Set log-edit-author to a cons.
92         * etc/NEWS: Mention this.
94         * lisp/calc/calc.el (math-zerop): Declare.
96         * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
98 2015-05-07  Artur Malabarba  <bruce.connor.am@gmail.com>
100         * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec
101         Support the case when BINDINGS is a single tuple.  (Bug#20525)
103         * etc/NEWS: Fix typo in commit 14bb519
105 2015-05-07  Jan D  <jan.h.d@swipnet.se>
107         Warn for multiple display crash for all Gtk+ versions.
108         * configure.ac: Warn for multiple display crash for all Gtk+
109         versions.  Output URL to Gtk+ bug (Bug#20452).
111         ns-win.el (ns-paste-secondary): Use gui-get-selection.
112         * ns-win.el (ns-paste-secondary): Use gui-get-selection.
114 2015-05-07  Artur Malabarba  <bruce.connor.am@gmail.com>
116         * lisp/emacs-lisp/package.el: New "external" package status
117         An external package is any installed package that's not built-in
118         and not from `package-user-dir', which usually means it's from an
119         entry in `package-directory-list'.  They are treated much like
120         built-in packages, in that they cannot be through the Package Menu
121         deleted and are not considered for upgrades.
122         (package-desc-status): Identify if a package is installed outside
123         `package-user-dir'.
124         (package-menu--print-info-simple)
125         (package-menu--status-predicate): Add support for it.
126         * etc/NEWS: Document it.
128 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
130         * lisp/mail/rmail.el: Use lexical-binding
131         (rmail-bury): Remove unused var `buffer-to-bury'.
132         (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
133         (rmail-parse-url): Remove unused var `proto', `user', and `host'.
134         (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
135         (rmail-insert-inbox-text): Remove unused var `movemail'.
136         (rmail-add-mbox-headers): Remove unused var `limit'.
137         (rmail-undelete-previous-message): Remove unused var `value'.
138         (rmail-reply): Remove unused vars `resent-to', `resent-cc',
139         `resent-reply-to'.
140         (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
141         (rmail-restore-desktop-buffer): Rename arguments.
143 2015-05-06  Glenn Morris  <rgm@gnu.org>
145         * Makefile.in (change-history-commit): Add missing piece of previous.
147         Avoid unnecessary bumping of Makefile.in's timestamp.
148         * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
149         (emacslog): New variable.
150         (ChangeLog): Use $emacslog.  Don't pass $gen_origin.
151         (unchanged-history-files): Use $emacslog rather than Makefile.in.
152         (change-history-nocommit): Store hash in $emacslog.
153         * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
154         * admin/update_autogen (changelog_files): Update for the above.
156         * Makefile.in: Don't always insist on removing existing "ChangeLog".
157         (CHANGELOG): New variable.
158         (no-ChangeLog): Remove.
159         (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
160         (change-history-nocommit): Use a temp file rather than insisting
161         on deletion of any existing "ChangeLog".
163         * build-aux/gitlog-to-emacslog: Allow specification of output.
165         * admin/update_autogen: Add option to update ChangeLog.
166         (usage): Mention -H.
167         (changelog_flag, changelog_n, changelog_files): New variables.
168         (main): Check for -H, and maybe run change-history-nocommit.
170 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
172         * lisp/subr.el (delete-dups): Pre-size the hashtable.
174         (define-modify-macro): Make sure cl--arglist-args is defined
175         * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
176         cl--arglist-args is defined (bug#20517).
178 2015-05-06  Glenn Morris  <rgm@gnu.org>
180         * Makefile.in (change-history-nocommit): New.
182 2015-05-06  Dmitry Gutov  <dgutov@yandex.ru>
184         Only cancel timer when it is non-nil
185         * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
186         timer when it is non-nil
187         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
189 2015-05-06  Glenn Morris  <rgm@gnu.org>
191         Quieten cedet compilation
192         * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
193         Invert fboundp test to quieten on current Emacs.
194         * lisp/cedet/ede/config.el (ede-shell-run-something)
195         (semanticdb-file-table-object, semanticdb-needs-refresh-p)
196         (semanticdb-refresh-table): Declare.
197         (ede-preprocessor-map): Require semantic/db.
199         Quieten cc-mode compilation
200         * lisp/progmodes/cc-awk.el (c-forward-sws):
201         * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
202         Declare.
204 2015-05-06  Oleh Krehel  <ohwoeowho@gmail.com>
206         lisp/subr.el (delete-dups): Avoid nreverse.
208 2015-05-06  Artur Malabarba  <bruce.connor.am@gmail.com>
210         * lisp/subr.el (delete-dups): Make it destructive again.
212 2015-05-06  Paul Eggert  <eggert@cs.ucla.edu>
214         * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
216 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
218         * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487)
219         * lisp/emacs-lisp/testcover.el: Use lexical-binding.
220         (testcover--read): Rename from testcover-read.  Change calling convention.
221         Use edebug-read-and-maybe-wrap-form now that edebug-read is gone.
222         (testcover-start): Use add-function.  Move edebug-all-defs binding to
223         testcover--read.
224         (testcover-this-defun): Tighten scope of edebug-all-defs binding.
225         (testcover-mark): Remove unused var `item'.
226         * src/lread.c (syms_of_lread): Default load-read-function to `read'.
228 2015-05-06  Oleh Krehel  <ohwoeowho@gmail.com>
230         lisp/subr.el (delete-dups): Use a hash table
231         * lisp/subr.el (delete-dups): When there are more than 100 candidates,
232           use a hash table. This can result in ~500 times speed-up for typical
233           collections of size 5000, like that of `load-library'.
235 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
237         CEDET: Avoid `oref' on classes in a few more cases
238         * lisp/cedet/ede/generic.el (ede-find-target):
239         * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
240         * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
241         var `prefix'.
243         * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings
244         * lisp/cedet/semantic/symref/grep.el (grepflags, greppattern): Declare.
245         (semantic-symref-perform-search): Remove unused var `pat'.
247         CEDET (srecode-compile-inserter): Avoid `oref' on classes
248         * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
249         Avoid `oref' on classes (bug#20491).
250         (srecode-compile-split-code): Remove unused var `key'.
252 2015-05-06  Dmitry Gutov  <dgutov@yandex.ru>
254         Clean up pulse.el a little
255         * lisp/cedet/pulse.el (pulse): Remove.
256         (pulse-momentary-timer): Save instead of the stop time.
257         (pulse-momentary-highlight-overlay): Call
258         pulse-momentary-unhighlight first thing. Treat
259         pulse-momentary-overlay as a single value, not a list. Save the
260         created timer. Only pass the stop time to the timer.
261         (pulse-tick): Update accordingly.
262         (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
263         single value. Cancel the timer.
265 2015-05-06  Tassilo Horn  <tsdh@gnu.org>
267         Support the biblatex journaltitle field
268         * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
269         Support the biblatex journaltitle field.
271 2015-05-05  Glenn Morris  <rgm@gnu.org>
273         Minor declare-function improvement
274         * lisp/emacs-lisp/bytecomp.el
275         (byte-compile-macroexpand-declare-function):
276         Handle declarations after calls.  (Bug#20509)
278         * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
280         * lisp/w32-fns.el (w32-shell-name): Silence compiler.
282 2015-05-05  Dmitry Gutov  <dgutov@yandex.ru>
284         Pulse using a timer
285         * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
286         (pulse-momentary-highlight-overlay): Set up the timer instead of
287         calling `pulse'
288         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
289         (pulse-tick): New function.
290         (pulse-momentary-unhighlight): Cut off the stop time.
291         (pulse-delay): Update the docstring WRT to not using sit-for.
293         Add semantic/symref/grep file patterns for ruby-mode
294         * lisp/cedet/semantic/symref/grep.el
295         (semantic-symref-filepattern-alist): Add patterns for
296         ruby-mode. Clarify the docstring.
298         Don't require match
299         * lisp/progmodes/xref.el (xref--read-identifier): Don't require
300         match. That doesn't work for every command, and some identifier
301         completion tables are bound to be imperfect anyway.
303 2015-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
305         * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505)
306         (semantic-grammar--template-expand): New function.
307         (semantic-grammar-header, semantic-grammar-footer): Use it.
308         (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
309         (semantic-grammar-file-regexp): Refine regexp.
310         (semantic-grammar-eldoc-get-macro-docstring):
311         Use elisp-get-fnsym-args-string when available.
312         (semantic-idle-summary-current-symbol-info): Use new elisp-* names
313         instead of the old eldoc-* names.
314         * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
315         from elisp-mode.el.  Tweak calling convention.
316         * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
317         (elisp-get-fnsym-args-string): Add `prefix' argument.  Rename from
318         elisp--get-fnsym-args-string.
319         (elisp--highlight-function-argument): Add `prefix' arg.
320         (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
321         (elisp--docstring-format-sym-doc): Move back to eldoc.el.
323 2015-05-05  Glenn Morris  <rgm@gnu.org>
325         * lisp/help-fns.el (describe-function-1):
326         Handle builtins with advertised calling conventions.  (Bug#20479)
328 2015-05-05  Nicolas Petton  <nicolas@petton.fr>
330         Merge branch 'seq-let'
332         Update `seq-let' documentation
333         * doc/lispref/sequences.texi: Update the documentation of `seq-let'
334         with the support of  `&rest'.
336         Add support for &rest in `seq-let'
337         * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
338         in the argument list.
339         * test/automated/seq-tests.el: Add a test for parsing and binding
340         `&rest' in `seq-let'.
342 2015-05-05  Paul Eggert  <eggert@cs.ucla.edu>
344         Spelling fixes
346 2015-05-05  (tiny change) Pierre Lorenzon  <devel@pollock-nageoire.net>
348         * eieio-custom.el (eieio-object-value-get): Add missing increment
349         (Bug#20467)
351         (eieio-object-value-create): Adjust to new slots representation
352         (Bug#20467)
353         * eieio-custom.el (eieio-object-value-create):
354         Fix missed adjustment to new representation of slots metadata.
356 2015-05-05  Nicolas Petton  <nicolas@petton.fr>
358         * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
360 2015-05-05  Dmitry Gutov  <dgutov@yandex.ru>
362         Work around "Attempt to modify read-only object"
363         * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
364         elisp--xref-find-definitions, to work around "Attempt to modify
365         read-only object" error.
367         Only skip some variables that have function counterparts
368         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
369         Only skip minor-mode-named variable if it's defined in a Lisp
370         file, and it's in minor-mode-list (bug#20506).
371         * test/automated/elisp-mode-tests.el
372         (elisp-xref-finds-both-function-and-variable)
373         (elisp-xref-finds-only-function-for-minor-mode): New tests.
375 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
377         Buttonize the whole line, including the number at the beginning
378         * lisp/progmodes/xref.el (xref--location-at-point): Revert the
379         previous change.
380         (xref--insert-xrefs): Buttonize the whole line, including the
381         number at the beginning.
383         Make sure we're inside the let bindings
384         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
385         Make sure we're inside the let bindings.
386         * test/automated/elisp-mode-tests.el
387         (elisp-completes-functions-after-let-bindings): New test.
389 2015-05-04  Glenn Morris  <rgm@gnu.org>
391         * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
392         (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
393         (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
394         Remove outdated declarations.
396         Replace instances of "(eval-when-compile (autoload ...))"
397         * lisp/gnus/gnus-art.el (nneething-get-file-name):
398         Declare rather than autoload.
399         * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
400         Remove pointless autoload.
401         * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
402         (gnus-topic-create-topic, gnus-topic-enter-dribble):
403         Declare rather than autoload.
404         * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
405         (mailcap-extension-to-mime): Autoload at run-time.
406         * lisp/gnus/mm-util.el (latin-unity-massage-name)
407         (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
408         (latin-unity-representations-present-region):
409         Declare rather than autoload.
410         * lisp/gnus/mml-smime.el (epg-make-context)
411         (epg-passphrase-callback-function): Autoload at run-time.
412         (epg-context-set-signers, epg-context-result-for)
413         (epg-new-signature-digest-algorithm)
414         (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
415         (epg-sign-string, epg-encrypt-string)
416         (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
417         (epg-configuration, epg-expand-group, epa-select-keys):
418         Declare rather than autoload.
419         * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
420         Autoload at run-time.
421         (gnus-group-topic-name, nnimap-buffer, nnimap-command)
422         (gnus-registry-get-id-key, gnus-registry-action):
423         Declare rather than autoload.
424         * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
425         * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
426         (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
427         (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
428         (spam-stat-split-fancy): Remove pointless autoloads.
429         * lisp/net/mairix.el: Load gnus-util when compiling.
430         (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
431         (message-field-value): Declare rather than autoload.
432         (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
433         Check gnus-alive-p is fbound.
434         (vm-quit, vm-visit-folder, vm-select-folder-buffer)
435         (vm-check-for-killed-summary, vm-error-if-folder-empty)
436         (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
437         Declare rather than autoload.
439         * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
441         * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
442         (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
444         * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
446         * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
448         * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
449         * lisp/emacs-lisp/package.el (epg-signature-status):
450         Fix declarations.
452         * lisp/play/gametree.el (gametree-show-children-and-entry)
453         (gametree-apply-layout, gametree-mouse-show-subtree)
454         (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
456         * lisp/emacs-lisp/check-declare.el (check-declare-verify):
457         Handle cl-defgeneric, cl-defmethod.
459 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
461         Highlight both type and symbol name
462         * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
463         Highlight both type and symbol name.
465         Insert, highlight and align line numbers in xref output
466         * lisp/progmodes/etags.el (xref-location-line): Specialize for
467         xref-etags-location.
468         * lisp/progmodes/xref.el (xref-location-line): New generic method.
469         (xref-file-location): Add reader for the line slot.
470         (xref--location-at-point): Skip to the `xref-location' property.
471         (xref--collect-reference): Drop the line number from description.
472         (xref--insert-xrefs): Insert, highlight and align line numbers.
474 2015-05-04  Daniel Colascione  <dancol@dancol.org>
476         Fix previous commit
478 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
480         Don't pulse the indentation, or the newline
481         * lisp/cedet/pulse.el (pulse-lighten-highlight)
482         (pulse-reset-face): Fall back to the inherited background
483         attribute in FACE.
484         (pulse-momentary-highlight-region): Add autoload cookie.
485         * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
486         indentation, or the newline, if the line's non-empty
487         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
489 2015-05-04  Daniel Colascione  <dancol@dancol.org>
491         Add `save-mark-and-excursion', which has the old `save-excursion' behavior
492         * doc/lispref/positions.texi (Excursions): Document
493         `save-mark-and-excursion'.
494         * lisp/font-lock.el (font-lock-fontify-block): Use
495         `save-mark-and-excursion' instead of `save-excursion', restoring
496         Emacs 24 behavior.
497         * lisp/simple.el (save-mark-and-excursion--save)
498         (save-mark-and-excursion--restore): New functions.
499         (save-mark-and-excursion): New user macro.
500         * src/editfns.c (Fsave_excursion): Mention
501         `save-mark-and-excursion' in `save-excursion' documentation.
503 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
505         Classify lone symbol inside let varlist as variable
506         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
507         Classify lone symbol inside let varlist as variable.
508         * test/automated/elisp-mode-tests.el (completest-variables-in-let-bindings):
509         New test.
511         Add xref-pulse-on-jump
512         * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
513         Add autoload cookie.
514         * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
515         (xref--maybe-pulse): New function.
516         (xref-pop-marker-stack, xref--pop-to-location)
517         (xref--display-position): Use it.
518         (xref--location-at-point): Use back-to-indentation.
520 2015-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
522         * lisp/org/org-{macs,list}.el: Fix lexical warnings
523         * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
524         (org-list-get-next-item, org-list-get-prev-item)
525         (org-list-get-children): Mark unused arg `struct'.
526         (org-list-use-alpha-bul-p): Remove unused var `bul'.
527         (org-toggle-checkbox): Mark unused var.
528         (org-update-checkbox-count): Remove unused var `box-num'.
529         (org-adapt-indentation): Declare.
530         (org-list-parse-list): Declare var instead of adding a dummy duplicate.
531         (org-list-send-list): Remove unused var `txt'.
532         (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
533         (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
534         * lisp/org/org-macs.el: Use `declare'.
535         (org-with-limited-levels): Declare dyn-bound vars.
537 2015-05-04  Eli Zaretskii  <eliz@gnu.org>
539         Fix minor issues with CEDET on MS-Windows
540         * lisp/cedet/semantic/symref/idutils.el
541         (semantic-symref-parse-tool-output-one-line): Fix the search
542         regexp to match MS-Windows file names with drive letters.
543         (Bug#19468)
544         * lisp/cedet/semantic/symref/grep.el
545         (semantic-symref-grep-use-template): Remove "--color=always" from
546         Grep switches on MS-Windows.
547         (semantic-symref-grep-shell): Use shell-file-name as the default
548         value, so this works not only on Posix platforms.
549         (semantic-symref-perform-search): Use shell-quote-argument instead
550         of literal '..' for portable quoting of Grep command-line
551         argument.  Use shell-command-switch instead of a literal "-c".
552         * lisp/cedet/semantic/bovine/gcc.el
553         (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
554         for an absolute file name in a portable way.
556 2015-05-04  Artur Malabarba  <bruce.connor.am@gmail.com>
558         * lisp/emacs-lisp/package.el: Remove `package--silence' variable
559         (package-import-keyring, package-refresh-contents)
560         (package-compute-transaction, package--save-selected-packages)
561         (package-install-from-archive, package-delete)
562         (package-menu--perform-transaction): Use `inhibit-message'
563         instead.
564         (package--compile): Set `warning-minimum-level' to :error.
566 2015-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
568         * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom
569         (terminal-init-screen): Use it (bug#20356).
570         * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
571         (xterm--extra-capabilities-type): New const.
572         (xterm-extra-capabilities): Use it.
573         (xterm--version-handler): Lower the pseudo-version for `screen'.
575 2015-05-03  Dmitry Gutov  <dgutov@yandex.ru>
577         xref--insert-xrefs: Tweak the faces
578         * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
579         Always insert a newline at the end (to avoid mouse-face background
580         tail at the last line).
582         elisp-completion-at-point: Prioritize being quoted over funpos
583         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
584         Only consider function position when not inside quoted form
585         (bug#20425).
586         * test/automated/elisp-mode-tests.el: New file.
588         Stop vc-print-log from jumping to the top
589         * lisp/vc/vc.el (vc-print-log-internal): Pass nil
590         GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
591         is not specified.
592         (vc-incoming-outgoing-internal): Always pass nil.
593         (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
594         call it, and don't set vc-sentinel-movepoint (bug#15322).
595         (vc-print-root-log): Don't fetch the root working revision, nor
596         pass it to vc-print-log-internal.
598 2015-05-02  Michael Vehrs  <Michael.Burschik@gmx.de>
600         Fix display of keyboard layouts for right-to-left scripts
601         * lisp/international/quail.el (quail-insert-kbd-layout): Force
602         left-to-right paragraph direction.
604 2015-05-02  K. Handa  <handa@gnu.org>
606         Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
608         * cmds.c (internal_self_insert): When we insert spaces for
609         padding, set point before the padding spaces, not after them.
611 2015-05-02  Nicolas Petton  <nicolas@petton.fr>
613         * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
615 2015-05-02  Dmitry Gutov  <dgutov@yandex.ru>
617         Fix etags-xref-find for references
618         * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): Use `cl-mapcan'.
619         * lisp/progmodes/etags.el (etags-xref-find): Ditto.  Prompt for
620         directory if no tags tables are loaded (bug#19468).
622 2015-05-02  Philipp Stephani  <phst@google.com>
624         Update the options in whitespace-style defcustom
625         * lisp/whitespace.el (whitespace-style): Use `set' instead of a
626         `repeat' because the option is really set-like.  Add missing
627         options.  Reorder options to match the order in the
628         documentation.  (Bug#20346)
630 2015-05-02  Eli Zaretskii  <eliz@gnu.org>
632         Fix error diagnostics of c-macro-expand
633         * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
634         too early if no start-marker string was found -- that generally
635         means cpp exited abnormally, and we still want to show its error
636         messages to the user.
638         Don't require Texinfo 5.0 for Emacs documentation
639         * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
640         "@set txicodequotebacktick" instead of "@codequotebacktick on" and
641         "@codequoteundirected on", respectively, to avoid requiring
642         Texinfo 5.x for Emacs documentation.
644 2015-05-01  Simen Heggestøyl  <simenheg@gmail.com>
646         * lisp/files.el (pwd):
647         When called with a prefix argument, insert the current default
648         directory at point.
650 2015-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
652         * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
653         * lisp/isearch.el (isearch-mode-map): Don't inhibit
654         function-key-map remapping for backspace (bug#20466).
656 2015-05-01  Dmitry Gutov  <dgutov@yandex.ru>
658         Implement xref-find-references in etags and elisp-mode
659         * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
660         (elisp-xref-find): Use it.
661         * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
662         * lisp/progmodes/xref.el (xref-collect-references):
663         (xref--collect-reference): New functions.
665 2015-05-01  Paul Eggert  <eggert@cs.ucla.edu>
667         Prefer plain characters to Texinfo circumlocutions
668         For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
669         'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
671         Fix single-quoting style in PDF manuals
672         The PDF versions of the GNU manuals used curved single quotes to
673         represent grave accent and apostrophe, which made it a pain to cut
674         and paste code examples from them.  Fix the PDF versions to use
675         grave accent and apostrophe for Lisp source code, keystrokes, etc.
676         This change does not affect the info files, nor does it affect
677         ordinary uses of curved single quotes in PDF.
678         * doc/emacs/docstyle.texi: New file, which specifies treatment for
679         grave accent and apostrophe, as well as the document encoding.
680         * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
681         * doc/lispintro/emacs-lisp-intro.texi:
682         * doc/lispref/back.texi, doc/lispref/book-spine.texi:
683         * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
684         * doc/misc/ada-mode.texi, doc/misc/auth.texi:
685         * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
686         * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
687         * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
688         * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
689         * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
690         * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
691         * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
692         * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
693         * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
694         * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
695         * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
696         * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
697         * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
698         * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
699         * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
700         * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
701         * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
702         * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
703         * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
704         * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
705         * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
706         * doc/misc/woman.texi:
707         Use it instead of '@documentencoding UTF-8', to lessen the need for
708         global changes like this in the future.
709         * doc/emacs/Makefile.in (EMACS_XTRA):
710         * doc/lispintro/Makefile.in (srcs):
711         * doc/lispref/Makefile.in (srcs):
712         Add dependency on docstyle.texi.
713         * doc/misc/Makefile.in (style): New macro.
714         (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
715         (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
716         Use it.
718 2015-05-01  Glenn Morris  <rgm@gnu.org>
720         * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
722         * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
723         (help-fns--signature): Declare.
725         * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
727 2015-05-01  Nicolas Petton  <nicolas@petton.fr>
729         New macro seq-let, providing destructuring support to seq.el
730         * lisp/emacs-lisp/seq.el (seq-let): New macro.  `seq-let' is similar
731         to `cl-destructuring-bind' but works on all sequence types supported
732         by `seq.el'.  Bump version number to 1.6.
733         * test/automated/seq-tests.el: Add tests for seq-let.
734         * doc/lispref/sequences.texi: Add documentation for seq-let.
736 2015-05-01  Pontus Michael  <m.pontus@gmail.com>
738         * lisp/simple.el (blink-matching-open): Better behavior in minibuffer
740 2015-05-01  Glenn Morris  <rgm@gnu.org>
742         * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
744 2015-05-01  Artur Malabarba  <bruce.connor.am@gmail.com>
746         * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
747         This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
748         This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
749         With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
750         (Bug#20445).
752 2015-05-01  K. Handa  <handa@gnu.org>
754         * mule-cmds.el (input-method-use-echo-area): Change :type to
755         'boolean.
757 2015-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
759         Start using proportional fonts in eww by default
760         * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
761         it seems to work well.
763         Fix links in tables in shr
764         * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
765         makes (some) links in tables not work.
767 2015-05-01  Jan D  <jan.h.d@swipnet.se>
769         (ns-get-cut-buffer-internal): Remove this alias.
770         * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
772 2015-04-30  Glenn Morris  <rgm@gnu.org>
774         * lisp/emacs-lisp/ert.el (ert--special-operator-p):
775         Update for 2015-02-08 change to indirect-function.
777         * lisp/term/ns-win.el (ns-get-selection-internal):
778         Remove declaration for function deleted 2014-10-21.
780         * lisp/dom.el: Load subr-x when compiling, for when-let.
782         Silence some compilation warnings
783         * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
784         * lisp/emulation/cua-base.el (delete-active-region):
785         * lisp/net/net-utils.el (w32-get-console-output-codepage):
786         * lisp/term/ns-win.el (ns-own-selection-internal)
787         (ns-disown-selection-internal, ns-selection-owner-p)
788         (ns-selection-exists-p, ns-get-selection):
789         Declare for compiler..
791         Function declaration updates prompted by 'make check-declare'
792         * lisp/emacs-lisp/package.el (lm-homepage):
793         * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
794         * lisp/gnus/mm-decode.el (libxml-parse-html-region):
795         * lisp/gnus/mml.el (libxml-parse-html-region):
796         * lisp/gnus/nnrss.el (libxml-parse-html-region):
797         * lisp/net/eww.el (libxml-parse-html-region):
798         * lisp/net/shr.el (libxml-parse-html-region):
799         * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
800         * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
801         * lisp/vc/vc-git.el (vc-annotate-convert-time):
802         * lisp/vc/vc-hg.el (vc-annotate-convert-time):
803         * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
804         * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
805         Update declaration.
807         Remove compatibility code for 20-year old function renaming
808         * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
809         Make it an obsolete alias.
810         (idlwave-shell-filter): Change all uses to comint-output-filter.
812 2015-04-30  Tassilo Horn  <tsdh@gnu.org>
814         Add ace-window face config
815         * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
816         configuration.
818 2015-04-30  Paul Eggert  <eggert@cs.ucla.edu>
820         Unclutter 'make doc' output a bit
821         * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
822         Use make subst rather than sh IFS to split target string apart.
823         This makes 'make' output easier to follow.
825         Merge from gnulib
826         * doc/misc/texinfo.tex: Update from gnulib.
828 2015-04-30  Artur Malabarba  <bruce.connor.am@gmail.com>
830         * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh
831         (package-menu--print-info): Obsolete.
832         (package-menu--print-info-simple): New function.
833         (package-menu--refresh): Use it, simplify code, and improve
834         performance.
835         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
836         Tiny performance improvement.
838         * lisp/emacs-lisp/package.el (package--message): inhibit-message
840 2015-04-29  Paul Eggert  <eggert@cs.ucla.edu>
842         Omit -Wstrict-overflow workaround in GCC 5
843         * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
844         if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
846         Merge from gnulib
847         This incorporates:
848         2015-04-29 extern-inline: no need for workaround in GCC 5.1
849         2015-04-26 file-has-acl: port to CentOS 6
850         * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
852 2015-04-29  Helmut Eller  <eller.helmut@gmail.com>
854         Set next-error-* in xref--xref-buffer-mode
855         * xref.el (xref--xref-buffer-mode): Set `next-error-function' and
856         `next-error-last-buffer'.
857         (xref--next-error-function): New function.
858         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
860 2015-04-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
862         python.el: Fix warnings on looking-back calls missing LIMIT
863         * lisp/progmodes/python.el (python-shell-accept-process-output):
864         Pass LIMIT arg to looking-back.
866 2015-04-29  Artur Malabarba  <bruce.connor.am@gmail.com>
868         * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress
869         (package--download-and-read-archives): Use pushnew instead of
870         append.  If something terrible happened during a previous
871         download, simply refreshing should now make things work again.
873 2015-04-29  Dmitry Gutov  <dgutov@yandex.ru>
875         Introduce etags-xref-find-definitions-tag-order
876         * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
877         New variable.
878         (etags--xref-find-definitions): Use it (bug#19468).
880 2015-04-29  Eli Zaretskii  <eliz@gnu.org>
882         PATH- and completion-related fixes in Eshell on MS-Windows
883         * lisp/eshell/esh-ext.el (eshell-search-path): When running on
884         MS-Windows, prepend "." to list of directories produced from PATH,
885         as Windows always implicitly searches the current directory first.
886         (eshell-force-execution): Make it have a non-nil default value on
887         MS-Windows and MS-DOS.
888         * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
889         eshell-force-execution is non-nil, complete on readable files and
890         directories, not only executables.  When running on MS-Windows,
891         prepend "." to list of directories produced from PATH, as Windows
892         always implicitly searches the current directory first.
894 2015-04-29  Sam Steingold  <sds@gnu.org>
896         bury RCIRC buffers when there is no activity
897         lisp/net/rcirc.el (rcirc-non-irc-buffer): remove
898         (rcirc-bury-buffers): new function
899         (rcirc-next-active-buffer): when there is no new activity, use
900         `rcirc-bury-buffers' to hide all RCIRC buffers
902 2015-04-29  Michael Albinus  <michael.albinus@gmx.de>
904         Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
906 2015-04-29  Krzysztof Jurewicz  <krzysztof.jurewicz@gmail.com>  (tiny change)
908         Fix DBUS query result parsing for secrets-search-items
909         * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
910         parsing.  The function assumed that return value of the
911         SearchItems method called on a collection is a list of two lists,
912         however this is true only when no collection is specified.  GNOME
913         had used to incorrectly return a list of two lists in both cases,
914         but this was already fixed:
915         https://bugzilla.gnome.org/show_bug.cgi?id=695115 .  Also fix an
916         incorrect information in the secrets-search-items’ docstring.
917         (Bug#20449)
919 2015-04-29  Artur Malabarba  <bruce.connor.am@gmail.com>
921         * lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'
922         (byte-compile--message): Use `inhibit-message' instead of hiding
923         the previous message with (message nil).
925 2015-04-29  Oleh Krehel  <ohwoeowho@gmail.com>
927         Remove the deprecated INTERNAL_FIELD macro by expanding it
928         * src/lisp.h (INTERNAL_FIELD): Remove.
929         (DEFVAR_KBOARD): Modify accordingly.
930         * alloc.c, buffer.c, buffer.h, category.c, keyboard.c, keyboard.h:
931         * syntax.c: Adjust users.
932         * src/buffer.c (compact_buffer): Use BVAR.
934 2015-04-29  Glenn Morris  <rgm@gnu.org>
936         Replace an obsolete function alias
937         * lisp/isearch.el (isearch-yank-x-selection):
938         * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
939         (mouse-drag-secondary-moving):
940         * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
941         Replace obsolete alias x-get-selection with gui-get-selection.
943 2015-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
945         * lisp/mail/rmailsum.el: Use lexical-binding.
947 2015-04-29  Glenn Morris  <rgm@gnu.org>
949         * test/automated/package-test.el (package-test-update-archives-async):
950         Skip test on hydra.nixos.org.
952 2015-04-28  Glenn Morris  <rgm@gnu.org>
954         * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
955         (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
956         (foldout-mouse-hide-or-exit): Use new names for outline functions.
958         * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
959         Update for 2014-06-26 hideif.el change.
961         * lisp/mail/rmailsum.el: Fix search for encoded subjects.  (Bug#19088)
962         (rmail--decode-and-apply): New function.
963         (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
965         * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
967 2015-04-28  Artur Malabarba  <bruce.connor.am@gmail.com>
969         * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
970         (package-menu--refresh): Delegate obsolete-hiding to
971         `package--remove-hidden'.
972         (package--remove-hidden): Disregard high-priority package if it is
973         older than the installed one.
975 2015-04-28  Paul Eggert  <eggert@cs.ucla.edu>
977         Update source file encoding list
978         Update admin/notes/unicode, along with coding system cookies in
979         other files, so that the two match each other better.
980         * admin/notes/unicode: lisp/language/ethio-util.el and
981         lisp/language/ethiopic.el also use utf-8-emacs.
982         * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
983         * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
984         * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
985         * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
986         * etc/refcards/sk-survival.tex:
987         Add "coding: utf-8" so that this file is not mishandled in a
988         Latin-1 or Big-5 locale.
989         * lisp/international/robin.el, lisp/org/ox-ascii.el:
990         Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
991         * lisp/language/ethio-util.el: Fix trailer.
993 2015-04-28  Eli Zaretskii  <eliz@gnu.org>
995         Fix synchronous invocation of Ispell
996         * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
997         value to ispell-process-directory before calling ispell-init-process.
998         Don't call set-process-coding-system if ispell-async-processp is nil.
999         (Bug#20448)
1001 2015-04-28  Artur Malabarba  <bruce.connor.am@gmail.com>
1003         * lisp/emacs-lisp/package.el: Skip space and comments in init file
1004         (package--ensure-init-file): Insert snippet at first
1005         non-whitespace non-comments line.  Respects local-vars at the top
1006         of the file.
1008 2015-04-28  Glenn Morris  <rgm@gnu.org>
1010         * lisp/mail/rmail.el (rmail-copy-headers):
1011         Handle rmail-nonignored-headers being nil.  (Bug#18878)
1013         * lisp/subr.el (delay-mode-hooks): Fix doc typo.
1015         * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
1016         Don't get confused by a bzrlib version mismatch warning.
1018 2015-04-27  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1020         Change default location of EUDC options file
1021         * NEWS: Document change to EUDC options file's default location.
1022         * lisp/net/eudc-vars.el (eudc-options-file): Use
1023         `locate-user-emacs-file' to change default options file location.
1025 2015-04-27  Glenn Morris  <rgm@gnu.org>
1027         * test/automated/package-test.el (package-test-update-archives-async):
1028         Try to handle the test server script dying.
1030 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1032         * lisp/saveplace.el (save-place-mode): New minor mode.
1033         (save-place): Redefine as an obsolete alias.
1035         * lisp/midnight.el: Make it a minor mode.  Allow predicates.
1036         * lisp/midnight.el: Use lexical-binding.
1037         (midnight-mode): Make it a proper minor mode.
1038         (midnight-buffer-display-time): Make arg non-optional.
1039         (midnight-find): Remove.
1040         (clean-buffer-list-kill-never-regexps)
1041         (clean-buffer-list-kill-regexps): Tweak type for new function choice.
1042         (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
1043         contain functions.
1044         (clean-buffer-list): Use cl-find.
1045         Allow clean-buffer-list-kill-never-regexps to contain functions.
1047 2015-04-27  Nicolas Petton  <nicolas@petton.fr>
1049         Bump version of seq.el to 1.5
1050         * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
1051           from seq-doseq.  Bump version number of seq.el.
1053 2015-04-27  Glenn Morris  <rgm@gnu.org>
1055         * lisp/mail/rmail.el (rmail-reply):
1056         Decode subject before matching "Re:" prefix.  (Bug#20396)
1058 2015-04-27  Artur Malabarba  <bruce.connor.am@gmail.com>
1060         * lisp/emacs-lisp/package.el: Small improvements
1061         (package--with-work-buffer-async): More informative error.
1062         (package-install-user-selected-packages): Rename to
1063         `package-install-selected-packages'.
1065 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1067         * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
1068         * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
1069         (eieio--class-make): Remove leftover `tag'.
1071 2015-04-27  Glenn Morris  <rgm@gnu.org>
1073         * lisp/gnus/message.el (gnus-extract-address-components):
1074         Remove bogus declaration that was masking previous problem.
1076 2015-04-27  Nicolas Graner  <nicolas.graner@u-psud.fr>  (tiny change)
1078         * lisp/gnus/message.el (message-insert-formatted-citation-line):
1079         Fix typo.  (Bug#20318)
1081 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1083         * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
1085         * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
1086         * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
1087         the buffer in yet another frame.
1088         (reftex-toc-visit-location): Make sure toc-window has focus at the end
1089         when `final' is nil.
1090         (reftex--rebuilding-toc): Defvar to avoid `boundp' and
1091         silence warnings.  Use `--' to clarify that it's internal.
1092         (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
1093         (reftex-toc-promote): Clarify unused argument.
1094         (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
1095         Add `reftex--' prefix.  Fix all users.
1096         (reftex-toc-promote-prepare): Use _ for dummy variable.
1097         (reftex-toc-restore-region): Rename `m
1099 2015-04-27  Eli Zaretskii  <eliz@gnu.org>
1101         Fix a typo in bibtex.el
1102         * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
1103         last change.  (Bug#20429)
1105         Fix redisplay of frame after loading new fonts
1106         * src/xdisp.c (redisplay_internal): When retrying redisplay of a
1107         frame because new fonts were loaded, disable all redisplay
1108         optimizations on that frame by calling SET_FRAME_GARBAGED.
1109         (Bug#20410)
1111 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1113         * lisp/info.el (Info-menu): Properly provide the `default'
1114         (Bug#20391)
1116         * elisp-mode.el: Catch errors from `documentation'
1117         (Bug#20418)
1118         * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
1119         Catch errors from documentation.
1120         (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
1122 2015-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1124         lisp/emacs-lisp/package.el: Move variables to silence byte-compiler
1125         Remove redundant ":group 'package".
1127 2015-04-26  Eli Zaretskii  <eliz@gnu.org>
1129         Fix a typo in rmail.el
1130         * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
1131         last commit.  (Bug#20429)
1133 2015-04-26  Dmitry Gutov  <dgutov@yandex.ru>
1135         Introduce xref-prompt-for-identifier
1136         * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
1137         (xref--read-identifier): Use it
1138         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
1140 2015-04-26  João Távora  <joaotavora@gmail.com>
1142         `tex-insert-quote' after single `'' opens quotes instead of closing
1143         Without this, it's very hard to precede double quotes with the
1144         apostrophe character, i.e. insert the sequence '``
1145         (quote-backquote-backquote), commonly useful in portuguese, for
1146         instance.
1147         * tex-mode.el (tex-insert-quote): Add ?' to the list of preceding
1148         chars making `tex-insert-quote' be in the "opening" context.
1150 2015-04-25  Dmitry Gutov  <dgutov@yandex.ru>
1152         Pass `id' to `completing-read' as def instead of initial input
1153         * xref.el (xref--read-identifier): Pass `id' to `completing-read'
1154         as the default value instead of initial input
1155         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
1157 2015-04-25  Paul Eggert  <eggert@cs.ucla.edu>
1159         Don't freeze with unreadable processes
1160         Don't freeze if an exiting process can't be read from. (Bug#19860).
1161         This fixes a bug I introduced in
1162         2014-07-08T07:24:07Z@eggert@cs.ucla.edu
1163         "* process.c: Add sanity checks for file descriptors."
1164         Dmitry Gutov did most of the legwork in finding the problem.
1165         * src/process.c (wait_reading_process_output):
1166         Treat non-running processes that can't be read from
1167         the same as other non-running processes.
1169 2015-04-25  Alan Mackenzie  <acm@muc.de>
1171         Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
1172         * lisp/subr.el (remove-yank-excluded-properties): put
1173         `with-silent-modifications' around only the last three lines of code.
1175 2015-04-25  Artur Malabarba  <bruce.connor.am@gmail.com>
1177         * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
1178         (package--all-keywords): Deleted variable.
1180         * etc/NEWS: Document package-hiding functionality
1182 2015-04-25  Eli Zaretskii  <eliz@gnu.org>
1184         lisp/window.el (recenter-last-op): Doc fix.  (Bug#20419)
1186         Clarify the doc string of 'replace-regexp-in-string'
1187         * lisp/subr.el (replace-regexp-in-string): Doc fix.  (Bug#20395)
1189         Improve doc string of 'insert-buffer-substring'
1190         * src/editfns.c (Finsert_buffer_substring): Doc fix.  (Bug#20421)
1192         MS-Windows followup for the recent gnulib update
1193         * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
1194         acl-internal.c.
1196 2015-04-24  Paul Eggert  <eggert@cs.ucla.edu>
1198         Spelling fixes
1200         Merge from gnulib
1201         This incorporates:
1202         2015-04-24 file-has-acl: new module, split from acl
1203         2015-04-24 manywarnings: add GCC 5.1 warnings
1204         2015-04-21 lstat: fix cross-compilation 'ln -s' problem
1205         2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
1206         2015-04-15 acl: On Linux, check for acls without libacl
1207         2015-04-14 tempname: avoid unused parameter warnings (trivial)
1208         * lib/acl-internal.c: New file, from gnulib.
1209         * lib/file-has-acl.c: Remove; no longer imported from gnulib.
1210         * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
1211         * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
1212         Update from gnulib.
1214         Port --enable-gcc-warnings to GCC 5.1 x86-64
1215         * lib-src/ebrowse.c (dump_sym):
1216         * lib-src/hexl.c (main):
1217         * src/ccl.c (ccl_driver):
1218         * src/character.c (string_escape_byte8):
1219         * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
1220         * src/gnutls.c (Fgnutls_boot):
1221         * src/gtkutil.c (xg_check_special_colors):
1222         * src/image.c (x_build_heuristic_mask):
1223         * src/print.c (safe_debug_print, print_object):
1224         * src/term.c (produce_glyphless_glyph):
1225         * src/xdisp.c (get_next_display_element)
1226         (produce_glyphless_glyph):
1227         * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
1228         Don't use a signed format to print an unsigned integer, or vice
1229         versa.  GCC 5.1's new -Wformat-signedness option warns about this.
1230         * src/image.c (png_load_body, jpeg_load_body):
1231         Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
1233 2015-04-24  Tassilo Horn  <tsdh@gnu.org>
1235         Add new faces to tsdh-light-theme
1236         * etc/themes/tsdh-light-theme.el (tsdh-light): New face
1237         definitions for Info-quoted, ace-jump-face-foreground,
1238         hl-paren-face, show-paren-match, and show-paren-mismatch.
1240 2015-04-24  Nicolas Petton  <nicolas@petton.fr>
1242         * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
1244 2015-04-24  Glenn Morris  <rgm@gnu.org>
1246         * build-aux/gitlog-to-emacslog:
1247         Use raw log format rather than wrapped one.
1249 2015-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1251         * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code
1252         (seq-doseq): Fix out-of-scope binding.
1253         Don't call `seq-length at every iteration.
1254         Reduce `if's from 3 to 2 per iteration.
1255         (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
1257 2015-04-24  Glenn Morris  <rgm@gnu.org>
1259         * lisp/textmodes/text-mode.el (text-mode-hook):
1260         Move text-mode-hook-identify to default.
1262         * lisp/mouse.el (minor-mode-menu-from-indicator):
1263         Handle non-function members of minor-mode-map-alist.  (Bug#20201)
1265         * lisp/help-fns.el (describe-function): More type checking.
1266         (describe-function-1): Handle changed symbol-function.  (Bug#20201)
1268         * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
1269         (Bug#20325)
1271 2015-04-24  Andreas Schwab  <schwab@linux-m68k.org>
1273         shr: strip leading whitespace when expanding URLs
1274         * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
1276 2015-04-24  Eli Zaretskii  <eliz@gnu.org>
1278         Clarify "co-authored" some more
1280         * CONTRIBUTE: Clarify "co-authored-by".  (Bug#20400)
1282         Clarify doc strings of functions that search for properties
1283         * src/textprop.c (Fnext_char_property_change)
1284         (Fprevious_char_property_change)
1285         (Fnext_single_char_property_change)
1286         (Fprevious_single_char_property_change, Fnext_property_change)
1287         (Fnext_single_property_change, Fprevious_property_change)
1288         (Fprevious_single_property_change): Clarify doc strings wrt return
1289         value and the optional LIMIT argument.  (Bug#20411)
1291 2015-04-24  Glenn Morris  <rgm@gnu.org>
1293         * test/automated/message-mode-tests.el (message-mode-propertize):
1294         Handle non-writable HOME; eg on hydra.nixos.org.
1296 2015-04-23  Eli Zaretskii  <eliz@gnu.org>
1298         Avoid starting threads by w32-shell-execute
1299         * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
1300         local file names, before invoking ShellExecute.  (Bug#20220)
1302 2015-04-23  Martin Rudalics  <rudalics@gmx.at>
1304         Fix following doc-links in `widget-documentation-link-action'
1305         * lisp/wid-edit.el (widget-documentation-link-action): Make
1306         following doc-links less simplistic (Bug#20398).
1308 2015-04-22  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1310         Improve EUDC manual
1311         * eudc.texi (Troubleshooting): New LDAP troubleshooting subsection.
1313 2015-04-22  Paul Eggert  <eggert@cs.ucla.edu>
1315         Omit needless "\ " after multibyte then newline
1316         * src/print.c: Include <c-ctype.h>, for c_isxdigit.
1317         (print_object): When print-escape-multibyte is non-nil and a
1318         multibyte character is followed by a newline or formfeed, followed
1319         by a hex digit, don't output a needless "\ " before the hex digit.
1320         * test/automated/print-tests.el (print-hex-backslash): New test.
1322 2015-04-22  Oleh Krehel  <ohwoeowho@gmail.com>
1324         Add a new `inhibit-message' variable
1325         * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
1326         (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
1327         `inhibit_message' is non-zero.
1328         * etc/NEWS: Add an entry.
1329         * doc/lispref/display.texi: Add an entry for `inhibit-message',
1330           mention it in `message'.
1332 2015-04-22  Martin Rudalics  <rudalics@gmx.at>
1334         Fix last fix in `display-buffer-record-window'.
1335         * lisp/window.el (display-buffer-record-window): Fix last fix.
1337 2015-04-22  Eli Zaretskii  <eliz@gnu.org>
1339         Minor edits in CONTRIBUTE
1340         * CONTRIBUTE: Rearrange instructions about log messages.
1341         Use "Git" capitalized all over.
1342         Use 2 spaces between sentences.
1344 2015-04-22  Artur Malabarba  <bruce.connor.am@gmail.com>
1346         * lisp/files.el (basic-save-buffer): Fix argument
1348         * lisp/cus-edit.el (custom-file): Consider init-file-had-error
1349         In case `(and (null custom-file) init-file-had-error)' do the same
1350         thing we'd do if `(null user-init-file)', which is to either error out
1351         or return nil.  This is in line with `custom-save-all' which would
1352         throw an error in that situation. (bug#20355)
1354         * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu
1355         (package-menu-hide-low-priority): New variable, see its doc.
1356         (package-archive-priorities): Update doc.
1357         (package-desc-priority): New function.
1358         (package-desc-priority-version): Use it.
1359         (package--remove-hidden): New function.
1360         (package-menu--refresh): Use it.
1362         * lisp/emacs-lisp/package.el: Implement displaying obsolete packages
1363         (package-menu--hide-obsolete): New variable.
1364         (package--remove-hidden): Use it.
1365         (package-menu-hide-obsolete): New interactive function to toggle
1366         the variable.
1367         (package--quick-help-keys): Document it.
1368         (package-menu-async): Add :version tag.
1369         (package-menu-mode-map): Bind package-menu-hide-obsolete.
1370         (package-desc-status): Indicate non-installed obsolete packages as
1371         avail-obso.
1372         (package-menu-mark-install): Allow installation of avail-obso.
1373         (package-menu--status-predicate): Sort avail-obso with available.
1375 2015-04-22  Alan Mackenzie  <acm@muc.de>
1377         On C-y, stop some text property entries being written into buffer-undo-list
1378         lisp/subr.el (remove-yank-excluded-properties): enclose the code in
1379         `with-silent-modifications'.
1381 2015-04-22  Martin Rudalics  <rudalics@gmx.at>
1383         In display-buffer-record-window record selected window if necessary.
1384         * lisp/window.el (display-buffer-record-window): Store selected window
1385         if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
1387 2015-04-22  Tassilo Horn  <tsdh@gnu.org>
1389         Fix reftex-citation bug
1390         * reftex-cite.el (reftex-extract-bib-entries): Fix
1391         `wrong-type-argument stringp nil' error that occurs when AUCTeX
1392         integration is enabled and there are no citations in the document
1393         so far.
1395 2015-04-21  Dmitry Gutov  <dgutov@yandex.ru>
1397         Add or reset based on the presence of MERGE_HEAD
1398         * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
1399         `vc-git-resolve-when-done' to `after-save-hook' in either case.
1400         (vc-git-conflicted-files): Add a TODO.
1401         (vc-git-resolve-when-done): Depending on the presence of
1402         MERGE_HEAD, either update the resolved file in the index, or
1403         remove it from there.  (Bug#20292)
1405 2015-04-21  Glenn Morris  <rgm@gnu.org>
1407         * lisp/custom.el (custom-declare-group): No need to purecopy
1408         custom-current-group-alist members following recent change to set
1409         it to nil before dumping.
1411         * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
1412         (Bug#20399)
1414 2015-04-21  Daniel Colascione  <dancol@dancol.org>
1416         Unbreak no-op buffer save message
1417         * lisp/files.el (save-buffer): Pass interactive flag to `basic-save-buffer`
1418         (basic-save-buffer): Accept called-interactively as an argument instead of
1419         directly invoking called-interactively-p, which will always yield nil
1420         in that context.
1422 2015-04-21  Alan Mackenzie  <acm@muc.de>
1424         CC Mode: Do nothing in before/after-change-functions for text property changes
1425         Fixes bug#20266.
1426         lisp/progmodes/cc-mode.el (c-basic-common-init): Make
1427         yank-handled-properties buffer local, and remove 'category from it.
1428         (c-called-from-text-property-change-p): New function.
1429         (c-before-change): Don't do anything if a call of the new function
1430         returns non-nil.
1431         (c-after-change): Don't do much if a call of the new function returns
1432         non-nil.
1433         (c-extend-after-change-region): Put changes to text property 'fontified
1434         inside c-save-buffer-state.
1436 2015-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1438         Fix byte-compiler warnings about looking-back.
1439         * lisp/vc/log-view.el (log-view-end-of-defun-1):
1440         * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
1441         * lisp/textmodes/reftex-ref.el (reftex-goto-label):
1442         * lisp/textmodes/bibtex.el (bibtex-insert-kill):
1443         * lisp/progmodes/sh-script.el (sh--maybe-here-document):
1444         * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
1445         * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
1446         * lisp/org/org.el (org-insert-heading, org-sort-entries):
1447         * lisp/org/org-mouse.el (org-mouse-end-headline)
1448         (org-mouse-context-menu):
1449         * lisp/org/org-clock.el (org-clock-cancel):
1450         * lisp/man.el (Man-default-man-entry):
1451         * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
1452         (rmail-ensure-blank-line):
1453         * lisp/mail/footnote.el (Footnote-delete-footnote):
1454         * lisp/mail/emacsbug.el (report-emacs-bug):
1455         * lisp/info.el (Info-follow-reference, Info-fontify-node):
1456         * lisp/info-look.el (info-lookup-guess-custom-symbol):
1457         * lisp/help-fns.el (help-fns--key-bindings):
1458         * lisp/files.el (hack-local-variables):
1459         * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
1460         (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
1461         (viper-complete-filename-or-exit):
1462         * lisp/emulation/viper-cmd.el (viper-backward-indent):
1463         * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1464         * lisp/emacs-lisp/elint.el (elint-get-top-forms):
1465         * lisp/cus-edit.el (custom-face-edit-value-create):
1466         * lisp/calendar/todo-mode.el (todo-set-item-priority)
1467         (todo-filter-items-1, todo-convert-legacy-files)
1468         (todo-prefix-overlays): Add explicit second arg to looking-back.
1470 2015-04-20  Glenn Morris  <rgm@gnu.org>
1472         Avoid non-nil current-load-list at startup
1473         * src/process.c (init_process_emacs): Move Fprovide statement...
1474         (syms_of_process): ... to here.
1476         * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
1478         * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value in emacs -Q.
1480 2015-04-20  Ludovic Courtès  <ludo@gnu.org>
1482         * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
1483         (Bug#20330)
1485 2015-04-20  Glenn Morris  <rgm@gnu.org>
1487         * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
1489         Tweak exec-path in uninstalled case
1490         * src/callproc.c (init_callproc): If running uninstalled, do not
1491         include eventual installation libexec directory in exec-path.
1493 2015-04-20  Artur Malabarba  <bruce.connor.am@gmail.com>
1495         * lisp/emacs-lisp/package.el: Filter by multiple keywords and cache keywords
1496         (package-menu-filter): Accept a list of keywords.
1497         (package--all-keywords): New variable to cache known keywords.
1498         (package-all-keywords): Populate it if necessary.
1499         (package-refresh-contents): Reset it.
1501         * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
1502         (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
1503         as special keywords which match agains package archive and status
1504         respectively.
1505         * etc/NEWS: Document it.
1507 2015-04-20  Eli Zaretskii  <eliz@gnu.org>
1509         Describe and index "empty overlays".
1510         * doc/lispref/display.texi (Overlays): Improve indexing.
1511         (Managing Overlays): Describe "empty" overlays.
1512         (Overlay Properties, Finding Overlays): Add cross-reference to
1513         where empty overlays are described.
1515 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
1517         Spelling fixes
1519         Quote 'like this' in top-level files
1520         * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
1521         Prefer to single-quote 'like this' (instead of the older style
1522         `like this').
1523         * configure.ac: Fix some space-before-tab problems that 'git commit'
1524         complained about.
1526         Use bool for boolean in textprop.c, undo.c
1527         * src/textprop.c (soft, hard): Now constants instead of macros.
1528         (validate_plist): Rewrite to avoid need for boolean local.
1529         (interval_has_all_properties, interval_has_some_properties)
1530         (interval_has_some_properties_list, add_properties)
1531         (remove_properties, get_char_property_and_overlay)
1532         (Fnext_single_char_property_change)
1533         (Fprevious_single_char_property_change, add_text_properties_1)
1534         (Fremove_text_properties, Fremove_list_of_text_properties)
1535         (copy_text_properties):
1536         * src/tparam.c (tparam1):
1537         * src/undo.c (record_change, record_property_change)
1538         (syms_of_undo):
1539         Use 'true' and 'false' for booleans.
1541 2015-04-19  Dmitry Gutov  <dgutov@yandex.ru>
1543         Call `smerge-start-session' even when dealing with a stash conflict
1544         * lisp/vc/vc-git.el (vc-git-find-file-hook):
1545         Call `smerge-start-session' even when dealing with a stash
1546         conflict (bug#20292).
1548 2015-04-19  Vibhav Pant  <vibhavp@gmail.com>
1550         Add option to eshell/clear to clear scrollback.
1551         * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
1552         (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
1553         scrollback contents are cleared.
1554         * etc/NEWS: Describe change.
1555         * doc/misc/eshell.texi: Add entry for `clear'.
1557 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
1559         * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
1560         where either will do.
1562 2015-04-19  Steve Purcell  <steve@sanityinc.com>
1564         Assume package archive-contents are UTF8-encoded
1565         * lisp/emacs-lisp/package.el (package--read-archive-file):
1566         Set `coding-system-for-read' explicitly to 'utf-8 when reading the
1567         downloaded and cached archive-contents files, so that non-ASCII
1568         characters in package descriptions are displayed correctly in the
1569         `list-packages' menu. (Bug#20231)
1571 2015-04-19  Dmitry Gutov  <dgutov@yandex.ru>
1573         Abort when looking at stashed changes
1574         * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
1575         stashed changes (bug#20292).
1577 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
1579         Refactor low-level printing for simplicity
1580         * src/print.c (PRINTDECLARE): Remove.  Move its contents into
1581         PRINTPREPARE; doable now that we assume C99.  All callers changed.
1582         (PRINTCHAR): Remove, as it adds more mystery than clarity.
1583         All callers changed.
1584         (strout): Assume that caller computes length.  All callers changed.
1585         (print_c_string): New function.
1586         (write_string, write_string_1): Compute length instead of asking
1587         the caller to compute it.  All callers changed.
1588         (write_string): Simplify by using write_string_1.
1589         (write_string_1): Simplify by using print_c_string.
1590         (Fterpri): Compute default val more clearly.
1591         (Fprin1_to_string, print_object):
1592         Assume C99 to avoid unnecessary nesting.
1593         (print_object): Prefer print_c_string to multiple printchar, or
1594         to calling strout with -1 length.  Coalesce into sprintf when
1595         this is easy.
1597 2015-04-18  Paul Eggert  <eggert@cs.ucla.edu>
1599         Prefer "Bug#1234" in commit messages (Bug#20325)
1600         * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
1601         as this isn't useful for Git.
1602         * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
1604 2015-04-18  Glenn Morris  <rgm@gnu.org>
1606         * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
1607         (Bug#19506)
1609 2015-04-18  Tom Willemse  <tom@ryuslash.org>  (tiny change)
1611         * lisp/elec-pair.el (electric-pair-post-self-insert-function): Do not use `chomp' as a function.
1612         (Bug#19505)
1614 2015-04-18  Glenn Morris  <rgm@gnu.org>
1616         * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
1618         * doc/emacs/misc.texi (Sorting): Small edit.
1619         (Bug#19896)
1621         * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
1623 2015-04-18  Simen Heggestøyl  <simenheg@gmail.com>
1625         css-mode.el: Support multi-line comment filling
1626         (Bug#20256)
1627         * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
1628         comment filling.
1629         (css-adaptive-fill): New function.
1630         (css-mode): Set `adaptive-fill-function'.
1631         (scss-mode): Set `comment-continue'.
1633 2015-04-18  Nicolas Petton  <nicolas@petton.fr>
1635         * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into): Better error messages.
1637 2015-04-18  Ivan Radanov Ivanov  <ivanradanov@yahoo.co.uk>  (tiny change)
1639         Minor improvements in Bulgarian input methods
1640         * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
1641         Replace U+042C with U+045D, as the former character is not used in
1642         the modern Bulgarian language.
1643         (Bug#20350)
1645 2015-04-17  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1647         Improve EUDC manual
1648         * eudc.texi (LDAP Configuration): Mention simple and SASL
1649         authentication schemes.  Add index items.  Shorten example server
1650         name.
1652 2015-04-17  Dmitry Gutov  <dgutov@yandex.ru>
1654         Don't show both feature and function with the same name
1655         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
1656         Don't show both feature and function with the same name.
1658         (elisp--xref-identifier-location): Skip variable, if it's also a functiong
1659         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
1660         Avoid returning both the variable and the function for the same
1661         minor mode.
1663 2015-04-17  Wolfgang Jenkner  <wjenkner@inode.at>
1665         Fix fontification of keywords clobbered by the prompt.
1666         * lisp/comint.el (comint-output-filter): Remove the uses of
1667         with-silent-modifications I introduced as part of the last change.
1668         This fixes, e.g., erratically missing highlighting when running
1669         ./configure --help; ./configure in a shell-mode buffer with
1670         compilation-shell-minor-mode turned on.
1672 2015-04-17  Glenn Morris  <rgm@gnu.org>
1674         * admin/authors.el (authors-valid-file-names, authors-renamed-files-alist): Additions.
1676 2015-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1678         * lisp/indent.el (indent-region): Don't deactivate the mark
1679         (Bug#20357)
1681 2015-04-17  Sam Steingold  <sds@gnu.org>
1683         lisp/net/rcirc.el (defun-rcirc-command): mark `target' as ignorable
1685 2015-04-16  Leo Liu  <sdl.web@gmail.com>
1687         * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
1689 2015-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1691         * lisp/erc/erc-pcomplete.el (erc-pcomplete): Don't use `pcomplete' any more.
1693 2015-04-16  Glenn Morris  <rgm@gnu.org>
1695         * admin/authors.el (authors-lax-changelogs): Update for erc changes.
1697 2015-04-16  Eli Zaretskii  <eliz@gnu.org>
1699         Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
1700         * configure.ac (LIBJPEG): Leave it empty for MinGW.
1702 2015-04-16  Glenn Morris  <rgm@gnu.org>
1704         * lisp/replace.el (query-replace-from-to-separator): Delay initialization
1705         to avoid rogue setting after startup.
1707 2015-04-16  Paul Eggert  <eggert@cs.ucla.edu>
1709         Pre-4.6 GCC succeeds with unknown option
1710         * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
1711         (Bug#20338)
1713 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
1715         '[:graph:]' now excludes whitespace, not just ' '
1716         * doc/lispref/searching.texi (Char Classes):
1717         * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
1718         sans whitespace (not sans space).
1719         * src/character.c (graphicp): Exclude all Unicode whitespace chars,
1720         not just space.
1721         * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
1723 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1725         (looking-back): Make the second arg non-optional.
1726         * lisp/subr.el (substitute-key-definition-key, special-form-p)
1727         (macrop): Drop deprecated second arg to indirect-function.
1728         (looking-back): Make the second arg non-optional.
1730         * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
1731         command is actually sent to the shell.
1733 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
1735         Port jpeg configuration to Solaris 10 with Sun C
1736         * configure.ac: Check for jpeglib 6b by trying to link it, instead
1737         of relying on cpp magic that has problems in practice.  Check for
1738         both jpeglib.h and jerror.h features.  Remove special case for
1739         mingw32, which should no longer be needed (and if it were needed,
1740         should now be addressable by hotwiring emacs_cv_jpeglib).
1741         (Bug#20332)
1743 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1745         Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
1746         * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
1747         Move to elisp-mode.el.
1748         (lisp-mode-variables): (Re)move elisp-specific settings.
1749         * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
1750         from lisp-mode-variables.
1751         (elisp--font-lock-flush-elisp-buffers): New function, moved from
1752         lisp-mode.el.
1754         * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
1755         Avoid pathological slowdown at top-level in large file.
1757 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
1759         Standardize names of ChangeLog history files
1760         Suggested by Glenn Morris in:
1761         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
1762         * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
1763         * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
1764         * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
1765         * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
1766         * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
1767         * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
1768         Remove.
1770         Split top-level entries into pre- and post-April 7
1771         This more clearly distingiushes pre-April-7 ChangeLog entries (which
1772         are for top-level files only) from post-April-7 entries (which are
1773         about files at all levels.  Problem reported by Glenn Morris in:
1774         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
1775         * ChangeLog.1: Move post-April-7 entries from here ...
1776         * ChangeLog.2: ... to this new file.
1777         * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
1779 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1781         Fix recent cus-start changes that added customize-rogues
1782         * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
1783         vars early.
1784         * lisp/loadup.el ("cus-start"): Move to the end to reduce customize-rogue.
1786 2015-04-15  Nicolas Petton  <nicolas@petton.fr>
1788         Define cl-concatenate as an alias to seq-concatenate
1789         * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
1790           code by making cl-concatenate an alias to seq-concatenate.
1792 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1794         * src/lread.c (intern_1): Make sure we'd find the symbol we add
1795         (Bug#20334)
1796         * src/xfaces.c (resolve_face_name): Don't use `intern' with Lisp_Strings.
1798 2015-04-15  Glenn Morris  <rgm@gnu.org>
1800         * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
1802 2015-04-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1804         Clean up gnus-uu saving code slightly
1805         * gnus-uu.el (gnus-uu-save-article): Make the
1806         save-restriction/widen calls make more sense.
1808 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
1810         Make [:graph:] act like [:print:] sans space
1811         In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
1812         [:graph:] so that it matches everything that [:print:] does,
1813         except for space.
1814         * doc/lispref/searching.texi (Char Classes):
1815         * etc/NEWS:
1816         * lisp/emacs-lisp/rx.el (rx):
1817         Document [:graph:] to be [:print:] sans ' '.
1818         * src/character.c, src/character.h (graphicp): New function.
1819         * src/regex.c (ISGRAPH) [emacs]: Use it.
1820         (BIT_GRAPH): New macro.
1821         (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
1822         (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
1823         Return BIT_GRAPH for RECC_GRAPH.
1824         (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
1825         and ISPRINT if BIT_PRINT.
1827 2015-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1829         automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
1830         Don't use call-next-method in a cl-defmethod.
1832         * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
1833         (eieio--class-p): Remove, provided by cl-defstruct.
1835 2015-04-14  Nicolas Petton  <nicolas@petton.fr>
1837         Add seq-intersection and seq-difference to the seq library
1838         * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference): New
1839         functions.
1840         * test/automated/seq-tests.el: Add tests for seq-intersection and
1841         seq-difference.
1842         * doc/lispref/sequences.texi: Add documentation for seq-intersection
1843         and seq-difference.
1845 2015-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1847         * eieio-core.el (class-abstract-p): Don't inline, to avoid leaking internals
1849 2015-04-14  Sam Steingold  <sds@gnu.org>
1851         package--ensure-init-file: widen requires save-restriction
1853 2015-04-14  Eli Zaretskii  <eliz@gnu.org>
1855         Improve the commit-msg Git hook for unibyte environments
1856         * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
1857         in unibyte environments.  (Suggested by Paul Eggert
1858         <eggert@cs.ucla.edu>.)  Use a more accurate approximation to
1859         [:print:], based on UTF-8 sequences of the unprintable characters.
1861         Describe problems with cursor caused by Windows Magnifier
1862         * etc/PROBLEMS: Describe the problem with cursor shape on
1863         MS-Windows due to Windows Magnifier.
1864         (Bug#20271)
1866         Make [:print:] support non-ASCII characters correctly
1867         * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
1868         (BIT_PRINT): New bit mask.
1869         (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
1870         * src/character.c (printablep): New function.
1871         * src/character.h (printablep): Add prototype.
1872         * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
1873         of 'print', 'alnum', and 'alphabetic'.
1874         * doc/lispref/searching.texi (Char Classes): Document the new
1875         behavior of [:print:].
1876         * etc/NEWS: Mention the new behavior of [:print:].
1878         Assign correct general-category and names to surrogates
1879         * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
1880         surrogates.  This avoids assigning them the default
1881         general-category of 'Cn', i.e. unassigned codepoints.
1882         (unidata-get-name): Give surrogates synthetic names.
1884 2015-04-14  Paul Eggert  <eggert@cs.ucla.edu>
1886         Assume C89 offsetof in xterm.c, xlwmenu.c
1887         * lwlib/xlwmenu.c (offset):
1888         * src/xterm.c (cvt_string_to_pixel_args):
1889         Use offsetof, not XtOffset.
1891 2015-04-14  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>
1893         Assume C89 offsetof in widget.c
1894         * src/widget.c (XtOffset): Remove; no longer needed.
1895         (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
1897         Fix think-o in previous patch
1898         * src/window.c (count_windows, get_leaf_windows):
1899         Don't optimize count_windows incorrectly.
1901 2015-04-13  Paul Eggert  <eggert@cs.ucla.edu>
1903         Avoid some int overflows in window.c
1904         * src/print.c (print_object):
1905         * src/window.c (sequence_number):
1906         * src/window.h (struct window.sequence_number):
1907         Don't assume window sequence number fits in int.
1908         * src/window.c (window_select_count):
1909         * src/window.h (struct window.use_time, window_select_count):
1910         Don't assume window use time fits in int.
1911         * src/window.c (Fsplit_window_internal):
1912         Don't assume user-supplied integer, or sum, fits in int.
1913         (Fset_window_configuration, count_windows, get_leaf_windows)
1914         (save_window_save, Fcurrent_window_configuration):
1915         Use ptrdiff_t for object counts.
1916         (Fset_window_configuration): Omit unused local 'n'.
1917         (count_windows): Simplify by writing in terms of get_leaf_windows.
1918         (get_leaf_windows): Don't store through FLAT if it's null.
1919         (extract_dimension): New static function.
1920         (set_window_margins, set_window_fringes, set_window_scroll_bars):
1921         Use it to avoid undefined behavior when converting user-supplied
1922         integer to 'int'.
1924 2015-04-13  Glenn Morris  <rgm@gnu.org>
1926         Minor doc copyedits
1927         * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
1928         * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
1930 2015-04-13  Katsumi Yamaoka  <yamaoka@jpl.org>
1932         [Gnus] Catch the invalid-operation that idna.el will issue
1933         * lisp/gnus/gnus-art.el (gnus-use-idna):
1934         * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
1935         * lisp/gnus/message.el (message-use-idna):
1936         Catch the invalid-operation that idna.el will issue.
1938 2015-04-13  Paul Eggert  <eggert@cs.ucla.edu>
1940         * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
1942 2015-04-13  Sam Steingold  <sds@gnu.org>
1944         package--ensure-init-file: widen before looking for "(package-initialize)"
1946 2015-04-13  Dmitry Gutov  <dgutov@yandex.ru>
1948         Change diff-switches default to `-u'
1949         (Bug#20290)
1950         * doc/emacs/files.texi (Comparing Files): Document the new default
1951         value of `diff-switches'.
1952         * doc/emacs/trouble.texi (Sending Patches): Document the preference
1953         for unified diff format.  Escape the plus in the suggested `-F' regexp
1954         value.
1955         * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
1957 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1959         (gnus-group--setup-tool-bar-update): Fix last change
1960         * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
1961         cursor-sensor-functions should be a list of functions.
1963 2015-04-13  Katsumi Yamaoka  <yamaoka@jpl.org>
1965         Use gmm-called-interactively-p in Gnus
1966         * lisp/gnus/gnus-topic.el (gnus-topic-mode): Use gmm-called-interactively-p.
1968 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1970         * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
1971         (Bug#20321)
1972         * lisp/cus-start.el (read-buffer-function): Don't advertize
1973         iswitchb-read-buffer any more.
1974         (iswitchb): Don't tweak this obsolete group any more.
1976 2015-04-13  Artur Malabarba  <bruce.connor.am@gmail.com>
1978         * lisp/emacs-lisp/package.el: Fix package--ensure-init-file
1980         * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings
1981         Adding a string after a constructor's argument list will use
1982         that string as the constructor function docstring.  If this string
1983         is absent but the struct itself was given a docstring, use that as
1984         the constructor's docstring.
1985         Fixes (bug#17284).
1987 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1989         Deprecate `intangible' and `point-entered' properties
1990         * lisp/emacs-lisp/cursor-sensor.el: New file.
1991         * lisp/simple.el (pre-redisplay-functions): New hook.
1992         (redisplay--pre-redisplay-functions): New function.
1993         (pre-redisplay-function): Use it.
1994         (minibuffer-avoid-prompt): Mark obsolete.
1995         (redisplay--update-region-highlight): Adapt it to work as a function on
1996         pre-redisplay-functions.
1997         * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
1998         (minibuffer-prompt-properties): Use it.  Use cursor-intangible rather
1999         than point-entered to make the prompt intangible.
2000         * lisp/forms.el: Move `provide' calls to the end.
2001         (forms-mode): Don't use `run-hooks' on a local var.
2002         (forms--make-format, forms--make-format-elt-using-text-properties):
2003         Use cursor-intangible rather than `intangible'.
2004         (forms-mode): Enable cursor-intangible-mode.
2005         * lisp/isearch.el (isearch-mode): Use defvar-local.
2006         (cursor-sensor-inhibit): Declare.
2007         (isearch-mode): Set cursor-sensor-inhibit.
2008         (isearch-done): Set it back.
2009         (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
2010         (isearch-close-unnecessary-overlays): Don't bother with `intangible'
2011         any more.
2012         * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
2013         (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
2014         Add Edebug spec.
2015         (ses-goto-print, ses-print-cell, ses-adjust-print-width)
2016         (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
2017         inhibit-point-motion-hooks any more.
2018         (ses--cell-at-pos, ses--curcell): New functions, extracted from
2019         ses-set-curcell.
2020         (ses-set-curcell): Use them.
2021         (ses-print-cell, ses-setup): Use cursor-intangible instead of
2022         `intangible'.  Make sure cursor-intangible isn't sticky at BOB.
2023         (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
2024         Use ses--cell-at-pos.
2025         (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
2026         extracted from ses-command-hook.  Make them work with multiple windows
2027         displaying the same buffer.
2028         (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
2029         Enable cursor-intangible-mode.
2030         (ses-command-hook): Remove cell highlight and mode-line update code.
2031         (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
2032         Update for new name of text-property holding the cell name.
2033         (ses-rename-cell): Don't mess with mode-line-process.
2034         * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
2035         cursor-sensor-functions property instead of point-entered.
2036         (erc-insert-timestamp-right, erc-format-timestamp):
2037         Use cursor-intangible rather than `intangible'.
2038         (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
2039         remove-from-invisibility-spec.  Enable cursor-intangible-mode and
2040         cursor-sensor-mode if needed.
2041         (erc-echo-timestamp): Adapt to calling convention of
2042         cursor-sensor-functions.
2043         (erc-insert-timestamp-right): Remove unused vars `current-window' and
2044         `indent'.
2045         * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
2046         (gnus-update-group-mark-positions): Remove unused `topic' var.
2047         (gnus-group-insert-group-line): Remove unused var `header'.
2048         (gnus-group--setup-tool-bar-update): New function.
2049         (gnus-group-insert-group-line): Use it.
2050         (gnus-group-update-eval-form): Declare local
2051         dynamically-bound variables.
2052         (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
2053         * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
2054         (gnus-group-prepare-topics, gnus-topic-update-topic)
2055         (gnus-topic-change-level, gnus-topic-catchup-articles)
2056         (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
2057         Use inhibit-read-only.
2058         (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
2059         (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
2060         * lisp/textmodes/reftex-index.el (reftex-display-index):
2061         Use cursor-intangible-mode if available.
2062         (reftex-index-post-command-hook): Check cursor-intangible.
2063         * lisp/textmodes/reftex-toc.el (reftex-toc):
2064         Use cursor-intangible-mode if available.
2065         (reftex-toc-recenter, reftex-toc-post-command-hook):
2066         Check cursor-intangible.
2067         * lisp/textmodes/sgml-mode.el: Use lexical-binding.
2068         (sgml-tag): Use cursor-sensor-functions instead of point-entered.
2069         (sgml-tags-invisible): Use with-silent-modifications and
2070         inhibit-read-only.  Enable cursor-sensor-mode.
2071         (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
2072         calling convention of cursor-sensor-functions.
2073         * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
2074         (table-point-entered-cell-hook, table-point-left-cell-hook):
2075         Don't autoload.
2076         (table-cell-entered-state): Remove var.
2077         (table--put-cell-point-entered/left-property)
2078         (table--remove-cell-properties):
2079         Use cursor-sensor-functions rather than point-entered/left.
2080         (table--point-entered/left-cell-function): Merge
2081         table--point-entered-cell-function and table--point-left-cell-function
2082         and adjust to calling convention of cursor-sensor-functions.
2084         Update ldef-boots.el
2086         * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
2088         * doc/misc/eieio.texi: Don't advertize now obsolete constructs
2090         Collapse successive char deletions in the undo log
2091         * src/cmds.c (remove_excessive_undo_boundaries): New function,
2092         extracted from Fself_insert_command.
2093         (Fdelete_char, Fself_insert_command): Use it.
2094         * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
2095         * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
2097         xterm and OSC 52: Add NEWS entry, and tweak the code
2098         * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition to
2099         top-level.
2100         (terminal-init-xterm-activate-set-selection): Set a terminal property.
2101         (xterm--set-selection): Use it instead of checking the value of
2102         `terminal-initted'.  Don't use string-bytes.
2104 2015-04-13  Philipp Stephani  <p.stephani2@gmail.com>
2106         xterm.el: Implement OSC-52 functionality for setting the X selection
2107         * lisp/term/xterm.el (xterm-max-cut-length): New var.
2108         (xterm--set-selection, terminal-init-xterm-activate-set-selection): New funs.
2109         (terminal-init-xterm, xterm--version-handler): Use them.
2111 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2113         Remove left over code from when we used an obsolete/loaddefs.el file
2114         * lisp/subr.el (do-after-load-evaluation): Remove left over code from when
2115         we used an obsolete/loaddefs.el file.
2117         * cedet/semantic/fw.el: Use declare.
2118         * cedet/semantic/fw.el (semantic-exit-on-input)
2119         (semanticdb-without-unloaded-file-searches): Use declare.
2120         (semantic-fw-add-edebug-spec): Remove.
2122         (completion-lisp-mode-hook): Use completion-separator-chars
2123         * lisp/completion.el (completion-lisp-mode-hook):
2124         Use completion-separator-chars rather than local key binding.
2126         * src/*.c: Set deactivate_mark buffer-locally
2127         (Bug#20260)
2128         * src/insdel.c (prepare_to_modify_buffer_1):
2129         * src/fileio.c (Finsert_file_contents): Set deactivate_mark
2130         buffer-locally.
2132 2015-04-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2134         python.el: Keep symmetry on sexp navigation with parens
2135         (Bug#19954)
2136         * lisp/progmodes/python.el
2137         (python-nav--forward-sexp): Add argument skip-parens-p.
2138         (python-nav-forward-sexp, python-nav-backward-sexp)
2139         (python-nav-forward-sexp-safe)
2140         (python-nav-backward-sexp-safe): Use it.
2141         * test/automated/python-tests.el
2142         (python-nav-forward-sexp-1): Fix test.
2144 2015-04-12  João Távora  <joaotavora@gmail.com>
2146         Don't use `setq-local' in Gnus code
2147         This might break upstream builds with older Emacsen
2148         * lisp/gnus/message.el (message-mode): Use `set' and
2149         `make-local-variable' instead of `setq-local'.
2151 2015-04-12  Paul Eggert  <eggert@cs.ucla.edu>
2153         Update Makefile.in's .PHONY dependencies
2154         * Makefile.in (change-history-commit, master-branch-is-current)
2155         (no-ChangeLog): Now phony.
2157         Remove configure's --with-mmdf option
2158         * configure.ac (MAIL_USE_MMDF): Remove.
2159         * etc/NEWS: Document this.
2160         * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
2161         (Bug#20308)
2163         * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
2164         That way, 'make install' won't think it's a man page.
2165         Reported by Ashish SHUKLA in:
2166         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
2168         Improve 'make change-history' prereq tests
2169         * Makefile.in (gen_origin): Fix to match what's in the master branch.
2170         (no-ChangeLog, master-branch-is-current): New rules.
2171         (change-history): Depend on them, to avoid similar future problems.
2172         Escape the local-variables string to pacify Emacs when editing
2173         Makefile.in.
2175 2015-04-12  Artur Malabarba  <bruce.connor.am@gmail.com>
2177         * test/automated/package-test.el (with-package-test): Kill Packages buffer
2179         * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt
2180         (package-menu--prompt-transaction-p): Prompt for "Delete" first,
2181         "Upgrade" last, and use capitalized instead of all-caps.
2183         * lisp/emacs-lisp/package.el: Completely silence async operations
2184         (package--make-autoloads-and-stuff): Silence autoloads.
2185         (package--save-selected-packages): New function, silences
2186         `customize-save-variable'.
2187         (package--user-selected-p, package-install-from-buffer)
2188         (package-delete, package-install): Use it.
2189         (package-install-from-archive)
2190         (package-menu--perform-transaction): Silence.
2191         (package-menu-execute): Feedback when operation starts.
2193         Use delay-mode-hooks when visiting the init-file
2194         * lisp/emacs-lisp/package.el (package--ensure-init-file):
2195         delay-mode-hooks
2196         * lisp/cus-edit.el (custom-save-all): delay-mode-hooks
2198         * lisp/files.el: Only message when saving if save-silently is nil
2199         (save-silently): New variable.
2200         (files--message): New function.
2201         (find-file-noselect, save-buffer, basic-save-buffer)
2202         (basic-save-buffer-2, save-some-buffers, not-modified)
2203         (append-to-file): Use them.
2205 2015-04-12  Johan Bockgård  <bojohan@gnu.org>
2207         Support debug declarations in pcase macros
2208         * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
2209         (pcase-UPAT): Use it.  Remove "`".
2210         (pcase--edebug-match-macro): New function.
2211         (pcase-defmacro): Support debug declarations.
2212         * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
2213         * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
2214         * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>: Add debug declaration.
2216         pcase.el: Edebug support for `app' and vector patterns
2217         * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
2218         (pcase-UPAT): Use it. Support `app' patterns.
2219         (pcase-QPAT): Support vector patterns.
2221         edebug.el: Disambiguate vector specifications
2222         * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
2223         `(vector ...)' as a vector specification, not as a sublist.
2225         (gnus-summary-refer-thread): Don't clobber unread articles
2226         This fixes a bug where `A T' causes "random" articles to become marked
2227         as read.
2228         * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
2229         gnus-newsgroup-unreads remains sorted.
2231         mouse-sel.el: Fix mouse-sel-get-selection-function
2232         * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
2233         Use gui--last-selected-text-primary instead of no longer existing
2234         gui-last-selected-text.
2236         * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
2238         * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
2240 2015-04-12  Artur Malabarba  <bruce.connor.am@gmail.com>
2242         * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate
2244         * lisp/emacs-lisp/package.el (list-packages): Call refresh in right buffer
2246         * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations
2247         (byte-compile--interactive): New var.
2248         (byte-compile--message): New function.
2249         (byte-compile-log-1, byte-force-recompile)
2250         (byte-recompile-directory, byte-recompile-file)
2251         (byte-compile-file, compile-defun)
2252         (byte-compile-file-form-defmumble, byte-compile)
2253         (byte-compile-file-form-defalias, display-call-tree): Use it.
2255         * lisp/files.el: Don't message when nothing happened
2256         (save-some-buffers, basic-save-buffer): Before messaging to say
2257         "nothing was saved" check if (called-interactively-p 'any).
2259 2015-04-12  João Távora  <joaotavora@gmail.com>
2261         Summary: Improve sexp-based movement in message-mode
2262         Works by giving citations and smileys a different syntax.  This helps
2263         modes like `show-paren-mode', `electric-pair-mode', and C-M-*
2264         sexp-based movement.
2265         * lisp/gnus/message.el (message--syntax-propertize): New function.
2266         (message-mode): Set syntax-related vars.
2267         (message-smileys): New variable.
2268         * test/automated/message-mode-tests.el: New file
2270 2015-04-11  Paul Eggert  <eggert@cs.ucla.edu>
2272         Use bool for boolean in window.c
2273         * src/window.c: Omit unnecessary static function decls.
2274         (adjust_window_count, select_window, Fselect_window)
2275         (window_body_width, Fwindow_body_height, Fwindow_body_width)
2276         (set_window_hscroll, check_window_containing, Fwindow_at)
2277         (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
2278         (unshow_buffer, replace_window, recombine_windows)
2279         (add_window_to_list, candidate_window_p, next_window)
2280         (Fnext_window, Fprevious_window, window_loop, check_all_windows)
2281         (Fget_buffer_window, Fdelete_other_windows_internal)
2282         (replace_buffer_in_windows_safely, set_window_buffer)
2283         (Fset_window_buffer, Fforce_window_update)
2284         (temp_output_buffer_show, make_parent_window)
2285         (window_resize_check, window_resize_apply, Fwindow_resize_apply)
2286         (resize_frame_windows, Fsplit_window_internal)
2287         (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
2288         (Fresize_mini_window_internal, mark_window_cursors_off)
2289         (window_scroll, window_scroll_pixel_based)
2290         (window_scroll_line_based, scroll_command, Fscroll_other_window)
2291         (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
2292         (Fmove_to_window_line, Fset_window_configuration)
2293         (delete_all_child_windows, apply_window_adjustment)
2294         (set_window_fringes, set_window_scroll_bars)
2295         (Fset_window_vscroll, foreach_window, foreach_window_1)
2296         (compare_window_configurations, Fcompare_window_configurations):
2297         Prefer 'bool', 'true', and 'false' for booleans.
2298         * src/window.h (WINDOW_MODE_LINE_LINES)
2299         (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
2301 2015-04-11  Artur Malabarba  <bruce.connor.am@gmail.com>
2303         Speed up byte-compilation and autoload generation by avoiding mode-hooks
2304         This prevents emacs-lisp-mode-hook from being run everytime an
2305         autoload file is generated, which can account for a fraction of
2306         package installation time depending on the hooks the user has
2307         configured.
2308         * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
2309         * lisp/emacs-lisp/autoload.el (autoload-find-file)
2310         (autoload-find-generated-file): Use delay-mode-hooks.
2312         * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'
2313         (package-menu-refresh): Respect async and do new package checking.
2314         (list-packages): Use `package-menu-refresh' instead of repeating code.
2316         * lisp/emacs-lisp/package.el: Improve package-menu-quick-help
2317         (package--quick-help-keys): New variable.
2318         (package--prettify-quick-help-key): New function.
2319         (package-menu-quick-help): Use it.
2321         * lisp/emacs-lisp/package.el: Fix initially wrong compat table
2322         (package--build-compatibility-table): require finder
2324         * test/automated/package-test.el: Fix new test
2326         * lisp/emacs-lisp/package.el: Silence async operations
2327         (package--silence): New variable.
2328         (package--message): New function.
2329         (package-import-keyring, package-refresh-contents)
2330         (package-compute-transaction, package-install, package-delete)
2331         (package-menu--perform-transaction, package-menu-execute): Use it.
2333         * test/automated/package-test.el: Test async functionality
2334         (package-test-update-archives-async): New test
2336 2015-04-11  Daiki Ueno  <ueno@gnu.org>
2338         Utilize `make-process' in epg.el
2339         * lisp/epg.el (epg-error-output): Abolish.
2340         (epg-context): New slot `error-buffer'.
2341         (epg--start): Use `make-process' and `make-pipe-process'.
2342         (epg--process-filter): Remove code separating stderr from stdout.
2343         (epg-wait-for-completion): Simplify `error-output' handling.
2344         (epg-reset): Dispose error buffer.
2346 2015-04-11  Paul Eggert  <eggert@cs.ucla.edu>
2348         * .gitignore: Ignore doc temps and outputs.
2350         Port commit-msg to MSYS Bash+Gawk
2351         See Eli Zaretskii in:
2352         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
2353         * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
2354         (cent_sign, print_at_sign, at_sign): Revert previous change.
2355         (print_at_sign): Prepend "BEGIN".
2356         (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
2358         Port commit-msg to broken MS-Windows shell
2359         * build-aux/git-hooks/commit-msg (cent_sign):
2360         Just use UTF-8 here rather than ASCII + printf, as the latter fails
2361         on a broken MS-Windows shell.  Reported by Eli Zaretskii in:
2362         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
2364 2015-04-11  Chris Zheng  <chriszheng99@gmail.com>  (tiny change)
2366         Support GnuTLS v3.4 and later on MS-Windows
2367         * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
2368         * lisp/term/w32-win.el (dynamic-library-alist): Determine which
2369         GnuTLS DLL to load according to value of libgnutls-version.
2370         (Bug#20294)
2372 2015-04-11  Paul Eggert  <eggert@cs.ucla.edu>
2374         Minor quoting etc. fixes to misc manuals
2375         Fix some minor quoting and spacing issues.  Distinguish more
2376         clearly among grave accent and apostrophe (which are ASCII) and
2377         single quote (which is not).  Prefer the standard terms
2378         "apostrophe" and "grave accent" to alternative names that can be
2379         confusing.  Use apostrophes to single-quote ASCII text.
2380         * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
2381         rather than approximating it in ASCII with grave accent.
2383 2015-04-11  Daiki Ueno  <ueno@gnu.org>
2385         Respect more keyword args in `make-process'
2386         * process.c (Fmake_process): Respect `:sentinel' and `:filter'
2387         keywords as documented.
2389 2015-04-10  Dmitry Gutov  <dgutov@yandex.ru>
2391         Extract ChangeLog entries when committing a directory
2392         * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
2393         * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
2394         Add a FIXME comment.
2395         (log-edit-changelog-entries): Extract from
2396         `log-edit-changelog-entries', handle FILE being a directory
2397         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
2399 2015-04-10  Paul Eggert  <eggert@cs.ucla.edu>
2401         Fix problems found by --enable-gcc-warnings
2402         * src/process.c (create_process, Fmake_pipe_process)
2403         (Fmake_network_process): Omit unused locals.
2405         Fix commit-msg to handle scissors lines
2406         * build-aux/git-hooks/commit-msg:
2407         Ignore every line after a scissors line, such as a line generated
2408         by 'git commit -v'.  Problem reported by Johan Bockgård in:
2409         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
2411         port commit-msg to Gawk 3.0.4 (1999)
2412         * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
2413         (print_at_sign, at_sign): New vars.  Use them to avoid problems
2414         Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS.  See:
2415         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
2417         Have commit-msg report commit failure
2418         * build-aux/git-hooks/commit-msg: If the commit is aborted,
2419         say so.  Simplify by doing this at the end.  Problem reported
2420         by Eli Zaretskii in:
2421         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
2423 2015-04-10  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2425         Clean up LDAP Configuration section of EUDC manual
2426         * doc/misc/eudc.texi: Combine indices.
2427         (LDAP Configuration): Use command markup.  Add index entries.
2428         Change formatting.  Wrap long lines.  Add noindent markup.
2430 2015-04-10  Daiki Ueno  <ueno@gnu.org>
2432         Add facility to collect stderr of async subprocess
2433         * src/w32.h (register_aux_fd): New function declaration.
2434         * src/w32.c (register_aux_fd): New function.
2435         * src/process.h (struct Lisp_Process): New member stderrproc.
2436         * src/process.c (PIPECONN_P): New macro.
2437         (PIPECONN1_P): New macro.
2438         (Fdelete_process, Fprocess_status, Fset_process_buffer)
2439         (Fset_process_filter, Fset_process_sentinel, Fstop_process)
2440         (Fcontinue_process): Handle pipe process specially.
2441         (create_process): Respect p->stderrproc.
2442         (Fmake_pipe_process): New function.
2443         (Fmake_process): Add new keyword argument :stderr.
2444         (wait_reading_process_output): Specially handle a pipe process when
2445         it gets an EOF.
2446         (syms_of_process): Register Qpipe and Smake_pipe_process.
2447         * doc/lispref/processes.texi (Asynchronous Processes): Document
2448         `make-pipe-process' and `:stderr' keyword of `make-process'.
2449         * lisp/subr.el (start-process): Suggest to use `make-process' handle
2450         standard error separately.
2451         * test/automated/process-tests.el (process-test-stderr-buffer)
2452         (process-test-stderr-filter): New tests.
2453         * etc/NEWS: Mention new process type `pipe' and its usage with the
2454         `:stderr' keyword of `make-process'.
2456 2015-04-10  Paul Eggert  <eggert@cs.ucla.edu>
2458         Minor quoting etc. fixes to lispref manual
2459         * doc/lispref/tips.texi (Documentation Tips):
2460         Distinguish more clearly among grave accent, apostrophe,
2461         and single quote.
2462         * doc/lispref/README, doc/lispref/buffers.texi:
2463         * doc/lispref/commands.texi, doc/lispref/control.texi:
2464         * doc/lispref/customize.texi, doc/lispref/display.texi:
2465         * doc/lispref/elisp.texi, doc/lispref/files.texi:
2466         * doc/lispref/frames.texi, doc/lispref/hash.texi:
2467         * doc/lispref/help.texi, doc/lispref/internals.texi:
2468         * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
2469         * doc/lispref/markers.texi, doc/lispref/modes.texi:
2470         * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
2471         * doc/lispref/os.texi, doc/lispref/positions.texi:
2472         * doc/lispref/strings.texi, doc/lispref/syntax.texi:
2473         * doc/lispref/text.texi, doc/lispref/tips.texi:
2474         * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
2475         Use American-style double quoting in ordinary text,
2476         and quote 'like this' when single-quoting in ASCII text.
2477         Also, fix some minor spacing issues.
2479 2015-04-10  Michael Albinus  <michael.albinus@gmx.de>
2481         Handle symlinked test directory in tramp-tests.el
2482         * test/automated/tramp-tests.el (tramp-test18-file-attributes)
2483         (tramp--test-check-files): Use `file-truename' for directories.
2485 2015-04-10  Eli Zaretskii  <eliz@gnu.org>
2487         Fix 'recenter' when visual-line-mode is turned on
2488         * src/window.c (Frecenter): Use the same code for GUI and TTY
2489         frames alike; use vmotion only for "initial" frames.  This is
2490         because vmotion doesn't support visual-line-mode.  Rewrite the
2491         'iarg >= 0' case to use move_it_* functions instead of using
2492         vmotion, for the same reason.  Fix the clipping of the argument
2493         value to support scroll-margin in all cases and avoid unwarranted
2494         recentering.  Reported by Milan Stanojević <milanst@gmail.com> in
2495         http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
2496         which see.
2498 2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2500         * abbrev.el (define-abbrev-table): Refine last change.
2502         cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r"
2503         * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
2504         use of c[ad]+r", so as to keep the "cl-" prefix on all
2505         cl-lib definitions.
2507         * vhdl-mode.el (vhdl-prepare-search-2): Use inhibit-point-motion-hooks
2509         * lisp/cedet/semantic: Remove some dead code
2510         * lisp/cedet/semantic/util-modes.el
2511         (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
2512         any more.
2513         * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
2514         not supported any more.
2515         (semantic-safe): Use `declare'.
2516         * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
2517         (semantic-tag-intangible-p): Remove unused functions.
2518         * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
2519         Remove unused function.
2521         * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
2522         (gnus-article-hide-text, gnus-article-unhide-text)
2523         (gnus-article-unhide-text-type): Remove special handling of
2524         `intangible' since that property is not used any more.
2525         (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
2527 2015-04-09  Jay Belanger  <jay.p.belanger@gmail.com>
2529         Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
2531 2015-04-09  Dmitry Gutov  <dgutov@yandex.ru>
2533         Use the VC root in `log-edit-listfun'
2534         * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
2535         `log-edit-listfun'.
2537 2015-04-09  Jay Belanger  <jay.p.belanger@gmail.com>
2539         Fix description of Unix time, mention new function.
2540         * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
2541         Unix time.
2542         * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
2543         (Basic Operations on Units): Mention `calc-convert-exact-units'.
2545 2015-04-09  Artur Malabarba  <bruce.connor.am@gmail.com>
2547         * lisp/emacs-lisp/package.el: Use mode-line-process for notification
2549 2015-04-09  Dmitry Gutov  <dgutov@yandex.ru>
2551         (log-edit-insert-changelog-entries): Don't add newline after the last entry
2552         * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
2553         Don't add newline after the last entry.
2555 2015-04-09  Simen Heggestøyl  <simenheg@gmail.com>
2557         css-mode.el: Add "not" pseudo-class
2558         (Bug#20267)
2559         * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
2560         list of CSS pseudo-classes.
2562 2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2564         etc/NEWS: Add missing entry for "Stop messing with the EMACS env var"
2566 2015-04-09  Michael Albinus  <michael.albinus@gmx.de>
2568         Stop messing with the EMACS env var
2569         * misc.texi (Interactive Shell): Remove description of EMACS env var.
2571 2015-04-09  Paul Eggert  <eggert@cs.ucla.edu>
2573         Adapt 'make change-history' to coding cookie
2574         * Makefile.in (change-history): Adjust to change of format of
2575         ChangeLog file, which now has a coding cookie before an indented
2576         copyright notice.
2578 2015-04-09  Paul Eggert  <eggert@cs.ucla.edu>
2580         Adapt 'make change-history' to coding cookie
2581         * Makefile.in (change-history): Adjust to change of format of
2582         ChangeLog file, which now has a coding cookie before an indented
2583         copyright notice.
2585         gitlog-to-changelog coding cookie and mv -i
2586         * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
2587         for copyright notice prototype, so that we get a proper "coding:"
2588         cookie.  Use 'mv -i' to avoid unconditionally overwriting an
2589         existing ChangeLog.  Problems reported by Eli Zaretskii in:
2590         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
2592         Merge from gnulib
2593         * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
2594         2015-04-09 gitlog-to-changelog: port to MS-Windows
2596 2015-04-09  Boruch Baum  <boruch_baum@gmx.com>  (tiny change)
2598         * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
2599         (Bug#20212)
2601 2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2603         Stop messing with the EMACS env var
2604         (Bug#20202)
2605         * lisp/net/tramp-sh.el (tramp-remote-process-environment):
2606         * lisp/comint.el (comint-exec-1):
2607         * lisp/term.el (term-exec-1): Don't set EMACS envvar.
2608         * lisp/progmodes/compile.el (compilation-start): Same and bring
2609         INSIDE_EMACS's format in line with other users.
2611         css-mode.el (css-smie-rules): Fix indentation after complex selectors
2612         (Bug#20282)
2613         * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
2614         inner structure of selectors.
2616 2015-04-08  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2618         python.el: Indent docstring lines to base-indent
2619         (Bug#19595)
2620         Thanks to immerrr <immerrr@gmail.com> for reporting and providing
2621         an initial patch.
2622         * lisp/progmodes/python.el
2623         (python-indent-context): Add :inside-docstring context.
2624         (python-indent--calculate-indentation): Handle :inside-docstring.
2625         (python-indent-region): Re-indent docstrings.
2626         * test/automated/python-tests.el (python-indent-region-5)
2627         (python-indent-inside-string-2): Fix tests.
2629         python.el: Increase native completion robustness
2630         (Bug#19755)
2631         Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
2632         this and providing useful ideas.
2633         * lisp/progmodes/python.el
2634         (python-shell-completion-native-output-timeout): Increase value.
2635         (python-shell-completion-native-try-output-timeout): New var.
2636         (python-shell-completion-native-try): Use it.
2637         (python-shell-completion-native-setup): New readline setup avoids
2638         polluting current context, ensures output when no-completions are
2639         available and includes output end marker.
2640         (python-shell-completion-native-get-completions): Trigger with one
2641         tab only.  Call accept-process-output until output end is found or
2642         python-shell-completion-native-output-timeout is exceeded.
2644 2015-04-08  Samer Masterson  <samer@samertm.com>
2646         * lisp/eshell: Make backslash a no-op in front of normal chars
2647         (Bug#8531)
2648         * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
2649         (eshell-parse-backslash): Return escaped character after backslash
2650         if it is special.  Otherwise, if the backslash is not in a quoted
2651         string, ignore the backslash and return the character after; if
2652         the backslash is in a quoted string, return the backslash and the
2653         character after.
2654         * test/automated/eshell.el (eshell-test/escape-nonspecial)
2655         (eshell-test/escape-nonspecial-unicode)
2656         (eshell-test/escape-nonspecial-quoted)
2657         (eshell-test/escape-special-quoted): Add tests for new
2658         `eshell-parse-backslash' behavior.
2660 2015-04-08  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
2662         * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
2663         after the file name.
2664         (Bug#20276)
2666 2015-04-08  Paul Eggert  <eggert@cs.ucla.edu>
2668         Minor quoting etc. fixes to Emacs manual
2669         * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
2670         * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
2671         * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
2672         * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
2673         * doc/emacs/indent.texi, doc/emacs/macos.texi:
2674         * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
2675         * doc/emacs/programs.texi, doc/emacs/rmail.texi:
2676         * doc/emacs/search.texi, doc/emacs/trouble.texi:
2677         * doc/emacs/vc1-xtra.texi:
2678         Use American-style double quoting in ordinary text,
2679         and quote 'like this' when single-quoting in ASCII text.
2680         Also, fix some minor spacing issues.
2682         Minor quoting etc. fixes to elisp intro
2683         * doc/lispintro/emacs-lisp-intro.texi: Consistently use
2684         American-style double quoting in ordinary text.  In ASCII text,
2685         consistently quote 'like this' instead of `like this', unless
2686         Emacs requires the latter.
2688 2015-04-08  Dmitry Gutov  <dgutov@yandex.ru>
2690         * CONTRIBUTE: Mention log-edit-insert-changelog.
2692         * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
2694 2015-04-08  Paul Eggert  <eggert@cs.ucla.edu>
2696         * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
2698 2015-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2700         (eieio-copy-parents-into-subclass): Fix inheritance of initargs
2701         (Bug#20270)
2702         * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
2703         Fix inheritance of initargs.
2705 2015-04-08  Artur Malabarba  <bruce.connor.am@gmail.com>
2707         * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
2708         while dowloading information.
2710         * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
2711         (package--ensure-init-file): Check file contents before visiting.
2712         (package-initialize): Call it.
2713         (package-install-from-buffer, package-install): Don't call it.
2715 2015-04-08  Eli Zaretskii  <eliz@gnu.org>
2717         * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800
2718         (Bug#17517)
2720 2015-04-08  Michael Albinus  <michael.albinus@gmx.de>
2722         Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
2724         Fix nasty scoping bug in tramp-cache.el
2725         * lisp/net/tramp-cache.el (tramp-flush-file-property): Fix nasty scoping bug.
2727 2015-04-08  Tassilo Horn  <tsdh@gnu.org>
2729         Add notice to visual commands section
2730         * doc/misc/eshell.texi (Input/Output): Add notice that some tools
2731         such as git call less with its -F option which omits pagination if
2732         the contents is less than one page long.  This interferes with
2733         eshell's visual (sub-)commands.
2735 2015-04-07  Dmitry Gutov  <dgutov@yandex.ru>
2737         ffap: Support environment variable expansion in file names
2738         (Bug#19839)
2739         * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
2740         environment variable expansion in file names.
2742 2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>
2744         Prefer double-quote to accent-grave in man pages
2746 2015-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2748         (Bug#20257)
2749         * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
2751 2015-04-07  Ivan Shmakov  <ivan@siamics.net>
2753         Update etc/PROBLEMS.
2754         * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
2755         ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
2756         'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
2757         respectively); other minor updates and tweaks.  (Bug#20011)
2759 2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>
2761         Add doc strings for some Isearch state vars
2762         * lisp/misearch.el (multi-isearch-buffer-list)
2763         (multi-isearch-file-list): Add doc strings.
2764         (Bug#20232)
2766 2015-04-07  Alan Mackenzie  <acm@muc.de>
2768         Always mark "<" and ">" in #include directives with text properties.
2769         * lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock "anchored
2770         matcher" with an invocation of c-make-font-lock-search-function to allow
2771         fontification when there's no trailing space on an "#include <..>" line.
2773 2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>
2775         Generate a ChangeLog file from commit logs
2776         * .gitignore: Add 'ChangeLog'.
2777         * build-aux/gitlog-to-changelog: New file, from Gnulib.
2778         * build-aux/gitlog-to-emacslog: New file.
2779         * CONTRIBUTE: Document the revised workflow.
2780         * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
2781         instead of just special cases.
2782         (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
2783         (ChangeLog, unchanged-history-files, change-history)
2784         (change-history-commit): New rules.
2785         * admin/admin.el (make-manuals-dist--1):
2786         Don't worry about doc/ChangeLog.
2787         * admin/authors.el: Add a FIXME.
2788         * admin/make-tarball.txt:
2789         * lisp/calendar/icalendar.el:
2790         * lisp/gnus/deuglify.el:
2791         * lisp/obsolete/gulp.el:
2792         * lwlib/README:
2793         Adjust to renamed ChangeLog history files.
2794         * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
2795         * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
2796         Remove obsolete discussion of merging ChangeLog files.
2797         New section "Maintaining ChangeLog history".
2798         * build-aux/git-hooks/pre-commit:
2799         Reject attempts to commit files named 'ChangeLog'.
2800         * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2801         * make-dist: Make and distribute top-level ChangeLog if there's a
2802         .git directory.  Distribute the new ChangeLog history files
2803         instead of scattered ChangeLog files.  Distribute the new files
2804         gitlog-to-changelog and gitlog-to-emacslog.
2805         (Bug#19113)
2807         Rename ChangeLogs for gitlog-to-changelog
2808         This patch was implemented via the following shell commands:
2809         find * -name ChangeLog |
2810         sed 's,.*,git mv & &.1,
2811         s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
2812         s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
2813         s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
2814         s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
2815         s, src/ChangeLog\.1$, src/ChangeLog.13,' |
2816         sh
2817         git commit -am"[this commit message]"
2819 See ChangeLog.1 for earlier changes.
2821 ;; Local Variables:
2822 ;; coding: utf-8
2823 ;; End:
2825   Copyright (C) 2015 Free Software Foundation, Inc.
2827   This file is part of GNU Emacs.
2829   GNU Emacs is free software: you can redistribute it and/or modify
2830   it under the terms of the GNU General Public License as published by
2831   the Free Software Foundation, either version 3 of the License, or
2832   (at your option) any later version.
2834   GNU Emacs is distributed in the hope that it will be useful,
2835   but WITHOUT ANY WARRANTY; without even the implied warranty of
2836   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2837   GNU General Public License for more details.
2839   You should have received a copy of the GNU General Public License
2840   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.