Add xref-pulse-on-jump
[emacs.git] / ChangeLog.2
blob188e3ff587316a8fcd9146c86a225c0904fcc8bc
1 2015-04-25  Paul Eggert  <eggert@cs.ucla.edu>
3         Don't freeze with unreadable processes
4         Don't freeze if an exiting process can't be read from. (Bug#19860).
5         This fixes a bug I introduced in
6         2014-07-08T07:24:07Z@eggert@cs.ucla.edu
7         "* process.c: Add sanity checks for file descriptors."
8         Dmitry Gutov did most of the legwork in finding the problem.
9         * src/process.c (wait_reading_process_output):
10         Treat non-running processes that can't be read from
11         the same as other non-running processes.
13 2015-04-25  Alan Mackenzie  <acm@muc.de>
15         Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
16         * lisp/subr.el (remove-yank-excluded-properties): put
17         `with-silent-modifications' around only the last three lines of code.
19 2015-04-25  Artur Malabarba  <bruce.connor.am@gmail.com>
21         * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
22         (package--all-keywords): Deleted variable.
24         * etc/NEWS: Document package-hiding functionality
26 2015-04-25  Eli Zaretskii  <eliz@gnu.org>
28         lisp/window.el (recenter-last-op): Doc fix.  (Bug#20419)
30         Clarify the doc string of 'replace-regexp-in-string'
31         * lisp/subr.el (replace-regexp-in-string): Doc fix.  (Bug#20395)
33         Improve doc string of 'insert-buffer-substring'
34         * src/editfns.c (Finsert_buffer_substring): Doc fix.  (Bug#20421)
36         MS-Windows followup for the recent gnulib update
37         * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
38         acl-internal.c.
40 2015-04-24  Paul Eggert  <eggert@cs.ucla.edu>
42         Spelling fixes
44         Merge from gnulib
45         This incorporates:
46         2015-04-24 file-has-acl: new module, split from acl
47         2015-04-24 manywarnings: add GCC 5.1 warnings
48         2015-04-21 lstat: fix cross-compilation 'ln -s' problem
49         2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
50         2015-04-15 acl: On Linux, check for acls without libacl
51         2015-04-14 tempname: avoid unused parameter warnings (trivial)
52         * lib/acl-internal.c: New file, from gnulib.
53         * lib/file-has-acl.c: Remove; no longer imported from gnulib.
54         * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
55         * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
56         Update from gnulib.
58         Port --enable-gcc-warnings to GCC 5.1 x86-64
59         * lib-src/ebrowse.c (dump_sym):
60         * lib-src/hexl.c (main):
61         * src/ccl.c (ccl_driver):
62         * src/character.c (string_escape_byte8):
63         * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
64         * src/gnutls.c (Fgnutls_boot):
65         * src/gtkutil.c (xg_check_special_colors):
66         * src/image.c (x_build_heuristic_mask):
67         * src/print.c (safe_debug_print, print_object):
68         * src/term.c (produce_glyphless_glyph):
69         * src/xdisp.c (get_next_display_element)
70         (produce_glyphless_glyph):
71         * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
72         Don't use a signed format to print an unsigned integer, or vice
73         versa.  GCC 5.1's new -Wformat-signedness option warns about this.
74         * src/image.c (png_load_body, jpeg_load_body):
75         Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
77 2015-04-24  Tassilo Horn  <tsdh@gnu.org>
79         Add new faces to tsdh-light-theme
80         * etc/themes/tsdh-light-theme.el (tsdh-light): New face
81         definitions for Info-quoted, ace-jump-face-foreground,
82         hl-paren-face, show-paren-match, and show-paren-mismatch.
84 2015-04-24  Nicolas Petton  <nicolas@petton.fr>
86         * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
88 2015-04-24  Glenn Morris  <rgm@gnu.org>
90         * build-aux/gitlog-to-emacslog:
91         Use raw log format rather than wrapped one.
93 2015-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
95         * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code
96         (seq-doseq): Fix out-of-scope binding.
97         Don't call `seq-length at every iteration.
98         Reduce `if's from 3 to 2 per iteration.
99         (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
101 2015-04-24  Glenn Morris  <rgm@gnu.org>
103         * lisp/textmodes/text-mode.el (text-mode-hook):
104         Move text-mode-hook-identify to default.
106         * lisp/mouse.el (minor-mode-menu-from-indicator):
107         Handle non-function members of minor-mode-map-alist.  (Bug#20201)
109         * lisp/help-fns.el (describe-function): More type checking.
110         (describe-function-1): Handle changed symbol-function.  (Bug#20201)
112         * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
113         (Bug#20325)
115 2015-04-24  Andreas Schwab  <schwab@linux-m68k.org>
117         shr: strip leading whitespace when expanding URLs
118         * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
120 2015-04-24  Eli Zaretskii  <eliz@gnu.org>
122         Clarify "co-authored" some more
124         * CONTRIBUTE: Clarify "co-authored-by".  (Bug#20400)
126         Clarify doc strings of functions that search for properties
127         * src/textprop.c (Fnext_char_property_change)
128         (Fprevious_char_property_change)
129         (Fnext_single_char_property_change)
130         (Fprevious_single_char_property_change, Fnext_property_change)
131         (Fnext_single_property_change, Fprevious_property_change)
132         (Fprevious_single_property_change): Clarify doc strings wrt return
133         value and the optional LIMIT argument.  (Bug#20411)
135 2015-04-24  Glenn Morris  <rgm@gnu.org>
137         * test/automated/message-mode-tests.el (message-mode-propertize):
138         Handle non-writable HOME; eg on hydra.nixos.org.
140 2015-04-23  Eli Zaretskii  <eliz@gnu.org>
142         Avoid starting threads by w32-shell-execute
143         * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
144         local file names, before invoking ShellExecute.  (Bug#20220)
146 2015-04-23  Martin Rudalics  <rudalics@gmx.at>
148         Fix following doc-links in `widget-documentation-link-action'
149         * lisp/wid-edit.el (widget-documentation-link-action): Make
150         following doc-links less simplistic (Bug#20398).
152 2015-04-22  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
154         Improve EUDC manual
155         * eudc.texi (Troubleshooting): New LDAP troubleshooting subsection.
157 2015-04-22  Paul Eggert  <eggert@cs.ucla.edu>
159         Omit needless "\ " after multibyte then newline
160         * src/print.c: Include <c-ctype.h>, for c_isxdigit.
161         (print_object): When print-escape-multibyte is non-nil and a
162         multibyte character is followed by a newline or formfeed, followed
163         by a hex digit, don't output a needless "\ " before the hex digit.
164         * test/automated/print-tests.el (print-hex-backslash): New test.
166 2015-04-22  Oleh Krehel  <ohwoeowho@gmail.com>
168         Add a new `inhibit-message' variable
169         * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
170         (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
171         `inhibit_message' is non-zero.
172         * etc/NEWS: Add an entry.
173         * doc/lispref/display.texi: Add an entry for `inhibit-message',
174           mention it in `message'.
176 2015-04-22  Martin Rudalics  <rudalics@gmx.at>
178         Fix last fix in `display-buffer-record-window'.
179         * lisp/window.el (display-buffer-record-window): Fix last fix.
181 2015-04-22  Eli Zaretskii  <eliz@gnu.org>
183         Minor edits in CONTRIBUTE
184         * CONTRIBUTE: Rearrange instructions about log messages.
185         Use "Git" capitalized all over.
186         Use 2 spaces between sentences.
188 2015-04-22  Artur Malabarba  <bruce.connor.am@gmail.com>
190         * lisp/files.el (basic-save-buffer): Fix argument
192         * lisp/cus-edit.el (custom-file): Consider init-file-had-error
193         In case `(and (null custom-file) init-file-had-error)' do the same
194         thing we'd do if `(null user-init-file)', which is to either error out
195         or return nil.  This is in line with `custom-save-all' which would
196         throw an error in that situation. (bug#20355)
198         * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu
199         (package-menu-hide-low-priority): New variable, see its doc.
200         (package-archive-priorities): Update doc.
201         (package-desc-priority): New function.
202         (package-desc-priority-version): Use it.
203         (package--remove-hidden): New function.
204         (package-menu--refresh): Use it.
206         * lisp/emacs-lisp/package.el: Implement displaying obsolete packages
207         (package-menu--hide-obsolete): New variable.
208         (package--remove-hidden): Use it.
209         (package-menu-hide-obsolete): New interactive function to toggle
210         the variable.
211         (package--quick-help-keys): Document it.
212         (package-menu-async): Add :version tag.
213         (package-menu-mode-map): Bind package-menu-hide-obsolete.
214         (package-desc-status): Indicate non-installed obsolete packages as
215         avail-obso.
216         (package-menu-mark-install): Allow installation of avail-obso.
217         (package-menu--status-predicate): Sort avail-obso with available.
219 2015-04-22  Alan Mackenzie  <acm@muc.de>
221         On C-y, stop some text property entries being written into buffer-undo-list
222         lisp/subr.el (remove-yank-excluded-properties): enclose the code in
223         `with-silent-modifications'.
225 2015-04-22  Martin Rudalics  <rudalics@gmx.at>
227         In display-buffer-record-window record selected window if necessary.
228         * lisp/window.el (display-buffer-record-window): Store selected window
229         if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
231 2015-04-22  Tassilo Horn  <tsdh@gnu.org>
233         Fix reftex-citation bug
234         * reftex-cite.el (reftex-extract-bib-entries): Fix
235         `wrong-type-argument stringp nil' error that occurs when AUCTeX
236         integration is enabled and there are no citations in the document
237         so far.
239 2015-04-21  Dmitry Gutov  <dgutov@yandex.ru>
241         Add or reset based on the presence of MERGE_HEAD
242         * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
243         `vc-git-resolve-when-done' to `after-save-hook' in either case.
244         (vc-git-conflicted-files): Add a TODO.
245         (vc-git-resolve-when-done): Depending on the presence of
246         MERGE_HEAD, either update the resolved file in the index, or
247         remove it from there.  (Bug#20292)
249 2015-04-21  Glenn Morris  <rgm@gnu.org>
251         * lisp/custom.el (custom-declare-group): No need to purecopy
252         custom-current-group-alist members following recent change to set
253         it to nil before dumping.
255         * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
256         (Bug#20399)
258 2015-04-21  Daniel Colascione  <dancol@dancol.org>
260         Unbreak no-op buffer save message
261         * lisp/files.el (save-buffer): Pass interactive flag to `basic-save-buffer`
262         (basic-save-buffer): Accept called-interactively as an argument instead of
263         directly invoking called-interactively-p, which will always yield nil
264         in that context.
266 2015-04-21  Alan Mackenzie  <acm@muc.de>
268         CC Mode: Do nothing in before/after-change-functions for text property changes
269         Fixes bug#20266.
270         lisp/progmodes/cc-mode.el (c-basic-common-init): Make
271         yank-handled-properties buffer local, and remove 'category from it.
272         (c-called-from-text-property-change-p): New function.
273         (c-before-change): Don't do anything if a call of the new function
274         returns non-nil.
275         (c-after-change): Don't do much if a call of the new function returns
276         non-nil.
277         (c-extend-after-change-region): Put changes to text property 'fontified
278         inside c-save-buffer-state.
280 2015-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
282         Fix byte-compiler warnings about looking-back.
283         * lisp/vc/log-view.el (log-view-end-of-defun-1):
284         * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
285         * lisp/textmodes/reftex-ref.el (reftex-goto-label):
286         * lisp/textmodes/bibtex.el (bibtex-insert-kill):
287         * lisp/progmodes/sh-script.el (sh--maybe-here-document):
288         * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
289         * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
290         * lisp/org/org.el (org-insert-heading, org-sort-entries):
291         * lisp/org/org-mouse.el (org-mouse-end-headline)
292         (org-mouse-context-menu):
293         * lisp/org/org-clock.el (org-clock-cancel):
294         * lisp/man.el (Man-default-man-entry):
295         * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
296         (rmail-ensure-blank-line):
297         * lisp/mail/footnote.el (Footnote-delete-footnote):
298         * lisp/mail/emacsbug.el (report-emacs-bug):
299         * lisp/info.el (Info-follow-reference, Info-fontify-node):
300         * lisp/info-look.el (info-lookup-guess-custom-symbol):
301         * lisp/help-fns.el (help-fns--key-bindings):
302         * lisp/files.el (hack-local-variables):
303         * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
304         (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
305         (viper-complete-filename-or-exit):
306         * lisp/emulation/viper-cmd.el (viper-backward-indent):
307         * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
308         * lisp/emacs-lisp/elint.el (elint-get-top-forms):
309         * lisp/cus-edit.el (custom-face-edit-value-create):
310         * lisp/calendar/todo-mode.el (todo-set-item-priority)
311         (todo-filter-items-1, todo-convert-legacy-files)
312         (todo-prefix-overlays): Add explicit second arg to looking-back.
314 2015-04-20  Glenn Morris  <rgm@gnu.org>
316         Avoid non-nil current-load-list at startup
317         * src/process.c (init_process_emacs): Move Fprovide statement...
318         (syms_of_process): ... to here.
320         * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
322         * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value in emacs -Q.
324 2015-04-20  Ludovic Courtès  <ludo@gnu.org>
326         * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
327         (Bug#20330)
329 2015-04-20  Glenn Morris  <rgm@gnu.org>
331         * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
333         Tweak exec-path in uninstalled case
334         * src/callproc.c (init_callproc): If running uninstalled, do not
335         include eventual installation libexec directory in exec-path.
337 2015-04-20  Artur Malabarba  <bruce.connor.am@gmail.com>
339         * lisp/emacs-lisp/package.el: Filter by multiple keywords and cache keywords
340         (package-menu-filter): Accept a list of keywords.
341         (package--all-keywords): New variable to cache known keywords.
342         (package-all-keywords): Populate it if necessary.
343         (package-refresh-contents): Reset it.
345         * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
346         (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
347         as special keywords which match agains package archive and status
348         respectively.
349         * etc/NEWS: Document it.
351 2015-04-20  Eli Zaretskii  <eliz@gnu.org>
353         Describe and index "empty overlays".
354         * doc/lispref/display.texi (Overlays): Improve indexing.
355         (Managing Overlays): Describe "empty" overlays.
356         (Overlay Properties, Finding Overlays): Add cross-reference to
357         where empty overlays are described.
359 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
361         Spelling fixes
363         Quote 'like this' in top-level files
364         * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
365         Prefer to single-quote 'like this' (instead of the older style
366         `like this').
367         * configure.ac: Fix some space-before-tab problems that 'git commit'
368         complained about.
370         Use bool for boolean in textprop.c, undo.c
371         * src/textprop.c (soft, hard): Now constants instead of macros.
372         (validate_plist): Rewrite to avoid need for boolean local.
373         (interval_has_all_properties, interval_has_some_properties)
374         (interval_has_some_properties_list, add_properties)
375         (remove_properties, get_char_property_and_overlay)
376         (Fnext_single_char_property_change)
377         (Fprevious_single_char_property_change, add_text_properties_1)
378         (Fremove_text_properties, Fremove_list_of_text_properties)
379         (copy_text_properties):
380         * src/tparam.c (tparam1):
381         * src/undo.c (record_change, record_property_change)
382         (syms_of_undo):
383         Use 'true' and 'false' for booleans.
385 2015-04-19  Dmitry Gutov  <dgutov@yandex.ru>
387         Call `smerge-start-session' even when dealing with a stash conflict
388         * lisp/vc/vc-git.el (vc-git-find-file-hook):
389         Call `smerge-start-session' even when dealing with a stash
390         conflict (bug#20292).
392 2015-04-19  Vibhav Pant  <vibhavp@gmail.com>
394         Add option to eshell/clear to clear scrollback.
395         * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
396         (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
397         scrollback contents are cleared.
398         * etc/NEWS: Describe change.
399         * doc/misc/eshell.texi: Add entry for `clear'.
401 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
403         * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
404         where either will do.
406 2015-04-19  Steve Purcell  <steve@sanityinc.com>
408         Assume package archive-contents are UTF8-encoded
409         * lisp/emacs-lisp/package.el (package--read-archive-file):
410         Set `coding-system-for-read' explicitly to 'utf-8 when reading the
411         downloaded and cached archive-contents files, so that non-ASCII
412         characters in package descriptions are displayed correctly in the
413         `list-packages' menu. (Bug#20231)
415 2015-04-19  Dmitry Gutov  <dgutov@yandex.ru>
417         Abort when looking at stashed changes
418         * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
419         stashed changes (bug#20292).
421 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
423         Refactor low-level printing for simplicity
424         * src/print.c (PRINTDECLARE): Remove.  Move its contents into
425         PRINTPREPARE; doable now that we assume C99.  All callers changed.
426         (PRINTCHAR): Remove, as it adds more mystery than clarity.
427         All callers changed.
428         (strout): Assume that caller computes length.  All callers changed.
429         (print_c_string): New function.
430         (write_string, write_string_1): Compute length instead of asking
431         the caller to compute it.  All callers changed.
432         (write_string): Simplify by using write_string_1.
433         (write_string_1): Simplify by using print_c_string.
434         (Fterpri): Compute default val more clearly.
435         (Fprin1_to_string, print_object):
436         Assume C99 to avoid unnecessary nesting.
437         (print_object): Prefer print_c_string to multiple printchar, or
438         to calling strout with -1 length.  Coalesce into sprintf when
439         this is easy.
441 2015-04-18  Paul Eggert  <eggert@cs.ucla.edu>
443         Prefer "Bug#1234" in commit messages (Bug#20325)
444         * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
445         as this isn't useful for Git.
446         * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
448 2015-04-18  Glenn Morris  <rgm@gnu.org>
450         * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
451         (Bug#19506)
453 2015-04-18  Tom Willemse  <tom@ryuslash.org>  (tiny change)
455         * lisp/elec-pair.el (electric-pair-post-self-insert-function): Do not use `chomp' as a function.
456         (Bug#19505)
458 2015-04-18  Glenn Morris  <rgm@gnu.org>
460         * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
462         * doc/emacs/misc.texi (Sorting): Small edit.
463         (Bug#19896)
465         * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
467 2015-04-18  Simen Heggestøyl  <simenheg@gmail.com>
469         css-mode.el: Support multi-line comment filling
470         (Bug#20256)
471         * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
472         comment filling.
473         (css-adaptive-fill): New function.
474         (css-mode): Set `adaptive-fill-function'.
475         (scss-mode): Set `comment-continue'.
477 2015-04-18  Nicolas Petton  <nicolas@petton.fr>
479         * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into): Better error messages.
481 2015-04-18  Ivan Radanov Ivanov  <ivanradanov@yahoo.co.uk>  (tiny change)
483         Minor improvements in Bulgarian input methods
484         * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
485         Replace U+042C with U+045D, as the former character is not used in
486         the modern Bulgarian language.
487         (Bug#20350)
489 2015-04-17  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
491         Improve EUDC manual
492         * eudc.texi (LDAP Configuration): Mention simple and SASL
493         authentication schemes.  Add index items.  Shorten example server
494         name.
496 2015-04-17  Dmitry Gutov  <dgutov@yandex.ru>
498         Don't show both feature and function with the same name
499         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
500         Don't show both feature and function with the same name.
502         (elisp--xref-identifier-location): Skip variable, if it's also a functiong
503         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
504         Avoid returning both the variable and the function for the same
505         minor mode.
507 2015-04-17  Wolfgang Jenkner  <wjenkner@inode.at>
509         Fix fontification of keywords clobbered by the prompt.
510         * lisp/comint.el (comint-output-filter): Remove the uses of
511         with-silent-modifications I introduced as part of the last change.
512         This fixes, e.g., erratically missing highlighting when running
513         ./configure --help; ./configure in a shell-mode buffer with
514         compilation-shell-minor-mode turned on.
516 2015-04-17  Glenn Morris  <rgm@gnu.org>
518         * admin/authors.el (authors-valid-file-names, authors-renamed-files-alist): Additions.
520 2015-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
522         * lisp/indent.el (indent-region): Don't deactivate the mark
523         (Bug#20357)
525 2015-04-17  Sam Steingold  <sds@gnu.org>
527         lisp/net/rcirc.el (defun-rcirc-command): mark `target' as ignorable
529 2015-04-16  Leo Liu  <sdl.web@gmail.com>
531         * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
533 2015-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
535         * lisp/erc/erc-pcomplete.el (erc-pcomplete): Don't use `pcomplete' any more.
537 2015-04-16  Glenn Morris  <rgm@gnu.org>
539         * admin/authors.el (authors-lax-changelogs): Update for erc changes.
541 2015-04-16  Eli Zaretskii  <eliz@gnu.org>
543         Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
544         * configure.ac (LIBJPEG): Leave it empty for MinGW.
546 2015-04-16  Glenn Morris  <rgm@gnu.org>
548         * lisp/replace.el (query-replace-from-to-separator): Delay initialization
549         to avoid rogue setting after startup.
551 2015-04-16  Paul Eggert  <eggert@cs.ucla.edu>
553         Pre-4.6 GCC succeeds with unknown option
554         * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
555         (Bug#20338)
557 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
559         '[:graph:]' now excludes whitespace, not just ' '
560         * doc/lispref/searching.texi (Char Classes):
561         * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
562         sans whitespace (not sans space).
563         * src/character.c (graphicp): Exclude all Unicode whitespace chars,
564         not just space.
565         * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
567 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
569         (looking-back): Make the second arg non-optional.
570         * lisp/subr.el (substitute-key-definition-key, special-form-p)
571         (macrop): Drop deprecated second arg to indirect-function.
572         (looking-back): Make the second arg non-optional.
574         * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
575         command is actually sent to the shell.
577 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
579         Port jpeg configuration to Solaris 10 with Sun C
580         * configure.ac: Check for jpeglib 6b by trying to link it, instead
581         of relying on cpp magic that has problems in practice.  Check for
582         both jpeglib.h and jerror.h features.  Remove special case for
583         mingw32, which should no longer be needed (and if it were needed,
584         should now be addressable by hotwiring emacs_cv_jpeglib).
585         (Bug#20332)
587 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
589         Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
590         * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
591         Move to elisp-mode.el.
592         (lisp-mode-variables): (Re)move elisp-specific settings.
593         * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
594         from lisp-mode-variables.
595         (elisp--font-lock-flush-elisp-buffers): New function, moved from
596         lisp-mode.el.
598         * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
599         Avoid pathological slowdown at top-level in large file.
601 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
603         Standardize names of ChangeLog history files
604         Suggested by Glenn Morris in:
605         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
606         * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
607         * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
608         * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
609         * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
610         * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
611         * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
612         Remove.
614         Split top-level entries into pre- and post-April 7
615         This more clearly distingiushes pre-April-7 ChangeLog entries (which
616         are for top-level files only) from post-April-7 entries (which are
617         about files at all levels.  Problem reported by Glenn Morris in:
618         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
619         * ChangeLog.1: Move post-April-7 entries from here ...
620         * ChangeLog.2: ... to this new file.
621         * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
623 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
625         Fix recent cus-start changes that added customize-rogues
626         * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
627         vars early.
628         * lisp/loadup.el ("cus-start"): Move to the end to reduce customize-rogue.
630 2015-04-15  Nicolas Petton  <nicolas@petton.fr>
632         Define cl-concatenate as an alias to seq-concatenate
633         * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
634           code by making cl-concatenate an alias to seq-concatenate.
636 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
638         * src/lread.c (intern_1): Make sure we'd find the symbol we add
639         (Bug#20334)
640         * src/xfaces.c (resolve_face_name): Don't use `intern' with Lisp_Strings.
642 2015-04-15  Glenn Morris  <rgm@gnu.org>
644         * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
646 2015-04-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
648         Clean up gnus-uu saving code slightly
649         * gnus-uu.el (gnus-uu-save-article): Make the
650         save-restriction/widen calls make more sense.
652 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
654         Make [:graph:] act like [:print:] sans space
655         In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
656         [:graph:] so that it matches everything that [:print:] does,
657         except for space.
658         * doc/lispref/searching.texi (Char Classes):
659         * etc/NEWS:
660         * lisp/emacs-lisp/rx.el (rx):
661         Document [:graph:] to be [:print:] sans ' '.
662         * src/character.c, src/character.h (graphicp): New function.
663         * src/regex.c (ISGRAPH) [emacs]: Use it.
664         (BIT_GRAPH): New macro.
665         (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
666         (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
667         Return BIT_GRAPH for RECC_GRAPH.
668         (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
669         and ISPRINT if BIT_PRINT.
671 2015-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
673         automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
674         Don't use call-next-method in a cl-defmethod.
676         * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
677         (eieio--class-p): Remove, provided by cl-defstruct.
679 2015-04-14  Nicolas Petton  <nicolas@petton.fr>
681         Add seq-intersection and seq-difference to the seq library
682         * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference): New
683         functions.
684         * test/automated/seq-tests.el: Add tests for seq-intersection and
685         seq-difference.
686         * doc/lispref/sequences.texi: Add documentation for seq-intersection
687         and seq-difference.
689 2015-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
691         * eieio-core.el (class-abstract-p): Don't inline, to avoid leaking internals
693 2015-04-14  Sam Steingold  <sds@gnu.org>
695         package--ensure-init-file: widen requires save-restriction
697 2015-04-14  Eli Zaretskii  <eliz@gnu.org>
699         Improve the commit-msg Git hook for unibyte environments
700         * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
701         in unibyte environments.  (Suggested by Paul Eggert
702         <eggert@cs.ucla.edu>.)  Use a more accurate approximation to
703         [:print:], based on UTF-8 sequences of the unprintable characters.
705         Describe problems with cursor caused by Windows Magnifier
706         * etc/PROBLEMS: Describe the problem with cursor shape on
707         MS-Windows due to Windows Magnifier.
708         (Bug#20271)
710         Make [:print:] support non-ASCII characters correctly
711         * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
712         (BIT_PRINT): New bit mask.
713         (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
714         * src/character.c (printablep): New function.
715         * src/character.h (printablep): Add prototype.
716         * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
717         of 'print', 'alnum', and 'alphabetic'.
718         * doc/lispref/searching.texi (Char Classes): Document the new
719         behavior of [:print:].
720         * etc/NEWS: Mention the new behavior of [:print:].
722         Assign correct general-category and names to surrogates
723         * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
724         surrogates.  This avoids assigning them the default
725         general-category of 'Cn', i.e. unassigned codepoints.
726         (unidata-get-name): Give surrogates synthetic names.
728 2015-04-14  Paul Eggert  <eggert@cs.ucla.edu>
730         Assume C89 offsetof in xterm.c, xlwmenu.c
731         * lwlib/xlwmenu.c (offset):
732         * src/xterm.c (cvt_string_to_pixel_args):
733         Use offsetof, not XtOffset.
735 2015-04-14  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>
737         Assume C89 offsetof in widget.c
738         * src/widget.c (XtOffset): Remove; no longer needed.
739         (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
741         Fix think-o in previous patch
742         * src/window.c (count_windows, get_leaf_windows):
743         Don't optimize count_windows incorrectly.
745 2015-04-13  Paul Eggert  <eggert@cs.ucla.edu>
747         Avoid some int overflows in window.c
748         * src/print.c (print_object):
749         * src/window.c (sequence_number):
750         * src/window.h (struct window.sequence_number):
751         Don't assume window sequence number fits in int.
752         * src/window.c (window_select_count):
753         * src/window.h (struct window.use_time, window_select_count):
754         Don't assume window use time fits in int.
755         * src/window.c (Fsplit_window_internal):
756         Don't assume user-supplied integer, or sum, fits in int.
757         (Fset_window_configuration, count_windows, get_leaf_windows)
758         (save_window_save, Fcurrent_window_configuration):
759         Use ptrdiff_t for object counts.
760         (Fset_window_configuration): Omit unused local 'n'.
761         (count_windows): Simplify by writing in terms of get_leaf_windows.
762         (get_leaf_windows): Don't store through FLAT if it's null.
763         (extract_dimension): New static function.
764         (set_window_margins, set_window_fringes, set_window_scroll_bars):
765         Use it to avoid undefined behavior when converting user-supplied
766         integer to 'int'.
768 2015-04-13  Glenn Morris  <rgm@gnu.org>
770         Minor doc copyedits
771         * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
772         * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
774 2015-04-13  Katsumi Yamaoka  <yamaoka@jpl.org>
776         [Gnus] Catch the invalid-operation that idna.el will issue
777         * lisp/gnus/gnus-art.el (gnus-use-idna):
778         * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
779         * lisp/gnus/message.el (message-use-idna):
780         Catch the invalid-operation that idna.el will issue.
782 2015-04-13  Paul Eggert  <eggert@cs.ucla.edu>
784         * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
786 2015-04-13  Sam Steingold  <sds@gnu.org>
788         package--ensure-init-file: widen before looking for "(package-initialize)"
790 2015-04-13  Dmitry Gutov  <dgutov@yandex.ru>
792         Change diff-switches default to `-u'
793         (Bug#20290)
794         * doc/emacs/files.texi (Comparing Files): Document the new default
795         value of `diff-switches'.
796         * doc/emacs/trouble.texi (Sending Patches): Document the preference
797         for unified diff format.  Escape the plus in the suggested `-F' regexp
798         value.
799         * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
801 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
803         (gnus-group--setup-tool-bar-update): Fix last change
804         * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
805         cursor-sensor-functions should be a list of functions.
807 2015-04-13  Katsumi Yamaoka  <yamaoka@jpl.org>
809         Use gmm-called-interactively-p in Gnus
810         * lisp/gnus/gnus-topic.el (gnus-topic-mode): Use gmm-called-interactively-p.
812 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
814         * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
815         (Bug#20321)
816         * lisp/cus-start.el (read-buffer-function): Don't advertize
817         iswitchb-read-buffer any more.
818         (iswitchb): Don't tweak this obsolete group any more.
820 2015-04-13  Artur Malabarba  <bruce.connor.am@gmail.com>
822         * lisp/emacs-lisp/package.el: Fix package--ensure-init-file
824         * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings
825         Adding a string after a constructor's argument list will use
826         that string as the constructor function docstring.  If this string
827         is absent but the struct itself was given a docstring, use that as
828         the constructor's docstring.
829         Fixes (bug#17284).
831 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
833         Deprecate `intangible' and `point-entered' properties
834         * lisp/emacs-lisp/cursor-sensor.el: New file.
835         * lisp/simple.el (pre-redisplay-functions): New hook.
836         (redisplay--pre-redisplay-functions): New function.
837         (pre-redisplay-function): Use it.
838         (minibuffer-avoid-prompt): Mark obsolete.
839         (redisplay--update-region-highlight): Adapt it to work as a function on
840         pre-redisplay-functions.
841         * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
842         (minibuffer-prompt-properties): Use it.  Use cursor-intangible rather
843         than point-entered to make the prompt intangible.
844         * lisp/forms.el: Move `provide' calls to the end.
845         (forms-mode): Don't use `run-hooks' on a local var.
846         (forms--make-format, forms--make-format-elt-using-text-properties):
847         Use cursor-intangible rather than `intangible'.
848         (forms-mode): Enable cursor-intangible-mode.
849         * lisp/isearch.el (isearch-mode): Use defvar-local.
850         (cursor-sensor-inhibit): Declare.
851         (isearch-mode): Set cursor-sensor-inhibit.
852         (isearch-done): Set it back.
853         (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
854         (isearch-close-unnecessary-overlays): Don't bother with `intangible'
855         any more.
856         * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
857         (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
858         Add Edebug spec.
859         (ses-goto-print, ses-print-cell, ses-adjust-print-width)
860         (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
861         inhibit-point-motion-hooks any more.
862         (ses--cell-at-pos, ses--curcell): New functions, extracted from
863         ses-set-curcell.
864         (ses-set-curcell): Use them.
865         (ses-print-cell, ses-setup): Use cursor-intangible instead of
866         `intangible'.  Make sure cursor-intangible isn't sticky at BOB.
867         (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
868         Use ses--cell-at-pos.
869         (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
870         extracted from ses-command-hook.  Make them work with multiple windows
871         displaying the same buffer.
872         (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
873         Enable cursor-intangible-mode.
874         (ses-command-hook): Remove cell highlight and mode-line update code.
875         (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
876         Update for new name of text-property holding the cell name.
877         (ses-rename-cell): Don't mess with mode-line-process.
878         * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
879         cursor-sensor-functions property instead of point-entered.
880         (erc-insert-timestamp-right, erc-format-timestamp):
881         Use cursor-intangible rather than `intangible'.
882         (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
883         remove-from-invisibility-spec.  Enable cursor-intangible-mode and
884         cursor-sensor-mode if needed.
885         (erc-echo-timestamp): Adapt to calling convention of
886         cursor-sensor-functions.
887         (erc-insert-timestamp-right): Remove unused vars `current-window' and
888         `indent'.
889         * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
890         (gnus-update-group-mark-positions): Remove unused `topic' var.
891         (gnus-group-insert-group-line): Remove unused var `header'.
892         (gnus-group--setup-tool-bar-update): New function.
893         (gnus-group-insert-group-line): Use it.
894         (gnus-group-update-eval-form): Declare local
895         dynamically-bound variables.
896         (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
897         * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
898         (gnus-group-prepare-topics, gnus-topic-update-topic)
899         (gnus-topic-change-level, gnus-topic-catchup-articles)
900         (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
901         Use inhibit-read-only.
902         (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
903         (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
904         * lisp/textmodes/reftex-index.el (reftex-display-index):
905         Use cursor-intangible-mode if available.
906         (reftex-index-post-command-hook): Check cursor-intangible.
907         * lisp/textmodes/reftex-toc.el (reftex-toc):
908         Use cursor-intangible-mode if available.
909         (reftex-toc-recenter, reftex-toc-post-command-hook):
910         Check cursor-intangible.
911         * lisp/textmodes/sgml-mode.el: Use lexical-binding.
912         (sgml-tag): Use cursor-sensor-functions instead of point-entered.
913         (sgml-tags-invisible): Use with-silent-modifications and
914         inhibit-read-only.  Enable cursor-sensor-mode.
915         (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
916         calling convention of cursor-sensor-functions.
917         * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
918         (table-point-entered-cell-hook, table-point-left-cell-hook):
919         Don't autoload.
920         (table-cell-entered-state): Remove var.
921         (table--put-cell-point-entered/left-property)
922         (table--remove-cell-properties):
923         Use cursor-sensor-functions rather than point-entered/left.
924         (table--point-entered/left-cell-function): Merge
925         table--point-entered-cell-function and table--point-left-cell-function
926         and adjust to calling convention of cursor-sensor-functions.
928         Update ldef-boots.el
930         * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
932         * doc/misc/eieio.texi: Don't advertize now obsolete constructs
934         Collapse successive char deletions in the undo log
935         * src/cmds.c (remove_excessive_undo_boundaries): New function,
936         extracted from Fself_insert_command.
937         (Fdelete_char, Fself_insert_command): Use it.
938         * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
939         * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
941         xterm and OSC 52: Add NEWS entry, and tweak the code
942         * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition to
943         top-level.
944         (terminal-init-xterm-activate-set-selection): Set a terminal property.
945         (xterm--set-selection): Use it instead of checking the value of
946         `terminal-initted'.  Don't use string-bytes.
948 2015-04-13  Philipp Stephani  <p.stephani2@gmail.com>
950         xterm.el: Implement OSC-52 functionality for setting the X selection
951         * lisp/term/xterm.el (xterm-max-cut-length): New var.
952         (xterm--set-selection, terminal-init-xterm-activate-set-selection): New funs.
953         (terminal-init-xterm, xterm--version-handler): Use them.
955 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
957         Remove left over code from when we used an obsolete/loaddefs.el file
958         * lisp/subr.el (do-after-load-evaluation): Remove left over code from when
959         we used an obsolete/loaddefs.el file.
961         * cedet/semantic/fw.el: Use declare.
962         * cedet/semantic/fw.el (semantic-exit-on-input)
963         (semanticdb-without-unloaded-file-searches): Use declare.
964         (semantic-fw-add-edebug-spec): Remove.
966         (completion-lisp-mode-hook): Use completion-separator-chars
967         * lisp/completion.el (completion-lisp-mode-hook):
968         Use completion-separator-chars rather than local key binding.
970         * src/*.c: Set deactivate_mark buffer-locally
971         (Bug#20260)
972         * src/insdel.c (prepare_to_modify_buffer_1):
973         * src/fileio.c (Finsert_file_contents): Set deactivate_mark
974         buffer-locally.
976 2015-04-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
978         python.el: Keep symmetry on sexp navigation with parens
979         (Bug#19954)
980         * lisp/progmodes/python.el
981         (python-nav--forward-sexp): Add argument skip-parens-p.
982         (python-nav-forward-sexp, python-nav-backward-sexp)
983         (python-nav-forward-sexp-safe)
984         (python-nav-backward-sexp-safe): Use it.
985         * test/automated/python-tests.el
986         (python-nav-forward-sexp-1): Fix test.
988 2015-04-12  João Távora  <joaotavora@gmail.com>
990         Don't use `setq-local' in Gnus code
991         This might break upstream builds with older Emacsen
992         * lisp/gnus/message.el (message-mode): Use `set' and
993         `make-local-variable' instead of `setq-local'.
995 2015-04-12  Paul Eggert  <eggert@cs.ucla.edu>
997         Update Makefile.in's .PHONY dependencies
998         * Makefile.in (change-history-commit, master-branch-is-current)
999         (no-ChangeLog): Now phony.
1001         Remove configure's --with-mmdf option
1002         * configure.ac (MAIL_USE_MMDF): Remove.
1003         * etc/NEWS: Document this.
1004         * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
1005         (Bug#20308)
1007         * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
1008         That way, 'make install' won't think it's a man page.
1009         Reported by Ashish SHUKLA in:
1010         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
1012         Improve 'make change-history' prereq tests
1013         * Makefile.in (gen_origin): Fix to match what's in the master branch.
1014         (no-ChangeLog, master-branch-is-current): New rules.
1015         (change-history): Depend on them, to avoid similar future problems.
1016         Escape the local-variables string to pacify Emacs when editing
1017         Makefile.in.
1019 2015-04-12  Artur Malabarba  <bruce.connor.am@gmail.com>
1021         * test/automated/package-test.el (with-package-test): Kill Packages buffer
1023         * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt
1024         (package-menu--prompt-transaction-p): Prompt for "Delete" first,
1025         "Upgrade" last, and use capitalized instead of all-caps.
1027         * lisp/emacs-lisp/package.el: Completely silence async operations
1028         (package--make-autoloads-and-stuff): Silence autoloads.
1029         (package--save-selected-packages): New function, silences
1030         `customize-save-variable'.
1031         (package--user-selected-p, package-install-from-buffer)
1032         (package-delete, package-install): Use it.
1033         (package-install-from-archive)
1034         (package-menu--perform-transaction): Silence.
1035         (package-menu-execute): Feedback when operation starts.
1037         Use delay-mode-hooks when visiting the init-file
1038         * lisp/emacs-lisp/package.el (package--ensure-init-file):
1039         delay-mode-hooks
1040         * lisp/cus-edit.el (custom-save-all): delay-mode-hooks
1042         * lisp/files.el: Only message when saving if save-silently is nil
1043         (save-silently): New variable.
1044         (files--message): New function.
1045         (find-file-noselect, save-buffer, basic-save-buffer)
1046         (basic-save-buffer-2, save-some-buffers, not-modified)
1047         (append-to-file): Use them.
1049 2015-04-12  Johan Bockgård  <bojohan@gnu.org>
1051         Support debug declarations in pcase macros
1052         * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
1053         (pcase-UPAT): Use it.  Remove "`".
1054         (pcase--edebug-match-macro): New function.
1055         (pcase-defmacro): Support debug declarations.
1056         * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
1057         * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
1058         * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>: Add debug declaration.
1060         pcase.el: Edebug support for `app' and vector patterns
1061         * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
1062         (pcase-UPAT): Use it. Support `app' patterns.
1063         (pcase-QPAT): Support vector patterns.
1065         edebug.el: Disambiguate vector specifications
1066         * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
1067         `(vector ...)' as a vector specification, not as a sublist.
1069         (gnus-summary-refer-thread): Don't clobber unread articles
1070         This fixes a bug where `A T' causes "random" articles to become marked
1071         as read.
1072         * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
1073         gnus-newsgroup-unreads remains sorted.
1075         mouse-sel.el: Fix mouse-sel-get-selection-function
1076         * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
1077         Use gui--last-selected-text-primary instead of no longer existing
1078         gui-last-selected-text.
1080         * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
1082         * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
1084 2015-04-12  Artur Malabarba  <bruce.connor.am@gmail.com>
1086         * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate
1088         * lisp/emacs-lisp/package.el (list-packages): Call refresh in right buffer
1090         * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations
1091         (byte-compile--interactive): New var.
1092         (byte-compile--message): New function.
1093         (byte-compile-log-1, byte-force-recompile)
1094         (byte-recompile-directory, byte-recompile-file)
1095         (byte-compile-file, compile-defun)
1096         (byte-compile-file-form-defmumble, byte-compile)
1097         (byte-compile-file-form-defalias, display-call-tree): Use it.
1099         * lisp/files.el: Don't message when nothing happened
1100         (save-some-buffers, basic-save-buffer): Before messaging to say
1101         "nothing was saved" check if (called-interactively-p 'any).
1103 2015-04-12  João Távora  <joaotavora@gmail.com>
1105         Summary: Improve sexp-based movement in message-mode
1106         Works by giving citations and smileys a different syntax.  This helps
1107         modes like `show-paren-mode', `electric-pair-mode', and C-M-*
1108         sexp-based movement.
1109         * lisp/gnus/message.el (message--syntax-propertize): New function.
1110         (message-mode): Set syntax-related vars.
1111         (message-smileys): New variable.
1112         * test/automated/message-mode-tests.el: New file
1114 2015-04-11  Paul Eggert  <eggert@cs.ucla.edu>
1116         Use bool for boolean in window.c
1117         * src/window.c: Omit unnecessary static function decls.
1118         (adjust_window_count, select_window, Fselect_window)
1119         (window_body_width, Fwindow_body_height, Fwindow_body_width)
1120         (set_window_hscroll, check_window_containing, Fwindow_at)
1121         (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
1122         (unshow_buffer, replace_window, recombine_windows)
1123         (add_window_to_list, candidate_window_p, next_window)
1124         (Fnext_window, Fprevious_window, window_loop, check_all_windows)
1125         (Fget_buffer_window, Fdelete_other_windows_internal)
1126         (replace_buffer_in_windows_safely, set_window_buffer)
1127         (Fset_window_buffer, Fforce_window_update)
1128         (temp_output_buffer_show, make_parent_window)
1129         (window_resize_check, window_resize_apply, Fwindow_resize_apply)
1130         (resize_frame_windows, Fsplit_window_internal)
1131         (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
1132         (Fresize_mini_window_internal, mark_window_cursors_off)
1133         (window_scroll, window_scroll_pixel_based)
1134         (window_scroll_line_based, scroll_command, Fscroll_other_window)
1135         (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
1136         (Fmove_to_window_line, Fset_window_configuration)
1137         (delete_all_child_windows, apply_window_adjustment)
1138         (set_window_fringes, set_window_scroll_bars)
1139         (Fset_window_vscroll, foreach_window, foreach_window_1)
1140         (compare_window_configurations, Fcompare_window_configurations):
1141         Prefer 'bool', 'true', and 'false' for booleans.
1142         * src/window.h (WINDOW_MODE_LINE_LINES)
1143         (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
1145 2015-04-11  Artur Malabarba  <bruce.connor.am@gmail.com>
1147         Speed up byte-compilation and autoload generation by avoiding mode-hooks
1148         This prevents emacs-lisp-mode-hook from being run everytime an
1149         autoload file is generated, which can account for a fraction of
1150         package installation time depending on the hooks the user has
1151         configured.
1152         * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
1153         * lisp/emacs-lisp/autoload.el (autoload-find-file)
1154         (autoload-find-generated-file): Use delay-mode-hooks.
1156         * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'
1157         (package-menu-refresh): Respect async and do new package checking.
1158         (list-packages): Use `package-menu-refresh' instead of repeating code.
1160         * lisp/emacs-lisp/package.el: Improve package-menu-quick-help
1161         (package--quick-help-keys): New variable.
1162         (package--prettify-quick-help-key): New function.
1163         (package-menu-quick-help): Use it.
1165         * lisp/emacs-lisp/package.el: Fix initially wrong compat table
1166         (package--build-compatibility-table): require finder
1168         * test/automated/package-test.el: Fix new test
1170         * lisp/emacs-lisp/package.el: Silence async operations
1171         (package--silence): New variable.
1172         (package--message): New function.
1173         (package-import-keyring, package-refresh-contents)
1174         (package-compute-transaction, package-install, package-delete)
1175         (package-menu--perform-transaction, package-menu-execute): Use it.
1177         * test/automated/package-test.el: Test async functionality
1178         (package-test-update-archives-async): New test
1180 2015-04-11  Daiki Ueno  <ueno@gnu.org>
1182         Utilize `make-process' in epg.el
1183         * lisp/epg.el (epg-error-output): Abolish.
1184         (epg-context): New slot `error-buffer'.
1185         (epg--start): Use `make-process' and `make-pipe-process'.
1186         (epg--process-filter): Remove code separating stderr from stdout.
1187         (epg-wait-for-completion): Simplify `error-output' handling.
1188         (epg-reset): Dispose error buffer.
1190 2015-04-11  Paul Eggert  <eggert@cs.ucla.edu>
1192         * .gitignore: Ignore doc temps and outputs.
1194         Port commit-msg to MSYS Bash+Gawk
1195         See Eli Zaretskii in:
1196         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
1197         * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
1198         (cent_sign, print_at_sign, at_sign): Revert previous change.
1199         (print_at_sign): Prepend "BEGIN".
1200         (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
1202         Port commit-msg to broken MS-Windows shell
1203         * build-aux/git-hooks/commit-msg (cent_sign):
1204         Just use UTF-8 here rather than ASCII + printf, as the latter fails
1205         on a broken MS-Windows shell.  Reported by Eli Zaretskii in:
1206         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
1208 2015-04-11  Chris Zheng  <chriszheng99@gmail.com>  (tiny change)
1210         Support GnuTLS v3.4 and later on MS-Windows
1211         * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
1212         * lisp/term/w32-win.el (dynamic-library-alist): Determine which
1213         GnuTLS DLL to load according to value of libgnutls-version.
1214         (Bug#20294)
1216 2015-04-11  Paul Eggert  <eggert@cs.ucla.edu>
1218         Minor quoting etc. fixes to misc manuals
1219         Fix some minor quoting and spacing issues.  Distinguish more
1220         clearly among grave accent and apostrophe (which are ASCII) and
1221         single quote (which is not).  Prefer the standard terms
1222         "apostrophe" and "grave accent" to alternative names that can be
1223         confusing.  Use apostrophes to single-quote ASCII text.
1224         * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
1225         rather than approximating it in ASCII with grave accent.
1227 2015-04-11  Daiki Ueno  <ueno@gnu.org>
1229         Respect more keyword args in `make-process'
1230         * process.c (Fmake_process): Respect `:sentinel' and `:filter'
1231         keywords as documented.
1233 2015-04-10  Dmitry Gutov  <dgutov@yandex.ru>
1235         Extract ChangeLog entries when committing a directory
1236         * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
1237         * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
1238         Add a FIXME comment.
1239         (log-edit-changelog-entries): Extract from
1240         `log-edit-changelog-entries', handle FILE being a directory
1241         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
1243 2015-04-10  Paul Eggert  <eggert@cs.ucla.edu>
1245         Fix problems found by --enable-gcc-warnings
1246         * src/process.c (create_process, Fmake_pipe_process)
1247         (Fmake_network_process): Omit unused locals.
1249         Fix commit-msg to handle scissors lines
1250         * build-aux/git-hooks/commit-msg:
1251         Ignore every line after a scissors line, such as a line generated
1252         by 'git commit -v'.  Problem reported by Johan Bockgård in:
1253         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
1255         port commit-msg to Gawk 3.0.4 (1999)
1256         * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
1257         (print_at_sign, at_sign): New vars.  Use them to avoid problems
1258         Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS.  See:
1259         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
1261         Have commit-msg report commit failure
1262         * build-aux/git-hooks/commit-msg: If the commit is aborted,
1263         say so.  Simplify by doing this at the end.  Problem reported
1264         by Eli Zaretskii in:
1265         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
1267 2015-04-10  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1269         Clean up LDAP Configuration section of EUDC manual
1270         * doc/misc/eudc.texi: Combine indices.
1271         (LDAP Configuration): Use command markup.  Add index entries.
1272         Change formatting.  Wrap long lines.  Add noindent markup.
1274 2015-04-10  Daiki Ueno  <ueno@gnu.org>
1276         Add facility to collect stderr of async subprocess
1277         * src/w32.h (register_aux_fd): New function declaration.
1278         * src/w32.c (register_aux_fd): New function.
1279         * src/process.h (struct Lisp_Process): New member stderrproc.
1280         * src/process.c (PIPECONN_P): New macro.
1281         (PIPECONN1_P): New macro.
1282         (Fdelete_process, Fprocess_status, Fset_process_buffer)
1283         (Fset_process_filter, Fset_process_sentinel, Fstop_process)
1284         (Fcontinue_process): Handle pipe process specially.
1285         (create_process): Respect p->stderrproc.
1286         (Fmake_pipe_process): New function.
1287         (Fmake_process): Add new keyword argument :stderr.
1288         (wait_reading_process_output): Specially handle a pipe process when
1289         it gets an EOF.
1290         (syms_of_process): Register Qpipe and Smake_pipe_process.
1291         * doc/lispref/processes.texi (Asynchronous Processes): Document
1292         `make-pipe-process' and `:stderr' keyword of `make-process'.
1293         * lisp/subr.el (start-process): Suggest to use `make-process' handle
1294         standard error separately.
1295         * test/automated/process-tests.el (process-test-stderr-buffer)
1296         (process-test-stderr-filter): New tests.
1297         * etc/NEWS: Mention new process type `pipe' and its usage with the
1298         `:stderr' keyword of `make-process'.
1300 2015-04-10  Paul Eggert  <eggert@cs.ucla.edu>
1302         Minor quoting etc. fixes to lispref manual
1303         * doc/lispref/tips.texi (Documentation Tips):
1304         Distinguish more clearly among grave accent, apostrophe,
1305         and single quote.
1306         * doc/lispref/README, doc/lispref/buffers.texi:
1307         * doc/lispref/commands.texi, doc/lispref/control.texi:
1308         * doc/lispref/customize.texi, doc/lispref/display.texi:
1309         * doc/lispref/elisp.texi, doc/lispref/files.texi:
1310         * doc/lispref/frames.texi, doc/lispref/hash.texi:
1311         * doc/lispref/help.texi, doc/lispref/internals.texi:
1312         * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
1313         * doc/lispref/markers.texi, doc/lispref/modes.texi:
1314         * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
1315         * doc/lispref/os.texi, doc/lispref/positions.texi:
1316         * doc/lispref/strings.texi, doc/lispref/syntax.texi:
1317         * doc/lispref/text.texi, doc/lispref/tips.texi:
1318         * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
1319         Use American-style double quoting in ordinary text,
1320         and quote 'like this' when single-quoting in ASCII text.
1321         Also, fix some minor spacing issues.
1323 2015-04-10  Michael Albinus  <michael.albinus@gmx.de>
1325         Handle symlinked test directory in tramp-tests.el
1326         * test/automated/tramp-tests.el (tramp-test18-file-attributes)
1327         (tramp--test-check-files): Use `file-truename' for directories.
1329 2015-04-10  Eli Zaretskii  <eliz@gnu.org>
1331         Fix 'recenter' when visual-line-mode is turned on
1332         * src/window.c (Frecenter): Use the same code for GUI and TTY
1333         frames alike; use vmotion only for "initial" frames.  This is
1334         because vmotion doesn't support visual-line-mode.  Rewrite the
1335         'iarg >= 0' case to use move_it_* functions instead of using
1336         vmotion, for the same reason.  Fix the clipping of the argument
1337         value to support scroll-margin in all cases and avoid unwarranted
1338         recentering.  Reported by Milan Stanojević <milanst@gmail.com> in
1339         http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
1340         which see.
1342 2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1344         * abbrev.el (define-abbrev-table): Refine last change.
1346         cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r"
1347         * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
1348         use of c[ad]+r", so as to keep the "cl-" prefix on all
1349         cl-lib definitions.
1351         * vhdl-mode.el (vhdl-prepare-search-2): Use inhibit-point-motion-hooks
1353         * lisp/cedet/semantic: Remove some dead code
1354         * lisp/cedet/semantic/util-modes.el
1355         (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
1356         any more.
1357         * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
1358         not supported any more.
1359         (semantic-safe): Use `declare'.
1360         * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
1361         (semantic-tag-intangible-p): Remove unused functions.
1362         * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
1363         Remove unused function.
1365         * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
1366         (gnus-article-hide-text, gnus-article-unhide-text)
1367         (gnus-article-unhide-text-type): Remove special handling of
1368         `intangible' since that property is not used any more.
1369         (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
1371 2015-04-09  Jay Belanger  <jay.p.belanger@gmail.com>
1373         Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
1375 2015-04-09  Dmitry Gutov  <dgutov@yandex.ru>
1377         Use the VC root in `log-edit-listfun'
1378         * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
1379         `log-edit-listfun'.
1381 2015-04-09  Jay Belanger  <jay.p.belanger@gmail.com>
1383         Fix description of Unix time, mention new function.
1384         * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
1385         Unix time.
1386         * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
1387         (Basic Operations on Units): Mention `calc-convert-exact-units'.
1389 2015-04-09  Artur Malabarba  <bruce.connor.am@gmail.com>
1391         * lisp/emacs-lisp/package.el: Use mode-line-process for notification
1393 2015-04-09  Dmitry Gutov  <dgutov@yandex.ru>
1395         (log-edit-insert-changelog-entries): Don't add newline after the last entry
1396         * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
1397         Don't add newline after the last entry.
1399 2015-04-09  Simen Heggestøyl  <simenheg@gmail.com>
1401         css-mode.el: Add "not" pseudo-class
1402         (Bug#20267)
1403         * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
1404         list of CSS pseudo-classes.
1406 2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1408         etc/NEWS: Add missing entry for "Stop messing with the EMACS env var"
1410 2015-04-09  Michael Albinus  <michael.albinus@gmx.de>
1412         Stop messing with the EMACS env var
1413         * misc.texi (Interactive Shell): Remove description of EMACS env var.
1415 2015-04-09  Paul Eggert  <eggert@cs.ucla.edu>
1417         Adapt 'make change-history' to coding cookie
1418         * Makefile.in (change-history): Adjust to change of format of
1419         ChangeLog file, which now has a coding cookie before an indented
1420         copyright notice.
1422 2015-04-09  Paul Eggert  <eggert@cs.ucla.edu>
1424         Adapt 'make change-history' to coding cookie
1425         * Makefile.in (change-history): Adjust to change of format of
1426         ChangeLog file, which now has a coding cookie before an indented
1427         copyright notice.
1429         gitlog-to-changelog coding cookie and mv -i
1430         * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
1431         for copyright notice prototype, so that we get a proper "coding:"
1432         cookie.  Use 'mv -i' to avoid unconditionally overwriting an
1433         existing ChangeLog.  Problems reported by Eli Zaretskii in:
1434         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
1436         Merge from gnulib
1437         * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
1438         2015-04-09 gitlog-to-changelog: port to MS-Windows
1440 2015-04-09  Boruch Baum  <boruch_baum@gmx.com>  (tiny change)
1442         * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
1443         (Bug#20212)
1445 2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1447         Stop messing with the EMACS env var
1448         (Bug#20202)
1449         * lisp/net/tramp-sh.el (tramp-remote-process-environment):
1450         * lisp/comint.el (comint-exec-1):
1451         * lisp/term.el (term-exec-1): Don't set EMACS envvar.
1452         * lisp/progmodes/compile.el (compilation-start): Same and bring
1453         INSIDE_EMACS's format in line with other users.
1455         css-mode.el (css-smie-rules): Fix indentation after complex selectors
1456         (Bug#20282)
1457         * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
1458         inner structure of selectors.
1460 2015-04-08  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1462         python.el: Indent docstring lines to base-indent
1463         (Bug#19595)
1464         Thanks to immerrr <immerrr@gmail.com> for reporting and providing
1465         an initial patch.
1466         * lisp/progmodes/python.el
1467         (python-indent-context): Add :inside-docstring context.
1468         (python-indent--calculate-indentation): Handle :inside-docstring.
1469         (python-indent-region): Re-indent docstrings.
1470         * test/automated/python-tests.el (python-indent-region-5)
1471         (python-indent-inside-string-2): Fix tests.
1473         python.el: Increase native completion robustness
1474         (Bug#19755)
1475         Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
1476         this and providing useful ideas.
1477         * lisp/progmodes/python.el
1478         (python-shell-completion-native-output-timeout): Increase value.
1479         (python-shell-completion-native-try-output-timeout): New var.
1480         (python-shell-completion-native-try): Use it.
1481         (python-shell-completion-native-setup): New readline setup avoids
1482         polluting current context, ensures output when no-completions are
1483         available and includes output end marker.
1484         (python-shell-completion-native-get-completions): Trigger with one
1485         tab only.  Call accept-process-output until output end is found or
1486         python-shell-completion-native-output-timeout is exceeded.
1488 2015-04-08  Samer Masterson  <samer@samertm.com>
1490         * lisp/eshell: Make backslash a no-op in front of normal chars
1491         (Bug#8531)
1492         * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
1493         (eshell-parse-backslash): Return escaped character after backslash
1494         if it is special.  Otherwise, if the backslash is not in a quoted
1495         string, ignore the backslash and return the character after; if
1496         the backslash is in a quoted string, return the backslash and the
1497         character after.
1498         * test/automated/eshell.el (eshell-test/escape-nonspecial)
1499         (eshell-test/escape-nonspecial-unicode)
1500         (eshell-test/escape-nonspecial-quoted)
1501         (eshell-test/escape-special-quoted): Add tests for new
1502         `eshell-parse-backslash' behavior.
1504 2015-04-08  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
1506         * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
1507         after the file name.
1508         (Bug#20276)
1510 2015-04-08  Paul Eggert  <eggert@cs.ucla.edu>
1512         Minor quoting etc. fixes to Emacs manual
1513         * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
1514         * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
1515         * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
1516         * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
1517         * doc/emacs/indent.texi, doc/emacs/macos.texi:
1518         * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
1519         * doc/emacs/programs.texi, doc/emacs/rmail.texi:
1520         * doc/emacs/search.texi, doc/emacs/trouble.texi:
1521         * doc/emacs/vc1-xtra.texi:
1522         Use American-style double quoting in ordinary text,
1523         and quote 'like this' when single-quoting in ASCII text.
1524         Also, fix some minor spacing issues.
1526         Minor quoting etc. fixes to elisp intro
1527         * doc/lispintro/emacs-lisp-intro.texi: Consistently use
1528         American-style double quoting in ordinary text.  In ASCII text,
1529         consistently quote 'like this' instead of `like this', unless
1530         Emacs requires the latter.
1532 2015-04-08  Dmitry Gutov  <dgutov@yandex.ru>
1534         * CONTRIBUTE: Mention log-edit-insert-changelog.
1536         * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
1538 2015-04-08  Paul Eggert  <eggert@cs.ucla.edu>
1540         * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
1542 2015-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1544         (eieio-copy-parents-into-subclass): Fix inheritance of initargs
1545         (Bug#20270)
1546         * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
1547         Fix inheritance of initargs.
1549 2015-04-08  Artur Malabarba  <bruce.connor.am@gmail.com>
1551         * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
1552         while dowloading information.
1554         * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
1555         (package--ensure-init-file): Check file contents before visiting.
1556         (package-initialize): Call it.
1557         (package-install-from-buffer, package-install): Don't call it.
1559 2015-04-08  Eli Zaretskii  <eliz@gnu.org>
1561         * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800
1562         (Bug#17517)
1564 2015-04-08  Michael Albinus  <michael.albinus@gmx.de>
1566         Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
1568         Fix nasty scoping bug in tramp-cache.el
1569         * lisp/net/tramp-cache.el (tramp-flush-file-property): Fix nasty scoping bug.
1571 2015-04-08  Tassilo Horn  <tsdh@gnu.org>
1573         Add notice to visual commands section
1574         * doc/misc/eshell.texi (Input/Output): Add notice that some tools
1575         such as git call less with its -F option which omits pagination if
1576         the contents is less than one page long.  This interferes with
1577         eshell's visual (sub-)commands.
1579 2015-04-07  Dmitry Gutov  <dgutov@yandex.ru>
1581         ffap: Support environment variable expansion in file names
1582         (Bug#19839)
1583         * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
1584         environment variable expansion in file names.
1586 2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>
1588         Prefer double-quote to accent-grave in man pages
1590 2015-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1592         (Bug#20257)
1593         * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
1595 2015-04-07  Ivan Shmakov  <ivan@siamics.net>
1597         Update etc/PROBLEMS.
1598         * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
1599         ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
1600         'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
1601         respectively); other minor updates and tweaks.  (Bug#20011)
1603 2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>
1605         Add doc strings for some Isearch state vars
1606         * lisp/misearch.el (multi-isearch-buffer-list)
1607         (multi-isearch-file-list): Add doc strings.
1608         (Bug#20232)
1610 2015-04-07  Alan Mackenzie  <acm@muc.de>
1612         Always mark "<" and ">" in #include directives with text properties.
1613         * lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock "anchored
1614         matcher" with an invocation of c-make-font-lock-search-function to allow
1615         fontification when there's no trailing space on an "#include <..>" line.
1617 2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>
1619         Generate a ChangeLog file from commit logs
1620         * .gitignore: Add 'ChangeLog'.
1621         * build-aux/gitlog-to-changelog: New file, from Gnulib.
1622         * build-aux/gitlog-to-emacslog: New file.
1623         * CONTRIBUTE: Document the revised workflow.
1624         * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
1625         instead of just special cases.
1626         (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
1627         (ChangeLog, unchanged-history-files, change-history)
1628         (change-history-commit): New rules.
1629         * admin/admin.el (make-manuals-dist--1):
1630         Don't worry about doc/ChangeLog.
1631         * admin/authors.el: Add a FIXME.
1632         * admin/make-tarball.txt:
1633         * lisp/calendar/icalendar.el:
1634         * lisp/gnus/deuglify.el:
1635         * lisp/obsolete/gulp.el:
1636         * lwlib/README:
1637         Adjust to renamed ChangeLog history files.
1638         * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
1639         * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
1640         Remove obsolete discussion of merging ChangeLog files.
1641         New section "Maintaining ChangeLog history".
1642         * build-aux/git-hooks/pre-commit:
1643         Reject attempts to commit files named 'ChangeLog'.
1644         * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
1645         * make-dist: Make and distribute top-level ChangeLog if there's a
1646         .git directory.  Distribute the new ChangeLog history files
1647         instead of scattered ChangeLog files.  Distribute the new files
1648         gitlog-to-changelog and gitlog-to-emacslog.
1649         (Bug#19113)
1651         Rename ChangeLogs for gitlog-to-changelog
1652         This patch was implemented via the following shell commands:
1653         find * -name ChangeLog |
1654         sed 's,.*,git mv & &.1,
1655         s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
1656         s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
1657         s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
1658         s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
1659         s, src/ChangeLog\.1$, src/ChangeLog.13,' |
1660         sh
1661         git commit -am"[this commit message]"
1663 See ChangeLog.1 for earlier changes.
1665 ;; Local Variables:
1666 ;; coding: utf-8
1667 ;; End:
1669   Copyright (C) 2015 Free Software Foundation, Inc.
1671   This file is part of GNU Emacs.
1673   GNU Emacs is free software: you can redistribute it and/or modify
1674   it under the terms of the GNU General Public License as published by
1675   the Free Software Foundation, either version 3 of the License, or
1676   (at your option) any later version.
1678   GNU Emacs is distributed in the hope that it will be useful,
1679   but WITHOUT ANY WARRANTY; without even the implied warranty of
1680   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1681   GNU General Public License for more details.
1683   You should have received a copy of the GNU General Public License
1684   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.